blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
94a02a7e35ce9ba911222763e363b6e09351a24c | dd5b5e5ee5476d1eeffc4987e1aeec94e047e6dd | /testCase/cavity/0.104/uniform/time | 2cf31640431a029e5d6fcb2141e608fbeb2410c3 | [] | no_license | Cxb1993/IBM-3D | 5d4feca0321090d570089259a558585a67a512ec | 2fceceb2abf1fc9e80cb2c449cc14a8d54e41b89 | refs/heads/master | 2020-05-24T01:14:02.684839 | 2018-10-23T13:15:20 | 2018-10-23T13:15:20 | 186,721,487 | 1 | 0 | null | 2019-05-15T00:39:55 | 2019-05-15T00:39:55 | null | UTF-8 | C++ | false | false | 999 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "0.104/uniform";
object time;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
value 0.104000000000000078;
name "0.104";
index 208;
deltaT 0.0005;
deltaT0 0.0005;
// ************************************************************************* //
| [
"you@example.com"
] | you@example.com | |
71fb9e9f0ee31f740359d93c4387383b223a3944 | ca333c2d14e383f3f4d69f47c99a1fcabf780ac5 | /Veronica/Veronica/veVoxel.cpp | d108f6f89ca1f30b851692e8b9fc932638cd697e | [] | no_license | huaihongwen/Veronica2 | 08d0ac3b790cfb8789c673a9e04e212188408b62 | 20c07ad59a18d35e38c6050f7fc9ee2492bddf25 | refs/heads/master | 2016-09-06T04:12:46.833493 | 2012-09-03T23:28:47 | 2012-09-03T23:28:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,417 | cpp | #include "veBoundingBox.h"
#include "veUtils.h"
#include "veVoxel.h"
namespace vee {
//---------------------------------------------------------------
Voxel::Voxel() {
// Type
mType = VT_DEFAULT;
// Color
mColor[0] = 255;
mColor[1] = 255;
mColor[2] = 255;
mColor[3] = 255;
}
//---------------------------------------------------------------
Voxel::Voxel(VoxelType t, uchar* c) {
// Type
mType = t;
// Color
mColor[0] = c[0];
mColor[1] = c[1];
mColor[2] = c[2];
mColor[3] = 255;
}
//---------------------------------------------------------------
Voxel::Voxel(Voxel& v) {
// Type
mType = v.mType;
// Color
mColor[0] = v.mColor[0];
mColor[1] = v.mColor[1];
mColor[2] = v.mColor[2];
mColor[3] = v.mColor[3];
}
//---------------------------------------------------------------
Voxel::~Voxel() {
}
//---------------------------------------------------------------
Chunk::Chunk() {
// Voxel array
mData = NULL;
}
//---------------------------------------------------------------
Chunk::~Chunk() {
// Destroy
destroy();
}
//---------------------------------------------------------------
/**
* Init
* @c {Chunk&} input chunk.
*/
void Chunk::init(Chunk* c) {
// Volume
mVolume.mPos[0] = c->mVolume.mPos[0];
mVolume.mPos[1] = c->mVolume.mPos[1];
mVolume.mPos[2] = c->mVolume.mPos[2];
mVolume.mSize[0] = c->mVolume.mSize[0];
mVolume.mSize[1] = c->mVolume.mSize[1];
mVolume.mSize[2] = c->mVolume.mSize[2];
// Voxel array
int total = mVolume.mSize[0]*mVolume.mSize[1]*mVolume.mSize[2];
// Create pointer array
mData = new Voxel*[total];
int idx;
// Loop each voxel
for (int i = 0; i < mVolume.mSize[0]; i++) {
for (int j = 0; j < mVolume.mSize[1]; j++) {
for (int k = 0; k < mVolume.mSize[2]; k++) {
idx = Utils::toArrayIndex(i, j, k, mVolume.mSize[1], mVolume.mSize[2]);
if (c->mData[idx]) {
mData[idx] = new Voxel(*(c->mData[idx]));
} else {
mData[idx] = NULL;
}
}
}
}
}
//---------------------------------------------------------------
/**
* Init
* @sx {int} x size.
* @sy {int} y size.
* @sz {int} z size.
* @px {int} world x pos.
* @py {int} world y pos.
* @pz {int} world z pos.
*/
void Chunk::init(int sx, int sy, int sz, int px, int py, int pz) {
// Volume
mVolume.mPos[0] = px;
mVolume.mPos[1] = py;
mVolume.mPos[2] = pz;
mVolume.mSize[0] = sx;
mVolume.mSize[1] = sy;
mVolume.mSize[2] = sz;
// Voxel array
int total = mVolume.mSize[0]*mVolume.mSize[1]*mVolume.mSize[2];
// Create pointer array
mData = new Voxel*[total];
int idx;
// Loop each voxel
for (int i = 0; i < sx; i++) {
for (int j = 0; j < sy; j++) {
for (int k = 0; k < sz; k++) {
idx = Utils::toArrayIndex(i, j, k, sy, sz);
//mData[idx] = NULL;
mData[idx] = new Voxel();
}
}
}
}
//---------------------------------------------------------------
/**
* Init
* @fileName {char*} file name.
*/
void Chunk::init(char* fileName) {
// File
FILE* fp;
// Open file
fopen_s(&fp, fileName, "rb");
if (!fp) {
return;
}
// Voxel type
VoxelType vt;
// Index
int idx;
// Volume
// World position
fread(mVolume.mPos, sizeof(int), 3, fp);
// Size
fread(mVolume.mSize, sizeof(int), 3, fp);
// Voxel array
int total = mVolume.mSize[0]*mVolume.mSize[1]*mVolume.mSize[2];
// Create pointer array
mData = new Voxel*[total];
// Loop each voxel
for (int i = 0; i < mVolume.mSize[0]; i++) {
for (int j = 0; j < mVolume.mSize[1]; j++) {
for (int k = 0; k < mVolume.mSize[2]; k++) {
// Index
idx = Utils::toArrayIndex(i, j, k, mVolume.mSize[1], mVolume.mSize[2]);
// Voxel type
fread(&vt, sizeof(VoxelType), 1, fp);
if (vt != VT_AIR) {
// Voxel
mData[idx] = new Voxel();
// Voxel type
mData[idx]->mType = vt;
// Voxel color
fread(mData[idx]->mColor, sizeof(uchar), 4, fp);
} else {
mData[idx] = NULL;
}
}
}
}
// Close file
fclose(fp);
}
//---------------------------------------------------------------
/**
* Destroy
*/
void Chunk::destroy() {
if (mData) {
// Total
int total = mVolume.mSize[0]*mVolume.mSize[1]*mVolume.mSize[2];
// Loop each voxel
for (int i = 0; i < total; i++) {
// Delete voxel
delete mData[i];
}
// Delete pointer array
delete [] mData;
}
}
//---------------------------------------------------------------
/**
* Save to file
* @fileName {char*} file name.
*/
void Chunk::saveToFile(char* fileName) {
// File
FILE* fp;
// Open file
fopen_s(&fp, fileName, "wb");
if (!fp) {
return;
}
// Voxel type
VoxelType vt;
// Volume
// World position
fwrite(mVolume.mPos, sizeof(int), 3, fp);
// Size
fwrite(mVolume.mSize, sizeof(int), 3, fp);
// Loop each voxel
for (int i = 0; i < mVolume.mSize[0]*mVolume.mSize[1]*mVolume.mSize[2]; i++) {
if (mData[i]) {
// Voxel type
fwrite(&mData[i]->mType, sizeof(VoxelType), 1, fp);
// Voxel color
fwrite(mData[i]->mColor, sizeof(uchar), 4, fp);
} else {
// Empty voxel type
vt = VT_AIR;
fwrite(&vt, sizeof(VoxelType), 1, fp);
}
}
// Close file
fclose(fp);
}
//---------------------------------------------------------------
/**
* Get voxel
* @i {int} chunk space x coordinate.
* @j {int} chunk space y coordinate.
* @k {int} chunk space z coordinate.
* @return {bool} voxel inside or not.
*/
bool Chunk::getVoxel(int i, int j, int k, Voxel*& v) {
// Test inside or not
if (!mVolume.contain(i, j, k)) {
return false;
} else {
v = mData[Utils::toArrayIndex(i, j, k, mVolume.mSize[1], mVolume.mSize[2])];
return true;
}
}
//---------------------------------------------------------------
/**
* Set voxel
* @i {int} chunk space x coordinate.
* @j {int} chunk space y coordinate.
* @k {int} chunk space z coordinate.
* @v {Voxel*} input voxel pointer.
*/
void Chunk::setVoxel(int i, int j, int k, Voxel* v) {
// Test inside or not
if (!mVolume.contain(i, j, k)) {
return;
}
// Index
int index = Utils::toArrayIndex(i, j, k, mVolume.mSize[1], mVolume.mSize[2]);
if (mData[index]) {
// Delete the old one
delete mData[index];
}
mData[index] = v;
}
}; | [
"huaihongwen@github.com"
] | huaihongwen@github.com |
741f093579e9a8caa33b6875e80c80f59ff401d0 | 994b5f6d1b09e3afc4b183464a8dfe59527a4db0 | /src/BUZZER_SAMPLE1.cpp | 5326b7df78f8aae39385d6091248b7cea278f82c | [] | no_license | alchebits/arduino-utils | a00074e4558c750b576916cfede7e7202f1226ac | cdefc263ef55531f113fa72db756433711115abd | refs/heads/master | 2022-06-13T14:38:49.583127 | 2017-06-09T19:06:55 | 2017-06-09T19:06:55 | 261,527,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | // #include <Arduino.h>
//
// void setup() {
// pinMode(10, OUTPUT);
// tone(10, 5000);
// }
//
// void loop() {
//
// int i;
// for(i = 0 ; i < 20 ; i++)
// {
// tone(10, i*500);
// delay(100);
// }
// }
| [
"darek645@gmail.com"
] | darek645@gmail.com |
8bf7d82591aec9aa4d3c120d954095c64f0d18cf | cbed88266b2e1545f540e1a4bd17023a81dbc14b | /Lib/Include/D3DGraphics/D3SceneObjectWithVertexBuffer.h | 2bba3486c4565467ed6d248f0ea08d9f450b7b7a | [] | no_license | EasonJX/Big-Numbers | 5be2e026b0d608fd231007a3d778bd463f9f1057 | 65ee920d149adcf6b687826cc74351b6d3d7159b | refs/heads/master | 2022-11-04T07:52:32.566436 | 2020-06-21T20:46:24 | 2020-06-21T20:46:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | h | #pragma once
#include "D3SceneObjectVisual.h"
#include "D3Cube.h"
#include "D3Scene.h"
class D3Device;
class D3SceneObjectWithVertexBuffer : public D3SceneObjectVisual {
private:
D3SceneObjectWithVertexBuffer &releaseVertexBuffer();
protected:
int m_primitiveCount;
DWORD m_fvf;
int m_vertexSize;
LPDIRECT3DVERTEXBUFFER m_vertexBuffer;
template<typename VertexType> VertexType *allocateVertexArray(UINT count) {
releaseVertexBuffer();
UINT bufferSize;
m_vertexBuffer = getDevice().allocateVertexBuffer<VertexType>(count, &bufferSize);
m_vertexSize = sizeof(VertexType);
m_fvf = VertexType::FVF_Flags;
assert(bufferSize == m_vertexSize * count);
VertexType *bufferItems = NULL;
lockVertexArray((void**)&bufferItems, bufferSize);
return bufferItems;
}
D3SceneObjectWithVertexBuffer &lockVertexArray(void **a, UINT nbytes);
D3SceneObjectWithVertexBuffer &unlockVertexArray();
D3Device &setStreamSource();
D3SceneObjectWithVertexBuffer(D3Scene &scene , const String &name = _T("ObjectWithVertexBuffer"));
D3SceneObjectWithVertexBuffer(D3SceneObjectVisual *parent, const String &name = _T("ObjectWithVertexBuffer"));
public:
~D3SceneObjectWithVertexBuffer();
LPDIRECT3DVERTEXBUFFER getVertexBuffer() const {
return m_vertexBuffer;
}
D3DVERTEXBUFFER_DESC getDesc() const;
D3Cube getBoundingBox() const;
String toString() const;
String getInfoString() const;
};
| [
"jesper.gr.mikkelsen@gmail.com"
] | jesper.gr.mikkelsen@gmail.com |
8778ec5f4b6da69e97dddf6ec47de5d642d5fe1b | a40df8279d559499bf2688c14161d3594871425c | /drawer.h | c5825dad9f8c3389c13ca962af4beb85eb8ec9b4 | [
"MIT"
] | permissive | juanmsl/CPP-Nonogram | 4f9379178d8dfb7a31f06f311c2da25c260ae1cc | cbb6cb85324c134e8431ba819cbf305e44c82556 | refs/heads/master | 2022-07-17T22:55:32.494393 | 2017-09-19T14:41:08 | 2017-09-19T14:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | h | #ifndef __DRAWER_H__
#define __DRAWER_H__
#define ANSI_COLOR_BLACK "\033[1;30m"
#define ANSI_COLOR_RED "\033[1;31m"
#define ANSI_COLOR_GREEN "\033[1;32m"
#define ANSI_COLOR_YELLOW "\033[1;33m"
#define ANSI_COLOR_BLUE "\033[1;34m"
#define ANSI_COLOR_MAGENTA "\033[1;35m"
#define ANSI_COLOR_CYAN "\033[1;36m"
#define ANSI_COLOR_WHITE "\033[1;37m"
#define ANSI_COLOR_RESET "\033[0m"
#define PI 3.14159265f
#define RAD PI / 180.0f
#define FPS 60.0f
#include <GL/freeglut.h>
#include <GL/gl.h>
#include <math.h>
#include <vector>
#include <stdexcept>
#include "nonogram.h"
#include "colors.h"
namespace dr {
extern float WIDTH;
extern float HEIGHT;
extern float BOXSIZE;
extern bool initIsStarted;
extern bool loopIsStarted;
extern void init(int argc, char* argv[]);
extern void resize(int w, int h);
extern void setDisplayFunction(void displayFunction());
extern void setKeyPressedFunction(void keyPressedFunction(unsigned char key, int x, int y));
extern void setSpecialFunction(void specialKeys(int key, int x, int y));
extern void initGlutMainLoop();
class Drawer {
protected:
Nonogram* nonogram;
public:
Drawer(Nonogram& nonogram);
void drawNonogram() const;
void drawNonogramRows() const;
void drawNonogramColumns() const;
void drawNonogramMatrix() const;
void drawCube(const float& x, const float& y, const float& H, const float& S, const float& L, const float& scale = 1.0f) const;
void drawChar(const float& x, const float& y, const char& c) const;
void drawText(const std::string& text, const float& x, const float& y) const;
void drawResult(const float& x, const float& y, const bool& result, const float& scale = 1.0f) const;
void drawCheck(const float& x, const float& y, const float& scale = 1.0f) const;
void drawCross(const float& x, const float& y, const float& scale = 1.0f) const;
void drawCell(const float& i, const float& j) const;
};
}
#endif
| [
"juanmsl_pk@hotmail.com"
] | juanmsl_pk@hotmail.com |
cafd930f326729710bfd6d35401fc62bee479bba | c4b544d9ff751fb6007f4a305a7c764c860f93b4 | /example/list/take.cpp | 68abbad38d3d59864dcdf00b1e01de723e7a4e3a | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | rbock/hana | cc630ff26c9c78cebe5facaeb98635a4d5afcc50 | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | refs/heads/master | 2021-01-16T21:42:59.613464 | 2014-08-08T02:38:54 | 2014-08-08T02:38:54 | 23,278,630 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | /*
@copyright Louis Dionne 2014
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 <boost/hana/detail/assert.hpp>
#include <boost/hana/integral.hpp>
#include <boost/hana/list/instance.hpp>
using namespace boost::hana;
using namespace literals;
int main() {
//! [main]
BOOST_HANA_CONSTANT_ASSERT(take(0_c, list(1, '2', 3.3)) == list());
BOOST_HANA_CONSTEXPR_ASSERT(take(1_c, list(1, '2', 3.3)) == list(1));
BOOST_HANA_CONSTEXPR_ASSERT(take(2_c, list(1, '2', 3.3)) == list(1, '2'));
BOOST_HANA_CONSTEXPR_ASSERT(take(3_c, list(1, '2', 3.3)) == list(1, '2', 3.3));
BOOST_HANA_CONSTEXPR_ASSERT(take(4_c, list(1, '2', 3.3)) == list(1, '2', 3.3));
//! [main]
}
| [
"ldionne.2@gmail.com"
] | ldionne.2@gmail.com |
8d3f7281fbb76b005f3bf2023a96d3137070d75b | 0531b270535a46f315ead3524e60fb70fd6055da | /Source/libkwl/GlobalModule.h | 122eeb410245794f8df0d5fa7c25bfa1b60882c1 | [] | no_license | jannispl/kwlbot | e7588283d395ea6d54f6a82d45f2f0577f66fde1 | a5c1ea65c38067747893eeccdae726faeedec0d5 | refs/heads/master | 2021-01-01T19:10:16.324535 | 2010-12-12T22:58:24 | 2010-12-12T22:58:24 | 33,863,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | h | /*
kwlbot IRC bot
File: GlobalModule.h
Purpose: Class which represents a global module
*/
class CGlobalModule;
#ifndef _GLOBALMODULE_H
#define _GLOBALMODULE_H
#include "Core.h"
#include "v8/v8.h"
/**
* @brief Class which represents a global module.
*/
class DLLEXPORT CGlobalModule
{
public:
typedef bool (* InitModule_t)(CCore *pCore, char *szName);
typedef void (* ExitModule_t)();
typedef void (* TemplateRequest_t)(v8::Handle<v8::ObjectTemplate> &objectTemplate);
typedef void (* ScriptLoad_t)(v8::Handle<v8::Context> &scriptContext);
typedef void (* Pulse_t)();
CGlobalModule(CCore *pCore, const char *szPath);
~CGlobalModule();
void TemplateRequest(v8::Handle<v8::ObjectTemplate> &objectTemplate);
void ScriptLoad(v8::Handle<v8::Context> &scriptContext);
void Pulse();
static void DefaultPulse();
private:
struct
{
InitModule_t pfnInitModule;
ExitModule_t pfnExitModule;
TemplateRequest_t pfnTemplateRequest;
ScriptLoad_t pfnScriptLoad;
Pulse_t pfnPulse;
} m_Functions;
#ifdef WIN32
HMODULE m_pLibrary;
#else
void *m_pLibrary;
#endif
};
#endif
| [
"mave1337@gmail.com@f9c66ffb-4930-c197-0f80-100fa691f586"
] | mave1337@gmail.com@f9c66ffb-4930-c197-0f80-100fa691f586 |
a639923c99d905c5f4076315e4cb8a4c19cb648f | 4ca30e2c00fcf89473a4a29ea5a9cc1496ebb3cf | /include/jvs/uitk/win32/brush.h | 3cd5766eb6af63c25f74ed1928dd8982450ab6aa | [] | no_license | jvstech/uitk | 59b5ef08ca8735110aa86854233b7e417adeac63 | ba605b5baeb1bca5142fe4863483c5e62a33d7ef | refs/heads/master | 2021-01-24T06:05:19.708742 | 2017-09-29T19:08:25 | 2017-09-29T19:08:25 | 18,050,426 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | h |
#if !defined (JVS_UITK_WIN32_BRUSH_H_)
#define JVS_UITK_WIN32_BRUSH_H_
#include "jvs/uitk/base/value_wrapper.h"
#include "jvs/uitk/win32/types.h"
#include "jvs/uitk/win32/color.h"
namespace jvs
{
namespace uitk
{
namespace win32
{
class Brush : public ValueWrapper<BrushHandle>
{
private:
BrushHandle brush_;
Color color_;
public:
static const Brush Empty;
Brush()
: brush_(nullptr),
color_(Color::Empty)
{
}
Brush(const Brush& src)
: brush_(src.brush_),
color_(src.color_)
{
this->loadLogicalBrush();
}
Brush(Brush&&) = default;
Brush(BrushHandle brush)
: brush_(brush),
color_(0)
{
this->loadLogicalBrush();
}
virtual ~Brush()
{
if (this->brush_ != nullptr)
{
this->dispose();
}
}
Brush& operator=(Brush&&) = default;
BrushHandle GetValue() const override
{
return this->brush_;
}
Brush& Assign(const Color& src)
{
this->color_ = src;
this->brush_ = ::CreateSolidBrush(this->color_);
return *this;
}
private:
void dispose()
{
GdiObjectDisposer::Dispose(this->brush_);
this->brush_ = nullptr;
}
void loadLogicalBrush()
{
LogicalBrush lb{};
::GetObject(this->brush_, sizeof(lb), &lb);
// Duplicate the brush
this->brush_ = ::CreateBrushIndirect(&lb);
}
};
const Brush Brush::Empty{};
}
}
}
#endif | [
"jvstech@gmail.com"
] | jvstech@gmail.com |
072c5d485ad2a4eb5872d71d8d6d409cf8707486 | 992aba2f1b0abab1ad015e9e88af7f486e9f46bc | /src/meta17.lib/meta17/Const.ops.h | d823185a527cc2a5d1ebdec9ab18e947857ad51c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | basicpp17/basicpp17 | 7f0b622ef03cd7d52304187c97a2cc9ac1707669 | 2f4a93774c6bf77b57544f4e0ed6909988c34537 | refs/heads/develop | 2021-07-17T21:03:45.876192 | 2020-05-31T15:23:13 | 2020-05-31T15:23:13 | 164,132,113 | 8 | 3 | MIT | 2020-04-08T12:03:16 | 2019-01-04T16:48:14 | C++ | UTF-8 | C++ | false | false | 3,141 | h | #pragma once
#include "Const.h"
#include <type_traits> // common_type_t / enable_if
namespace meta17 {
/// Comparison and Ordering
// we use the commontype to work around (bool < int) issue
#define BOOL_OP(OP) \
template<auto A, auto B> \
constexpr bool operator OP(Const<A>, Const<B>) { \
using T = std::common_type_t<decltype(A), decltype(B)>; \
return static_cast<T>(A) OP static_cast<T>(B); \
} \
template<auto A, class B, class = std::enable_if_t<std::is_integral_v<B>>> \
constexpr bool operator OP(Const<A>, B b) { \
using T = std::common_type_t<decltype(A), B>; \
return static_cast<T>(A) OP static_cast<T>(b); \
} \
template<class A, auto B, class = std::enable_if_t<std::is_integral_v<A>>> \
constexpr bool operator OP(A a, Const<B>) { \
using T = std::common_type_t<A, decltype(B)>; \
return static_cast<T>(a) OP static_cast<T>(B); \
}
BOOL_OP(==)
BOOL_OP(!=)
BOOL_OP(<)
BOOL_OP(>)
BOOL_OP(<=)
BOOL_OP(>=)
#undef BOOL_OP
/// Calculations
//#define CALC_OP(OP) \
// template<auto A, auto B> \
// constexpr auto operator OP(Const<A>, Const<B>)->Const<A OP B> { \
// return {}; \
// }
// MSVC 2017/2019 <16.0.28714.193 cannot compile [auto]*[auto]
// this is a simple workaround:
#define CALC_OP(OP) \
template<auto A, auto B> \
constexpr auto operator OP(Const<A>, Const<B>) /**/ \
->Const<static_cast<decltype(A)>(A) OP static_cast<decltype(B)>(B)> { \
return {}; \
}
CALC_OP(+)
CALC_OP(-)
CALC_OP(*)
CALC_OP(/)
CALC_OP(%)
#undef CALC_OP
} // namespace meta17
| [
"andreas.reischuck@hicknhack-software.com"
] | andreas.reischuck@hicknhack-software.com |
48ff186bf0692b26a39787a35753484456fc08f1 | 6d2901a69fbdd1a758a69d963d830ada6b7a6eea | /Lw 3/3.1/CDelaunay.h | 0da29b9e1007fa1c90ce32de3d29f50e3a4f548f | [] | no_license | MaxMartST/Combinatorial-Matmatics | 22655bdec5e52f4ef8048780f308e33ec643210d | 5627f63baedf5c3b16c511033365b6691f16f0dd | refs/heads/master | 2021-01-03T01:20:20.782920 | 2020-06-28T16:02:55 | 2020-06-28T16:02:55 | 239,855,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | #pragma once
#include "Vertex.h"
#include "Edge.h"
#include "Triangle.h"
#include <vector>
#include <algorithm>
namespace dt {
template<typename T>
class CDelaunay
{
using Type = T;
using VertexType = Vertex<Type>;
using EdgeType = Edge<Type>;
using TriangleType = Triangle<Type>;
static_assert(std::is_floating_point<CDelaunay<T>::Type>::value, "Type must be floating-point");
std::vector<TriangleType> _triangles;
std::vector<EdgeType> _edges;
std::vector<VertexType> _vertices;
public:
CDelaunay() = default;
CDelaunay(const CDelaunay&) = delete;
CDelaunay(CDelaunay&&) = delete;
void Triangulate(std::vector<VertexType> &vertices);
const std::vector<TriangleType>& GetTriangles() const;
const std::vector<EdgeType>& GetEdges() const;
const std::vector<VertexType>& GetVertices() const;
CDelaunay& operator=(const CDelaunay&) = delete;
CDelaunay& operator=(CDelaunay&&) = delete;
};
} | [
"AdderGTX@gmail.com"
] | AdderGTX@gmail.com |
8baa53c7758035b96b21053db4a9a85b0506e15c | d73a9cfcda986ed07e2600e5f91be48fea51e627 | /src/messages/matlab_msg_gen/win64/build/object_msgs/rosidl_typesupport_fastrtps_cpp/object_msgs/msg/object_in_mask__rosidl_typesupport_fastrtps_cpp.hpp | 67a6dfd856e71fd1122657d28f2794e3c9cb18bf | [] | no_license | svrakiss/Speed-Sep-Monitoring2 | fd869b5a0a886247508f6091d1775e5ea6523240 | 7e3ccafc7a4f418280b7cdadae3100f83db02c2a | refs/heads/master | 2022-09-07T15:07:15.839274 | 2020-05-24T17:59:36 | 2020-05-24T17:59:36 | 240,100,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | hpp | // generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from object_msgs:msg\ObjectInMask.idl
// generated code does not contain a copyright notice
#ifndef OBJECT_MSGS__MSG__OBJECT_IN_MASK__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define OBJECT_MSGS__MSG__OBJECT_IN_MASK__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_generator_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "object_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "object_msgs/msg/object_in_mask__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace object_msgs
{
namespace msg
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_object_msgs
cdr_serialize(
const object_msgs::msg::ObjectInMask & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_object_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
object_msgs::msg::ObjectInMask & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_object_msgs
get_serialized_size(
const object_msgs::msg::ObjectInMask & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_object_msgs
max_serialized_size_ObjectInMask(
bool & full_bounded,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace msg
} // namespace object_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_object_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, object_msgs, msg, ObjectInMask)();
#ifdef __cplusplus
}
#endif
#endif // OBJECT_MSGS__MSG__OBJECT_IN_MASK__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
| [
"laiy@laiy-5510.rose-hulman.edu"
] | laiy@laiy-5510.rose-hulman.edu |
74a669b24b03a56da5001da42dd7dc3270f362a9 | b8394b7c8850132fc06de5253335d457b5c1e15c | /Project1/MatrixClass.h | 72a6ec83da8e0e0753dc004be7b4c061f54978fb | [] | no_license | vraman3/Ray-Tracer | 61e2c816156efc9e7f651c79a65f4f8380e84090 | 7c65b3205c9fecb22084d4112df400134db433d5 | refs/heads/master | 2022-12-21T15:22:18.953246 | 2022-10-19T17:25:37 | 2022-10-19T17:25:37 | 52,247,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | /**
RayTracing, MatrixClass.h
Header file to implement MatrixClass.
@author: Vishwanath Raman
@version: 1.0 Oct/13/2017
*/
#pragma once
#include <cmath>
#include <cassert>
#include <vector>
#include <iostream>
#include "VectorClass.h"
class MatrixClass
{
int mRows, mCols;
std::vector<std::vector<double>> m;
public:
/* Constructors */
MatrixClass(int, int);
MatrixClass(VectorClass);
/* Operator Overloading */
MatrixClass operator*(const MatrixClass& a);
std::vector<double>& operator[](int i);
/* Methods */
static MatrixClass identity(int);
MatrixClass transpose();
VectorClass toVector();
};
| [
"vishwanath.raman3@gmail.com"
] | vishwanath.raman3@gmail.com |
7a4153f7aa21e29bfc0301759704fb24098ca169 | fc9faa68f96931c3276efb4ad3044585a3291987 | /MinimumBiasAnalysis/MinimumBiasAnalysis/interface/MinimumBiasAnalysis.h | 2ef805b74e84241d6d9d1e8fee3bcb6c10e3e7ca | [] | no_license | antoniovilela/cmssw-packages | bc893b20ebdb959ec2c206945df542bd6a3cb08e | a85aa89c8fb88a865fdc6ff9f0610cf7e2cf94cc | refs/heads/master | 2016-09-05T19:50:42.680704 | 2012-11-21T01:26:40 | 2012-11-21T01:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | h | #ifndef MinimumBiasAnalysis_MinimumBiasAnalysis_h
#define MinimumBiasAnalysis_MinimumBiasAnalysis_h
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Utilities/interface/InputTag.h"
//#include "DataFormats/Math/interface/LorentzVector.h"
#include <vector>
#include <string>
#include <map>
struct MinimumBiasEventData;
namespace minimumBiasAnalysis {
class MinimumBiasAnalysis {
public:
explicit MinimumBiasAnalysis(const edm::ParameterSet&);
~MinimumBiasAnalysis();
void servicesBeginRun(const edm::Run&, const edm::EventSetup&);
void fillEventData(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
private:
void fillEventInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillNoiseInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillTriggerInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillVertexInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillTrackInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillMETInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillJetInfo(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillMultiplicities(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void fillEventVariables(MinimumBiasEventData&, const edm::Event&, const edm::EventSetup&);
void resetPFThresholds(std::map<int,std::pair<double,double> >&);
void setPFThresholds(std::map<int,std::pair<double,double> >&, edm::ParameterSet const&);
edm::InputTag vertexTag_;
edm::InputTag trackTag_;
edm::InputTag metTag_;
edm::InputTag jetTag_;
edm::InputTag caloTowerTag_;
edm::InputTag castorRecHitTag_;
edm::InputTag particleFlowTag_;
edm::InputTag genChargedTag_;
edm::InputTag triggerResultsTag_;
edm::InputTag hcalTowerSummaryTag_;
double energyThresholdHB_;
double energyThresholdHE_;
double energyThresholdHF_;
double Ebeam_;
bool applyEnergyScaleHCAL_;
double energyScaleHCAL_;
bool accessMCInfo_;
//std::vector<std::string> > hltPathNames_;
std::string hltPathName_;
int ttBit_;
std::map<int,std::pair<double,double> > thresholdsPFlowBarrel_;
std::map<int,std::pair<double,double> > thresholdsPFlowEndcap_;
std::map<int,std::pair<double,double> > thresholdsPFlowTransition_;
std::map<int,std::pair<double,double> > thresholdsPFlowForward_;
std::map<int,std::map<int,std::pair<double,double> > > thresholdsPFlow_;
/*math::XYZTLorentzVector genAllParticles_;
math::XYZTLorentzVector genAllParticlesHEPlus_;
math::XYZTLorentzVector genAllParticlesHEMinus_;
math::XYZTLorentzVector genAllParticlesHFPlus_;
math::XYZTLorentzVector genAllParticlesHFMinus_;
math::XYZTLorentzVector genProtonPlus_;
math::XYZTLorentzVector genProtonMinus_;*/
};
} // namespace
#endif
| [
""
] | |
99f760f38156f32722329eb24151e44236f79af4 | ff3fbb312ec350943717cf4b8b6ba5da62513ac6 | /pa6/prelude.cpp | 037fde50606b8e16d49a5c60aaa3e03759e427c3 | [] | no_license | RuneBlaze/comp475-s18 | c711b1e3baa8d3c0af65dc4f7ce0945e3fcc25fb | 886bd792da01a16a734cc326eeaf75878983d22c | refs/heads/master | 2020-07-28T06:18:26.511644 | 2019-09-18T14:54:53 | 2019-09-18T14:54:53 | 209,335,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | //
// Created by Baqiao Liu on 4/7/18.
//
#include "prelude.h"
inline int rnd(int x) {
return static_cast<int>(floor(x + 0.5));
}
inline unsigned int flt255 (float x) {
auto r = rnd(x * 255);
GASSERT(r >= 0); GASSERT(r <= 255);
return r;
}
GPixel color2px(const GColor& color_) {
float a, r, g, b;
auto color = color_.pinToUnit();
a = color.fA;
r = color.fR * a;
g = color.fG * a;
b = color.fB * a;
r = std::min(a, r);
g = std::min(a, g);
b = std::min(a, b);
return GPixel_PackARGB(flt255(a), flt255(r), flt255(g), flt255(b));
}
void printColor(const GColor& color) {
printf("%f %f %f %f\n", color.fA, color.fR, color.fG, color.fB);
} | [
"facss_carpool_service@unc.edu"
] | facss_carpool_service@unc.edu |
260cdd86bc66a17e27a25e1e68de43e9472ea8cb | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/core/v8/v8_abort_signal.h | 25a47d81051590742ec7796e688592aef65c6896 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,835 | h | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.h.tmpl
// by the script code_generator_v8.py.
// DO NOT MODIFY!
// clang-format off
#ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_ABORT_SIGNAL_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_ABORT_SIGNAL_H_
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_target.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/dom/abort_signal.h"
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
#include "third_party/blink/renderer/platform/bindings/v8_dom_wrapper.h"
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
#include "third_party/blink/renderer/platform/heap/handle.h"
namespace blink {
CORE_EXPORT extern const WrapperTypeInfo v8_abort_signal_wrapper_type_info;
class V8AbortSignal {
STATIC_ONLY(V8AbortSignal);
public:
CORE_EXPORT static bool HasInstance(v8::Local<v8::Value>, v8::Isolate*);
static v8::Local<v8::Object> FindInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
CORE_EXPORT static v8::Local<v8::FunctionTemplate> DomTemplate(v8::Isolate*, const DOMWrapperWorld&);
static AbortSignal* ToImpl(v8::Local<v8::Object> object) {
return ToScriptWrappable(object)->ToImpl<AbortSignal>();
}
CORE_EXPORT static AbortSignal* ToImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static constexpr const WrapperTypeInfo* GetWrapperTypeInfo() {
return &v8_abort_signal_wrapper_type_info;
}
static constexpr int kInternalFieldCount = kV8DefaultWrapperInternalFieldCount;
// Callback functions
CORE_EXPORT static void AbortedAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
CORE_EXPORT static void OnabortAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
CORE_EXPORT static void OnabortAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
static void InstallRuntimeEnabledFeaturesOnTemplate(
v8::Isolate*,
const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interface_template);
};
template <>
struct V8TypeOf<AbortSignal> {
typedef V8AbortSignal Type;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_V8_ABORT_SIGNAL_H_
| [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
8abaa842b4b1d9238009ea4877523c19e4fb04d3 | 80710a3359247dcd183871022a03b65659c11850 | /examples/repl_commands.cpp | cdd66fea75e6a2ef63626606eb6f4066e76829dc | [] | no_license | jtsagata/Bloom | cacf72a7eed95d16c8320685f3304c47903d69c0 | 7310654703c3971e0285ec3683dcece58af28337 | refs/heads/master | 2020-04-17T07:34:32.680135 | 2019-01-18T09:02:13 | 2019-01-18T09:02:13 | 166,375,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,831 | cpp | /*! \file repl_commands.cpp
* \brief Υλοποιηση των εντολών.
*/
#include <fstream>
#include <iostream>
#include <vector>
#include "BloomFilter.h"
#include "repl_commands.h"
#include "repl_utils.h"
using Replxx = replxx::Replxx;
/**
* \brief A starting bloom filter.
*/
BloomFilter bloom{100, 10};
std::string prompt{"\x1b[1;32mbloom\x1b[0m> "};
std::string prompt_script{"\x1b[1;32mscript\x1b[0m> "};
bool run_script(const std::basic_string<char> &fname);
/**
* \brief The read eval print loop.
*/
void repl() {
// init the repl
Replxx rx;
rx.install_window_change_handler();
std::vector<std::string> commands{"!help", "!history", "!quit", "!exit", "!clear",
"!add", "!init", "!stats", "!bits", "!load",
"!save", "!examine", "!train", "!script"};
rx.set_completion_callback(hook_completion, static_cast<void *>(&commands));
rx.set_hint_callback(hook_hint, static_cast<void *>(&commands));
using cl = Replxx::Color;
std::vector<std::pair<std::string, cl>> regex_color{
// commands
{"\\!help", cl::BRIGHTMAGENTA}, {"\\!history", cl::BRIGHTMAGENTA},
{"\\!quit", cl::BRIGHTMAGENTA}, {"\\!exit", cl::BRIGHTMAGENTA},
{"\\!clear", cl::BRIGHTMAGENTA}, {"\\!add", cl::BRIGHTBLUE},
{"\\!init", cl::BRIGHTBLUE}, {"\\!add", cl::BRIGHTBLUE},
{"\\!stats", cl::BRIGHTBLUE}, {"\\!bits", cl::BRIGHTBLUE},
{"\\!load", cl::BRIGHTBLUE}, {"\\!save", cl::BRIGHTBLUE},
{"\\!train", cl::BRIGHTBLUE}, {"\\!examine", cl::BRIGHTBLUE},
{"\\!script", cl::BRIGHTBLUE},
};
rx.set_highlighter_callback(hook_color, static_cast<void *>(®ex_color));
// the path to the history file
std::string history_file{".bloom_history.txt"};
// Configure
rx.history_load(history_file);
rx.set_max_history_size(12);
rx.set_max_line_size(128);
rx.set_max_hint_rows(8);
for (;;) {
// display the prompt and retrieve input from the user
char const *cinput{nullptr};
do {
cinput = rx.input(prompt);
} while ((cinput == nullptr) && (errno == EAGAIN));
if (cinput == nullptr)
break;
std::string input{cinput};
if (!input.empty())
rx.history_add(input);
if (do_cmd(input) == false)
break;
}
rx.history_save(history_file);
}
bool do_cmd(const std::string &input) {
if (input.compare(0, 5, "!quit") == 0 || input.compare(0, 5, "!exit") == 0) {
return false;
}
if (input.compare(0, 5, "!help") == 0) {
help_cmd(input);
return true;
}
if (input.compare(0, 5, "!init") == 0) {
init_cmd(input);
return true;
}
if (input.compare(0, 4, "!add") == 0) {
add_cmd(input);
return true;
}
if (input.compare(0, 6, "!stats") == 0) {
stats_cmd(input);
return true;
}
if (input.compare(0, 5, "!bits") == 0) {
bits_cmd(input);
return true;
}
if (input.compare(0, 5, "!load") == 0) {
load_cmd(input);
return true;
}
if (input.compare(0, 5, "!save") == 0) {
save_cmd(input);
return true;
}
if (input.compare(0, 8, "!examine") == 0) {
examine_cmd(input);
return true;
}
if (input.compare(0, 6, "!train") == 0) {
train_cmd(input);
return true;
}
if (input.compare(0, 8, "!verbose") == 0) {
return verbose_cmd(input);
}
if (input.compare(0, 7, "!script") == 0) {
return script_cmd(input);
}
check_cmd(input);
return true;
}
/**
* \brief Display initial welcome message
*/
void welcome() {
std::cout << "Welcome to BloomFilter demo\n"
<< "Press 'tab' to view autocompletions\n"
<< "Type '!help' for help\n"
<< "Type '!quit' or '!exit' to exit\n\n";
}
/**
* \brief Repl command ''
*/
bool help_cmd(const std::string &input) {
std::cout << "Help" << input << std::endl;
return true;
}
/**
* \brief Repl command ''
*/
bool init_cmd(const std::string &input) {
std::cout << "Init" << input << std::endl;
return true;
}
/**
* \brief Repl command ''
*/
bool add_cmd(const std::string &input) {
std::vector<std::string> words = getWordsVector(input);
for (auto word : words) {
bloom.add(word);
}
return true;
}
/**
* \brief Repl command ''
*/
bool stats_cmd(const std::string &input) {
std::cout << "Fullness: " << bloom.fullness() << std::endl;
return true;
}
/**
* \brief Repl command 'bits'
*
* Show bloom filter bits
*/
bool bits_cmd(const std::string &input) {
std::cout << "Bits" << input << std::endl;
return true;
}
/**
* \brief Repl command 'load'
*
* Load a bloom filter from disk
*/
bool load_cmd(const std::string &input) {
std::cout << "Load" << input << std::endl;
return true;
}
/**
* \brief Repl command 'save'
*
* REPL command to save a bloom filter to disk.
*/
bool save_cmd(const std::string &input) {
std::cout << "Save" << input << std::endl;
return true;
}
/**
* \brief Repl command 'examine'
*
* REPL command to examine the contents of a file
*
* REPL usage:
* examine ../data/text1.txt
*/
bool examine_cmd(const std::string &input) {
std::cout << "examine" << input << std::endl;
return true;
}
/**
* \brief Repl command ''
*/
bool train_cmd(const std::string &input) {
std::cout << "train" << input << std::endl;
return true;
}
/**
* \brief Repl command ''
*/
bool verbose_cmd(const std::string &input) {
std::cout << "Verbose" << input << std::endl;
return true;
}
bool check_cmd(const std::string &input) {
std::vector<std::string> words = getWordsVector(input, false);
std::vector<std::string> bad_words;
for (auto word : words)
if (bloom.maybeHave(word))
bad_words.emplace_back(word);
if (!bad_words.empty()) {
auto res = getStringList(bad_words, ", ");
std::cout << "Possibly bad words in text: " << res << "." << std::endl;
std::cout << "Check it again with a better but slower tool.\n";
}
return true;
}
bool script_cmd(const std::string &input) {
std::vector<std::string> words;
std::istringstream stream(input);
std::copy(std::istream_iterator<std::string>(stream), std::istream_iterator<std::string>(),
std::back_inserter(words));
if (words.empty())
return true;
std::reverse(words.begin(), words.end());
words.pop_back();
auto fname = words.back();
return run_script(fname);
}
bool run_script(const std::basic_string<char> &fname) {
std::ifstream in(fname);
if (!in.is_open()) {
std::cout << "Can't read file contents from '" << fname << "'.\n";
return true;
}
std::cout << "Running script :" << fname << "\n";
std::__cxx11::string line;
while (getline(in, line)) {
std::cout << prompt_script << " " << line << std::endl;
bool res = do_cmd(line);
if (res == false)
return false;
}
return true;
}
| [
"jtsagata@gmail.com"
] | jtsagata@gmail.com |
50e44692d5442e65bac8c82237b70b6272b9a8fb | e1362cd6a541cf61bf3ad2879bc776513dafdabb | /SystemExplorer/ObjectManagerView.h | 5ee9a7cd9132c0b3da6830b8f9078fb0267f856d | [
"MIT"
] | permissive | AVGirl/SystemExplorer | 25ec91df1f63481992a90bfa3b6e28fe5aa1d573 | ea0f928ad444aa438ef39440b666ee55e934f2ae | refs/heads/master | 2023-01-22T23:04:41.283531 | 2020-12-07T13:48:45 | 2020-12-07T13:48:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | h | #pragma once
#include "VirtualListView.h"
#include "Interfaces.h"
#include "resource.h"
#include "ViewBase.h"
class CObjectManagerView :
public CViewBase<CObjectManagerView>,
public CVirtualListView<CObjectManagerView> {
public:
DECLARE_WND_CLASS(nullptr)
CObjectManagerView(IMainFrame* frame);
CString GetDirectoryPath() const;
void OnFinalMessage(HWND) override;
void DoSort(const SortInfo* si);
bool IsSortable(int column) const;
CString GetColumnText(HWND, int row, int col);
int GetRowImage(HWND, int row) const;
BEGIN_MSG_MAP(CObjectManagerView)
MESSAGE_HANDLER(WM_CREATE, OnCreate)
NOTIFY_CODE_HANDLER(TVN_SELCHANGED, OnTreeSelectionChanged)
COMMAND_ID_HANDLER(ID_VIEW_REFRESH, OnRefresh)
COMMAND_ID_HANDLER(ID_EDIT_SECURITY, OnEditSecurity)
CHAIN_MSG_MAP(CVirtualListView<CObjectManagerView>)
CHAIN_MSG_MAP(CViewBase<CObjectManagerView>)
END_MSG_MAP()
private:
LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
LRESULT OnTreeSelectionChanged(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/);
LRESULT OnRefresh(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
LRESULT OnEditSecurity(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
void InitTree();
void UpdateList(bool newNode);
void EnumDirectory(CTreeItem root, const CString& path);
struct ObjectData {
CString Name, FullName, Type;
};
static bool CompareItems(const ObjectData& data1, const ObjectData& data2, int col, bool asc);
private:
CTreeViewCtrlEx m_Tree;
CListViewCtrl m_List;
std::vector<ObjectData> m_Objects;
CSplitterWindow m_Splitter;
};
| [
"zodiacon@live.com"
] | zodiacon@live.com |
c02275a4a81f423af7cfe2426dc8c0c878d0e29f | 7f08b39b61e51d85ee7f21a8677bd808c10812e6 | /ConcuShare.cpp | 5b8d345c1a8d414bd90634efda422c60712597d4 | [] | no_license | Bloodclot24/clown1 | fbd8e7466db7b221c25527d4401d4f05a5e49ee2 | c886d999258fd11d5092628b7746e3c915f7407f | refs/heads/master | 2021-01-23T08:57:06.980581 | 2011-12-01T12:52:08 | 2011-12-01T12:52:08 | 32,809,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,346 | cpp | #include "ConcuShare.h"
ConcuShare::ConcuShare() {
}
ConcuShare::~ConcuShare() {
}
int ConcuShare::compartirArchivos()
{
string ruta;
int numero;
bool salir = false;
while (!salir) {
Vista::mostrarMenuCompartir();
bool valido = false;
char opcion = Vista::pedirChar();
switch (opcion)
{
case '1':
while (!valido) {
Vista::mostrarMensajeInicial("Ingrese la ruta del archivo : ");
ruta = Vista::pedirString();
if (open(ruta.c_str(), O_RDONLY) == -1) {
Vista::mostrarMensaje("Archivo no valido, intente nuevamente.");
} else {
gestorUsuarios.agregarArchivo(ruta, usuario);
Vista::mostrarMensajeFinal("Archivo " + ruta + " compartido");
valido = true;
}
}
break;
case '2':
Vista::mostrarUsuario(usuario);
Vista::mostrarMensajeInicial("Ingrese el numero del archivo : ");
numero = Vista::pedirInt(0, usuario.getArchivos().size() - 1);
ruta = usuario.getArchivos()[numero];
gestorUsuarios.eliminarArchivo(ruta, usuario);
Vista::mostrarMensajeFinal("Ha dejado de compartir el archivo " + ruta);
break;
case '3':
salir = true;
break;
default:
Vista::mostrarMensaje("No es una opcion valida, intente nuevamente.");
break;
}
}
return PADRE;
}
int ConcuShare::descargarArchivo(Usuario usuarioOrigen)
{
Vista::mostrarUsuario(usuarioOrigen);
Vista::mostrarMensaje("Ingrese el numero de archivo que desea descargar");
int numero = Vista::pedirInt(0, usuarioOrigen.getArchivos().size() - 1);
Vista::mostrarMensajeFinal("");
int pidDescarga = fork();
if(pidDescarga == HIJO) {
string archivo = usuarioOrigen.getArchivos()[numero];
Debug::getInstance()->escribir("Usuario " + usuario.getNombre() + " inicia descarga en proceso " + Debug::intToString(usuario.getPid()) + "\n");
gestorDescargas.descargar(archivo, usuarioOrigen, usuario);
Vista::mostrarMensaje("Archivo " + archivo + " descargado");
return HIJO;
}
hijos.insert(hijos.end(), pidDescarga);
return PADRE;
}
int ConcuShare::buscarArchivos()
{
vector<Usuario> usuarios = gestorUsuarios.buscarArchivos();
if(usuarios.size() == 0 || (usuarios.size() == 1 && usuarios[0] == usuario))
Vista::mostrarMensajeFinal("No hay archivos compartidos por otros usuarios.");
else {
Vista::mostrarArchivos(usuarios, usuario);
Vista::mostrarMensaje("Desea seleccionar un archivo para descargar? (s/n)");
int numero;
bool salir = false;
while (!salir) {
char opcion = Vista::pedirChar();
switch (opcion) {
case 's':
Vista::mostrarMensaje("Ingrese el numero del usuario al que pertenece el archivo : ");
numero = Vista::pedirInt(0, usuarios.size() - 1);
if (descargarArchivo(usuarios[numero]) == HIJO)
return HIJO;
salir = true;
break;
case 'n':
salir = true;
break;
default:
Vista::mostrarMensaje("No es una opcion valida, intente nuevamente.");
break;
}
}
}
return PADRE;
}
int ConcuShare::ejecutarMenu()
{
Debug::getInstance()->escribir("Usuario " + usuario.getNombre() + " en proceso " + Debug::intToString(usuario.getPid()) + "\n"); //ver si esto va aca
bool salir = false;
while (!salir) {
Vista::mostrarMenu();
char opcion = Vista::pedirChar();
switch (opcion)
{
case '1':
compartirArchivos();
break;
case '2':
if(buscarArchivos() == HIJO) {
gestorUsuarios.cerrar();
return HIJO;
}
break;
case '3':
Vista::mostrarMensaje("Fin del Programa");
gestorUsuarios.eliminarUsuario(usuario);
salir = true;
break;
default:
Vista::mostrarMensaje("No es una opcion valida, intente nuevamente.");
break;
}
}
return PADRE;
}
void ConcuShare::crearDirectorioDescargas(string nombre)
{
string directorio = "descargas_" + nombre + "_" + Debug::intToString(getpid()) + "/";
int estado = mkdir(directorio.c_str(), 0700);
if(estado >= 0)
Debug::getInstance()->escribir("Proceso " + Debug::intToString(getpid()) + ": creo el directorio " + directorio + " para realizar las descargas\n");
}
int ConcuShare::parsearLineaDeComandos(int argc, char** argv)
{
int ch;
Debug::getInstance();
while ((ch = getopt(argc, argv, "hd")) != -1) {
switch (ch) {
case 'h':
Vista::mostrarUso(argv[0]);
return SALIR;
break;
case 'd':
Debug::setModoDebug();
break;
default:
Vista::mostrarUso(argv[0]);
return SALIR;
break;
}
}
return 0;
}
int ConcuShare::iniciar(int argc, char** argv)
{
if(parsearLineaDeComandos(argc, argv) == SALIR)
return 0;
int pid = fork ();
if(pid == HIJO){
int resultado = gestorDescargas.iniciarRecepcion();
Debug::getInstance()->escribir("Recepcion de usuario en proceso " + Debug::intToString(getpid()) + "finaliza el proceso\n");
Debug::destruir();
return resultado;
}
Vista::mostrarBienvenida();
string nombre = Vista::pedirString();
Usuario usuario(nombre,getpid());
this->usuario = usuario;
crearDirectorioDescargas(nombre);
if(ejecutarMenu() == HIJO) {
Debug::getInstance()->escribir("Descarga de usuario en proceso " + Debug::intToString(getpid()) + "finaliza el proceso\n");
} else {
kill(pid,SIGINT);
gestorDescargas.esperarFinalizacionDescargas(hijos);
Debug::getInstance()->escribir("Usuario en proceso " + Debug::intToString(getpid()) + "finaliza el proceso\n");
}
Debug::destruir();
return 0;
}
| [
"karenroberts16@d77367b4-a41a-a8ec-1c07-1d8232531fd3"
] | karenroberts16@d77367b4-a41a-a8ec-1c07-1d8232531fd3 |
64e6ff1ecb4be183becadaf6d45788117ab68be2 | bef83b7a1e67440000878990bbdb9ad5a22f5883 | /src/ICSEControl.cpp | 8e6f41e91a9fc92e0fe300ab788ca81289c8d019 | [] | no_license | trofymenko-r/sys | 8ca6508919d606ca91be5106adb57f66e179fed0 | 9446dc867931eb3833c0f90f39279f956d4b6df8 | refs/heads/master | 2020-08-12T03:50:50.792961 | 2019-10-25T17:24:53 | 2019-10-25T17:24:53 | 214,683,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,470 | cpp | /*
* ICSEControl.cpp
*
* Created on: Oct 17, 2019
* Author: ruslantrofymenko
*/
#include <iostream>
#include <vector>
#include <sys/stat.h>
#include <fstream>
#include <algorithm>
#include <bitset>
#include <unistd.h>
#include <ICSEControl.h>
#include <App.h>
#include <UsbSerial.h>
#include <ustring.h>
using namespace std;
namespace sys {
const string CICSEControl::ConfDir = "icse/";
CICSEControl::CICSEControl() {
// TODO Auto-generated constructor stub
}
CICSEControl::~CICSEControl() {
close(fd);
}
bool CICSEControl::IsConfigExists(const string& ttyDev)
{
return CApp::FileExists(ConfPath + ttyDev);
}
bool CICSEControl::IsConfigExists()
{
return IsConfigExists(ttyDev);
}
bool CICSEControl::ReadConfig(SConfig& Config)
{
bool bResult = false;
ifstream fs;
string Line;
fs.open(ConfPath + ttyDev);
if (!fs.is_open()) {
cerr << "error open config file" << endl;
return bResult;
}
do {
getline(fs, Line);
if (!IsIntValue(Line))
break;
Config.DevNum = stoi(Line, nullptr, 10);
getline(fs, Line);
if (Line.find_first_not_of("01") != std::string::npos)
break;
Config.Status = stoi(Line, nullptr, 2);
bResult = true;
} while (false);
fs.close();
return bResult;
}
bool CICSEControl::WriteConfig(const SConfig& Config)
{
ofstream fs;
string Line;
fs.open(ConfPath + ttyDev, ofstream::trunc);
if (!fs.is_open()) {
cerr << "error open config file" << endl;
return false;
}
fs << Config.DevNum << endl;
fs << bitset<8>(Config.Status) << endl;
fs.close();
return true;
}
bool CICSEControl::WriteConfig()
{
SConfig Config = {DevNum, Status};
return WriteConfig(Config);
}
bool CICSEControl::CheckConfig()
{
SConfig Config;
if (!ReadConfig(Config))
return false;
if (Config.DevNum != DevNum)
return false;
return true;
}
bool CICSEControl::SendCmd(unsigned char *data, int bytes)
{
int wbytes = write(fd, data, bytes);
if (wbytes != bytes) {
cerr << "ICSE: error write data" << endl;
return false;
}
return true;
}
bool CICSEControl::SendCmd(unsigned char Cmd)
{
return SendCmd(&Cmd, 1);
}
bool CICSEControl::GetResponse(unsigned char *data, int bytes)
{
int rbytes = read(fd, data, bytes);
if (rbytes != bytes) {
cerr << "ICSE: error read data" << endl;
return false;
}
return true;
}
unsigned char CICSEControl::GetResponse()
{
unsigned char Response;
GetResponse(&Response, 1);
return Response;
}
bool CICSEControl::Init()
{
ConfPath = CApp::GetHomeDir() + ConfDir;
if (!CApp::PathExists(ConfPath))
mkdir(ConfPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);;
vector<CUsbSerial::SDeviceEntry> ttyList = CUsbSerial::GetDevicesList("pl2303");
if (ttyList.empty()) {
cerr << "device not detected" << endl;
return false;
}
if (ttyList.size() > 1) {
cerr << "clarify ICSE serial device:" << endl;
for (auto& tty: ttyList)
cerr << tty.Device << endl;
return false;
}
ttyDev = ttyList[0].Device;
DevNum = CUsbSerial::GetDevNum(ttyDev);
cout << "detect ICSE serial device " << ttyDev << endl;
fd = CUsbSerial::InitPort(ttyDev, B9600, true);
if (fd <= 0) {
cout << ttyDev << " not opened" << endl;
return false;
}
SConfig Config;
if (CheckConfig()) {
cout << "ISCE control (" + ttyDev + ") already initialized" << endl;
ReadConfig(Config);
DevNum = Config.DevNum;
Status = Config.Status;
return true;
}
tcflush(fd, TCIOFLUSH);
bool bInit = true;
for (int ii = 0; ii < 3; ii++) {
if (!SendCmd(0x50))
return false;
unsigned char Response = GetResponse();
switch(Response) {
case 0xAB:
cout << "detect ICSE012A" << endl;
break;
case 0xAD:
cout << "detect ICSE013A" << endl;
break;
case 0xAC:
cout << "detect ICSE014A" << endl;
break;
default:
bInit = false;
}
if (bInit)
break;
}
if (!bInit) {
cerr << "undefined ICSE device" << endl;
return false;
}
if (!SendCmd(0x51))
return false;
Status = 0;
Config.DevNum = DevNum;
Config.Status = Status;
WriteConfig(Config);
usleep(1000);
return true;
}
bool CICSEControl::SetChanel(int Chanel, bool State)
{
if (State) {
Status |= 1 << Chanel;
} else {
Status &= ~(1 << Chanel);
}
if (!SendCmd(~Status))
return false;
if (!WriteConfig())
return false;
return true;
}
bool CICSEControl::Set(unsigned char State)
{
Status = State;
if (!SendCmd(~Status))
return false;
if (!WriteConfig())
return false;
return true;
}
} /* namespace sys */
| [
"ruslan.trofymenko@globallogic.com"
] | ruslan.trofymenko@globallogic.com |
4357e87bfabe51cb5416e5371bc9b9a61b454ad6 | 1b8a79bb13c1376ef7041acffec16ee7dcce3dbb | /td/telegram/files/FileType.h | ae2e49ba8f207770a7ce93d598a65a97fbdb1de8 | [
"JSON",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bejbybox/td | c748a3f48e1f1f40df95830f017eb8ee3b774e53 | 1979b2b142fdb8dffce273ede8559c8620dbd56d | refs/heads/master | 2023-03-31T16:20:32.981454 | 2021-04-12T15:32:47 | 2021-04-12T15:32:47 | 357,327,212 | 1 | 0 | BSL-1.0 | 2021-04-12T22:38:19 | 2021-04-12T20:15:43 | null | UTF-8 | C++ | false | false | 1,257 | h | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021
//
// Distributed under 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)
//
#pragma once
#include "td/telegram/td_api.h"
#include "td/utils/common.h"
#include "td/utils/Slice.h"
#include "td/utils/StringBuilder.h"
namespace td {
enum class FileType : int32 {
Thumbnail,
ProfilePhoto,
Photo,
VoiceNote,
Video,
Document,
Encrypted,
Temp,
Sticker,
Audio,
Animation,
EncryptedThumbnail,
Wallpaper,
VideoNote,
SecureRaw,
Secure,
Background,
DocumentAsFile,
Size,
None
};
enum class FileDirType : int8 { Secure, Common };
constexpr int32 MAX_FILE_TYPE = static_cast<int32>(FileType::Size);
FileType get_file_type(const td_api::FileType &file_type);
tl_object_ptr<td_api::FileType> get_file_type_object(FileType file_type);
FileType get_main_file_type(FileType file_type);
CSlice get_file_type_name(FileType file_type);
StringBuilder &operator<<(StringBuilder &string_builder, FileType file_type);
FileDirType get_file_dir_type(FileType file_type);
bool is_file_big(FileType file_type, int64 expected_size);
} // namespace td
| [
"levlam@telegram.org"
] | levlam@telegram.org |
454da2b1883a632626dff85f91400dd97a9aa4b0 | a8492dc43b77e4d11678815accfd645cc9e48055 | /include/boost/url/impl/ipv6_address.hpp | 0b8d6518fd2871ac0c92682881aa108720812c87 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | madmongo1/url | c7b0819a303353e090d2c6f623b655163000e564 | e7c9b0c860abd5fba3b7a20c3b29552a326de7b5 | refs/heads/develop | 2023-07-10T12:01:58.671968 | 2021-09-08T15:25:38 | 2021-09-08T15:25:38 | 404,396,109 | 0 | 0 | BSL-1.0 | 2021-09-08T15:17:01 | 2021-09-08T15:17:00 | null | UTF-8 | C++ | false | false | 699 | hpp | //
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
//
// Distributed under 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)
//
// Official repository: https://github.com/CPPAllinace/url
//
#ifndef BOOST_URL_IMPL_IPV6_ADDRESS_HPP
#define BOOST_URL_IMPL_IPV6_ADDRESS_HPP
#include <memory>
namespace boost {
namespace urls {
template<class Allocator>
string_type<Allocator>
ipv6_address::
to_string(Allocator const& a) const
{
string_type<Allocator> s(a);
char buf[max_str_len];
s.resize(print_impl(buf));
std::memcpy(&s[0], buf, s.size());
return s;
}
} // urls
} // boost
#endif
| [
"vinnie.falco@gmail.com"
] | vinnie.falco@gmail.com |
90881a5f768f4565f0ef7e67fc7b55350bb5069e | ba11c8c6d48edc57e2ca0c5624ee2d1990a51102 | /practice/codemonk/graphs/monk_and_graph_problem.cpp | 1a0a165793e350c7d260d83ff909731016f5e8d4 | [] | no_license | vishu-garg/competetive-programming | 5cf7c2fc4d0b326965004d94e9c8697639c04ec3 | 7f9a6a63372af0c63a1fea6e9aae952a34bc849c | refs/heads/master | 2021-07-11T14:47:13.459346 | 2020-08-10T13:52:30 | 2020-08-10T13:52:30 | 189,592,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | #include<bits/stdc++.h>
#include<algorithm>
using namespace std;
#define ll long long
#define ld long double
#define rep(i,a,b) for(ll i=a;i<b;i++)
#define repb(i,a,b) for(ll i=a;i>=b;i--)
#define err() cout<<"=================================="<<endl;
#define errA(A) for(auto i:A) cout<<i<<" ";cout<<endl;
#define err1(a) cout<<#a<<" "<<a<<endl
#define err2(a,b) cout<<#a<<" "<<a<<" "<<#b<<" "<<b<<endl
#define err3(a,b,c) cout<<#a<<" "<<a<<" "<<#b<<" "<<b<<" "<<#c<<" "<<c<<endl
#define err4(a,b,c,d) cout<<#a<<" "<<a<<" "<<#b<<" "<<b<<" "<<#c<<" "<<c<<" "<<#d<<" "<<d<<endl
#define pb push_back
#define all(A) A.begin(),A.end()
#define allr(A) A.rbegin(),A.rend()
#define ft first
#define sd second
#define pll pair<ll,ll>
#define V vector<ll>
#define S set<ll>
#define VV vector<V>
#define Vpll vector<pll>
#define endl "\n"
const ll logN = 20;
const ll M = 1000000007;
const ll INF = 1e12;
#define PI 3.14159265
vector<vector<ll> > v(100000);
ll visited[100000]={0};
ll dfs(ll s)
{
ll ans=v[s].size();
visited[s]=1;
rep(i,0,v[s].size())
{
if(visited[v[s][i]]==0)
{
ans+=dfs(v[s][i]);
}
}
return ans;
}
int main()
{
ll n,m;
cin>>n>>m;
while(m--)
{
ll x,y;
cin>>x>>y;
v[x-1].pb(y-1);
if(x!=y)
v[y-1].pb(x-1);
}
ll ans=(-1*100000);
rep(i,0,n)
{
if(visited[i]==0)
ans=max(ans,(dfs(i))/2);
}
cout<<ans;
} | [
"46370385+vishu-garg@users.noreply.github.com"
] | 46370385+vishu-garg@users.noreply.github.com |
e7810f1befb56a0f656e487219ee91e989ee549d | fd56dceaf50d4bf1ca0b39e6e72894d8368514e3 | /deque/student.h | d49f1e58cdd2070beb1bda36244ceb54739cb096 | [] | no_license | dallingilbert/CS235G9 | fc6cc19bf3fc67dd9b31e3d9d5bd4199780c77df | 4bc2f07f00bfbf32fea9c385e546271c45b19a81 | refs/heads/master | 2023-08-14T23:45:08.618078 | 2021-10-16T22:27:38 | 2021-10-16T22:27:38 | 331,054,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h | #pragma once
/***********************************************************************
* Header:
* Student class
* Summary:
* This class contains the student input.
* Authors:
* John McCleve
* Dallin Gilbert
************************************************************************/
#ifndef Student_h
#define Student_h
#include <string> // for STRING
#include <cassert>
using namespace std;
class Student
{
private:
// private member variables
string name;
string Class;
int time;
bool emer;
public:
// default constructor
Student() : time(0) { };
// getters
string getName() const { return name; }
string getClass() const { return Class; }
int getTime() const { return time; }
bool getEmer() const { return emer; }
// setters
void setName(string name) { this->name = name; }
void setClass(string Class) { this->Class = Class; }
void setTime(int time) { this->time = time; }
void setEmer(bool emer) { this->emer = emer; }
};
#endif | [
"djgilb24@byui.edu"
] | djgilb24@byui.edu |
a7174a65d062d0ffad8b87e55e3d7e91ee14c75e | 47ebaa434e78c396c4e6baa14f0b78073f08a549 | /tags/Release-12_9_9/server/src/exceptions.h | 5d8030423b2b280a7fcbe9182941858bc237bdb5 | [] | no_license | BackupTheBerlios/wolfpack-svn | d0730dc59b6c78c6b517702e3825dd98410c2afd | 4f738947dd076479af3db0251fb040cd665544d0 | refs/heads/master | 2021-10-13T13:52:36.548015 | 2013-11-01T01:16:57 | 2013-11-01T01:16:57 | 40,748,157 | 1 | 2 | null | 2021-09-30T04:28:19 | 2015-08-15T05:35:25 | C++ | UTF-8 | C++ | false | false | 2,068 | h | /*
* Wolfpack Emu (WP)
* UO Server Emulation Program
*
* Copyright 2001-2004 by holders identified in AUTHORS.txt
* 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., 59 Temple Palace - Suite 330, Boston, MA 02111-1307, USA.
*
* In addition to that license, if you are running this program or modified
* versions of it on a public system you HAVE TO make the complete source of
* the version used by you available or provide people with a location to
* download it.
*
* Wolfpack Homepage: http://wpdev.sf.net/
*/
#if !defined(__EXCEPTIONS_H__)
#define __EXCEPTIONS_H__
// Platform specifics
#include "platform.h"
// System Includes
#include <exception>
// Library Includes
#include <qstring.h>
class wpException : public std::exception
{
private:
QString mError;
public:
wpException( const QString& sError ) throw() : mError( sError )
{
};
~wpException() throw()
{
};
const QString& error() const throw()
{
return mError;
}
};
class wpFileNotFoundException : public wpException
{
public:
wpFileNotFoundException( const QString& sError ) throw() : wpException( sError )
{
};
};
namespace wp_exceptions
{
// Exceptions trown by ItemManager:
class wpbad_ptr : public std::exception
{
private:
QString m_Error;
public:
wpbad_ptr( const QString& sError ) throw() : m_Error( sError )
{
};
virtual const char* what() const throw()
{
return m_Error.latin1();
}
~wpbad_ptr() throw()
{
} ;
};
};
#endif // __EXCEPTIONS_H__
| [
"(no author)@db57ef4e-4fe8-0310-84ee-c23f6f2f8b61"
] | (no author)@db57ef4e-4fe8-0310-84ee-c23f6f2f8b61 |
9636ca4eca3917046dec898c8da0c029b5ff4f50 | 865f81015d4649456e0716be4226234261c4696c | /Pool_C++/day00/ex01/PhoneBook.hpp | 8de2ca9ac2bf9a5618034b9ad6319230b7551bc7 | [] | no_license | gniliansky/University-pools | 8a228190babaf2e5640962d0b76cec494966e16c | fe1de27740f331aaa995bfa38c9cec667197625a | refs/heads/master | 2020-03-11T14:25:03.123180 | 2018-04-18T12:41:16 | 2018-04-18T12:41:16 | 130,053,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PhoneBook.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vgnylyan <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/03/30 11:35:00 by vgnylyan #+# #+# */
/* Updated: 2018/03/30 11:35:00 by vgnylyan ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PHONEBOOK_H
#define PHONEBOOK_H
#include "contact.hpp"
#include <iomanip>
class PhoneBook
{
private:
static int idContacts;
Contact contacts[8];
static std::string cutString(std::string line);
void printContact() const;
public:
PhoneBook();
void add();
void search() const;
};
#endif
| [
"vgnylyan@e3r2p1.unit.ua"
] | vgnylyan@e3r2p1.unit.ua |
41615342b1f4a088bfca0eb3a1d42fcd6903af91 | 4dbe314475f6e31519a65d83cb62a530f0344682 | /tests/test-process.cpp | 165a2837406f3d7e32507f62dc51be8f28a03fb0 | [
"Apache-2.0"
] | permissive | jin1xiao3long2/libmozart | b2328758cf19fd3302568b745289821dad5e617d | 78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281 | refs/heads/main | 2023-04-05T08:51:55.490972 | 2021-04-22T16:52:07 | 2021-04-22T16:52:07 | 360,590,796 | 0 | 0 | Apache-2.0 | 2021-04-22T16:48:25 | 2021-04-22T16:48:24 | null | UTF-8 | C++ | false | false | 3,999 | cpp | /**
* Mozart++ Template Library
* Licensed under Apache 2.0
* Copyright (C) 2020-2021 Chengdu Covariant Technologies Co., LTD.
* Website: https://covariant.cn/
* Github: https://github.com/chengdu-zhirui/
*/
#include <cstdio>
#include <cstdlib>
#include <mozart++/string>
#include <mozart++/process>
#ifdef MOZART_PLATFORM_WIN32
#define SHELL "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
#else
#define SHELL "/bin/bash"
#endif
using mpp::process;
using mpp::process_builder;
void test_basic() {
process p = process::exec(SHELL);
p.in() << "ls /" << std::endl;
p.in() << "exit" << std::endl;
p.wait_for();
std::string s;
while (std::getline(p.out(), s)) {
printf("process: test-basic: %s\n", s.c_str());
}
}
void test_execvpe_unix() {
#ifndef MOZART_PLATFORM_WIN32
process p = process::exec("ls");
p.wait_for();
std::string s;
while (std::getline(p.out(), s)) {
printf("process: test_execvpe_unix: %s\n", s.c_str());
}
#endif
}
void test_error_unix() {
#ifndef MOZART_PLATFORM_WIN32
try {
process p = process::exec("no-such-command");
p.wait_for();
} catch (const mpp::runtime_error &e) {
printf("%s\n", e.what());
if (!mpp::string_ref(e.what()).contains("No such file or directory")) {
printf("process: test_error_unix: failed\n");
exit(1);
}
}
#endif
}
void test_stderr() {
// PS> echo fuckms 1>&2
// + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
// + FullyQualifiedErrorId : RedirectionNotSupported
#ifndef MOZART_PLATFORM_WIN32
// the following code is equivalent to "/bin/bash 2>&1"
process p = process_builder().command(SHELL)
.merge_outputs(true)
.start();
// write to stderr
p.in() << "echo fuckcpp 1>&2" << std::endl;
p.in() << "exit" << std::endl;
p.wait_for();
// and we can get from stdout
std::string s;
p.out() >> s;
if (s != "fuckcpp") {
printf("process: test-stderr: failed\n");
exit(1);
}
#endif
}
void test_env() {
// Thanks to the fucking powershit,
// I can't refer to my variables till now.
// God knows why MS designed an object-oriented shell,
// and it just tastes like shit.
#ifndef MOZART_PLATFORM_WIN32
process p = process_builder().command(SHELL)
.environment("VAR1", "fuck")
.environment("VAR2", "cpp")
.start();
p.in() << "echo $VAR1$VAR2" << std::endl;
p.in() << "exit" << std::endl;
p.wait_for();
std::string s;
p.out() >> s;
if (s != "fuckcpp") {
printf("process: test-env: failed\n");
exit(1);
}
#endif
}
void test_r_file() {
// VAR=fuckcpp bash <<< "echo $VAR; exit" > output-all.txt
FILE *fout = fopen("output-all.txt", "w");
process p = process_builder().command(SHELL)
#ifndef MOZART_PLATFORM_WIN32
.environment("VAR", "fuckcpp")
#endif
.redirect_stdout(fileno(fout))
.merge_outputs(true)
.start();
p.in() << "echo $VAR" << std::endl;
p.in() << "exit" << std::endl;
p.wait_for();
fclose(fout);
fout = fopen("output-all.txt", "r");
mpp::fdistream fin(fileno(fout));
std::string s;
fin >> s;
#ifndef MOZART_PLATFORM_WIN32
if (s != "fuckcpp") {
printf("process: test-redirect-file: failed\n");
exit(1);
}
#else
if (s != "Windows") {
printf("process: test-redirect-file: failed\n");
exit(1);
}
#endif
}
void test_exit_code() {
process p = process::exec(SHELL);
p.in() << "exit 120" << std::endl;
int code = p.wait_for();
if (code != 120) {
printf("process: test-exit-code: failed\n");
exit(1);
}
}
int main(int argc, const char **argv) {
test_basic();
test_execvpe_unix();
test_error_unix();
test_stderr();
test_env();
test_r_file();
test_exit_code();
return 0;
}
| [
"lee@covariant.cn"
] | lee@covariant.cn |
d7ee0c2d9a2ece0c6db3ec46c99ba7d79e016791 | e6e46a185bd5c204592a8804489d7e17ad4ae204 | /Codeforces/1419/D1.cpp | 51d2b8ad4d249b5e21e61323dc86bbfe127698ab | [
"MIT"
] | permissive | AJ-Ferdous/competitive-programming | 9bdecfca2b74896751e767245733ff94af693bae | 1848f268ada233e5d728007276b2486a89c44c4a | refs/heads/master | 2023-06-24T09:29:15.045458 | 2021-07-20T10:20:07 | 2021-07-20T10:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | cpp | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define deb(x) cout << #x << " is " << x << "\n"
#define int long long
#define MOD 1000000007LL
#define PI acos(-1)
template <typename T>
using min_heap = priority_queue<T, vector<T>, greater<T>>;
template <typename T>
using max_heap = priority_queue<T>;
template <class T>
using ordered_set = tree<T, null_type, less_equal<T>, rb_tree_tag, tree_order_statistics_node_update>;
template <typename... T>
void read(T &...args) {
((cin >> args), ...);
}
template <typename... T>
void write(T &&...args) {
((cout << args), ...);
}
template <typename T>
void readContainer(T &t) {
for (auto &e : t) {
read(e);
}
}
template <typename T>
void writeContainer(T &t) {
for (const auto &e : t) {
write(e, " ");
}
write("\n");
}
auto speedup = []() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
return nullptr;
}();
void solve(int tc) {
int N;
read(N);
vector<int> A(N);
readContainer(A);
sort(A.begin(), A.end());
vector<int> B(N);
int i = 1, j = 0;
while (i < N) {
B[i] = A[j];
j++;
i += 2;
}
i = 0;
while (i < N) {
B[i] = A[j];
j++;
i += 2;
}
int ans = 0;
for (i = 1; i < N - 1; i++) {
if (B[i] < B[i - 1] && B[i] < B[i + 1]) {
ans++;
}
}
write(ans, "\n");
writeContainer(B);
}
signed main() {
int tc = 1;
// read(tc);
for (int curr = 1; curr <= tc; ++curr) {
solve(curr);
}
return 0;
} | [
"thedevelopersanjeev@gmail.com"
] | thedevelopersanjeev@gmail.com |
8f747eb3cb6bcbc025f21c36d525935ea19817fd | 7e0979fbe2d94eb0d51f0f0d174bedceab42032e | /UpnpLibrary/ssdpmessage.h | 02938f86ae10131d20a421f42adafc15d19ba1b6 | [] | no_license | robby31/Upnp | 86874a42d122f9aaf298a9ff323ce3cfb375be17 | 8bb97922eca35ce62b9fbb12297f8c60555eeed2 | refs/heads/master | 2021-01-22T14:20:42.201774 | 2020-02-15T08:53:34 | 2020-02-15T08:53:34 | 82,330,493 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | #ifndef SSDPMESSAGE_H
#define SSDPMESSAGE_H
#include <QStringList>
#include <QVariant>
#include <QDebug>
#include <QRegularExpression>
#include <QRegularExpressionMatch>
enum SsdpFormat { NOTIFY, SEARCH, HTTP, INVALID };
class SsdpMessage
{
public:
SsdpMessage() = default;
SsdpMessage(SsdpFormat format);
bool addHeader(const QString ¶m, const QString &value);
QString getHeader(const QString ¶m) const;
SsdpFormat format() const;
QString startLine() const;
int cacheControl() const;
QString getUuidFromUsn() const;
QByteArray toUtf8() const;
QStringList toStringList() const;
static SsdpMessage fromByteArray(const QByteArray &input);
// Carriage return and line feed.
static const QString CRLF;
static const QString ALIVE;
static const QString BYEBYE;
static const QString DISCOVER;
private:
bool addRawHeader(const QString &data);
private:
QStringList m_header;
};
#endif // SSDPMESSAGE_H
| [
"guillaume.himbert@gmail.com"
] | guillaume.himbert@gmail.com |
034841a26250ca7a141f10a7d8f100eb09be3015 | 43752c4f3de41d84e9f4030459e1554fc723d210 | /Lib/LLVMJIT/EmitNumeric.cpp | 69fd725483769a174d8428ab866d2b5ef95f0031 | [
"BSD-3-Clause"
] | permissive | moneytech/WAVM | 017d5cd377b25abbd859ce4c46c00edd44140259 | 9d3b1f11bcec749ee2f42bae5fc1eaec82996872 | refs/heads/master | 2020-12-04T15:54:40.957133 | 2020-05-28T12:02:20 | 2020-05-28T12:02:20 | 231,825,323 | 0 | 0 | NOASSERTION | 2020-05-28T12:02:21 | 2020-01-04T20:40:45 | null | UTF-8 | C++ | false | false | 41,284 | cpp | #include <stdint.h>
#include "EmitContext.h"
#include "EmitFunctionContext.h"
#include "EmitModuleContext.h"
#include "EmitWorkarounds.h"
#include "LLVMJITPrivate.h"
#include "WAVM/IR/Operators.h"
#include "WAVM/IR/Types.h"
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Inline/Errors.h"
#include "WAVM/Inline/FloatComponents.h"
PUSH_DISABLE_WARNINGS_FOR_LLVM_HEADERS
#include <llvm/ADT/APInt.h>
#include <llvm/ADT/ArrayRef.h>
#include <llvm/ADT/SmallVector.h>
#include <llvm/IR/BasicBlock.h>
#include <llvm/IR/Constant.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/InstrTypes.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/Intrinsics.h>
#include <llvm/IR/Type.h>
#include <llvm/IR/Value.h>
#if LLVM_VERSION_MAJOR >= 10
#include <llvm/IR/IntrinsicsAArch64.h>
#include <llvm/IR/IntrinsicsX86.h>
#endif
POP_DISABLE_WARNINGS_FOR_LLVM_HEADERS
using namespace WAVM;
using namespace WAVM::IR;
using namespace WAVM::LLVMJIT;
//
// Constant operators
//
#define EMIT_CONST(typeId, NativeType) \
void EmitFunctionContext::typeId##_const(LiteralImm<NativeType> imm) \
{ \
push(emitLiteral(llvmContext, imm.value)); \
}
EMIT_CONST(i32, I32)
EMIT_CONST(i64, I64)
EMIT_CONST(f32, F32)
EMIT_CONST(f64, F64)
EMIT_CONST(v128, V128)
//
// Numeric operator macros
//
#define EMIT_BINARY_OP(typeId, name, emitCode) \
void EmitFunctionContext::typeId##_##name(NoImm) \
{ \
const ValueType type = ValueType::typeId; \
WAVM_SUPPRESS_UNUSED(type); \
auto right = pop(); \
auto left = pop(); \
push(emitCode); \
}
#define EMIT_INT_BINARY_OP(name, emitCode) \
EMIT_BINARY_OP(i32, name, emitCode) \
EMIT_BINARY_OP(i64, name, emitCode)
#define EMIT_FP_BINARY_OP(name, emitCode) \
EMIT_BINARY_OP(f32, name, emitCode) \
EMIT_BINARY_OP(f64, name, emitCode)
#define EMIT_UNARY_OP(typeId, name, emitCode) \
void EmitFunctionContext::typeId##_##name(NoImm) \
{ \
const ValueType type = ValueType::typeId; \
WAVM_SUPPRESS_UNUSED(type); \
auto operand = pop(); \
push(emitCode); \
}
#define EMIT_INT_UNARY_OP(name, emitCode) \
EMIT_UNARY_OP(i32, name, emitCode) \
EMIT_UNARY_OP(i64, name, emitCode)
#define EMIT_FP_UNARY_OP(name, emitCode) \
EMIT_UNARY_OP(f32, name, emitCode) \
EMIT_UNARY_OP(f64, name, emitCode)
#define EMIT_SIMD_BINARY_OP(name, llvmType, emitCode) \
void EmitFunctionContext::name(IR::NoImm) \
{ \
llvm::Type* vectorType = llvmType; \
WAVM_SUPPRESS_UNUSED(vectorType); \
auto right = irBuilder.CreateBitCast(pop(), llvmType); \
WAVM_SUPPRESS_UNUSED(right); \
auto left = irBuilder.CreateBitCast(pop(), llvmType); \
WAVM_SUPPRESS_UNUSED(left); \
push(emitCode); \
}
#define EMIT_SIMD_UNARY_OP(name, llvmType, emitCode) \
void EmitFunctionContext::name(IR::NoImm) \
{ \
auto operand = irBuilder.CreateBitCast(pop(), llvmType); \
WAVM_SUPPRESS_UNUSED(operand); \
push(emitCode); \
}
#define EMIT_SIMD_INT_BINARY_OP(name, emitCode) \
EMIT_SIMD_BINARY_OP(i8x16##_##name, llvmContext.i8x16Type, emitCode) \
EMIT_SIMD_BINARY_OP(i16x8##_##name, llvmContext.i16x8Type, emitCode) \
EMIT_SIMD_BINARY_OP(i32x4##_##name, llvmContext.i32x4Type, emitCode) \
EMIT_SIMD_BINARY_OP(i64x2##_##name, llvmContext.i64x2Type, emitCode)
#define EMIT_SIMD_FP_BINARY_OP(name, emitCode) \
EMIT_SIMD_BINARY_OP(f32x4##_##name, llvmContext.f32x4Type, emitCode) \
EMIT_SIMD_BINARY_OP(f64x2##_##name, llvmContext.f64x2Type, emitCode)
#define EMIT_SIMD_INT_UNARY_OP(name, emitCode) \
EMIT_SIMD_UNARY_OP(i8x16##_##name, llvmContext.i8x16Type, emitCode) \
EMIT_SIMD_UNARY_OP(i16x8##_##name, llvmContext.i16x8Type, emitCode) \
EMIT_SIMD_UNARY_OP(i32x4##_##name, llvmContext.i32x4Type, emitCode) \
EMIT_SIMD_UNARY_OP(i64x2##_##name, llvmContext.i64x2Type, emitCode)
#define EMIT_SIMD_FP_UNARY_OP(name, emitCode) \
EMIT_SIMD_UNARY_OP(f32x4##_##name, llvmContext.f32x4Type, emitCode) \
EMIT_SIMD_UNARY_OP(f64x2##_##name, llvmContext.f64x2Type, emitCode)
//
// Int operators
//
llvm::Value* EmitFunctionContext::emitSRem(ValueType type, llvm::Value* left, llvm::Value* right)
{
// Trap if the dividend is zero.
trapDivideByZero(right);
// LLVM's srem has undefined behavior where WebAssembly's rem_s defines that it should not trap
// if the corresponding division would overflow a signed integer. To avoid this case, we just
// branch around the srem if the INT_MAX%-1 case that overflows is detected.
auto preOverflowBlock = irBuilder.GetInsertBlock();
auto noOverflowBlock = llvm::BasicBlock::Create(llvmContext, "sremNoOverflow", function);
auto endBlock = llvm::BasicBlock::Create(llvmContext, "sremEnd", function);
auto noOverflow = irBuilder.CreateOr(
irBuilder.CreateICmpNE(left,
type == ValueType::i32 ? emitLiteral(llvmContext, (U32)INT32_MIN)
: emitLiteral(llvmContext, (U64)INT64_MIN)),
irBuilder.CreateICmpNE(right,
type == ValueType::i32 ? emitLiteral(llvmContext, (U32)-1)
: emitLiteral(llvmContext, (U64)-1)));
irBuilder.CreateCondBr(
noOverflow, noOverflowBlock, endBlock, moduleContext.likelyTrueBranchWeights);
irBuilder.SetInsertPoint(noOverflowBlock);
auto noOverflowValue = irBuilder.CreateSRem(left, right);
irBuilder.CreateBr(endBlock);
irBuilder.SetInsertPoint(endBlock);
auto phi = irBuilder.CreatePHI(asLLVMType(llvmContext, type), 2);
phi->addIncoming(llvmContext.typedZeroConstants[(Uptr)type], preOverflowBlock);
phi->addIncoming(noOverflowValue, noOverflowBlock);
return phi;
}
static llvm::Value* emitShiftCountMask(EmitContext& emitContext,
llvm::Value* shiftCount,
Uptr numBits)
{
// LLVM's shifts have undefined behavior where WebAssembly specifies that the shift count will
// wrap numbers greater than the bit count of the operands. This matches x86's native shift
// instructions, but explicitly mask the shift count anyway to support other platforms, and
// ensure the optimizer doesn't take advantage of the UB.
llvm::Value* bitsMinusOne = llvm::ConstantInt::get(shiftCount->getType(), numBits - 1);
return emitContext.irBuilder.CreateAnd(shiftCount, bitsMinusOne);
}
static llvm::Value* emitRotl(EmitContext& emitContext, llvm::Value* left, llvm::Value* right)
{
llvm::Type* type = left->getType();
llvm::Value* bitWidth = emitLiteral(emitContext.llvmContext, type->getIntegerBitWidth());
llvm::Value* bitWidthMinusRight
= emitContext.irBuilder.CreateSub(emitContext.irBuilder.CreateZExt(bitWidth, type), right);
return emitContext.irBuilder.CreateOr(
emitContext.irBuilder.CreateShl(
left, emitShiftCountMask(emitContext, right, type->getIntegerBitWidth())),
emitContext.irBuilder.CreateLShr(
left, emitShiftCountMask(emitContext, bitWidthMinusRight, type->getIntegerBitWidth())));
}
static llvm::Value* emitRotr(EmitContext& emitContext, llvm::Value* left, llvm::Value* right)
{
llvm::Type* type = left->getType();
llvm::Value* bitWidth = emitLiteral(emitContext.llvmContext, type->getIntegerBitWidth());
llvm::Value* bitWidthMinusRight
= emitContext.irBuilder.CreateSub(emitContext.irBuilder.CreateZExt(bitWidth, type), right);
return emitContext.irBuilder.CreateOr(
emitContext.irBuilder.CreateShl(
left, emitShiftCountMask(emitContext, bitWidthMinusRight, type->getIntegerBitWidth())),
emitContext.irBuilder.CreateLShr(
left, emitShiftCountMask(emitContext, right, type->getIntegerBitWidth())));
}
EMIT_INT_BINARY_OP(add, irBuilder.CreateAdd(left, right))
EMIT_INT_BINARY_OP(sub, irBuilder.CreateSub(left, right))
EMIT_INT_BINARY_OP(mul, irBuilder.CreateMul(left, right))
EMIT_INT_BINARY_OP(and_, irBuilder.CreateAnd(left, right))
EMIT_INT_BINARY_OP(or_, irBuilder.CreateOr(left, right))
EMIT_INT_BINARY_OP(xor_, irBuilder.CreateXor(left, right))
EMIT_INT_BINARY_OP(rotr, emitRotr(*this, left, right))
EMIT_INT_BINARY_OP(rotl, emitRotl(*this, left, right))
// Divides use trapDivideByZero to avoid the undefined behavior in LLVM's division instructions.
EMIT_INT_BINARY_OP(div_s,
(trapDivideByZeroOrIntegerOverflow(type, left, right),
irBuilder.CreateSDiv(left, right)))
EMIT_INT_BINARY_OP(rem_s, emitSRem(type, left, right))
EMIT_INT_BINARY_OP(div_u, (trapDivideByZero(right), irBuilder.CreateUDiv(left, right)))
EMIT_INT_BINARY_OP(rem_u, (trapDivideByZero(right), irBuilder.CreateURem(left, right)))
// Explicitly mask the shift amount operand to the word size to avoid LLVM's undefined behavior.
EMIT_INT_BINARY_OP(shl,
irBuilder.CreateShl(left,
emitShiftCountMask(*this, right, getTypeBitWidth(type))))
EMIT_INT_BINARY_OP(shr_s,
irBuilder.CreateAShr(left,
emitShiftCountMask(*this, right, getTypeBitWidth(type))))
EMIT_INT_BINARY_OP(shr_u,
irBuilder.CreateLShr(left,
emitShiftCountMask(*this, right, getTypeBitWidth(type))))
EMIT_INT_UNARY_OP(clz,
callLLVMIntrinsic({operand->getType()},
llvm::Intrinsic::ctlz,
{operand, emitLiteral(llvmContext, false)}))
EMIT_INT_UNARY_OP(ctz,
callLLVMIntrinsic({operand->getType()},
llvm::Intrinsic::cttz,
{operand, emitLiteral(llvmContext, false)}))
EMIT_INT_UNARY_OP(popcnt,
callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::ctpop, {operand}))
EMIT_INT_UNARY_OP(
eqz,
coerceBoolToI32(irBuilder.CreateICmpEQ(operand, llvmContext.typedZeroConstants[(Uptr)type])))
//
// FP operators
//
EMIT_FP_BINARY_OP(add,
callLLVMIntrinsic({left->getType()},
llvm::Intrinsic::experimental_constrained_fadd,
{left,
right,
moduleContext.fpRoundingModeMetadata,
moduleContext.fpExceptionMetadata}))
EMIT_FP_BINARY_OP(sub,
callLLVMIntrinsic({left->getType()},
llvm::Intrinsic::experimental_constrained_fsub,
{left,
right,
moduleContext.fpRoundingModeMetadata,
moduleContext.fpExceptionMetadata}))
EMIT_FP_BINARY_OP(mul,
callLLVMIntrinsic({left->getType()},
llvm::Intrinsic::experimental_constrained_fmul,
{left,
right,
moduleContext.fpRoundingModeMetadata,
moduleContext.fpExceptionMetadata}))
EMIT_FP_BINARY_OP(div,
callLLVMIntrinsic({left->getType()},
llvm::Intrinsic::experimental_constrained_fdiv,
{left,
right,
moduleContext.fpRoundingModeMetadata,
moduleContext.fpExceptionMetadata}))
EMIT_FP_BINARY_OP(copysign,
callLLVMIntrinsic({left->getType()}, llvm::Intrinsic::copysign, {left, right}))
EMIT_FP_UNARY_OP(neg, irBuilder.CreateFNeg(operand))
EMIT_FP_UNARY_OP(abs, callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::fabs, {operand}))
EMIT_FP_UNARY_OP(sqrt,
callLLVMIntrinsic({operand->getType()},
llvm::Intrinsic::experimental_constrained_sqrt,
{operand,
moduleContext.fpRoundingModeMetadata,
moduleContext.fpExceptionMetadata}))
#define EMIT_FP_COMPARE_OP(name, pred, zextOrSext, llvmOperandType, llvmResultType) \
void EmitFunctionContext::name(NoImm) \
{ \
auto right = irBuilder.CreateBitCast(pop(), llvmOperandType); \
auto left = irBuilder.CreateBitCast(pop(), llvmOperandType); \
push(zextOrSext(createFCmpWithWorkaround(irBuilder, pred, left, right), llvmResultType)); \
}
#define EMIT_FP_COMPARE(name, pred) \
EMIT_FP_COMPARE_OP(f32_##name, pred, zext, llvmContext.f32Type, llvmContext.i32Type) \
EMIT_FP_COMPARE_OP(f64_##name, pred, zext, llvmContext.f64Type, llvmContext.i32Type) \
EMIT_FP_COMPARE_OP(f32x4_##name, pred, sext, llvmContext.f32x4Type, llvmContext.i32x4Type) \
EMIT_FP_COMPARE_OP(f64x2_##name, pred, sext, llvmContext.f64x2Type, llvmContext.i64x2Type)
EMIT_FP_COMPARE(eq, llvm::CmpInst::FCMP_OEQ)
EMIT_FP_COMPARE(ne, llvm::CmpInst::FCMP_UNE)
EMIT_FP_COMPARE(lt, llvm::CmpInst::FCMP_OLT)
EMIT_FP_COMPARE(le, llvm::CmpInst::FCMP_OLE)
EMIT_FP_COMPARE(gt, llvm::CmpInst::FCMP_OGT)
EMIT_FP_COMPARE(ge, llvm::CmpInst::FCMP_OGE)
static llvm::Value* quietNaN(EmitFunctionContext& context,
llvm::Value* nan,
llvm::Value* quietNaNMask)
{
#if LLVM_VERSION_MAJOR >= 10
// Converts a signaling NaN to a quiet NaN by adding zero to it.
return context.callLLVMIntrinsic({nan->getType()},
llvm::Intrinsic::experimental_constrained_fadd,
{nan,
llvm::Constant::getNullValue(nan->getType()),
context.moduleContext.fpRoundingModeMetadata,
context.moduleContext.fpExceptionMetadata});
#else
// Converts a signaling NaN to a quiet NaN by setting its top bit. This works around a LLVM bug
// that is triggered by the above constrained fadd technique:
// https://bugs.llvm.org/show_bug.cgi?id=43510
return context.irBuilder.CreateBitCast(
context.irBuilder.CreateOr(context.irBuilder.CreateBitCast(nan, quietNaNMask->getType()),
quietNaNMask),
nan->getType());
#endif
}
static llvm::Value* emitFloatMin(EmitFunctionContext& context,
llvm::Value* left,
llvm::Value* right,
llvm::Type* intType,
llvm::Value* quietNaNMask)
{
llvm::IRBuilder<>& irBuilder = context.irBuilder;
llvm::Type* floatType = left->getType();
llvm::Value* isLeftNaN
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_UNO, left, left);
llvm::Value* isRightNaN
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_UNO, right, right);
llvm::Value* isLeftLessThanRight
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_OLT, left, right);
llvm::Value* isLeftGreaterThanRight
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_OGT, left, right);
return irBuilder.CreateSelect(
isLeftNaN,
quietNaN(context, left, quietNaNMask),
irBuilder.CreateSelect(
isRightNaN,
quietNaN(context, right, quietNaNMask),
irBuilder.CreateSelect(
isLeftLessThanRight,
left,
irBuilder.CreateSelect(
isLeftGreaterThanRight,
right,
irBuilder.CreateBitCast(
// If the numbers compare as equal, they may be zero with different signs.
// Do a bitwise or of the pair to ensure that if either is negative, the
// result will be negative.
irBuilder.CreateOr(irBuilder.CreateBitCast(left, intType),
irBuilder.CreateBitCast(right, intType)),
floatType)))));
}
static llvm::Value* emitFloatMax(EmitFunctionContext& context,
llvm::Value* left,
llvm::Value* right,
llvm::Type* intType,
llvm::Value* quietNaNMask)
{
llvm::IRBuilder<>& irBuilder = context.irBuilder;
llvm::Type* floatType = left->getType();
llvm::Value* isLeftNaN
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_UNO, left, left);
llvm::Value* isRightNaN
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_UNO, right, right);
llvm::Value* isLeftLessThanRight
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_OLT, left, right);
llvm::Value* isLeftGreaterThanRight
= createFCmpWithWorkaround(irBuilder, llvm::CmpInst::FCMP_OGT, left, right);
return irBuilder.CreateSelect(
isLeftNaN,
quietNaN(context, left, quietNaNMask),
irBuilder.CreateSelect(
isRightNaN,
quietNaN(context, right, quietNaNMask),
irBuilder.CreateSelect(
isLeftLessThanRight,
right,
irBuilder.CreateSelect(
isLeftGreaterThanRight,
left,
irBuilder.CreateBitCast(
// If the numbers compare as equal, they may be zero with different signs.
// Do a bitwise and of the pair to ensure that if either is positive, the
// result will be positive.
irBuilder.CreateAnd(irBuilder.CreateBitCast(left, intType),
irBuilder.CreateBitCast(right, intType)),
floatType)))));
}
EMIT_FP_BINARY_OP(
min,
emitFloatMin(*this,
left,
right,
type == ValueType::f32 ? llvmContext.i32Type : llvmContext.i64Type,
type == ValueType::f32
? emitLiteral(llvmContext, FloatComponents<F32>::canonicalSignificand)
: emitLiteral(llvmContext, FloatComponents<F64>::canonicalSignificand)))
EMIT_FP_BINARY_OP(
max,
emitFloatMax(*this,
left,
right,
type == ValueType::f32 ? llvmContext.i32Type : llvmContext.i64Type,
type == ValueType::f32
? emitLiteral(llvmContext, FloatComponents<F32>::canonicalSignificand)
: emitLiteral(llvmContext, FloatComponents<F64>::canonicalSignificand)))
EMIT_FP_UNARY_OP(ceil, callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::ceil, {operand}))
EMIT_FP_UNARY_OP(floor, callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::floor, {operand}))
EMIT_FP_UNARY_OP(trunc, callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::trunc, {operand}))
EMIT_FP_UNARY_OP(nearest, callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::rint, {operand}))
EMIT_SIMD_INT_BINARY_OP(add, irBuilder.CreateAdd(left, right))
EMIT_SIMD_INT_BINARY_OP(sub, irBuilder.CreateSub(left, right))
#define EMIT_SIMD_SHIFT_OP(name, llvmType, createShift) \
void EmitFunctionContext::name(IR::NoImm) \
{ \
llvm::Type* vectorType = llvmType; \
llvm::Type* scalarType = llvmType->getScalarType(); \
WAVM_SUPPRESS_UNUSED(vectorType); \
auto right = irBuilder.CreateVectorSplat( \
vectorType->getVectorNumElements(), \
irBuilder.CreateZExtOrTrunc( \
emitShiftCountMask(*this, pop(), scalarType->getIntegerBitWidth()), scalarType)); \
WAVM_SUPPRESS_UNUSED(right); \
auto left = irBuilder.CreateBitCast(pop(), llvmType); \
WAVM_SUPPRESS_UNUSED(left); \
auto result = createShift(left, right); \
push(result); \
}
#define EMIT_SIMD_SHIFT(name, emitCode) \
EMIT_SIMD_SHIFT_OP(i8x16_##name, llvmContext.i8x16Type, emitCode) \
EMIT_SIMD_SHIFT_OP(i16x8_##name, llvmContext.i16x8Type, emitCode) \
EMIT_SIMD_SHIFT_OP(i32x4_##name, llvmContext.i32x4Type, emitCode) \
EMIT_SIMD_SHIFT_OP(i64x2_##name, llvmContext.i64x2Type, emitCode)
EMIT_SIMD_SHIFT(shl, irBuilder.CreateShl)
EMIT_SIMD_SHIFT(shr_s, irBuilder.CreateAShr)
EMIT_SIMD_SHIFT(shr_u, irBuilder.CreateLShr)
EMIT_SIMD_BINARY_OP(i16x8_mul, llvmContext.i16x8Type, irBuilder.CreateMul(left, right))
EMIT_SIMD_BINARY_OP(i32x4_mul, llvmContext.i32x4Type, irBuilder.CreateMul(left, right))
EMIT_SIMD_BINARY_OP(i64x2_mul, llvmContext.i64x2Type, irBuilder.CreateMul(left, right))
#define EMIT_INT_COMPARE_OP(name, llvmOperandType, llvmDestType, pred, zextOrSext) \
void EmitFunctionContext::name(IR::NoImm) \
{ \
auto right = irBuilder.CreateBitCast(pop(), llvmOperandType); \
auto left = irBuilder.CreateBitCast(pop(), llvmOperandType); \
push(zextOrSext(createICmpWithWorkaround(irBuilder, pred, left, right), llvmDestType)); \
}
#define EMIT_INT_COMPARE(name, pred) \
EMIT_INT_COMPARE_OP(i32_##name, llvmContext.i32Type, llvmContext.i32Type, pred, zext) \
EMIT_INT_COMPARE_OP(i64_##name, llvmContext.i64Type, llvmContext.i32Type, pred, zext) \
EMIT_INT_COMPARE_OP(i8x16_##name, llvmContext.i8x16Type, llvmContext.i8x16Type, pred, sext) \
EMIT_INT_COMPARE_OP(i16x8_##name, llvmContext.i16x8Type, llvmContext.i16x8Type, pred, sext) \
EMIT_INT_COMPARE_OP(i32x4_##name, llvmContext.i32x4Type, llvmContext.i32x4Type, pred, sext)
EMIT_INT_COMPARE(eq, llvm::CmpInst::ICMP_EQ)
EMIT_INT_COMPARE(ne, llvm::CmpInst::ICMP_NE)
EMIT_INT_COMPARE(lt_s, llvm::CmpInst::ICMP_SLT)
EMIT_INT_COMPARE(lt_u, llvm::CmpInst::ICMP_ULT)
EMIT_INT_COMPARE(le_s, llvm::CmpInst::ICMP_SLE)
EMIT_INT_COMPARE(le_u, llvm::CmpInst::ICMP_ULE)
EMIT_INT_COMPARE(gt_s, llvm::CmpInst::ICMP_SGT)
EMIT_INT_COMPARE(gt_u, llvm::CmpInst::ICMP_UGT)
EMIT_INT_COMPARE(ge_s, llvm::CmpInst::ICMP_SGE)
EMIT_INT_COMPARE(ge_u, llvm::CmpInst::ICMP_UGE)
EMIT_SIMD_INT_UNARY_OP(neg, irBuilder.CreateNeg(operand))
static llvm::Value* emitAddUnsignedSaturated(llvm::IRBuilder<>& irBuilder,
llvm::Value* left,
llvm::Value* right,
llvm::Type* type)
{
left = irBuilder.CreateBitCast(left, type);
right = irBuilder.CreateBitCast(right, type);
llvm::Value* add = irBuilder.CreateAdd(left, right);
return irBuilder.CreateSelect(
irBuilder.CreateICmpUGT(left, add), llvm::Constant::getAllOnesValue(left->getType()), add);
}
static llvm::Value* emitSubUnsignedSaturated(llvm::IRBuilder<>& irBuilder,
llvm::Value* left,
llvm::Value* right,
llvm::Type* type)
{
left = irBuilder.CreateBitCast(left, type);
right = irBuilder.CreateBitCast(right, type);
return irBuilder.CreateSub(
irBuilder.CreateSelect(
createICmpWithWorkaround(irBuilder, llvm::CmpInst::ICMP_UGT, left, right), left, right),
right);
}
EMIT_SIMD_BINARY_OP(i8x16_add_saturate_u,
llvmContext.i8x16Type,
emitAddUnsignedSaturated(irBuilder, left, right, llvmContext.i8x16Type))
EMIT_SIMD_BINARY_OP(i8x16_sub_saturate_u,
llvmContext.i8x16Type,
emitSubUnsignedSaturated(irBuilder, left, right, llvmContext.i8x16Type))
EMIT_SIMD_BINARY_OP(i16x8_add_saturate_u,
llvmContext.i16x8Type,
emitAddUnsignedSaturated(irBuilder, left, right, llvmContext.i16x8Type))
EMIT_SIMD_BINARY_OP(i16x8_sub_saturate_u,
llvmContext.i16x8Type,
emitSubUnsignedSaturated(irBuilder, left, right, llvmContext.i16x8Type))
#if LLVM_VERSION_MAJOR >= 8
EMIT_SIMD_BINARY_OP(i8x16_add_saturate_s,
llvmContext.i8x16Type,
callLLVMIntrinsic({llvmContext.i8x16Type},
llvm::Intrinsic::sadd_sat,
{left, right}))
EMIT_SIMD_BINARY_OP(i8x16_sub_saturate_s,
llvmContext.i8x16Type,
callLLVMIntrinsic({llvmContext.i8x16Type},
llvm::Intrinsic::ssub_sat,
{left, right}))
EMIT_SIMD_BINARY_OP(i16x8_add_saturate_s,
llvmContext.i16x8Type,
callLLVMIntrinsic({llvmContext.i16x8Type},
llvm::Intrinsic::sadd_sat,
{left, right}))
EMIT_SIMD_BINARY_OP(i16x8_sub_saturate_s,
llvmContext.i16x8Type,
callLLVMIntrinsic({llvmContext.i16x8Type},
llvm::Intrinsic::ssub_sat,
{left, right}))
#else
EMIT_SIMD_BINARY_OP(i8x16_add_saturate_s,
llvmContext.i8x16Type,
callLLVMIntrinsic({}, llvm::Intrinsic::x86_sse2_padds_b, {left, right}))
EMIT_SIMD_BINARY_OP(i8x16_sub_saturate_s,
llvmContext.i8x16Type,
callLLVMIntrinsic({}, llvm::Intrinsic::x86_sse2_psubs_b, {left, right}))
EMIT_SIMD_BINARY_OP(i16x8_add_saturate_s,
llvmContext.i16x8Type,
callLLVMIntrinsic({}, llvm::Intrinsic::x86_sse2_padds_w, {left, right}))
EMIT_SIMD_BINARY_OP(i16x8_sub_saturate_s,
llvmContext.i16x8Type,
callLLVMIntrinsic({}, llvm::Intrinsic::x86_sse2_psubs_w, {left, right}))
#endif
#define EMIT_SIMD_INT_BINARY_OP_NO64(name, emitCode) \
EMIT_SIMD_BINARY_OP(i8x16##_##name, llvmContext.i8x16Type, emitCode) \
EMIT_SIMD_BINARY_OP(i16x8##_##name, llvmContext.i16x8Type, emitCode) \
EMIT_SIMD_BINARY_OP(i32x4##_##name, llvmContext.i32x4Type, emitCode)
EMIT_SIMD_INT_BINARY_OP_NO64(min_s,
irBuilder.CreateSelect(irBuilder.CreateICmpSLT(left, right),
left,
right))
EMIT_SIMD_INT_BINARY_OP_NO64(min_u,
irBuilder.CreateSelect(irBuilder.CreateICmpULT(left, right),
left,
right))
EMIT_SIMD_INT_BINARY_OP_NO64(max_s,
irBuilder.CreateSelect(irBuilder.CreateICmpSLT(left, right),
right,
left))
EMIT_SIMD_INT_BINARY_OP_NO64(max_u,
irBuilder.CreateSelect(irBuilder.CreateICmpULT(left, right),
right,
left))
llvm::Value* EmitFunctionContext::emitBitSelect(llvm::Value* mask,
llvm::Value* trueValue,
llvm::Value* falseValue)
{
return irBuilder.CreateOr(irBuilder.CreateAnd(trueValue, mask),
irBuilder.CreateAnd(falseValue, irBuilder.CreateNot(mask)));
}
llvm::Value* EmitFunctionContext::emitVectorSelect(llvm::Value* condition,
llvm::Value* trueValue,
llvm::Value* falseValue)
{
llvm::Type* maskType;
switch(condition->getType()->getVectorNumElements())
{
case 2: maskType = llvmContext.i64x2Type; break;
case 4: maskType = llvmContext.i32x4Type; break;
case 8: maskType = llvmContext.i16x8Type; break;
case 16: maskType = llvmContext.i8x16Type; break;
default:
Errors::fatalf("unsupported vector length %u",
condition->getType()->getVectorNumElements());
};
llvm::Value* mask = sext(condition, maskType);
return irBuilder.CreateBitCast(emitBitSelect(mask,
irBuilder.CreateBitCast(trueValue, maskType),
irBuilder.CreateBitCast(falseValue, maskType)),
trueValue->getType());
}
EMIT_SIMD_FP_BINARY_OP(add, irBuilder.CreateFAdd(left, right))
EMIT_SIMD_FP_BINARY_OP(sub, irBuilder.CreateFSub(left, right))
EMIT_SIMD_FP_BINARY_OP(mul, irBuilder.CreateFMul(left, right))
EMIT_SIMD_FP_BINARY_OP(div, irBuilder.CreateFDiv(left, right))
EMIT_SIMD_BINARY_OP(f32x4_min,
llvmContext.f32x4Type,
emitFloatMin(*this,
left,
right,
llvmContext.i32x4Type,
irBuilder.CreateVectorSplat(
4,
emitLiteral(llvmContext,
FloatComponents<F32>::canonicalSignificand))))
EMIT_SIMD_BINARY_OP(f64x2_min,
llvmContext.f64x2Type,
emitFloatMin(*this,
left,
right,
llvmContext.i64x2Type,
irBuilder.CreateVectorSplat(
2,
emitLiteral(llvmContext,
FloatComponents<F64>::canonicalSignificand))))
EMIT_SIMD_BINARY_OP(f32x4_max,
llvmContext.f32x4Type,
emitFloatMax(*this,
left,
right,
llvmContext.i32x4Type,
irBuilder.CreateVectorSplat(
4,
emitLiteral(llvmContext,
FloatComponents<F32>::canonicalSignificand))))
EMIT_SIMD_BINARY_OP(f64x2_max,
llvmContext.f64x2Type,
emitFloatMax(*this,
left,
right,
llvmContext.i64x2Type,
irBuilder.CreateVectorSplat(
2,
emitLiteral(llvmContext,
FloatComponents<F64>::canonicalSignificand))))
EMIT_SIMD_FP_UNARY_OP(neg, irBuilder.CreateFNeg(operand))
EMIT_SIMD_FP_UNARY_OP(abs,
callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::fabs, {operand}))
EMIT_SIMD_FP_UNARY_OP(sqrt,
callLLVMIntrinsic({operand->getType()}, llvm::Intrinsic::sqrt, {operand}))
static llvm::Value* emitAnyTrue(llvm::IRBuilder<>& irBuilder,
llvm::Value* vector,
llvm::Type* vectorType)
{
vector = irBuilder.CreateBitCast(vector, vectorType);
const U32 numScalarBits = vectorType->getScalarSizeInBits();
const Uptr numLanes = vectorType->getVectorNumElements();
llvm::Constant* zero
= llvm::ConstantInt::get(vectorType->getScalarType(), llvm::APInt(numScalarBits, 0));
llvm::Value* result = nullptr;
for(Uptr laneIndex = 0; laneIndex < numLanes; ++laneIndex)
{
llvm::Value* scalar = irBuilder.CreateExtractElement(vector, laneIndex);
llvm::Value* scalarBool = irBuilder.CreateICmpNE(scalar, zero);
result = result ? irBuilder.CreateOr(result, scalarBool) : scalarBool;
}
return irBuilder.CreateZExt(result, llvm::Type::getInt32Ty(irBuilder.getContext()));
}
static llvm::Value* emitAllTrue(llvm::IRBuilder<>& irBuilder,
llvm::Value* vector,
llvm::Type* vectorType)
{
vector = irBuilder.CreateBitCast(vector, vectorType);
const U32 numScalarBits = vectorType->getScalarSizeInBits();
const Uptr numLanes = vectorType->getVectorNumElements();
llvm::Constant* zero
= llvm::ConstantInt::get(vectorType->getScalarType(), llvm::APInt(numScalarBits, 0));
llvm::Value* result = nullptr;
for(Uptr laneIndex = 0; laneIndex < numLanes; ++laneIndex)
{
llvm::Value* scalar = irBuilder.CreateExtractElement(vector, laneIndex);
llvm::Value* scalarBool = irBuilder.CreateICmpNE(scalar, zero);
result = result ? irBuilder.CreateAnd(result, scalarBool) : scalarBool;
}
return irBuilder.CreateZExt(result, llvm::Type::getInt32Ty(irBuilder.getContext()));
}
EMIT_SIMD_UNARY_OP(i8x16_any_true,
llvmContext.i8x16Type,
emitAnyTrue(irBuilder, operand, llvmContext.i8x16Type))
EMIT_SIMD_UNARY_OP(i16x8_any_true,
llvmContext.i16x8Type,
emitAnyTrue(irBuilder, operand, llvmContext.i16x8Type))
EMIT_SIMD_UNARY_OP(i32x4_any_true,
llvmContext.i32x4Type,
emitAnyTrue(irBuilder, operand, llvmContext.i32x4Type))
EMIT_SIMD_UNARY_OP(i64x2_any_true,
llvmContext.i64x2Type,
emitAnyTrue(irBuilder, operand, llvmContext.i64x2Type))
EMIT_SIMD_UNARY_OP(i8x16_all_true,
llvmContext.i8x16Type,
emitAllTrue(irBuilder, operand, llvmContext.i8x16Type))
EMIT_SIMD_UNARY_OP(i16x8_all_true,
llvmContext.i16x8Type,
emitAllTrue(irBuilder, operand, llvmContext.i16x8Type))
EMIT_SIMD_UNARY_OP(i32x4_all_true,
llvmContext.i32x4Type,
emitAllTrue(irBuilder, operand, llvmContext.i32x4Type))
EMIT_SIMD_UNARY_OP(i64x2_all_true,
llvmContext.i64x2Type,
emitAllTrue(irBuilder, operand, llvmContext.i64x2Type))
void EmitFunctionContext::v128_and(IR::NoImm)
{
auto right = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto left = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(irBuilder.CreateAnd(left, right));
}
void EmitFunctionContext::v128_or(IR::NoImm)
{
auto right = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto left = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(irBuilder.CreateOr(left, right));
}
void EmitFunctionContext::v128_xor(IR::NoImm)
{
auto right = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto left = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(irBuilder.CreateXor(left, right));
}
void EmitFunctionContext::v128_not(IR::NoImm)
{
auto operand = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(irBuilder.CreateNot(operand));
}
void EmitFunctionContext::v128_andnot(IR::NoImm)
{
auto right = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto left = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(irBuilder.CreateAnd(left, irBuilder.CreateNot(right)));
}
//
// SIMD extract_lane
//
#define EMIT_SIMD_EXTRACT_LANE_OP(name, llvmType, numLanes, coerceScalar) \
void EmitFunctionContext::name(IR::LaneIndexImm<numLanes> imm) \
{ \
auto operand = irBuilder.CreateBitCast(pop(), llvmType); \
auto scalar = irBuilder.CreateExtractElement(operand, imm.laneIndex); \
push(coerceScalar); \
}
EMIT_SIMD_EXTRACT_LANE_OP(i8x16_extract_lane_s,
llvmContext.i8x16Type,
16,
sext(scalar, llvmContext.i32Type))
EMIT_SIMD_EXTRACT_LANE_OP(i8x16_extract_lane_u,
llvmContext.i8x16Type,
16,
zext(scalar, llvmContext.i32Type))
EMIT_SIMD_EXTRACT_LANE_OP(i16x8_extract_lane_s,
llvmContext.i16x8Type,
8,
sext(scalar, llvmContext.i32Type))
EMIT_SIMD_EXTRACT_LANE_OP(i16x8_extract_lane_u,
llvmContext.i16x8Type,
8,
zext(scalar, llvmContext.i32Type))
EMIT_SIMD_EXTRACT_LANE_OP(i32x4_extract_lane, llvmContext.i32x4Type, 4, scalar)
EMIT_SIMD_EXTRACT_LANE_OP(i64x2_extract_lane, llvmContext.i64x2Type, 2, scalar)
EMIT_SIMD_EXTRACT_LANE_OP(f32x4_extract_lane, llvmContext.f32x4Type, 4, scalar)
EMIT_SIMD_EXTRACT_LANE_OP(f64x2_extract_lane, llvmContext.f64x2Type, 2, scalar)
//
// SIMD replace_lane
//
#define EMIT_SIMD_REPLACE_LANE_OP(typePrefix, llvmType, numLanes, coerceScalar) \
void EmitFunctionContext::typePrefix##_replace_lane(IR::LaneIndexImm<numLanes> imm) \
{ \
auto scalar = pop(); \
auto vector = irBuilder.CreateBitCast(pop(), llvmType); \
push(irBuilder.CreateInsertElement(vector, coerceScalar, imm.laneIndex)); \
}
EMIT_SIMD_REPLACE_LANE_OP(i8x16, llvmContext.i8x16Type, 16, trunc(scalar, llvmContext.i8Type))
EMIT_SIMD_REPLACE_LANE_OP(i16x8, llvmContext.i16x8Type, 8, trunc(scalar, llvmContext.i16Type))
EMIT_SIMD_REPLACE_LANE_OP(i32x4, llvmContext.i32x4Type, 4, scalar)
EMIT_SIMD_REPLACE_LANE_OP(i64x2, llvmContext.i64x2Type, 2, scalar)
EMIT_SIMD_REPLACE_LANE_OP(f32x4, llvmContext.f32x4Type, 4, scalar)
EMIT_SIMD_REPLACE_LANE_OP(f64x2, llvmContext.f64x2Type, 2, scalar)
void EmitFunctionContext::v8x16_swizzle(NoImm)
{
auto indexVector = irBuilder.CreateBitCast(pop(), llvmContext.i8x16Type);
auto elementVector = irBuilder.CreateBitCast(pop(), llvmContext.i8x16Type);
if(moduleContext.targetArch == llvm::Triple::x86_64
|| moduleContext.targetArch == llvm::Triple::x86)
{
// WASM defines any out-of-range index to write zero to the output vector, but x86 pshufb
// just uses the index modulo 16, and only writes zero if the MSB of the index is 1. Do a
// saturated add of 112 to set the MSB in any index >= 16 while leaving the index modulo 16
// unchanged.
auto constant112 = llvm::ConstantInt::get(llvmContext.i8Type, 112);
auto saturatedIndexVector
= emitAddUnsignedSaturated(irBuilder,
indexVector,
llvm::ConstantVector::getSplat(16, constant112),
llvmContext.i8x16Type);
push(callLLVMIntrinsic(
{}, llvm::Intrinsic::x86_ssse3_pshuf_b_128, {elementVector, saturatedIndexVector}));
}
else if(moduleContext.targetArch == llvm::Triple::aarch64)
{
push(callLLVMIntrinsic({llvmContext.i8x16Type},
llvm::Intrinsic::aarch64_neon_tbl1,
{elementVector, indexVector}));
}
}
void EmitFunctionContext::v8x16_shuffle(IR::ShuffleImm<16> imm)
{
auto right = irBuilder.CreateBitCast(pop(), llvmContext.i8x16Type);
auto left = irBuilder.CreateBitCast(pop(), llvmContext.i8x16Type);
unsigned int laneIndices[16];
for(Uptr laneIndex = 0; laneIndex < 16; ++laneIndex)
{ laneIndices[laneIndex] = imm.laneIndices[laneIndex]; }
push(irBuilder.CreateShuffleVector(left, right, llvm::ArrayRef<unsigned int>(laneIndices, 16)));
}
void EmitFunctionContext::v128_bitselect(IR::NoImm)
{
auto mask = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto falseValue = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
auto trueValue = irBuilder.CreateBitCast(pop(), llvmContext.i64x2Type);
push(emitBitSelect(mask, trueValue, falseValue));
}
#define EMIT_SIMD_AVGR_OP(type, doubleWidthType) \
void EmitFunctionContext::type##_avgr_u(IR::NoImm) \
{ \
auto right = irBuilder.CreateBitCast(pop(), llvmContext.type##Type); \
auto left = irBuilder.CreateBitCast(pop(), llvmContext.type##Type); \
auto rightZExt = irBuilder.CreateZExt(right, llvmContext.doubleWidthType##Type); \
auto leftZExt = irBuilder.CreateZExt(left, llvmContext.doubleWidthType##Type); \
auto oneZExt = llvm::ConstantVector::getSplat( \
llvmContext.type##Type->getVectorNumElements(), \
llvm::ConstantInt::get(llvmContext.doubleWidthType##Type->getVectorElementType(), 1)); \
push(irBuilder.CreateTrunc( \
irBuilder.CreateLShr( \
irBuilder.CreateAdd(irBuilder.CreateAdd(leftZExt, rightZExt), oneZExt), oneZExt), \
llvmContext.type##Type)); \
}
EMIT_SIMD_AVGR_OP(i8x16, i16x16)
EMIT_SIMD_AVGR_OP(i16x8, i32x8)
// SIMD integer absolute
#define EMIT_SIMD_INT_ABS_OP(type) \
void EmitFunctionContext::type##_abs(IR::NoImm) \
{ \
auto operand = irBuilder.CreateBitCast(pop(), llvmContext.type##Type); \
push(irBuilder.CreateSelect( \
irBuilder.CreateICmpSLT(operand, \
llvm::Constant::getNullValue(llvmContext.type##Type)), \
irBuilder.CreateNeg(operand), \
operand)); \
}
EMIT_SIMD_INT_ABS_OP(i8x16)
EMIT_SIMD_INT_ABS_OP(i16x8)
EMIT_SIMD_INT_ABS_OP(i32x4)
| [
"andrew@scheidecker.net"
] | andrew@scheidecker.net |
bd1806eec9cd6a29083e5b36ef164978ee5e981f | 40d9c9549e3c4bd2852a7bdedb4a024471d1e52a | /sopcast/X264/jni/encoder/com_youku_x264_X264Encoder.cpp | 6b8f37ad20309ead59db796e83df21b769cd6a91 | [] | no_license | Greece-Sanctuary/AndrSopCast | 34fae14629542803cadd3546c6b419b439dec3b6 | 19a97ac54bfc2b211d448071a8151769769e6568 | refs/heads/master | 2020-05-29T19:40:28.691905 | 2015-05-19T03:07:23 | 2015-05-19T03:07:23 | 35,855,548 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,678 | cpp | /*
* com_youku_x264_X264Encoder.cpp
*
* Created on: Apr 8, 2015
* Author: stainberg
*/
#include "x264encoder.h"
#include "../myLog.h"
#include "../performance.h"
#include <jni.h>
#include <assert.h>
#include <string.h>
#include "../flv/flvPacket.h"
#include "aacencoder.h"
#include <pthread.h>
#include "listener.h"
#include "proto_common.h"
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include "mutex.h"
#include "com_youku_x264_X264Encoder.h"
#ifdef TAG
#undef TAG
#endif
#define TAG "com_youku_x264_X264Encoder.cpp"
static const char* mClassPathName = "com/youku/x264/X264Encoder";
static Listener* listener = NULL;
static X264Encoder* x264Encoder = NULL;
static aacEncoder* AACEncoder = NULL;
static FlvPacket* flvPacketHandler = NULL;
static x264_picture_t* inputPicture = NULL;
static int width = 0, height = 0;
static int yuvW = 0, yuvH = 0;
static long timestemp = 0;
static long oldtimestemp = 0;
static uint32_t diff = 0;
static uint8_t* audioBuffer;
static int samples;
static uint8_t* remindAudioBuffer;
static int remindAudioLen;
static JavaVM* jVM = NULL;
static volatile int run = 0;
static int _streamId = 0;
static uint8_t* srcy;
static uint8_t* srcu;
static uint8_t* srcv;
static uint8_t* dsty;
static uint8_t* dstu;
static uint8_t* dstv;
static pthread_mutex_t mutex;
static int audioInit = 0;
using namespace libyuv;
static int AudioCompress(uint8_t* data, int size, uint8_t* outData);
static long getCurrentTime()
{
struct timeval tv;
gettimeofday(&tv,NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
static uint32_t getTimestamp(int type)
{
timestemp = (long)getCurrentTime();
if(oldtimestemp == 0)//first in
{
oldtimestemp = timestemp;
diff = 0;
}
else //second
{
long t = timestemp - oldtimestemp;
oldtimestemp = timestemp;
diff += t;
}
return diff;
}
static void
com_youku_x264_X264Encoder_init(JNIEnv* env, jobject thiz) {
if(x264Encoder != NULL) {
x264Encoder->openX264Encoder();
}
x264_picture_alloc(inputPicture, X264_CSP_I420, width, height);
srcy = (uint8_t*)malloc(sizeof(uint8_t)*1280*720);
srcu = (uint8_t*)malloc(sizeof(uint8_t)*1280*720/4);
srcv = (uint8_t*)malloc(sizeof(uint8_t)*1280*720/4);
dsty = (uint8_t*)malloc(sizeof(uint8_t)*1280*720);
dstu = (uint8_t*)malloc(sizeof(uint8_t)*1280*720/4);
dstv = (uint8_t*)malloc(sizeof(uint8_t)*1280*720/4);
flvPacketHandler->setPPSData(x264Encoder->pps, x264Encoder->ppslen);
flvPacketHandler->setSPSData(x264Encoder->sps, x264Encoder->spslen);
flvPacketHandler->setVideoResolution(width, height);
listener->notify(pthread_self(), 10, NULL, 0, NULL);
}
static void
com_youku_x264_X264Encoder_setup(JNIEnv* env, jobject thiz, jobject weak_thiz) {
x264Encoder = new X264Encoder();
AACEncoder = new aacEncoder();
flvPacketHandler = new FlvPacket();
inputPicture = new x264_picture_t();
listener = new Listener(jVM, thiz, weak_thiz);
pthread_mutex_init(&mutex, NULL);
}
static void
com_youku_x264_X264Encoder_finalize(JNIEnv* env, jobject thiz)
{
run = 0;
if(x264Encoder != NULL)
{
x264Encoder->closeX264Encoder();
delete x264Encoder;
x264Encoder = NULL;
}
if(AACEncoder != NULL)
{
AACEncoder->close();
delete AACEncoder;
AACEncoder = NULL;
}
if(inputPicture != NULL)
{
x264_picture_clean(inputPicture);
delete inputPicture;
inputPicture = NULL;
}
if(listener != NULL)
{
delete listener;
listener = NULL;
}
if(srcy != NULL)
{
free(srcy);
srcy = NULL;
}
if(srcu != NULL)
{
free(srcu);
srcu = NULL;
}
if(srcv != NULL)
{
free(srcv);
srcv = NULL;
}
if(audioBuffer != NULL)
{
free(audioBuffer);
audioBuffer = NULL;
}
if(remindAudioBuffer != NULL)
{
free(remindAudioBuffer);
remindAudioBuffer = NULL;
}
pthread_mutex_destroy(&mutex);
}
static void
com_youku_x264_X264Encoder_setBitrate(JNIEnv* env, jobject thiz, jint bitrate)
{
if(x264Encoder != NULL)
{
x264Encoder->setBitrate(bitrate);
}
}
static void
com_youku_x264_X264Encoder_setResolution(JNIEnv* env, jobject thiz, jint w, jint h)
{
if(x264Encoder != NULL)
{
yuvW = w;//352
yuvH = h;//288
width = h;//288
height = width/4*3;
// height = w;//352
x264Encoder->setResolution(width, height);
LOGI("setResolution, w=%d,h=%d", width, height);
}
}
static void
com_youku_x264_X264Encoder_setFps(JNIEnv* env, jobject thiz, jint fps)
{
if(x264Encoder != NULL)
{
LOGI("setFps, fps=%d", fps);
x264Encoder->setFps(fps);
}
}
static void
com_youku_x264_X264Encoder_CompressBuffer(JNIEnv* env, jobject thiz, jbyteArray in, jint insize, int rotate, int w, int h)
{
if(!run)
return;
if(x264Encoder != NULL)
{
// double time = (double)clock()/1000000.0;
uint8_t tag[5];
uint32_t timestemp = getTimestamp(0);
uint8_t srcData[1024*50];
int len = 0;
x264_nal_t *p_nals = NULL;
int nalsCount = 0;
uint8_t* data = (uint8_t*)env->GetByteArrayElements(in, 0);
int nPicSize = w * h;
int destW = 0, destH = 0;
memcpy(srcy, data, nPicSize);
for (int i=0;i<nPicSize/4;i++)
{
*(srcu+i)=*(data+nPicSize+i*2);
*(srcv+i)=*(data+nPicSize+i*2+1);
}
destH = yuvH;
destW = w*yuvH/h;
if(rotate == 90)
{
I420Scale(srcy, w,
srcu, w>>1,
srcv, w>>1,
w, h,
dsty, destW,
dstu, destW>>1,
dstv, destW>>1,
destW, destH,
kFilterBox);
for(int i=0; i<yuvH/2; i++)
{
memcpy(srcy+(height*i*2), dsty+(destW*i*2), height);
memcpy(srcy+(height*(i*2+1)), dsty+(destW*(i*2+1)), height);
memcpy(srcu+(height/2*i), dstu+(destW/2*i), height/2);
memcpy(srcv+(height/2*i), dstv+(destW/2*i), height/2);
}
I420Rotate(srcy, height,
srcu, height>>1,
srcv, height>>1,
inputPicture->img.plane[0], inputPicture->img.i_stride[0],
inputPicture->img.plane[2], inputPicture->img.i_stride[2],
inputPicture->img.plane[1], inputPicture->img.i_stride[1], height, width, kRotate90);
}
else if(rotate == 270)
{
I420Scale(srcy, w,
srcu, w>>1,
srcv, w>>1,
w, h,
dsty, destW,
dstu, destW>>1,
dstv, destW>>1,
destW, destH,
kFilterBox);
for(int i=0; i<yuvH/2; i++)
{
memcpy(srcy+(height*i*2), dsty+(destW*i*2)+(destW-height), height);
memcpy(srcy+(height*(i*2+1)), dsty+(destW*(i*2+1))+(destW-height), height);
memcpy(srcu+(height/2*i), dstu+(destW/2*i)+(destW-height)/2, height/2);
memcpy(srcv+(height/2*i), dstv+(destW/2*i)+(destW-height)/2, height/2);
}
I420Mirror(srcy, height,
srcu, height>>1,
srcv, height>>1,
dsty, height,
dstu, height>>1,
dstv, height>>1,
height, width);
I420Rotate(dsty, height,
dstu, height>>1,
dstv, height>>1,
inputPicture->img.plane[0], inputPicture->img.i_stride[0],
inputPicture->img.plane[2], inputPicture->img.i_stride[2],
inputPicture->img.plane[1], inputPicture->img.i_stride[1], height, width, kRotate90);
}
x264Encoder->x264EncoderProcess(inputPicture, &p_nals, nalsCount);
if(p_nals)
{
for(int i=0; i<nalsCount; i++)
{
if (p_nals[i].i_type == NAL_SLICE_IDR)
{
tag[0] = 0x01;
len = x264Encoder->createNalBuffer(srcData, p_nals[i].p_payload, p_nals[i].i_payload);
// packetSize += flvPacketHandler->writeH264Packet(1, srcData, len, timestemp, outData);//++videoTimestemp*1000/x264Encoder->getFps()
}
else if(p_nals[i].i_type == NAL_SLICE)
{
tag[0] = 0x02;
len = x264Encoder->createNalBuffer(srcData, p_nals[i].p_payload, p_nals[i].i_payload);
}
else
{
len = 0;
}
if(len > 0)
{
memcpy(tag + 1, ×temp, sizeof(uint32_t));
jbyteArray jarrayTag = env->NewByteArray(5);
env->SetByteArrayRegion(jarrayTag, 0, 5, (jbyte*)tag);
jbyteArray jarray = env->NewByteArray(len);
env->SetByteArrayRegion(jarray, 0, len, (jbyte*)srcData);
listener->notify(pthread_self(), 11, jarray, len, jarrayTag);
}
}
}
env->ReleaseByteArrayElements(in, (jbyte*)data, JNI_ABORT);
// double duration = (double)clock()/1000000.0 - time;
// LOGI("diff time = %f", duration);
}
}
static void
com_youku_x264_X264Encoder_AudioInit(JNIEnv* env, jobject thiz)
{
if(AACEncoder != NULL)
{
samples = AACEncoder->init()*2;
flvPacketHandler->setAudioInfo(AACEncoder->getAudioInfo(), AACEncoder->getAudioInfoLength());
// LOGI("AudioInfo, AudioInfo addr=0x%x, length=%d", AACEncoder->getAudioInfo(), AACEncoder->getAudioInfoLength());
}
remindAudioBuffer = (uint8_t*)malloc(sizeof(uint8_t)*samples);
remindAudioLen = 0;
audioBuffer = (uint8_t*)malloc(sizeof(uint8_t)*1024*50);
listener->notify(pthread_self(), 20, NULL, 0, NULL);
}
static void
com_youku_x264_X264Encoder_AudioSet(JNIEnv* env, jobject thiz, jint channels, jint pcmBitRate, jint sampleRate)
{
if(AACEncoder != NULL)
{
AACEncoder->setAudio(channels, pcmBitRate, sampleRate);
}
}
static void
com_youku_x264_X264Encoder_AudioCompress(JNIEnv* env, jobject thiz, jbyteArray in, jint insize)
{
if(!run)
return;
if(AACEncoder != NULL)
{
uint8_t tag[5];
uint8_t* pAudioBuffer = audioBuffer;
// int aacLen = 0;
uint8_t* data = (uint8_t*)env->GetByteArrayElements(in, 0);
if(remindAudioLen > 0)
{
memcpy(pAudioBuffer, remindAudioBuffer, remindAudioLen);
}
memcpy(pAudioBuffer + remindAudioLen, data, insize);
insize += remindAudioLen;
env->ReleaseByteArrayElements(in, (jbyte*)data, JNI_ABORT);
while(samples <= insize)
{
uint8_t aacData[1024*10];
// uint8_t* paacData = aacData;
uint32_t timestemp = getTimestamp(1);
int len = AACEncoder->aacEncoderProcess(pAudioBuffer, samples, aacData);
pAudioBuffer += samples;
insize = insize - samples;
// paacData += len;
// aacLen += len;
if(len > 0)
{
tag[0] = 0x00;
memcpy(tag + 1, ×temp, sizeof(uint32_t));
jbyteArray jarrayTag = env->NewByteArray(5);
env->SetByteArrayRegion(jarrayTag, 0, 5, (jbyte*)tag);
jbyteArray jarray = env->NewByteArray(len);
env->SetByteArrayRegion(jarray, 0, len, (jbyte*)aacData);
listener->notify(pthread_self(), 21, jarray, len, jarrayTag);
}
}
remindAudioLen = insize;
if(remindAudioLen > 0)
{
memcpy(remindAudioBuffer, pAudioBuffer, remindAudioLen);
}
}
}
//static void
//com_youku_x264_X264Encoder_AudioCompress(JNIEnv* env, jobject thiz, jbyteArray in, jint insize)
//{
// if(!run)
// return;
// if(AACEncoder != NULL)
// {
// uint32_t timestemp = getTimestamp(1);
// uint8_t tag[5];
// uint8_t aacData[1024*50];
// uint8_t* paacData = aacData;
// uint8_t* pAudioBuffer = audioBuffer;
// int aacLen = 0;
// uint8_t* data = (uint8_t*)env->GetByteArrayElements(in, 0);
// if(remindAudioLen > 0)
// {
// memcpy(pAudioBuffer, remindAudioBuffer, remindAudioLen);
// }
// memcpy(pAudioBuffer + remindAudioLen, data, insize);
// insize += remindAudioLen;
// env->ReleaseByteArrayElements(in, (jbyte*)data, JNI_ABORT);
// while(samples <= insize)
// {
// int len = AACEncoder->aacEncoderProcess(pAudioBuffer, samples, paacData);
// pAudioBuffer += samples;
// insize = insize - samples;
// paacData += len;
// aacLen += len;
// }
// remindAudioLen = insize;
// if(aacLen > 0)
// {
// tag[0] = 0x00;
// memcpy(tag + 1, ×temp, sizeof(uint32_t));
// jbyteArray jarrayTag = env->NewByteArray(5);
// env->SetByteArrayRegion(jarrayTag, 0, 5, (jbyte*)tag);
// jbyteArray jarray = env->NewByteArray(aacLen);
// env->SetByteArrayRegion(jarray, 0, aacLen, (jbyte*)aacData);
// listener->notify(pthread_self(), 21, jarray, aacLen, jarrayTag);
// }
// if(remindAudioLen > 0)
// {
// memcpy(remindAudioBuffer, pAudioBuffer, remindAudioLen);
// }
// }
//}
static void
com_youku_x264_X264Encoder_writeFLV(JNIEnv* env, jobject thiz, jbyteArray in, jint insize, jbyteArray tag, int withHeader)
{
pthread_mutex_lock(&mutex);
size_t head_size = sizeof(proto_header) + sizeof(u2r_streaming);
uint8_t type;
uint32_t timestemp;
int packetSize = 0;
size_t packet_size = 0;
uint8_t packetData[1024*50];
uint8_t header[head_size];
uint8_t* _in = (uint8_t*)env->GetByteArrayElements(in, 0);
uint8_t* _tag = (uint8_t*)env->GetByteArrayElements(tag, 0);
memcpy(&type, _tag, sizeof(uint8_t));
memcpy(×temp, _tag + 1, sizeof(uint32_t));
if(insize > 0)
{
if(type == 1 || type == 2)
{
if(audioInit == 0)
{
env->ReleaseByteArrayElements(in, (jbyte*)_in, JNI_ABORT);
env->ReleaseByteArrayElements(tag, (jbyte*)_tag, JNI_ABORT);
pthread_mutex_unlock(&mutex);
return;
}
if(type == 1)
packetSize = flvPacketHandler->writeH264Packet(1, _in, insize, timestemp, packetData);
if(type == 2)
packetSize = flvPacketHandler->writeH264Packet(0, _in, insize, timestemp, packetData);
}
else if(type == 0)
{
packetSize = flvPacketHandler->writeAACPacket(_in, insize, timestemp, packetData);
audioInit = 1;
}
//head
if(withHeader)
{
packet_size = head_size + packetSize;
proto_header hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.magic = 255;
hdr.cmd = htons(CMD_U2R_STREAMING);
hdr.size = htonl(packet_size);
hdr.version = 1;
u2r_streaming req;
memset(&req, 0, sizeof(req));
req.streamid = htonl(_streamId);
req.payload_type = PAYLOAD_TYPE_FLV;
req.payload_size = htonl(packetSize);
memcpy(header, &hdr, sizeof(hdr));
memcpy(header+sizeof(hdr), &req, sizeof(req));
}
else
{
packet_size = packetSize;
head_size = 0;
}
}
env->ReleaseByteArrayElements(in, (jbyte*)_in, JNI_ABORT);
env->ReleaseByteArrayElements(tag, (jbyte*)_tag, JNI_ABORT);
jbyteArray jarray = env->NewByteArray(packet_size);
if(head_size > 0)
{
env->SetByteArrayRegion(jarray, 0, head_size, (jbyte*)header);
}
env->SetByteArrayRegion(jarray, head_size, packetSize, (jbyte*)packetData);
pthread_mutex_unlock(&mutex);
listener->notifyPacket(pthread_self(), 30, jarray);
}
static void
com_youku_x264_X264Encoder_writeVideoFLV(JNIEnv* env, jobject thiz, jbyteArray in, jint insize, jbyteArray tag, int withHeader)
{
size_t head_size = sizeof(proto_header) + sizeof(u2r_streaming);
uint8_t type;
uint32_t timestemp;
int packetSize = 0;
uint8_t packetData[1024*50];
uint8_t header[head_size];
uint8_t* _in = (uint8_t*)env->GetByteArrayElements(in, 0);
uint8_t* _tag = (uint8_t*)env->GetByteArrayElements(tag, 0);
memcpy(&type, _tag, sizeof(uint8_t));
memcpy(×temp, _tag + 1, sizeof(uint32_t));
if(insize > 0)
{
if(type == 1)
packetSize = flvPacketHandler->writeH264Packet(1, _in, insize, timestemp, packetData);
else if(type == 2)
packetSize = flvPacketHandler->writeH264Packet(0, _in, insize, timestemp, packetData);
//head
size_t packet_size = 0;
if(withHeader)
{
packet_size = head_size + packetSize;
proto_header hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.magic = 255;
hdr.cmd = htons(CMD_U2R_STREAMING);
hdr.size = htonl(packet_size);
hdr.version = 1;
u2r_streaming req;
memset(&req, 0, sizeof(req));
req.streamid = htonl(_streamId);
req.payload_type = PAYLOAD_TYPE_FLV;
req.payload_size = htonl(packetSize);
memcpy(header, &hdr, sizeof(hdr));
memcpy(header+sizeof(hdr), &req, sizeof(req));
}
else
{
packet_size = packetSize;
head_size = 0;
}
env->ReleaseByteArrayElements(in, (jbyte*)_in, JNI_ABORT);
env->ReleaseByteArrayElements(tag, (jbyte*)_tag, JNI_ABORT);
jbyteArray jarray = env->NewByteArray(packet_size);
if(head_size > 0)
{
env->SetByteArrayRegion(jarray, 0, head_size, (jbyte*)header);
}
env->SetByteArrayRegion(jarray, head_size, packetSize, (jbyte*)packetData);
listener->notifyVideoPacket(pthread_self(), 12, jarray);
}
}
static void
com_youku_x264_X264Encoder_writeAudioFLV(JNIEnv* env, jobject thiz, jbyteArray in, jint insize, jbyteArray tag, int withHeader)
{
size_t head_size = sizeof(proto_header) + sizeof(u2r_streaming);
uint8_t type;
uint32_t timestemp;
int packetSize = 0;
uint8_t packetData[1024*50];
uint8_t header[head_size];
uint8_t* _in = (uint8_t*)env->GetByteArrayElements(in, 0);
uint8_t* _tag = (uint8_t*)env->GetByteArrayElements(tag, 0);
memcpy(&type, _tag, sizeof(uint8_t));
memcpy(×temp, _tag + 1, sizeof(uint32_t));
if(insize > 0)
{
if(type == 0)
packetSize = flvPacketHandler->writeAACPacket(_in, insize, timestemp, packetData);//++audioTimestemp*(1000000/44100)
//head
size_t packet_size = 0;
if(withHeader)
{
packet_size = head_size + packetSize;
proto_header hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.magic = 255;
hdr.cmd = htons(CMD_U2R_STREAMING);
hdr.size = htonl(packet_size);
hdr.version = 1;
u2r_streaming req;
memset(&req, 0, sizeof(req));
req.streamid = htonl(_streamId);
req.payload_type = PAYLOAD_TYPE_FLV;
req.payload_size = htonl(packetSize);
memcpy(header, &hdr, sizeof(hdr));
memcpy(header+sizeof(hdr), &req, sizeof(req));
}
else
{
packet_size = packetSize;
head_size = 0;
}
env->ReleaseByteArrayElements(in, (jbyte*)_in, JNI_ABORT);
env->ReleaseByteArrayElements(tag, (jbyte*)_tag, JNI_ABORT);
jbyteArray jarray = env->NewByteArray(packet_size);
if(head_size > 0)
{
env->SetByteArrayRegion(jarray, 0, head_size, (jbyte*)header);
}
env->SetByteArrayRegion(jarray, head_size, packetSize, (jbyte*)packetData);
listener->notifyAudioPacket(pthread_self(), 22, jarray);
}
}
static jbyteArray
com_youku_x264_X264Encoder_handShake(JNIEnv* env, jobject thiz, jint streamId, jint userID, jstring token)
{
const char *_token = env->GetStringUTFChars(token, NULL);
size_t packet_size = sizeof(proto_header) + sizeof(u2r_req_state);
proto_header hdr;
memset(&hdr, 0, sizeof(hdr));
hdr.magic = 255;
hdr.cmd = htons(CMD_U2R_REQ_STATE);
hdr.size = htonl(packet_size);
hdr.version = 1;
u2r_req_state req;
memset(&req, 0, sizeof(req));
req.version = htonl(1);
req.streamid = htonl(streamId);
req.user_id = htonl(userID);
req.payload_type = PAYLOAD_TYPE_FLV;
memcpy(req.token, _token, strlen(_token));
uint8_t sendBuffer [1024];
memcpy(sendBuffer, &hdr, sizeof(hdr));
memcpy(sendBuffer+sizeof(hdr), &req, sizeof(req));
env->ReleaseStringUTFChars(token, _token);
jbyteArray jarray = env->NewByteArray(packet_size);
env->SetByteArrayRegion(jarray, 0, packet_size, (jbyte*)sendBuffer);
return jarray;
}
static jint
com_youku_x264_X264Encoder_checkKey(JNIEnv* env, jobject thiz, jbyteArray in, jint insize, jint streamId)
{
proto_header header;
u2r_rsp_state rsp;
uint8_t* _in = (uint8_t*)env->GetByteArrayElements(in, 0);
memcpy(&header, _in, sizeof(proto_header));
memcpy(&rsp, _in+sizeof(proto_header), sizeof(rsp));
env->ReleaseByteArrayElements(in, (jbyte*)_in, JNI_ABORT);
header.version = header.version;
header.cmd = NTOHS(header.cmd);
header.magic = header.magic;
header.size = NTOHL(header.size);
rsp.result = NTOHS(rsp.result );
rsp.streamid = NTOHL(rsp.streamid);
if(streamId == rsp.streamid && rsp.result == 0 && CMD_U2R_RSP_STATE == header.cmd)
{
_streamId = streamId;
return 1;
}
else
{
return 0;
}
}
int jniRegisterNativeMethods(JNIEnv* env, const JNINativeMethod* methods, int count) {
jclass clazz;
int ret = -1;
clazz = env->FindClass(mClassPathName);
if(clazz == NULL) {
return ret;
}
if((ret = env->RegisterNatives(clazz,methods, count)) < 0) {
return ret;
}
return ret;
}
static void
com_youku_x264_X264Encoder_stop(JNIEnv* env, jobject thiz)
{
run = 0;
oldtimestemp = 0;
timestemp = 0;
_streamId = 0;
remindAudioLen = 0;
audioInit = 0;
diff = 0;
x264Encoder->reset();
AACEncoder->reset();
flvPacketHandler->resetPacket();
}
static void
com_youku_x264_X264Encoder_prepare(JNIEnv* env, jobject thiz)
{
run = 1;
}
static JNINativeMethod mMethods[] = {//method for JAVA. use this to register native method
{"native_init", "()V", (void*) com_youku_x264_X264Encoder_init},
{"native_setup", "(Ljava/lang/Object;)V", (void*) com_youku_x264_X264Encoder_setup},
{"native_finalize", "()V", (void*) com_youku_x264_X264Encoder_finalize},
{"native_setBitrate", "(I)V", (void*)com_youku_x264_X264Encoder_setBitrate},
{"native_setResolution", "(II)V", (void*)com_youku_x264_X264Encoder_setResolution},
{"native_setFps", "(I)V", (void*)com_youku_x264_X264Encoder_setFps},
{"native_compress", "([BIIII)V", (void*)com_youku_x264_X264Encoder_CompressBuffer},
{"native_audioInit", "()V", (void*) com_youku_x264_X264Encoder_AudioInit},
{"native_audioSet", "(III)V", (void*)com_youku_x264_X264Encoder_AudioSet},//Channels, PCMBitSize, SampleRate
{"native_audioCompress", "([BI)V", (void*)com_youku_x264_X264Encoder_AudioCompress},
{"native_writeVideoFLV", "([BI[BI)V", (void*)com_youku_x264_X264Encoder_writeVideoFLV},
{"native_writeAudioFLV", "([BI[BI)V", (void*)com_youku_x264_X264Encoder_writeAudioFLV},
{"native_writeFLV", "([BI[BI)V", (void*)com_youku_x264_X264Encoder_writeFLV},
{"native_handshake", "(IILjava/lang/String;)[B", (void*)com_youku_x264_X264Encoder_handShake},
{"native_checkKey", "([BII)I", (void*)com_youku_x264_X264Encoder_checkKey},
{"native_stop", "()V", (void*)com_youku_x264_X264Encoder_stop},
{"native_prepare", "()V", (void*)com_youku_x264_X264Encoder_prepare}
};
int registerMethods(JNIEnv* env) {
JavaVM* jVM;
env->GetJavaVM((JavaVM**)&jVM);
return jniRegisterNativeMethods(env, mMethods, sizeof(mMethods)/sizeof(mMethods[0]));
}
int JNI_OnLoad(JavaVM* vm, void* reserved)
{//JNI main
jVM = vm;
JNIEnv* env = NULL;
jint ret = JNI_ERR;
if(vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) {
LOGE("GetEnv failed!");
return ret;
}
assert(env != NULL);
if(registerMethods(env) != JNI_OK) {
LOGE("can not load methods!");
return ret;
}
ret = JNI_VERSION_1_4;
LOGI("Loaded!");
return ret;
}
| [
"alexueqing@163.com"
] | alexueqing@163.com |
01d48fc6d5de049f795bbd5d3af445f568a0c747 | 385cfbb27ee3bcc219ec2ac60fa22c2aa92ed8a0 | /ThirdParty/fbxsdk/2013.2/include/fbxsdk/fileio/fbx/fbxwriterfbx5.h | 12f2ac2c1587f6d42f63839cdc2f942fe617c0af | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | palestar/medusa | edbddf368979be774e99f74124b9c3bc7bebb2a8 | 7f8dc717425b5cac2315e304982993354f7cb27e | refs/heads/develop | 2023-05-09T19:12:42.957288 | 2023-05-05T12:43:35 | 2023-05-05T12:43:35 | 59,434,337 | 35 | 18 | MIT | 2018-01-21T01:34:01 | 2016-05-22T21:05:17 | C++ | UTF-8 | C++ | false | false | 7,555 | h | /****************************************************************************************
Copyright (C) 2012 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies
this software in either electronic or hard copy form.
****************************************************************************************/
//! \file fbxwriterfbx5.h
#ifndef _FBXSDK_FILEIO_FBX_WRITER_FBX5_H_
#define _FBXSDK_FILEIO_FBX_WRITER_FBX5_H_
#include <fbxsdk.h>
#include <fbxsdk/fbxsdk_nsbegin.h>
//Writable versions for this file type.
//Sync the functions PreProcessScene and PostProcessScene with these elements of this list.
#define FBX53_MB55_COMPATIBLE "FBX53_MB55"
class FbxWriterFbx5 : public FbxWriter
{
public:
FbxWriterFbx5(FbxManager& pManager, FbxExporter& pExporter, int pID);
virtual ~FbxWriterFbx5();
virtual bool FileCreate(char* pFileName);
virtual bool FileCreate(FbxStream* pStream, void* pStreamData);
virtual bool FileClose();
virtual bool IsFileOpen();
typedef enum
{
eASCII,
eBINARY,
eENCRYPTED
} EExportMode;
void SetExportMode(EExportMode pMode);
virtual void GetWriteOptions();
virtual bool Write(FbxDocument* pDocument);
virtual bool Write(FbxDocument* pDocument, FbxIO* pFbx);
virtual bool PreprocessScene(FbxScene& pScene);
virtual bool PostprocessScene(FbxScene& pScene);
virtual bool SupportsStreams() const { return true; }
private:
bool WriteAnimation(FbxScene& pScene);
bool WriteAnimation(FbxNode& pRootNode, FbxAnimLayer* pAnimLayer);
void WriteTakeNode(KFCurveNode* pCurveNode, bool pRescaleShininess);
bool WriteTakeNode(FbxObject& pObj, FbxAnimLayer* pAnimLayer, const char* pBlockName, bool pRescaleShininess = false);
bool WriteThumbnail(FbxThumbnail* pThumbnail);
void WriteSceneInfo(FbxDocumentInfo*);
bool WriteExtensionSection(FbxScene& pScene, int pMediaCount);
bool WriteNode(FbxNode* pNode);
bool WriteCameraSwitcher(FbxScene& pScene);
void WriteGobo(FbxScene& pScene);
void WriteGoboSection(FbxScene& pScene);
void WriteGobo(FbxGobo& pGobo);
void WriteCharacter(FbxScene& pScene);
void WriteCharacter(FbxScene& pScene, int pCharacterIndex);
void WriteCharacterLinkGroup(FbxCharacter& pCharacter, int pCharacterGroupId, FbxScene& pScene, bool pBackwardCompatible);
void WriteCharacterLink(FbxCharacter& pCharacter, int pCharacterNodeId, FbxScene& pScene, bool pBackwardCompatible);
void WriteFilterSet(FbxCharacter& pCharacter);
void WriteControlSet(FbxControlSet& pControlSet, FbxScene& pScene, bool pBackwardCompatible);
void WriteControlSetLinkGroup(FbxControlSet& pControlSet, int pCharacterGroupId, FbxScene& pScene, bool pBackwardCompatible);
void WriteControlSetLink(FbxControlSet& pControlSet, int pCharacterNodeId, FbxScene& pScene);
void WriteEffector(FbxControlSet& pControlSet, int pEffectorNodeId, FbxScene& pScene);
void WriteEffectorAux(FbxControlSet& pControlSet, int pEffectorNodeId, FbxScene& pScene);
int WriteCharacterPose(FbxScene& pScene);
void WriteCharacterPose(FbxCharacterPose& pCharacterPose);
void WritePose(FbxScene& pScene);
void WritePose(FbxPose& pPose);
void WriteConstraint(FbxScene& pScene);
void WriteGlobalLightSettings(FbxScene& pScene);
void WriteShadowPlane(FbxScene& pScene);
void WriteShadowPlaneSection(FbxScene& pScene);
void WriteAmbientColor(FbxScene& pScene);
void WriteFogOption(FbxScene& pScene);
void WriteGlobalCameraAndTimeSettings(FbxScene& pScene);
bool WriteMedia(FbxScene& pScene, bool pMediaEmbedded, int& pMediaCount);
bool WriteMediaClip(FbxString& pFileName, bool pEmbeddedMedia);
void WriteDefaultMedia();
bool WriteNode (FbxNode& pNode);
bool WriteNodeBegin (FbxNode& pNode);
bool WriteNodeParameters (FbxNode& pNode);
bool WriteNodeVersion (FbxNode& pNode);
bool WriteNodeShading (FbxNode& pNode);
bool WriteNodeAnimationSettings (FbxNode& pNode);
bool WriteNodeCullingType (FbxNode& pNode);
bool WriteNodeLimits (FbxNode& pNode);
bool WriteNodeProperties (FbxNode& pNode);
bool WriteNodeTarget (FbxNode& pNode);
bool WriteNodeAnimatedProperties(FbxNode& pNode);
bool WriteNodeAttribute (FbxNode& pNode);
bool WriteNodeDefaultAttributes (FbxNode& pNode);
bool WriteNodeChildrenList (FbxNode& pNode);
bool WriteNodeEnd (FbxNode& pNode);
bool WriteNull ( FbxNull* pNull );
bool WriteMarker ( FbxNode& pNode );
bool WriteCamera ( FbxCamera& pCamera, bool pIsProducerCamera = false );
bool WriteCameraSwitcher ( FbxCameraSwitcher& pCameraSwitcher );
bool WriteLight ( FbxLight& pLight );
bool WriteGeometry ( FbxGeometry& pGeometry );
bool WriteGeometryLayer ( FbxGeometry& pGeometry );
bool WriteGeometryTextureLayer ( FbxGeometry& pGeometry, int pIndex );
bool WriteMesh ( FbxMesh& pMesh );
bool WriteMeshVertices ( FbxMesh& pMesh );
bool WriteMeshNormals ( FbxMesh& pMesh );
bool WriteMeshMaterial ( FbxMesh& pMesh );
bool WriteMeshTexture ( FbxMesh& pMesh );
bool WriteMeshGeometryUVInfo ( FbxMesh& pMesh );
bool WriteMeshPolyVertexIndex ( FbxMesh& pMesh );
bool WriteMeshPolyGroupIndex ( FbxMesh& pMesh );
bool WriteMeshVertexColors ( FbxMesh& pMesh );
bool WriteNurb ( FbxNurbs& pNurbs );
bool WritePatch ( FbxPatch& pPatch );
bool WritePatchType ( FbxPatch& pPatch, int pType );
bool WriteSkeleton ( FbxSkeleton& pSkeleton );
bool WriteSkeletonRoot ( FbxSkeleton& pSkeleton );
bool WriteSkeletonLimb ( FbxSkeleton& pSkeleton );
bool WriteSkeletonLimbNode ( FbxSkeleton& pSkeleton );
bool WriteSkeletonEffector ( FbxSkeleton& pSkeleton );
bool WriteOpticalReference ( FbxOpticalReference& pOpticalReference );
bool WriteTexture(FbxFileTexture& pTexture);
bool WriteSurfaceMaterial(FbxSurfaceMaterial& pMaterial);
bool WriteLink(FbxCluster& pCluster);
bool WriteShape(FbxShape& pShape, FbxString pShapeName, FbxGeometry& pGeometry);
bool WriteProperties(FbxObject* pObject);
int FindString(FbxString pString, FbxArray<FbxString*>& pStringArray);
void FindShapeValidIndices(FbxArray<FbxVector4>& pGeometryControlPoints, FbxArray<FbxVector4>& pShapeControlPoints, FbxArray<int>& lValidIndices);
void ConvertShapeNamesToV5Format(FbxNode& pNode);
void RevertShapeNamesToV6Format (FbxNode& pNode);
void WritePassword();
void FindAnimatedChannels(FbxScene& pScene);
void ClearAnimatedChannels();
void WriteSceneGenericPersistenceSection(FbxScene& pScene);
void ForceKFCurveNodesOnTRS(FbxNode* pNode);
void SetPivotStateRecursive(FbxNode* pNode);
private:
FbxWriterFbx5& operator=(const FbxWriterFbx5&) { return *this; }
FbxIO* mFileObject;
FbxExporter& mExporter;
EExportMode mExportMode;
FbxSet mTextureAnimatedChannels;
FbxSet mMaterialAnimatedChannels;
struct TextureAnimatedChannels
{
bool mTranslation;
bool mRotation;
bool mScaling;
bool mAlpha;
};
struct SurfaceMaterialAnimatedChannels
{
bool mAmbient;
bool mDiffuse;
bool mSpecular;
bool mEmissive;
bool mOpacity;
bool mShininess;
bool mReflectivity;
};
};
#include <fbxsdk/fbxsdk_nsend.h>
#endif /* _FBXSDK_FILEIO_FBX_WRITER_FBX5_H_ */
| [
"rlyle@palestar.com"
] | rlyle@palestar.com |
d1a3bf0101b2e22943c42321ce5ba26328538b86 | df8cbdbf75e4bf08ddda9fdcc3b2999e98dfc539 | /SU2016/C++/Assignments/Project_1/Project_1/main.cpp | 9a305b29b9026e55cd3a66fb7253670286afc0aa | [] | no_license | SiyangJ/Courses | a1a0f3d24002d6f755db2d14a9eb4968e132e524 | b95588c80d25f34f43002af1bd9a3234f7f8bc9b | refs/heads/master | 2020-03-22T17:18:13.351510 | 2019-01-22T15:11:33 | 2019-01-22T15:11:33 | 140,386,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | // snakepit.cpp
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include "globals.h"
#include "Snake.h"
#include "Player.h"
#include "Pit.h"
#include "Game.h"
#include "History.h"
using namespace std;
int decodeDirection(char dir);
bool directionToDeltas(int dir, int& rowDelta, int& colDelta);
void clearScreen();
int main()
{
// Initialize the random number generator. (You don't need to
// understand how this works.)
srand(static_cast<unsigned int>(time(0)));
// Create a game
// Use this instead to create a mini-game:
//Game g(3, 3, 2);
Game g(9, 10, 40);
// Play the game
g.play();
}
| [
"siyangj@live.unc.edu"
] | siyangj@live.unc.edu |
6c698fda82e4a5c5d1fb6a06195b31c8782df189 | 33cec150dcc1a4ab9973a2a6607ae74a668010b9 | /Plugins/LogicDriver/Intermediate/Build/Mac/UE4/Inc/SMSystem/SMNodeWidgetInfo.gen.cpp | 3ab3ac4f3becb83380cb8e6054b9a793f5e81b39 | [] | no_license | westomopresto/PL_Game_test | 93dcf6200182c647bd9a151427f5e49a8002a972 | 3863f8925725e4e9bf59434bcde11ace88b5820d | refs/heads/master | 2023-06-21T10:33:23.957383 | 2021-08-05T03:25:17 | 2021-08-05T03:25:17 | 392,566,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,094 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "UObject/GeneratedCppIncludes.h"
#include "SMSystem/Public/Properties/SMNodeWidgetInfo.h"
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4883)
#endif
PRAGMA_DISABLE_DEPRECATION_WARNINGS
void EmptyLinkFunctionForGeneratedCodeSMNodeWidgetInfo() {}
// Cross Module References
SMSYSTEM_API UScriptStruct* Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo();
UPackage* Z_Construct_UPackage__Script_SMSystem();
SMSYSTEM_API UScriptStruct* Z_Construct_UScriptStruct_FSMNodeWidgetInfo();
SLATECORE_API UScriptStruct* Z_Construct_UScriptStruct_FTextBlockStyle();
COREUOBJECT_API UScriptStruct* Z_Construct_UScriptStruct_FLinearColor();
SLATECORE_API UEnum* Z_Construct_UEnum_SlateCore_EWidgetClipping();
// End Cross Module References
static_assert(std::is_polymorphic<FSMTextDisplayWidgetInfo>() == std::is_polymorphic<FSMNodeWidgetInfo>(), "USTRUCT FSMTextDisplayWidgetInfo cannot be polymorphic unless super FSMNodeWidgetInfo is polymorphic");
class UScriptStruct* FSMTextDisplayWidgetInfo::StaticStruct()
{
static class UScriptStruct* Singleton = NULL;
if (!Singleton)
{
extern SMSYSTEM_API uint32 Get_Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Hash();
Singleton = GetStaticStruct(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo, Z_Construct_UPackage__Script_SMSystem(), TEXT("SMTextDisplayWidgetInfo"), sizeof(FSMTextDisplayWidgetInfo), Get_Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Hash());
}
return Singleton;
}
template<> SMSYSTEM_API UScriptStruct* StaticStruct<FSMTextDisplayWidgetInfo>()
{
return FSMTextDisplayWidgetInfo::StaticStruct();
}
static FCompiledInDeferStruct Z_CompiledInDeferStruct_UScriptStruct_FSMTextDisplayWidgetInfo(FSMTextDisplayWidgetInfo::StaticStruct, TEXT("/Script/SMSystem"), TEXT("SMTextDisplayWidgetInfo"), false, nullptr, nullptr);
static struct FScriptStruct_SMSystem_StaticRegisterNativesFSMTextDisplayWidgetInfo
{
FScriptStruct_SMSystem_StaticRegisterNativesFSMTextDisplayWidgetInfo()
{
UScriptStruct::DeferCppStructOps(FName(TEXT("SMTextDisplayWidgetInfo")),new UScriptStruct::TCppStructOps<FSMTextDisplayWidgetInfo>);
}
} ScriptStruct_SMSystem_StaticRegisterNativesFSMTextDisplayWidgetInfo;
struct Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics
{
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam Struct_MetaDataParams[];
#endif
static void* NewStructOps();
#if WITH_EDITORONLY_DATA
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_DefaultText_MetaData[];
#endif
static const UE4CodeGen_Private::FTextPropertyParams NewProp_DefaultText;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_DefaultTextStyle_MetaData[];
#endif
static const UE4CodeGen_Private::FStructPropertyParams NewProp_DefaultTextStyle;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_OnDropBackgroundColor_MetaData[];
#endif
static const UE4CodeGen_Private::FStructPropertyParams NewProp_OnDropBackgroundColor;
static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[];
#endif // WITH_EDITORONLY_DATA
static const UE4CodeGen_Private::FStructParams ReturnStructParams;
};
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::Struct_MetaDataParams[] = {
{ "Comment", "/**\n * Info used in determining text based widget display on a node.\n */" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
{ "ToolTip", "Info used in determining text based widget display on a node." },
};
#endif
void* Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewStructOps()
{
return (UScriptStruct::ICppStructOps*)new UScriptStruct::TCppStructOps<FSMTextDisplayWidgetInfo>();
}
#if WITH_EDITORONLY_DATA
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultText_MetaData[] = {
{ "Category", "Style" },
{ "Comment", "/** Default text to display when there is no object. */" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
{ "ToolTip", "Default text to display when there is no object." },
};
#endif
const UE4CodeGen_Private::FTextPropertyParams Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultText = { "DefaultText", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Text, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMTextDisplayWidgetInfo, DefaultText), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultText_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultText_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultTextStyle_MetaData[] = {
{ "Category", "Style" },
{ "Comment", "/** Style of default text. */" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
{ "ToolTip", "Style of default text." },
};
#endif
const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultTextStyle = { "DefaultTextStyle", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMTextDisplayWidgetInfo, DefaultTextStyle), Z_Construct_UScriptStruct_FTextBlockStyle, METADATA_PARAMS(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultTextStyle_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultTextStyle_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_OnDropBackgroundColor_MetaData[] = {
{ "Category", "Style" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_OnDropBackgroundColor = { "OnDropBackgroundColor", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMTextDisplayWidgetInfo, OnDropBackgroundColor), Z_Construct_UScriptStruct_FLinearColor, METADATA_PARAMS(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_OnDropBackgroundColor_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_OnDropBackgroundColor_MetaData)) };
const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::PropPointers[] = {
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultText,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_DefaultTextStyle,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::NewProp_OnDropBackgroundColor,
};
#endif // WITH_EDITORONLY_DATA
const UE4CodeGen_Private::FStructParams Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::ReturnStructParams = {
(UObject* (*)())Z_Construct_UPackage__Script_SMSystem,
Z_Construct_UScriptStruct_FSMNodeWidgetInfo,
&NewStructOps,
"SMTextDisplayWidgetInfo",
sizeof(FSMTextDisplayWidgetInfo),
alignof(FSMTextDisplayWidgetInfo),
IF_WITH_EDITORONLY_DATA(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::PropPointers, nullptr),
IF_WITH_EDITORONLY_DATA(UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::PropPointers), 0),
RF_Public|RF_Transient|RF_MarkAsNative,
EStructFlags(0x00000201),
METADATA_PARAMS(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::Struct_MetaDataParams, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::Struct_MetaDataParams))
};
UScriptStruct* Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo()
{
#if WITH_HOT_RELOAD
extern uint32 Get_Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Hash();
UPackage* Outer = Z_Construct_UPackage__Script_SMSystem();
static UScriptStruct* ReturnStruct = FindExistingStructIfHotReloadOrDynamic(Outer, TEXT("SMTextDisplayWidgetInfo"), sizeof(FSMTextDisplayWidgetInfo), Get_Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Hash(), false);
#else
static UScriptStruct* ReturnStruct = nullptr;
#endif
if (!ReturnStruct)
{
UE4CodeGen_Private::ConstructUScriptStruct(ReturnStruct, Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Statics::ReturnStructParams);
}
return ReturnStruct;
}
uint32 Get_Z_Construct_UScriptStruct_FSMTextDisplayWidgetInfo_Hash() { return 1581546483U; }
class UScriptStruct* FSMNodeWidgetInfo::StaticStruct()
{
static class UScriptStruct* Singleton = NULL;
if (!Singleton)
{
extern SMSYSTEM_API uint32 Get_Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Hash();
Singleton = GetStaticStruct(Z_Construct_UScriptStruct_FSMNodeWidgetInfo, Z_Construct_UPackage__Script_SMSystem(), TEXT("SMNodeWidgetInfo"), sizeof(FSMNodeWidgetInfo), Get_Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Hash());
}
return Singleton;
}
template<> SMSYSTEM_API UScriptStruct* StaticStruct<FSMNodeWidgetInfo>()
{
return FSMNodeWidgetInfo::StaticStruct();
}
static FCompiledInDeferStruct Z_CompiledInDeferStruct_UScriptStruct_FSMNodeWidgetInfo(FSMNodeWidgetInfo::StaticStruct, TEXT("/Script/SMSystem"), TEXT("SMNodeWidgetInfo"), false, nullptr, nullptr);
static struct FScriptStruct_SMSystem_StaticRegisterNativesFSMNodeWidgetInfo
{
FScriptStruct_SMSystem_StaticRegisterNativesFSMNodeWidgetInfo()
{
UScriptStruct::DeferCppStructOps(FName(TEXT("SMNodeWidgetInfo")),new UScriptStruct::TCppStructOps<FSMNodeWidgetInfo>);
}
} ScriptStruct_SMSystem_StaticRegisterNativesFSMNodeWidgetInfo;
struct Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics
{
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam Struct_MetaDataParams[];
#endif
static void* NewStructOps();
#if WITH_EDITORONLY_DATA
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_MinWidth_MetaData[];
#endif
static const UE4CodeGen_Private::FIntPropertyParams NewProp_MinWidth;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_MaxWidth_MetaData[];
#endif
static const UE4CodeGen_Private::FIntPropertyParams NewProp_MaxWidth;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_MinHeight_MetaData[];
#endif
static const UE4CodeGen_Private::FIntPropertyParams NewProp_MinHeight;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_MaxHeight_MetaData[];
#endif
static const UE4CodeGen_Private::FIntPropertyParams NewProp_MaxHeight;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_DisplayOrder_MetaData[];
#endif
static const UE4CodeGen_Private::FIntPropertyParams NewProp_DisplayOrder;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_BackgroundColor_MetaData[];
#endif
static const UE4CodeGen_Private::FStructPropertyParams NewProp_BackgroundColor;
static const UE4CodeGen_Private::FBytePropertyParams NewProp_Clipping_Underlying;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_Clipping_MetaData[];
#endif
static const UE4CodeGen_Private::FEnumPropertyParams NewProp_Clipping;
#if WITH_METADATA
static const UE4CodeGen_Private::FMetaDataPairParam NewProp_bConsiderForDefaultWidget_MetaData[];
#endif
static void NewProp_bConsiderForDefaultWidget_SetBit(void* Obj);
static const UE4CodeGen_Private::FBoolPropertyParams NewProp_bConsiderForDefaultWidget;
static const UE4CodeGen_Private::FPropertyParamsBase* const PropPointers[];
#endif // WITH_EDITORONLY_DATA
static const UE4CodeGen_Private::FStructParams ReturnStructParams;
};
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::Struct_MetaDataParams[] = {
{ "Comment", "/**\n * Info used in determining widget display on a node.\n */" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
{ "ToolTip", "Info used in determining widget display on a node." },
};
#endif
void* Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewStructOps()
{
return (UScriptStruct::ICppStructOps*)new UScriptStruct::TCppStructOps<FSMNodeWidgetInfo>();
}
#if WITH_EDITORONLY_DATA
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinWidth_MetaData[] = {
{ "Category", "Size" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinWidth = { "MinWidth", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, MinWidth), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinWidth_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinWidth_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxWidth_MetaData[] = {
{ "Category", "Size" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxWidth = { "MaxWidth", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, MaxWidth), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxWidth_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxWidth_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinHeight_MetaData[] = {
{ "Category", "Size" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinHeight = { "MinHeight", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, MinHeight), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinHeight_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinHeight_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxHeight_MetaData[] = {
{ "Category", "Size" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxHeight = { "MaxHeight", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, MaxHeight), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxHeight_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxHeight_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_DisplayOrder_MetaData[] = {
{ "Category", "Display" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FIntPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_DisplayOrder = { "DisplayOrder", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Int, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, DisplayOrder), METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_DisplayOrder_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_DisplayOrder_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_BackgroundColor_MetaData[] = {
{ "Category", "Display" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FStructPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_BackgroundColor = { "BackgroundColor", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, BackgroundColor), Z_Construct_UScriptStruct_FLinearColor, METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_BackgroundColor_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_BackgroundColor_MetaData)) };
const UE4CodeGen_Private::FBytePropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping_Underlying = { "UnderlyingType", nullptr, (EPropertyFlags)0x0000000000000000, UE4CodeGen_Private::EPropertyGenFlags::Byte, RF_Public|RF_Transient|RF_MarkAsNative, 1, 0, nullptr, METADATA_PARAMS(nullptr, 0) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping_MetaData[] = {
{ "Category", "Display" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
};
#endif
const UE4CodeGen_Private::FEnumPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping = { "Clipping", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Enum, RF_Public|RF_Transient|RF_MarkAsNative, 1, STRUCT_OFFSET(FSMNodeWidgetInfo, Clipping), Z_Construct_UEnum_SlateCore_EWidgetClipping, METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping_MetaData)) };
#if WITH_METADATA
const UE4CodeGen_Private::FMetaDataPairParam Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget_MetaData[] = {
{ "Category", "Display" },
{ "Comment", "/** When placing a new node the sgraph node widget will consider this node for editing text. */" },
{ "ModuleRelativePath", "Public/Properties/SMNodeWidgetInfo.h" },
{ "ToolTip", "When placing a new node the sgraph node widget will consider this node for editing text." },
};
#endif
void Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget_SetBit(void* Obj)
{
((FSMNodeWidgetInfo*)Obj)->bConsiderForDefaultWidget = 1;
}
const UE4CodeGen_Private::FBoolPropertyParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget = { "bConsiderForDefaultWidget", nullptr, (EPropertyFlags)0x0010000800010001, UE4CodeGen_Private::EPropertyGenFlags::Bool | UE4CodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, 1, sizeof(bool), sizeof(FSMNodeWidgetInfo), &Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget_SetBit, METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget_MetaData, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget_MetaData)) };
const UE4CodeGen_Private::FPropertyParamsBase* const Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::PropPointers[] = {
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinWidth,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxWidth,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MinHeight,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_MaxHeight,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_DisplayOrder,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_BackgroundColor,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping_Underlying,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_Clipping,
(const UE4CodeGen_Private::FPropertyParamsBase*)&Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::NewProp_bConsiderForDefaultWidget,
};
#endif // WITH_EDITORONLY_DATA
const UE4CodeGen_Private::FStructParams Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::ReturnStructParams = {
(UObject* (*)())Z_Construct_UPackage__Script_SMSystem,
nullptr,
&NewStructOps,
"SMNodeWidgetInfo",
sizeof(FSMNodeWidgetInfo),
alignof(FSMNodeWidgetInfo),
IF_WITH_EDITORONLY_DATA(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::PropPointers, nullptr),
IF_WITH_EDITORONLY_DATA(UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::PropPointers), 0),
RF_Public|RF_Transient|RF_MarkAsNative,
EStructFlags(0x00000201),
METADATA_PARAMS(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::Struct_MetaDataParams, UE_ARRAY_COUNT(Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::Struct_MetaDataParams))
};
UScriptStruct* Z_Construct_UScriptStruct_FSMNodeWidgetInfo()
{
#if WITH_HOT_RELOAD
extern uint32 Get_Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Hash();
UPackage* Outer = Z_Construct_UPackage__Script_SMSystem();
static UScriptStruct* ReturnStruct = FindExistingStructIfHotReloadOrDynamic(Outer, TEXT("SMNodeWidgetInfo"), sizeof(FSMNodeWidgetInfo), Get_Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Hash(), false);
#else
static UScriptStruct* ReturnStruct = nullptr;
#endif
if (!ReturnStruct)
{
UE4CodeGen_Private::ConstructUScriptStruct(ReturnStruct, Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Statics::ReturnStructParams);
}
return ReturnStruct;
}
uint32 Get_Z_Construct_UScriptStruct_FSMNodeWidgetInfo_Hash() { return 1728309793U; }
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#ifdef _MSC_VER
#pragma warning (pop)
#endif
| [
"westonmitchell@live.com"
] | westonmitchell@live.com |
72e04dd0970516d196b0c09e37f7e13adcc30b75 | 9120a9b17d00f41e5af26b66f5b667c02d870df0 | /EXAMPLES/Apps/tabbar/TabCtrlB.cpp | c43ad30a395d9b7192e4c2686eec9eea3419e554 | [] | no_license | pierrebestwork/owl | dd77c095abb214a107f17686e6143907bf809930 | 807aa5ab4df9ee9faa35ba6df9a342a62b9bac76 | refs/heads/master | 2023-02-14T02:12:38.490348 | 2020-03-16T16:41:49 | 2020-03-16T16:41:49 | 326,663,704 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 23,163 | cpp | //----------------------------------------------------------------------------
//
// Copyright © 2000. All Rights Reserved.
//
// FILE: tabctrlb.cpp
// AUTHOR: Jogy
//
// OVERVIEW
// ~~~~~~~~
// Source file for implementation of TTabbedControlBar (TLayoutWindow).
//
//----------------------------------------------------------------------------
#include "owlpch.h"
#if !defined(OWL_TABCTRL_H)
# include <owl/tabctrl.h>
#endif
#if !defined(OWL_NOTETAB_H)
# include <owl/notetab.h>
#endif
#if !defined(OWL_TOOLBOX_H)
# include <owl/toolbox.h>
#endif
#if !defined(OWL_CONTAIN_H)
# include <owl/contain.h>
#endif
#if !defined(OWL_UIMETRIC_H)
# include <owl/uimetric.h>
#endif
#include "tabctrlb.h"
class TToolBoxList : public TIPtrArray<TTabToolBox*>{
public:
TToolBoxList() {}
};
class TControlBarList : public TIPtrArray<TGadgetWindow*>{
public:
TControlBarList() {}
};
//-----------------------------------------------------------------------------
// class TInnerTabControl
// ~~~~~ ~~~~~~~~~~~~~~~~
class TInnerTabControl : public TTabControl {
public:
TInnerTabControl(TWindow* parent,
int id,
int x, int y, int w, int h,
TModule* module = 0)
: TTabControl(parent, id, x, y, w, h, module) {}
TInnerTabControl(TWindow* parent, int resourceId, TModule* module = 0)
: TTabControl(parent, resourceId, module) {}
protected:
TResult EvCommand(uint id, HWND hWndCtl, uint notifyCode);
void EvCommandEnable(TCommandEnabler& ce);
};
//-----------------------------------------------------------------------------
TResult TInnerTabControl::EvCommand(uint id, HWND hWndCtl, uint notifyCode)
{
// TRACEX(OwlCmd, 1, "TInnerTabControl::EvCommand - id(" << id << "), ctl(" <<\
// hex << uint(hWndCtl) << "), code(" << notifyCode << ")");
TWindow* target;
TFrameWindow* frame;
// Find the frame who is our latest ancestor and make it our command target
//
for (target = GetParentO(); target; target = target->GetParentO()) {
frame = TYPESAFE_DOWNCAST(target, TFrameWindow);
if (frame || !target->GetParentO())
break;
}
// Make sure the frame doesn't think we are its command target, or a BAD
// loop will happen
//
if (target && (!frame || frame->GetCommandTarget() != GetHandle())) {
CHECK(target->IsWindow());
return target->EvCommand(id, hWndCtl, notifyCode);
}
// If all command routing fails, go back to basic dispatching of TWindow
//
return TTabControl::EvCommand(id, hWndCtl, notifyCode);
}
//-----------------------------------------------------------------------------
void TInnerTabControl::EvCommandEnable(TCommandEnabler& ce)
{
TWindow* target = GetParentO();
// Forward to command target if the enabler was really destined for us, and
// not a routing from the frame.
//
if (target && ce.IsReceiver(*this)) {
CHECK(target->IsWindow());
ce.SetReceiver(*target);
target->EvCommandEnable(ce);
if (ce.GetHandled())
return;
}
// Default to TWindow's implementation if the above routing fails
//
TTabControl::EvCommandEnable(ce);
}
//-----------------------------------------------------------------------------
// class TInnerNoteTab
// ~~~~~ ~~~~~~~~~~~~~
class TInnerNoteTab : public TNoteTab {
public:
TInnerNoteTab(TWindow* parent,
int id,
int x, int y, int w, int h,
TModule* module = 0)
: TNoteTab(parent, id, x, y, w, h, 0, true, module) {}
TInnerNoteTab(TWindow* parent, int resourceId, TModule* module = 0)
: TNoteTab(parent, resourceId, 0, true, module) {}
protected:
TResult EvCommand(uint id, HWND hWndCtl, uint notifyCode);
void EvCommandEnable(TCommandEnabler& ce);
friend class TNoteTabControlBar;
};
//-----------------------------------------------------------------------------
TResult TInnerNoteTab::EvCommand(uint id, HWND hWndCtl, uint notifyCode)
{
// TRACEX(OwlCmd, 1, "TInnerNoteTab::EvCommand - id(" << id << "), ctl(" <<\
// hex << uint(hWndCtl) << "), code(" << notifyCode << ")");
TWindow* target;
TFrameWindow* frame;
// Find the frame who is our latest ancestor and make it our command target
//
for (target = GetParentO(); target; target = target->GetParentO()) {
frame = TYPESAFE_DOWNCAST(target, TFrameWindow);
if (frame || !target->GetParentO())
break;
}
// Make sure the frame doesn't think we are its command target, or a BAD
// loop will happen
//
if (target && (!frame || frame->GetCommandTarget() != GetHandle())) {
CHECK(target->IsWindow());
return target->EvCommand(id, hWndCtl, notifyCode);
}
// If all command routing fails, go back to basic dispatching of TWindow
//
return TNoteTab::EvCommand(id, hWndCtl, notifyCode);
}
//-----------------------------------------------------------------------------
void TInnerNoteTab::EvCommandEnable(TCommandEnabler& ce)
{
TWindow* target = GetParentO();
// Forward to command target if the enabler was really destined for us, and
// not a routing from the frame.
//
if (target && ce.IsReceiver(*this)) {
CHECK(target->IsWindow());
ce.SetReceiver(*target);
target->EvCommandEnable(ce);
if (ce.GetHandled())
return;
}
// Default to TWindow's implementation if the above routing fails
//
TNoteTab::EvCommandEnable(ce);
}
//-----------------------------------------------------------------------------
//
// Build a response table for all messages/commands handled by the application.
//
DEFINE_RESPONSE_TABLE1(TTabbedControlBar, TLayoutWindow)
//{{TTabbedControlBarRSP_TBL_BEGIN}}
EV_WM_SIZE,
EV_WM_WINDOWPOSCHANGING,
//{{TTabbedControlBarRSP_TBL_END}}
EV_TCN_SELCHANGING(-1, EvSelChanging),
EV_TCN_SELCHANGE(-1, EvSelChange),
END_RESPONSE_TABLE;
//{{TTabbedControlBar Implementation}}
//-----------------------------------------------------------------------------
TTabbedControlBar::TTabbedControlBar(TWindow* parent, TFont* font, TModule* module)
:
TLayoutWindow(parent, 0, module)
{
Font = font ? font : new TDefaultGUIFont();
ToolBoxList = new TToolBoxList;
ControlBarList = new TControlBarList;
// Make sure we don't paint or erase over any child windows
//
ModifyStyle(0,WS_CLIPCHILDREN/*|WS_BORDER*/);
SetBkgndColor(TColor::Sys3dFace);
SetFlag(wfInsertAtEdge);
}
//-----------------------------------------------------------------------------
TTabbedControlBar::~TTabbedControlBar()
{
Destroy(IDCANCEL);
delete ToolBoxList;
delete ControlBarList;
delete Font;
}
//-----------------------------------------------------------------------------
LPCTSTR TTabbedControlBar::GetClassName()
{
return OWL_TABBEDTOOLBAR;
}
//-----------------------------------------------------------------------------
void TTabbedControlBar::SetupWindow()
{
TLayoutWindow::SetupWindow();
TabControl->SetWindowFont(*Font, false);
SetTabCaptions();
SetMetrics();
InitTabs();
}
//-----------------------------------------------------------------------------
void TTabbedControlBar::EvSize(uint sizeType, TSize& size)
{
TLayoutWindow::EvSize(sizeType, size);
if (size.cx > 0 && size.cy > 0)
AdjustTabClient();
}
//-----------------------------------------------------------------------------
bool
TTabbedControlBar::EvSelChanging(TNotify&)
{
HideCurTabWindow();
return false;
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::EvSelChange(TNotify&)
{
ShowCurTabWindow();
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::ShowCurTabWindow()
{
TWindow* curTabWindow = GetCurTabWindow();
if (curTabWindow)
AdjustTabClient();
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::HideCurTabWindow()
{
TWindow* curTabWindow = GetCurTabWindow();
if (curTabWindow)
curTabWindow->ShowWindow(SW_HIDE);
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::InsertTab(TGadgetWindow* tab, LPCTSTR name)
{
if (name)
tab->SetCaption(name);
ControlBarList->Add(tab);
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::InsertToolBox(TTabToolBox* toolBox)
{
toolBox->SetParent(this);
TMargins margins;
margins.Units = TMargins::Pixels;
margins.Top = 2;
toolBox->SetMargins(margins);
ToolBoxList->Add(toolBox);
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::InitTabs()
{
for (int i = 0; i < (int)ControlBarList->Size(); i++) {
TWindow* tab = (*ControlBarList)[i];
tab->SetParent(TabControl);
tab->Create();
}
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::GetTabClientRect(TRect& rect)
{
TYPESAFE_DOWNCAST(TabControl, TTabControl)->AdjustRect(false, rect);
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::SetTabSel(int index)
{
TYPESAFE_DOWNCAST(TabControl, TTabControl)->SetSel(index);
}
//-----------------------------------------------------------------------------
void TTabbedControlBar::GetTabSize(TSize& size)
{
if(TabControl->GetHandle()){
TRect rect;
TYPESAFE_DOWNCAST(TabControl, TTabControl)->GetItemRect(0, rect);
size = rect.Size();
}
else{
// FintHeight + VertMargin + ClientMargin
int height = Font->GetHeight() + 3 + 2;
size = TSize(20,height);
}
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::SetTabCaptions()
{
TTabControl* ctrl = TYPESAFE_DOWNCAST(TabControl, TTabControl);
int index = ctrl->GetSel();
if (index == -1)
index = 0;
ctrl->DeleteAll();
for (int i = 0; i < (int)ControlBarList->Size(); i++) {
TWindow* tab = (*ControlBarList)[i];
TTabItem item(tab->Title, strlen(tab->Title), (uint32)tab);
ctrl->Add(item);
}
ctrl->SetSel(index);
}
//-----------------------------------------------------------------------------
TWindow*
TTabbedControlBar::GetCurTabWindow()
{
if (!TabControl->GetHandle())
return 0;
TWindow* wnd = 0;
TTabControl* ctrl = TYPESAFE_DOWNCAST(TabControl, TTabControl);
int index = ctrl->GetSel();
if (index != -1) {
TTabItem item(TCIF_PARAM);
ctrl->GetItem(index, item);
wnd = (TWindow*)item.lParam;
}
return wnd;
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::AdjustTabClient()
{
if (!TabControl->GetHandle())
return;
// Retrieve the window rectangle of the tab control
//
TRect rect;
TabControl->GetWindowRect(rect);
if (rect.IsEmpty())
return;
// NOTE: GetWindowRect returns screen coordinates... we'll need
// to have the coordinates relative to the frame window,
// the parent of both the tab and client window
::MapWindowPoints(HWND_DESKTOP, *TabControl, (LPPOINT)&rect, 2);
// Ask the tab for it's 'client-area' based in it window location
GetTabClientRect(rect);
TWindow* curTabWindow = GetCurTabWindow();
if (curTabWindow)
curTabWindow->SetWindowPos(0, rect, SWP_SHOWWINDOW | SWP_NOZORDER);
}
//-----------------------------------------------------------------------------
void
TTabbedControlBar::SetMetrics()
{
if(ToolBoxList->Size()){
TLayoutMetrics metrics, tabMetrics;
TWindow* left = lmParent;
metrics.Y.Set(lmTop, lmBelow, lmParent, lmTop, TUIMetric::CyBorder);
metrics.Height.AsIs(lmHeight);
metrics.Width.AsIs(lmWidth);
for (int i = 0; i < (int)ToolBoxList->Size(); i++) {
TTabToolBox *curToolBox = (*ToolBoxList)[i];
if (left)
metrics.X.Set(lmLeft, lmRightOf, left, lmRight, 3);
else
metrics.X.Set(lmLeft, lmRightOf, lmParent, lmLeft, 3);
SetChildLayoutMetrics(*curToolBox, metrics);
left = curToolBox;
}
tabMetrics.Y.Set(lmTop, lmBelow, lmParent, lmTop);
tabMetrics.X.Set(lmLeft, lmRightOf, left, lmRight, 3);
tabMetrics.Width.Set(lmRight, lmLeftOf, lmParent, lmRight);
tabMetrics.Height.Set(lmBottom, lmAbove, lmParent, lmBottom);
SetChildLayoutMetrics(*TabControl, tabMetrics);
}
else{
TLayoutMetrics tabMetrics;
tabMetrics.X.Set(lmLeft, lmRightOf, lmParent, lmLeft);
tabMetrics.Y.Set(lmTop, lmBelow, lmParent, lmTop);
tabMetrics.Width.Set(lmRight, lmLeftOf, lmParent, lmRight);
tabMetrics.Height.Set(lmBottom, lmAbove, lmParent, lmBottom);
SetChildLayoutMetrics(*TabControl, tabMetrics);
}
}
//-----------------------------------------------------------------------------
static TGadget* GetGadget(TWindow* win, int id)
{
TGadgetWindow* gadgetWindow = TYPESAFE_DOWNCAST(win, TGadgetWindow);
if(gadgetWindow)
return gadgetWindow->GadgetWithId(id);
return 0;
}
//-----------------------------------------------------------------------------
TGadget*
TTabbedControlBar::FindGadget(int id, bool selectTab)
{
TGadget* gadget;
for (int i = 0; i < (int)ToolBoxList->Size(); i++) {
gadget = GetGadget((*ToolBoxList)[i], id);
if (gadget)
return gadget;
}
for (int j = 0; j < (int)ControlBarList->Size(); j++) {
gadget = GetGadget((*ControlBarList)[j], id);
if (gadget){
if (selectTab){
HideCurTabWindow();
SetTabSel(j);
ShowCurTabWindow();
}
return gadget;
}
}
return 0;
}
//-----------------------------------------------------------------------------
void TTabbedControlBar::EvWindowPosChanging(WINDOWPOS& windowPos)
{
TLayoutWindow::EvWindowPosChanging(windowPos);
if (!(windowPos.flags&SWP_NOSIZE)){
TSize size;
GetDesiredSize(size);
windowPos.cy = size.cy;
}
}
//-----------------------------------------------------------------------------
void TTabbedControlBar::GetDesiredSize(TSize& size)
{
size.cx = size.cy = 0;
TSize desiredSize;
for (int i = 0; i < (int)ToolBoxList->Size(); i++) {
(*ToolBoxList)[i]->GetDesiredSize(desiredSize);
size.cx += desiredSize.cx;
if (size.cy < desiredSize.cy)
size.cy = desiredSize.cy;
}
if (ControlBarList->Size() > 0) {
TSize tabSize;
GetTabSize(tabSize);
for (int i = 0; i < (int)ControlBarList->Size(); i++) {
(*ControlBarList)[i]->GetDesiredSize(desiredSize);
size.cx += desiredSize.cx;
if (size.cy < desiredSize.cy + tabSize.cy)
size.cy = desiredSize.cy + tabSize.cy;
}
}
size.cy += 4 * (TUIMetric::CyBorder + 2);
}
//-----------------------------------------------------------------------------
TWindow*
TTabbedControlBar::CreateTabControl()
{
return new TInnerTabControl(this, -1, 0, 0, 0, 0);
}
//-----------------------------------------------------------------------------
bool TTabbedControlBar::Create()
{
TabControl = CreateTabControl();
TSize size;
GetDesiredSize(size);
Attr.H = size.cy;
return TLayoutWindow::Create();
}
//-----------------------------------------------------------------------------
bool TTabbedControlBar::IdleAction(long idleCount)
{
for (int i = 0; i < (int)ToolBoxList->Size(); i++)
(*ToolBoxList)[i]->IdleAction(idleCount);
TWindow* wnd = GetCurTabWindow();
if(wnd)
wnd->IdleAction(idleCount);
return TLayoutWindow::IdleAction(idleCount);
}
//-----------------------------------------------------------------------------
// When the gadget window receives a WM_COMMAND message, it is likely
// from a gadget or control within a TControlGadget. Reroute to the command
// target.
//
TResult
TTabbedControlBar::EvCommand(uint id, HWND hWndCtl, uint notifyCode)
{
// First allow any derived class that wants to handle the command
// NOTE: This search only caters for menu-style WM_COMMANDs (not those
// sent by controls)
//
TEventInfo eventInfo(0, id);
if (Find(eventInfo)) {
Dispatch(eventInfo, id);
return 0;
}
#if 0
// Prior versions of TGadgetWindow relied on TWindow's EvCommand for
// dispatching WM_COMMAND events. This required that one derives from
// a decoration class (eg. TControlbar, TToolbox) to handle control
// notifications. The current version uses a more generalized logic
// involving the CommandTarget and a frame ancestor class. This allows
// a client window to handle notifications of a control in a toolbar
// without using a TControlbar-derived class.
// However, if you need to previous behaviour, simply invoke TWindow's
// EvCommand from this handler.
return TLayoutWindow::EvCommand(id, hWndCtl, notifyCode);
#endif
TWindow* target;
TFrameWindow* frame;
// Find the frame who is our latest ancestor and make it our command target
//
for (target = GetParentO(); target; target = target->GetParentO()) {
frame = TYPESAFE_DOWNCAST(target, TFrameWindow);
if (frame || !target->GetParentO())
break;
}
// Make sure the frame doesn't think we are its command target, or a BAD
// loop will happen
//
if (target && (!frame || frame->GetCommandTarget() != GetHandle())) {
CHECK(target->IsWindow());
return target->EvCommand(id, hWndCtl, notifyCode);
}
// If all command routing fails, go back to basic dispatching of TWindow
//
return TLayoutWindow::EvCommand(id, hWndCtl, notifyCode);
}
//-----------------------------------------------------------------------------
// When the gadget window receives a WM_COMMAND_ENABLE message, it is likely
// from a gadget or control within a TControlGadget. Reroute to the command
// target.
//
void
TTabbedControlBar::EvCommandEnable(TCommandEnabler& ce)
{
// If someone derived from TGadgetWindow and handles the command there,
// give these handlers the first crack.
//
TEventInfo eventInfo(WM_COMMAND_ENABLE, ce.Id);
if (Find(eventInfo)) {
Dispatch(eventInfo, 0, TParam2(&ce));
return;
}
TWindow* target = GetParentO();
// Forward to command target if the enabler was really destined for us, and
// not a routing from the frame.
//
if (target && ce.IsReceiver(*this)) {
CHECK(target->IsWindow());
ce.SetReceiver(*target);
target->EvCommandEnable(ce);
if (ce.GetHandled())
return;
}
// Default to TWindow's implementation if the above routing fails
//
TLayoutWindow::EvCommandEnable(ce);
}
//-----------------------------------------------------------------------------
TNoteTabControlBar::TNoteTabControlBar(TWindow* parent, TFont* font,
TModule* module)
:
TTabbedControlBar(parent, font,module)
{
}
//-----------------------------------------------------------------------------
TWindow* TNoteTabControlBar::CreateTabControl()
{
return new TInnerNoteTab(this, -1, 0, 0, 0, 0);
}
//-----------------------------------------------------------------------------
TWindow* TNoteTabControlBar::GetCurTabWindow()
{
if (!TabControl->GetHandle())
return 0;
TWindow* wnd = 0;
TNoteTab* ctrl = TYPESAFE_DOWNCAST(TabControl, TNoteTab);
int index = ctrl->GetSel();
if (index != -1) {
TNoteTabItem item;
if(ctrl->GetItem(index, item))
wnd = (TWindow*)item.ClientData;
}
return wnd;
}
//-----------------------------------------------------------------------------
void TNoteTabControlBar::GetTabSize(TSize& size)
{
if(TabControl->GetHandle()){
TNoteTabItem item;
if(TYPESAFE_DOWNCAST(TabControl, TInnerNoteTab)->GetItem(0, item))
size = item.Rect.Size();
if(size.cy!=0 && size.cx!=0)
return;
}
// FintHeight + VertMargin
int height = Font->GetHeight() + 4;
size = TSize(20,height);
}
//-----------------------------------------------------------------------------
void TNoteTabControlBar::SetTabSel(int index)
{
TYPESAFE_DOWNCAST(TabControl, TInnerNoteTab)->SetSel(index);
}
//-----------------------------------------------------------------------------
void TNoteTabControlBar::GetTabClientRect(TRect& rect)
{
TInnerNoteTab* noteTab = TYPESAFE_DOWNCAST(TabControl, TInnerNoteTab);
::MapWindowPoints(*TabControl, *this, (LPPOINT)&rect, 2);
TRect clientRect;
GetClientRect(clientRect);
rect.bottom = rect.top - 6;
rect.top = clientRect.top+3;
}
//-----------------------------------------------------------------------------
void
TNoteTabControlBar::SetTabCaptions()
{
TInnerNoteTab* ctrl = TYPESAFE_DOWNCAST(TabControl, TInnerNoteTab);
int index = ctrl->GetSel();
if (index == -1)
index = 0;
ctrl->DeleteAll();
for (int i = 0; i < (int)ControlBarList->Size(); i++) {
TWindow* tab = (*ControlBarList)[i];
ctrl->Add(tab->Title,(uint32)tab);
}
ctrl->SetSel(index);
}
//-----------------------------------------------------------------------------
void
TNoteTabControlBar::SetMetrics()
{
if(ToolBoxList->Size()){
TLayoutMetrics metrics, tabMetrics;
TWindow* left = lmParent;
metrics.Y.Set(lmTop, lmBelow, lmParent, lmTop, TUIMetric::CyBorder);
metrics.Height.AsIs(lmHeight);
metrics.Width.AsIs(lmWidth);
for (int i = 0; i < (int)ToolBoxList->Size(); i++) {
TTabToolBox *curToolBox = (*ToolBoxList)[i];
if (left)
metrics.X.Set(lmLeft, lmRightOf, left, lmRight, 3);
else
metrics.X.Set(lmLeft, lmRightOf, lmParent, lmLeft, 3);
SetChildLayoutMetrics(*curToolBox, metrics);
left = curToolBox;
}
TSize size;
GetTabSize(size);
tabMetrics.Y.Set(lmTop, lmAbove, lmParent, lmBottom, size.cy-2);
tabMetrics.X.Set(lmLeft, lmRightOf, left, lmRight, 3);
tabMetrics.Width.Set(lmRight, lmLeftOf, lmParent, lmRight, 3);
tabMetrics.Height.Set(lmBottom, lmAbove, lmParent, lmBottom, 2);
SetChildLayoutMetrics(*TabControl, tabMetrics);
}
else{
TLayoutMetrics tabMetrics;
TSize size;
GetTabSize(size);
tabMetrics.X.Set(lmLeft, lmRightOf, lmParent, lmLeft);
tabMetrics.Y.Set(lmTop, lmBelow, lmParent, lmTop,size.cy-3);
tabMetrics.Width.Set(lmRight, lmLeftOf, lmParent, lmRight);
tabMetrics.Height.Set(lmBottom, lmAbove, lmParent, lmBottom,1);
SetChildLayoutMetrics(*TabControl, tabMetrics);
}
}
//-----------------------------------------------------------------------------
void
TNoteTabControlBar::InitTabs()
{
for (int i = 0; i < (int)ControlBarList->Size(); i++) {
TWindow* tab = (*ControlBarList)[i];
tab->SetParent(this);
tab->Create();
}
}
//-----------------------------------------------------------------------------
| [
"Chris.Driver@taxsystems.com"
] | Chris.Driver@taxsystems.com |
1ceb21c938c484ceaef8bfc6cab2dc156b845ca6 | 28fc407b1f0b6fd4b6a25d83b83c056cdee315f4 | /SphericalHoughTransform/include/pointcloud.h | d6c5c5c51a7b0ca332ca42ddeda0582364977373 | [] | no_license | lh9171338/Spherical-Hough-Transform | b08d2478ccec088245ced3e2db7fd411eb0a6601 | 476804cba30742071946c3516c92b2a56f8225e2 | refs/heads/main | 2023-03-05T06:33:23.320708 | 2021-02-20T03:08:40 | 2021-02-20T03:08:40 | 303,894,825 | 1 | 0 | null | 2020-10-14T04:01:35 | 2020-10-14T03:41:39 | null | UTF-8 | C++ | false | false | 317 | h | #pragma once
#include <iostream>
#include <fstream>
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
struct PointCloud {
Point3f pos;
Vec3b pixel;
PointCloud(Point3f _pos, Vec3b _pixel) : pos(_pos), pixel(_pixel) {}
};
void writePLYFile(string filename, vector<PointCloud> pointClouds); | [
"2909171338@qq.com"
] | 2909171338@qq.com |
f8db77c58aaf2aedf25e68bd135c13fdf4b11921 | e0c838697178ec518ba6ec68e44619cf1cad5f90 | /seminar/queue.cpp | 0f059a9389cdc5c93aef6acdbc29ea80466695ef | [] | no_license | MrOcumare/Algoritm_2018_TP | 8c8b72dd102c94c7f5f8dbbedc6a784f1ccd9fdb | 9f3b3caf6babbb74460d8cef1b4a35c80b48d32c | refs/heads/master | 2020-03-30T05:59:12.367758 | 2019-02-07T18:09:54 | 2019-02-07T18:09:54 | 150,831,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,158 | cpp | //реализация очереди на списке
// необходим закоьцевать
#include <iostream>
// Queue.h
class Queue{
public:
Queue(const Queue& other ) = delete;
//Queue(Queue && other) {*this = std::move(other);}
~Queue();
Queue& operator = (const Queue& other) = delete;
void Push(int value);
int Pop();
bool IsEmpty() const {return !head;};
private:
struct Node;
Node* head = nullptr;
Node* tail = nullptr;
};
struct Queue::Node{
int Value =0;
Node* Next = nullptr;
Node() = default;
Node(int value) : Value(value){}
};
Queue :: ~Queue()
{
while (head) {
Node* node = head;
head = head -> Next;
delete node;
}
}
void Queue::Push(int value)
{
Node* node = new Node(value);
if (IsEmpty()) {
head = tail = node;
return;
}
tail->Next = node;
tail = node;
}
int Queue::Pop() {
assert(!IsEmpty());
int result = head -> Value;
Node * node =head;
if (head == tail) {
head = tail = nullptr;
} else {
head = head -> Next;
}
delete node;
return result;
}
void test(){
Queue queue;
queue.Push(3);
queue.Push(4);
queue.Push(5);
assert(queue.Pop() == 3);
assert(queue.Pop() == 4);
assert(queue.Pop() == 5);
assert(!queue.IsEmpty());
}
//////////////////////////////////////
struct Operation {
int Code = 0;
int Value = 0;
};
bool do_operation(Queue queue, Operation op) {
switch (op.Code) {
case 3:
queue.Push(op.Value);
return true;
case 2:
{
const int result = !queue.IsEmpty() ? queue.Pop() : -1;
return result == op.Value;
}
}
}
int main() {
// test();
// std::cout <<"ZBS";
Queue queue;
int n = 0;
std::cin >> n;
for (int i =0 ; i < n; i++) {
Operation op;
std:: cin >> op.Code >> op.Value;
if (!do_operation(queue, op)){
std::cout << "No";
return 0;
}
std::cout << "YES";
}
}
| [
"ilyaocumare@gmail.com"
] | ilyaocumare@gmail.com |
adbfc7e1de926690ced40341549472d91a00445c | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /6d/ee/78/8d/ae9d274c0ffb287f1798f9099c32d74ba4112f0787b3948cff034a9ad211f80f04ee169d59df176935c3b4788ba51ae8f2bd7918c2ccd3a5db83e927/sw.cpp | 6ef7c64ec475aacb78e0b8f6d39ee5eb33609530 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | cpp | void build(Solution &s)
{
auto &openjp2 = s.addTarget<LibraryTarget>("uclouvain.openjpeg.openjp2", "2.3.0");
openjp2 += Git("https://github.com/uclouvain/openjpeg", "v{v}");
openjp2.setChecks("openjp2");
openjp2 +=
"src/lib/openjp2/.*\\.h"_rr,
"src/lib/openjp2/bio.c",
"src/lib/openjp2/cio.c",
"src/lib/openjp2/dwt.c",
"src/lib/openjp2/event.c",
"src/lib/openjp2/function_list.c",
"src/lib/openjp2/image.c",
"src/lib/openjp2/invert.c",
"src/lib/openjp2/j2k.c",
"src/lib/openjp2/jp2.c",
"src/lib/openjp2/mct.c",
"src/lib/openjp2/mqc.c",
"src/lib/openjp2/openjpeg.c",
"src/lib/openjp2/opj_clock.c",
"src/lib/openjp2/opj_malloc.c",
"src/lib/openjp2/pi.c",
"src/lib/openjp2/sparse_array.*"_rr,
"src/lib/openjp2/t1.c",
"src/lib/openjp2/t2.c",
"src/lib/openjp2/tcd.c",
"src/lib/openjp2/tgt.c",
"src/lib/openjp2/thread.*"_rr;
openjp2.Public +=
"src/lib/openjp2"_id;
openjp2.Private += sw::Shared, "OPJ_EXPORTS"_d;
openjp2.Public += sw::Static, "OPJ_STATIC"_d;
openjp2.writeFileOnce("opj_config.h.in", R"(
#ifdef HAVE_STDINT_H
#define OPJ_HAVE_STDINT_H 1
#endif
#define OPJ_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@
#define OPJ_VERSION_MINOR @PACKAGE_VERSION_MINOR@
#define OPJ_VERSION_BUILD @PACKAGE_VERSION_PATCH@
)");
openjp2.writeFileOnce("opj_config_private.h.in", R"(
#ifdef HAVE_INTTYPES_H
#define OPJ_HAVE_INTTYPES_H 1
#endif
#define OPJ_PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine _LARGEFILE_SOURCE
#cmakedefine _LARGE_FILES
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
#cmakedefine OPJ_HAVE_FSEEKO @HAVE_FSEEKO@
/* find whether or not have <malloc.h> */
#cmakedefine OPJ_HAVE_MALLOC_H @HAVE_MALLOC_H@
/* check if function `aligned_alloc` exists */
#cmakedefine OPJ_HAVE_ALIGNED_ALLOC @HAVE_ALIGNED_ALLOC@
/* check if function `_aligned_malloc` exists */
#cmakedefine OPJ_HAVE__ALIGNED_MALLOC @HAVE__ALIGNED_MALLOC@
/* check if function `memalign` exists */
#cmakedefine OPJ_HAVE_MEMALIGN @HAVE_MEMALIGN@
/* check if function `posix_memalign` exists */
#cmakedefine OPJ_HAVE_POSIX_MEMALIGN @HAVE_POSIX_MEMALIGN@
#if !defined(_POSIX_C_SOURCE)
#if defined(OPJ_HAVE_FSEEKO) || defined(OPJ_HAVE_POSIX_MEMALIGN)
/* Get declarations of fseeko, ftello, posix_memalign. */
#define _POSIX_C_SOURCE 200112L
#endif
#endif
#if @WORDS_BIGENDIAN@
#define OPJ_BIG_ENDIAN @WORDS_BIGENDIAN@
#endif
)");
openjp2.configureFile("opj_config.h.in", "opj_config.h");
openjp2.configureFile("opj_config_private.h.in", "opj_config_private.h");
}
void check(Checker &c)
{
auto &s = c.addSet("openjp2");
s.checkFunctionExists("aligned_alloc");
s.checkFunctionExists("fseeko");
s.checkFunctionExists("memalign");
s.checkFunctionExists("posix_memalign");
s.checkFunctionExists("_aligned_malloc");
s.checkIncludeExists("inttypes.h");
s.checkIncludeExists("malloc.h");
s.checkIncludeExists("stdint.h");
s.checkTypeSize("size_t");
s.checkTypeSize("void *");
}
| [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
f727543096eafba111ebd0cc3e2cbae06e8a4ed1 | 8bae0a5871f081f88f6bae1448f0a61653f1cad3 | /polygon/8vc2/preorder/sol-andrew.cpp | 1e54acca98a1b209ccab3b176d8c4de65bf636ae | [] | no_license | IamUttamKumarRoy/contest-programming | a3a58df6b6ffaae1947d725e070d1e32d45c7642 | 50f2b86bcb59bc417f0c9a2f3f195eb45ad54eb4 | refs/heads/master | 2021-01-16T00:28:53.384205 | 2016-10-01T02:57:44 | 2016-10-01T02:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAXN = 3e5;
int N, K;
int A[MAXN];
vector<int> adj[MAXN];
int V;
int dp_down[MAXN];
int sum_whole[MAXN];
int best_parts[MAXN][2];
int dp_up[MAXN];
// positive is full
// <= 0 is partial
void dfs1(int cur, int prv = 0) {
sum_whole[cur] = (A[cur] >= V);
best_parts[cur][0] = best_parts[cur][1] = 1;
for(int nxt : adj[cur]) {
if(nxt == prv) continue;
dfs1(nxt, cur);
int v = dp_down[nxt];
if(v > 0) {
sum_whole[cur] += v;
} else if(v < best_parts[cur][0]) {
best_parts[cur][1] = best_parts[cur][0];
best_parts[cur][0] = v;
} else if(v < best_parts[cur][1]) {
best_parts[cur][1] = v;
}
}
if(A[cur] < V) dp_down[cur] = 0;
else if(best_parts[cur][0] <= 0) dp_down[cur] = best_parts[cur][0] - sum_whole[cur];
else dp_down[cur] = sum_whole[cur];
}
void dfs2(int cur, int prv = 0) {
if(prv) {
int v = dp_up[cur];
if(v > 0) {
sum_whole[cur] += v;
} else if(v < best_parts[cur][0]) {
best_parts[cur][1] = best_parts[cur][0];
best_parts[cur][0] = v;
} else if(v < best_parts[cur][1]) {
best_parts[cur][1] = v;
}
}
for(int nxt : adj[cur]) {
if(nxt == prv) continue;
int parts = best_parts[cur][0];
if(parts == dp_down[nxt]) parts = best_parts[cur][1];
int wholes = sum_whole[cur];
if(dp_down[nxt] > 0) wholes -= dp_down[nxt];
if(A[cur] < V) dp_up[nxt] = 0;
else if(parts <= 0) dp_up[nxt] = parts - wholes;
else dp_up[nxt] = wholes;
dfs2(nxt, cur);
}
}
bool is_good(int v) {
V = v;
dfs1(1);
dfs2(1);
for(int i = 1; i <= N; i++) {
if(A[i] < V) continue;
if(sum_whole[i] + max(0, -best_parts[i][0]) >= K) return true;
}
return false;
}
int main() {
scanf("%d %d", &N, &K);
for(int i = 1; i <= N; i++) scanf("%d", &A[i]);
for(int i = 0; i < N - 1; i++) {
int u, v; scanf("%d %d", &u, &v);
adj[u].push_back(v);
adj[v].push_back(u);
}
int mi = 0;
int ma = 1e6 + 1;
while(ma - mi > 1) {
int md = (mi + ma) / 2;
if(is_good(md)) {
mi = md;
} else {
ma = md;
}
}
cout << mi << '\n';
}
| [
"he.andrew.mail@gmail.com"
] | he.andrew.mail@gmail.com |
40e52d2529017127c64a398053ab33fab3c1eb5f | b7e97047616d9343be5b9bbe03fc0d79ba5a6143 | /src/protocols/enzymatic_movers/EnzymaticMover.cc | 57f35a97ed99d7c6370df47367103dcefa35c1f4 | [] | no_license | achitturi/ROSETTA-main-source | 2772623a78e33e7883a453f051d53ea6cc53ffa5 | fe11c7e7cb68644f404f4c0629b64da4bb73b8f9 | refs/heads/master | 2021-05-09T15:04:34.006421 | 2018-01-26T17:10:33 | 2018-01-26T17:10:33 | 119,081,547 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 11,930 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
/// @file protocols/enzymatic_movers/EnzymaticMover.fwd.hh
/// @brief Method definitions for the base class EnzymaticMover
/// @author Labonte <JWLabonte@jhu.edu>
// Unit header
#include <protocols/enzymatic_movers/EnzymaticMover.hh>
// Package header
#include <core/enzymes/EnzymeManager.hh>
// Project headers
#include <core/conformation/Residue.hh>
#include <core/pose/Pose.hh>
#include <protocols/rosetta_scripts/util.hh>
// Utility headers
#include <utility/tag/Tag.hh>
// Numeric headers
#include <numeric/random/random.hh>
// Basic header
#include <basic/options/option.hh>
#include <basic/Tracer.hh>
// Construct tracers.
static THREAD_LOCAL basic::Tracer TR( "protocols.enzymatic_movers.EnzymaticMover" );
namespace protocols {
namespace enzymatic_movers {
// Public methods /////////////////////////////////////////////////////////////
// Standard methods ///////////////////////////////////////////////////////////
// Default constructor
EnzymaticMover::EnzymaticMover(): moves::Mover()
{
init( "" );
}
// Constructor with enzyme family provided
EnzymaticMover::EnzymaticMover( std::string const & enzyme_family )
{
init( enzyme_family );
}
// Copy constructor
EnzymaticMover::EnzymaticMover( EnzymaticMover const & object_to_copy ) : moves::Mover( object_to_copy )
{
copy_data( *this, object_to_copy );
}
// Assignment operator
EnzymaticMover &
EnzymaticMover::operator=( EnzymaticMover const & object_to_copy )
{
// Abort self-assignment.
if ( this != &object_to_copy ) {
moves::Mover::operator=( object_to_copy );
copy_data( *this, object_to_copy );
}
return *this;
}
// Destructor
EnzymaticMover::~EnzymaticMover() {}
// Standard Rosetta methods ///////////////////////////////////////////////////
// General methods
void
EnzymaticMover::register_options()
{
using namespace basic::options;
//option.add_relevant( OptionKeys::foo::bar );
moves::Mover::register_options(); // Mover's register_options() doesn't do anything; it's just here in principle.
}
void
EnzymaticMover::show( std::ostream & output ) const
{
using namespace std;
moves::Mover::show( output ); // name, type, tag
output << "Simulated Enzyme: " << enzyme_name_ << " from " << species_name_ << endl;
output << "Reaction Efficiency: " << efficiency_ * 100 << '%' << endl;
output << "Residues Excluded from Potential Reaction: ";
core::Size const n_excluded_sites( excluded_sites_.size() );
for ( core::uint i( 1 ); i <= n_excluded_sites; ++i ) {
output << excluded_sites_[ i ] << ' ';
}
output << endl;
output << "Residues Ensured Modification if Applicable: ";
core::Size const n_ensured_sites( ensured_sites_.size() );
for ( core::uint i( 1 ); i <= n_ensured_sites; ++i ) {
output << ensured_sites_[ i ] << ' ';
}
output << endl;
if ( performs_major_reaction_only_ ) {
output << "Reaction limited to " << co_substrates_[ 1 ] << endl;
}
}
void
EnzymaticMover::parse_my_tag(
TagCOP /*tag*/,
basic::datacache::DataMap & /*data*/,
Filters_map const & /*filters*/,
moves::Movers_map const & /*movers*/,
Pose const & /*pose*/ )
{}
/// @details WiP
/// @param <input_pose>: the structure to be glycosylated, i.e., "substrate 1"
void
EnzymaticMover::apply( Pose & input_pose )
{
using namespace std;
show( TR );
set_pose_reactive_sites( input_pose );
TR << "Simulating " << get_enzyme() << " acting on the pose...." << endl;
Size const n_sites( get_n_reactive_sites() );
for ( core::uint i( 1 ); i <= n_sites; ++i ) {
if ( ! get_ensured_sites().contains( get_reactive_site_sequence_position( i ) ) ) {
// If the site is not ensured, randomly decide whether or not to react.
if ( numeric::random::rg().uniform() > get_efficiency() ) {
continue;
}
}
core::uint j;
if ( performs_major_reaction_only() ) {
j = 1;
} else {
j = core::uint( numeric::random::rg().uniform() * get_n_co_substrates() + 1 );
}
//ConsensusSequenceType const sequence_type(
// EnzymeManager::get_consensus_sequence_type( species_name_, enzyme_name_ ) );
perform_reaction( input_pose, i, get_co_substrate( j ) );
}
TR << "Move(s) complete." << endl;
}
// Accessors/Mutators
// Set the family name of this simulated enzyme.
/// @details This method is protected; it should only ever be called by a derived class.
void
EnzymaticMover::set_enzyme_family( std::string const & family_name )
{
// TODO: Check that this family exists. If not, throw an exit with message.
enzyme_family_ = family_name;
}
// Set the species name of this simulated glycosyltransferase.
/// @details Setting the species name limits the behavior of this EnzymaticMover to reactions known to occur in the
/// given species.
/// @param <setting>: A species name in the format "e_coli" or "h_sapiens", which must correspond to a directory
/// in the Rosetta database, e.g., "database/virtual_enzymes/glycosyltransferases/h_sapiens/"
void
EnzymaticMover::set_species( std::string const & species_name )
{
// TODO: Check that this species has the currently set enzyme. If not, throw an exit with message.
species_name_ = species_name;
if ( ! enzyme_name_.empty() ) {
set_efficiency();
set_available_co_substrates();
}
}
// Set the specific enzyme name of this simulated glycosyltransferase.
/// @details If set, this EnzymaticMover will use specific enzymatic details for this reaction from the database.
/// If the species name has not been set, an enzyme from "h_sapiens" is assumed.
/// @param <setting>: An enzyme name as listed in an appropriate enzyme file in
/// "database/virtual_enzymes/glycosyltransferases/<species_name_>/"
void
EnzymaticMover::set_enzyme( std::string const & enzyme_name )
{
// TODO: Check that this enzyme is found in this species. If not, throw an exit with message.
enzyme_name_ = enzyme_name;
if ( ! species_name_.empty() ) {
set_efficiency();
set_available_co_substrates();
}
}
// Do not modify this site, even if it is within a consensus sequence match for this enzyme.
void
EnzymaticMover::exclude_site( core::uint seqpos )
{
excluded_sites_.push_back( seqpos );
}
// Definitely modify this site, if it is within a consensus sequence match for this enzyme.
void
EnzymaticMover::ensure_site( core::uint seqpos )
{
ensured_sites_.push_back( seqpos );
}
// Other Methods //////////////////////////////////////////////////////////////
// Access the EnzymeManager to determine which sites on a given Pose are able to be glycosylated.
void
EnzymaticMover::set_pose_reactive_sites( core::pose::Pose const & pose )
{
using namespace std;
using namespace utility;
using namespace core;
using namespace core::enzymes;
reaction_sites_.clear();
string const & consensus( EnzymeManager::get_consensus_sequence( enzyme_family_, species_name_, enzyme_name_ ) );
vector1< vector1< string > > const & consensus_residues(
EnzymeManager::get_consensus_residues( enzyme_family_, species_name_, enzyme_name_ ) );
core::uint const site_residue_position( EnzymeManager::get_reactive_residue_consensus_sequence_position(
enzyme_family_, species_name_, enzyme_name_ ) );
vector1< string > const & site_residues( consensus_residues[ site_residue_position ] ); // could be more than one
Size const n_consensus_residues( site_residues.size() );
Size const n_residues_left_of_site( site_residue_position - 1 );
Size const n_residues_right_of_site( n_consensus_residues - site_residue_position );
string const & site_atom( EnzymeManager::get_reactive_atom( enzyme_family_, species_name_, enzyme_name_ ) );
TR << "Searching for reactive sites within consensus sequence " << consensus << "..." << endl;
Size const n_residues( pose.total_residue() );
for ( core::uint i( 1 ); i <= n_residues; ++i ) {
if ( excluded_sites_.contains( i ) ) { continue; }
if ( site_residues.contains( pose.residue( i ).name3() ) ) {
TR.Debug << "Found potential site: " << pose.residue( i ).name3() << i;
TR.Debug << " Checking if within consensus sequence..." << endl;
if ( i < site_residue_position ) {
TR.Trace << "Residue too close to start of sequence to fall within consensus." << endl;
continue;
}
if ( i + n_residues_right_of_site > n_residues ) {
TR.Trace << "Residue too close to end of sequence to fall within consensus." << endl;
continue;
}
// Check left.
for ( core::uint j( 1 ); j <= n_residues_left_of_site; ++j ) {
if ( ! consensus_residues[ site_residue_position - j ].contains( pose.residue( i - j ).name3() ) ) {
TR.Trace << "Residue " << pose.residue( i - j ).name3() << i - j;
TR.Trace << " found left of " << pose.residue( i ).name3() << i;
TR.Trace << " does not fall within consensus." << endl;
continue;
}
}
// Check right.
for ( core::uint j( 1 ); j <= n_residues_right_of_site; ++j ) {
if ( ! consensus_residues[ site_residue_position + j ].contains( pose.residue( i + j ).name3() ) ) {
TR.Trace << "Residue " << pose.residue( i + j ).name3() << i + j;
TR.Trace << " found right of " << pose.residue( i ).name3() << i;
TR.Trace << " does not fall within consensus." << endl;
continue;
}
}
TR.Trace << pose.residue( i ).name3() << i << " is a non-excluded match; adding..." << endl;
reaction_sites_.push_back( make_pair( i, site_atom ) );
}
}
TR << "Found " << reaction_sites_.size() << " potential reaction sites." << endl;
}
// Private methods ////////////////////////////////////////////////////////////
// Set command-line options. (Called by init())
void
EnzymaticMover::set_commandline_options()
{
using namespace basic::options;
}
// Initialize data members from arguments.
void
EnzymaticMover::init( std::string const & enzyme_family )
{
type( "EnzymaticMover" );
set_enzyme_family( enzyme_family );
set_commandline_options();
// Set defaults.
species_name_ = "";
enzyme_name_ = "";
performs_major_reaction_only_ = false; // Allows for promiscuous enzymes by default.
}
// Copy all data members from <object_to_copy_from> to <object_to_copy_to>.
void
EnzymaticMover::copy_data( EnzymaticMover & object_to_copy_to, EnzymaticMover const & object_to_copy_from )
{
object_to_copy_to.enzyme_family_ = object_to_copy_from.enzyme_family_;
object_to_copy_to.species_name_ = object_to_copy_from.species_name_;
object_to_copy_to.enzyme_name_ = object_to_copy_from.enzyme_name_;
object_to_copy_to.efficiency_ = object_to_copy_from.efficiency_;
object_to_copy_to.excluded_sites_ = object_to_copy_from.excluded_sites_;
object_to_copy_to.ensured_sites_ = object_to_copy_from.ensured_sites_;
object_to_copy_to.reaction_sites_ = object_to_copy_from.reaction_sites_;
object_to_copy_to.co_substrates_ = object_to_copy_from.co_substrates_;
object_to_copy_to.performs_major_reaction_only_ = object_to_copy_from.performs_major_reaction_only_;
}
// Access the EnzymeManager to get efficiency.
void
EnzymaticMover::set_efficiency()
{
efficiency_ = core::enzymes::EnzymeManager::get_efficiency( enzyme_family_, species_name_, enzyme_name_ );
}
// Access the EnzymeManager to determine which co-substrates are able to take part in the reaction of this particular
// enzyme.
void
EnzymaticMover::set_available_co_substrates()
{
co_substrates_ = core::enzymes::EnzymeManager::get_second_substrates_or_byproducts(
enzyme_family_, species_name_, enzyme_name_ );
}
} // namespace enzymatic_movers
} // namespace protocols
| [
"achitturi17059@gmail.com"
] | achitturi17059@gmail.com |
72e8b8c1f329b422bd89e0957edca5cfb2b37946 | f66f564631e5971978572306023a7641956e3052 | /Reconstruction3D-09e9ee1d9b68539ffa063df029a8c37ce434e4e9/include/color.h | a3e4d80ee1e71e889cbf32a60b5e7682dcdcecbb | [] | no_license | sophie-greene/c-CompVis | d777a347f27beaa940eed44ec5f82f6bf6a4bb7b | 48d2a78f5c2471dc9c7442f22bd3d84e739678aa | refs/heads/master | 2020-07-01T17:05:40.798036 | 2016-11-20T12:13:43 | 2016-11-20T12:13:43 | 74,271,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,756 | h | #ifndef COLOR_H
#define COLOR_H
#include <stdlib.h>
#include <iostream>
#include <sstream>
/*std::string color(std::string str, int color, bool bold = false)
{
std::stringstream ss;
ss << "\033[";
if( bold ) ss << "1";
else ss << "0";
ss << ";" << color+30 << "m" << str << "\033[0m";
return ss.str();
}
std::string color(double nb, int color, bool bold = false)
{
std::stringstream ss;
ss << "\033[";
if( bold ) ss << "1";
else ss << "0";
ss << ";" << color+30 << "m" << nb << "\033[0m";
return ss.str();
}*/
namespace color{
enum {BLACK=0,RED,GREEN,YELLOW,BLUE,PURPLE,CYAN,GRAY};
inline std::string color(int colorID, bool bold = false){
std::stringstream ss;
ss << "\033[";
ss << bold?"1":"0";
ss << ";" << colorID+30<< "m";
return ss.str();
}
inline std::string red(){ return color(RED); }
inline std::string Red(){ return color(RED,true); }
inline std::string green(){ return color(GREEN); }
inline std::string Green(){ return color(GREEN,true); }
inline std::string yellow(){ return color(YELLOW); }
inline std::string Yellow(){ return color(YELLOW,true); }
inline std::string blue(){ return color(BLUE); }
inline std::string Blue(){ return color(BLUE,true); }
inline std::string purple(){ return color(PURPLE); }
inline std::string Purple(){ return color(PURPLE,true); }
inline std::string cyan(){ return color(CYAN); }
inline std::string Cyan(){ return color(CYAN,true); }
inline std::string gray(){ return color(GRAY); }
inline std::string Gray(){ return color(GRAY,true); }
inline std::string black(){ return color(BLACK);}
inline std::string Black(){ return color(BLACK,true);}
inline std::string reset(){
return "\033[0m";
}
}
#endif // COLOR_H
| [
"eng.s.green@gmail.com"
] | eng.s.green@gmail.com |
407e9d2dee478cc892feab33bdfb8330fb82370c | 64c1b9c032fad1abbce456708df0755f53c13e24 | /src/masternode-payments.cpp | 7ff3820a2e39810d299b5213adbf868f4396c32a | [
"MIT"
] | permissive | Indiancryptocoin/indiancoin | 1493b1aecbc28667ce26fd9b74b58fc89d66ac6a | d57d8ae1bf258d4266120976f397cd776debdf3b | refs/heads/master | 2021-04-13T19:30:57.576647 | 2020-03-22T14:30:23 | 2020-03-22T14:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,086 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The INDIANCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode-payments.h"
#include "addrman.h"
#include "chainparams.h"
#include "masternode-budget.h"
#include "masternode-sync.h"
#include "masternodeman.h"
#include "obfuscation.h"
#include "spork.h"
#include "sync.h"
#include "util.h"
#include "utilmoneystr.h"
#include <boost/filesystem.hpp>
/** Object for who's going to get paid on which blocks */
CMasternodePayments masternodePayments;
CCriticalSection cs_vecPayments;
CCriticalSection cs_mapMasternodeBlocks;
CCriticalSection cs_mapMasternodePayeeVotes;
//
// CMasternodePaymentDB
//
CMasternodePaymentDB::CMasternodePaymentDB()
{
pathDB = GetDataDir() / "mnpayments.dat";
strMagicMessage = "MasternodePayments";
}
bool CMasternodePaymentDB::Write(const CMasternodePayments& objToSave)
{
int64_t nStart = GetTimeMillis();
// serialize, checksum data up to that point, then append checksum
CDataStream ssObj(SER_DISK, CLIENT_VERSION);
ssObj << strMagicMessage; // masternode cache file specific magic message
ssObj << FLATDATA(Params().MessageStart()); // network specific magic number
ssObj << objToSave;
uint256 hash = Hash(ssObj.begin(), ssObj.end());
ssObj << hash;
// open output file, and associate with CAutoFile
FILE* file = fopen(pathDB.string().c_str(), "wb");
CAutoFile fileout(file, SER_DISK, CLIENT_VERSION);
if (fileout.IsNull())
return error("%s : Failed to open file %s", __func__, pathDB.string());
// Write and commit header, data
try {
fileout << ssObj;
} catch (const std::exception& e) {
return error("%s : Serialize or I/O error - %s", __func__, e.what());
}
fileout.fclose();
LogPrint("masternode","Written info to mnpayments.dat %dms\n", GetTimeMillis() - nStart);
return true;
}
CMasternodePaymentDB::ReadResult CMasternodePaymentDB::Read(CMasternodePayments& objToLoad, bool fDryRun)
{
int64_t nStart = GetTimeMillis();
// open input file, and associate with CAutoFile
FILE* file = fopen(pathDB.string().c_str(), "rb");
CAutoFile filein(file, SER_DISK, CLIENT_VERSION);
if (filein.IsNull()) {
error("%s : Failed to open file %s", __func__, pathDB.string());
return FileError;
}
// use file size to size memory buffer
int fileSize = boost::filesystem::file_size(pathDB);
int dataSize = fileSize - sizeof(uint256);
// Don't try to resize to a negative number if file is small
if (dataSize < 0)
dataSize = 0;
std::vector<unsigned char> vchData;
vchData.resize(dataSize);
uint256 hashIn;
// read data and checksum from file
try {
filein.read((char*)&vchData[0], dataSize);
filein >> hashIn;
} catch (const std::exception& e) {
error("%s : Deserialize or I/O error - %s", __func__, e.what());
return HashReadError;
}
filein.fclose();
CDataStream ssObj(vchData, SER_DISK, CLIENT_VERSION);
// verify stored checksum matches input data
uint256 hashTmp = Hash(ssObj.begin(), ssObj.end());
if (hashIn != hashTmp) {
error("%s : Checksum mismatch, data corrupted", __func__);
return IncorrectHash;
}
unsigned char pchMsgTmp[4];
std::string strMagicMessageTmp;
try {
// de-serialize file header (masternode cache file specific magic message) and ..
ssObj >> strMagicMessageTmp;
// ... verify the message matches predefined one
if (strMagicMessage != strMagicMessageTmp) {
error("%s : Invalid masternode payement cache magic message", __func__);
return IncorrectMagicMessage;
}
// de-serialize file header (network specific magic number) and ..
ssObj >> FLATDATA(pchMsgTmp);
// ... verify the network matches ours
if (memcmp(pchMsgTmp, Params().MessageStart(), sizeof(pchMsgTmp))) {
error("%s : Invalid network magic number", __func__);
return IncorrectMagicNumber;
}
// de-serialize data into CMasternodePayments object
ssObj >> objToLoad;
} catch (const std::exception& e) {
objToLoad.Clear();
error("%s : Deserialize or I/O error - %s", __func__, e.what());
return IncorrectFormat;
}
LogPrint("masternode","Loaded info from mnpayments.dat %dms\n", GetTimeMillis() - nStart);
LogPrint("masternode"," %s\n", objToLoad.ToString());
if (!fDryRun) {
LogPrint("masternode","Masternode payments manager - cleaning....\n");
objToLoad.CleanPaymentList();
LogPrint("masternode","Masternode payments manager - result:\n");
LogPrint("masternode"," %s\n", objToLoad.ToString());
}
return Ok;
}
uint256 CMasternodePaymentWinner::GetHash() const
{
CHashWriter ss(SER_GETHASH, PROTOCOL_VERSION);
ss << payee;
ss << nBlockHeight;
ss << vinMasternode.prevout;
return ss.GetHash();
}
std::string CMasternodePaymentWinner::GetStrMessage() const
{
return vinMasternode.prevout.ToStringShort() + std::to_string(nBlockHeight) + payee.ToString();
}
bool CMasternodePaymentWinner::IsValid(CNode* pnode, std::string& strError)
{
CMasternode* pmn = mnodeman.Find(vinMasternode);
if (!pmn) {
strError = strprintf("Unknown Masternode %s", vinMasternode.prevout.hash.ToString());
LogPrint("masternode","CMasternodePaymentWinner::IsValid - %s\n", strError);
mnodeman.AskForMN(pnode, vinMasternode);
return false;
}
if (pmn->protocolVersion < ActiveProtocol()) {
strError = strprintf("Masternode protocol too old %d - req %d", pmn->protocolVersion, ActiveProtocol());
LogPrint("masternode","CMasternodePaymentWinner::IsValid - %s\n", strError);
return false;
}
int n = mnodeman.GetMasternodeRank(vinMasternode, nBlockHeight - 100, ActiveProtocol());
if (n > MNPAYMENTS_SIGNATURES_TOTAL) {
//It's common to have masternodes mistakenly think they are in the top 10
// We don't want to print all of these messages, or punish them unless they're way off
if (n > MNPAYMENTS_SIGNATURES_TOTAL * 2) {
strError = strprintf("Masternode not in the top %d (%d)", MNPAYMENTS_SIGNATURES_TOTAL * 2, n);
LogPrint("masternode","CMasternodePaymentWinner::IsValid - %s\n", strError);
//if (masternodeSync.IsSynced()) Misbehaving(pnode->GetId(), 20);
}
return false;
}
return true;
}
void CMasternodePaymentWinner::Relay()
{
CInv inv(MSG_MASTERNODE_WINNER, GetHash());
RelayInv(inv);
}
void DumpMasternodePayments()
{
int64_t nStart = GetTimeMillis();
CMasternodePaymentDB paymentdb;
CMasternodePayments tempPayments;
LogPrint("masternode","Verifying mnpayments.dat format...\n");
CMasternodePaymentDB::ReadResult readResult = paymentdb.Read(tempPayments, true);
// there was an error and it was not an error on file opening => do not proceed
if (readResult == CMasternodePaymentDB::FileError)
LogPrint("masternode","Missing budgets file - mnpayments.dat, will try to recreate\n");
else if (readResult != CMasternodePaymentDB::Ok) {
LogPrint("masternode","Error reading mnpayments.dat: ");
if (readResult == CMasternodePaymentDB::IncorrectFormat)
LogPrint("masternode","magic is ok but data has invalid format, will try to recreate\n");
else {
LogPrint("masternode","file format is unknown or invalid, please fix it manually\n");
return;
}
}
LogPrint("masternode","Writting info to mnpayments.dat...\n");
paymentdb.Write(masternodePayments);
LogPrint("masternode","Budget dump finished %dms\n", GetTimeMillis() - nStart);
}
bool IsBlockValueValid(const CBlock& block, CAmount nExpectedValue, CAmount nMinted)
{
CBlockIndex* pindexPrev = chainActive.Tip();
if (pindexPrev == NULL) return true;
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;
}
if (nHeight == 0) {
LogPrint("masternode","IsBlockValueValid() : WARNING: Couldn't find previous block\n");
}
//LogPrintf("XX69----------> IsBlockValueValid(): nMinted: %d, nExpectedValue: %d\n", FormatMoney(nMinted), FormatMoney(nExpectedValue));
if (!masternodeSync.IsSynced()) { //there is no budget data to use to check anything
//super blocks will always be on these blocks, max 100 per budgeting
if (nHeight % Params().GetBudgetCycleBlocks() < 100) {
return true;
} else {
if (nMinted > nExpectedValue) {
return false;
}
}
} else { // we're synced and have data so check the budget schedule
//are these blocks even enabled
if (!sporkManager.IsSporkActive(SPORK_13_ENABLE_SUPERBLOCKS)) {
return nMinted <= nExpectedValue;
}
if (budget.IsBudgetPaymentBlock(nHeight)) {
//the value of the block is evaluated in CheckBlock
return true;
} else {
if (nMinted > nExpectedValue) {
return false;
}
}
}
return true;
}
bool IsBlockPayeeValid(const CBlock& block, int nBlockHeight)
{
TrxValidationStatus transactionStatus = TrxValidationStatus::InValid;
if (!masternodeSync.IsSynced()) { //there is no budget data to use to check anything -- find the longest chain
LogPrint("mnpayments", "Client not synced, skipping block payee checks\n");
return true;
}
const CTransaction& txNew = (nBlockHeight > Params().LAST_POW_BLOCK() ? block.vtx[1] : block.vtx[0]);
//check if it's a budget block
if (sporkManager.IsSporkActive(SPORK_13_ENABLE_SUPERBLOCKS)) {
if (budget.IsBudgetPaymentBlock(nBlockHeight)) {
transactionStatus = budget.IsTransactionValid(txNew, nBlockHeight);
if (transactionStatus == TrxValidationStatus::Valid) {
return true;
}
if (transactionStatus == TrxValidationStatus::InValid) {
LogPrint("masternode","Invalid budget payment detected %s\n", txNew.ToString().c_str());
if (sporkManager.IsSporkActive(SPORK_9_MASTERNODE_BUDGET_ENFORCEMENT))
return false;
LogPrint("masternode","Budget enforcement is disabled, accepting block\n");
}
}
}
// If we end here the transaction was either TrxValidationStatus::InValid and Budget enforcement is disabled, or
// a double budget payment (status = TrxValidationStatus::DoublePayment) was detected, or no/not enough masternode
// votes (status = TrxValidationStatus::VoteThreshold) for a finalized budget were found
// In all cases a masternode will get the payment for this block
//check for masternode payee
if (masternodePayments.IsTransactionValid(txNew, nBlockHeight))
return true;
LogPrint("masternode","Invalid mn payment detected %s\n", txNew.ToString().c_str());
if (sporkManager.IsSporkActive(SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT))
return false;
LogPrint("masternode","Masternode payment enforcement is disabled, accepting block\n");
return true;
}
void FillBlockPayee(CMutableTransaction& txNew, CAmount nFees, bool fProofOfStake, bool fZINDStake)
{
CBlockIndex* pindexPrev = chainActive.Tip();
if (!pindexPrev) return;
if (sporkManager.IsSporkActive(SPORK_13_ENABLE_SUPERBLOCKS) && budget.IsBudgetPaymentBlock(pindexPrev->nHeight + 1)) {
budget.FillBlockPayee(txNew, nFees, fProofOfStake);
} else {
masternodePayments.FillBlockPayee(txNew, nFees, fProofOfStake, fZINDStake);
}
}
std::string GetRequiredPaymentsString(int nBlockHeight)
{
if (sporkManager.IsSporkActive(SPORK_13_ENABLE_SUPERBLOCKS) && budget.IsBudgetPaymentBlock(nBlockHeight)) {
return budget.GetRequiredPaymentsString(nBlockHeight);
} else {
return masternodePayments.GetRequiredPaymentsString(nBlockHeight);
}
}
void CMasternodePayments::FillBlockPayee(CMutableTransaction& txNew, int64_t nFees, bool fProofOfStake, bool fZINDStake)
{
CBlockIndex* pindexPrev = chainActive.Tip();
if (!pindexPrev) return;
bool hasPayment = true;
CScript payee;
//spork
if (!masternodePayments.GetBlockPayee(pindexPrev->nHeight + 1, payee)) {
//no masternode detected
CMasternode* winningNode = mnodeman.GetCurrentMasterNode(1);
if (winningNode) {
payee = GetScriptForDestination(winningNode->pubKeyCollateralAddress.GetID());
} else {
LogPrint("masternode","CreateNewBlock: Failed to detect masternode to pay\n");
hasPayment = false;
}
}
CAmount blockValue = GetBlockValue(pindexPrev->nHeight);
CAmount masternodePayment = GetMasternodePayment(pindexPrev->nHeight, blockValue, 0, fZINDStake);
if (hasPayment) {
if (fProofOfStake) {
/**For Proof Of Stake vout[0] must be null
* Stake reward can be split into many different outputs, so we must
* use vout.size() to align with several different cases.
* An additional output is appended as the masternode payment
*/
unsigned int i = txNew.vout.size();
txNew.vout.resize(i + 1);
txNew.vout[i].scriptPubKey = payee;
txNew.vout[i].nValue = masternodePayment;
//subtract mn payment from the stake reward
if (!txNew.vout[1].IsZerocoinMint()) {
if (i == 2) {
// Majority of cases; do it quick and move on
txNew.vout[i - 1].nValue -= masternodePayment;
} else if (i > 2) {
// special case, stake is split between (i-1) outputs
unsigned int outputs = i-1;
CAmount mnPaymentSplit = masternodePayment / outputs;
CAmount mnPaymentRemainder = masternodePayment - (mnPaymentSplit * outputs);
for (unsigned int j=1; j<=outputs; j++) {
txNew.vout[j].nValue -= mnPaymentSplit;
}
// in case it's not an even division, take the last bit of dust from the last one
txNew.vout[outputs].nValue -= mnPaymentRemainder;
}
}
} else {
txNew.vout.resize(2);
txNew.vout[1].scriptPubKey = payee;
txNew.vout[1].nValue = masternodePayment;
txNew.vout[0].nValue = blockValue - masternodePayment;
}
CTxDestination address1;
ExtractDestination(payee, address1);
CBitcoinAddress address2(address1);
LogPrint("masternode","Masternode payment of %s to %s\n", FormatMoney(masternodePayment).c_str(), address2.ToString().c_str());
}
}
int CMasternodePayments::GetMinMasternodePaymentsProto()
{
if (sporkManager.IsSporkActive(SPORK_10_MASTERNODE_PAY_UPDATED_NODES))
return ActiveProtocol(); // Allow only updated peers
else
return MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT; // Also allow old peers as long as they are allowed to run
}
void CMasternodePayments::ProcessMessageMasternodePayments(CNode* pfrom, std::string& strCommand, CDataStream& vRecv)
{
if (!masternodeSync.IsBlockchainSynced()) return;
if (fLiteMode) return; //disable all Obfuscation/Masternode related functionality
if (strCommand == "mnget") { //Masternode Payments Request Sync
if (fLiteMode) return; //disable all Obfuscation/Masternode related functionality
int nCountNeeded;
vRecv >> nCountNeeded;
if (Params().NetworkID() == CBaseChainParams::MAIN) {
if (pfrom->HasFulfilledRequest("mnget")) {
LogPrintf("CMasternodePayments::ProcessMessageMasternodePayments() : mnget - peer already asked me for the list\n");
Misbehaving(pfrom->GetId(), 20);
return;
}
}
pfrom->FulfilledRequest("mnget");
masternodePayments.Sync(pfrom, nCountNeeded);
LogPrint("mnpayments", "mnget - Sent Masternode winners to peer %i\n", pfrom->GetId());
} else if (strCommand == "mnw") { //Masternode Payments Declare Winner
//this is required in litemodef
CMasternodePaymentWinner winner;
vRecv >> winner;
if (pfrom->nVersion < ActiveProtocol()) return;
int nHeight;
{
TRY_LOCK(cs_main, locked);
if (!locked || chainActive.Tip() == NULL) return;
nHeight = chainActive.Tip()->nHeight;
}
if (masternodePayments.mapMasternodePayeeVotes.count(winner.GetHash())) {
LogPrint("mnpayments", "mnw - Already seen - %s bestHeight %d\n", winner.GetHash().ToString().c_str(), nHeight);
masternodeSync.AddedMasternodeWinner(winner.GetHash());
return;
}
int nFirstBlock = nHeight - (mnodeman.CountEnabled() * 1.25);
if (winner.nBlockHeight < nFirstBlock || winner.nBlockHeight > nHeight + 20) {
LogPrint("mnpayments", "mnw - winner out of range - FirstBlock %d Height %d bestHeight %d\n", nFirstBlock, winner.nBlockHeight, nHeight);
return;
}
// reject old signatures 6000 blocks after hard-fork
if (winner.nMessVersion != MessageVersion::MESS_VER_HASH && Params().NewSigsActive(winner.nBlockHeight - 6000)) {
LogPrintf("%s : nMessVersion=%d not accepted anymore at block %d\n", __func__, winner.nMessVersion, nHeight);
return;
}
std::string strError = "";
if (!winner.IsValid(pfrom, strError)) {
// if(strError != "") LogPrint("masternode","mnw - invalid message - %s\n", strError);
return;
}
if (!masternodePayments.CanVote(winner.vinMasternode.prevout, winner.nBlockHeight)) {
// LogPrint("masternode","mnw - masternode already voted - %s\n", winner.vinMasternode.prevout.ToStringShort());
return;
}
if (!winner.CheckSignature()) {
if (masternodeSync.IsSynced()) {
LogPrintf("CMasternodePayments::ProcessMessageMasternodePayments() : mnw - invalid signature\n");
Misbehaving(pfrom->GetId(), 20);
}
// it could just be a non-synced masternode
mnodeman.AskForMN(pfrom, winner.vinMasternode);
return;
}
CTxDestination address1;
ExtractDestination(winner.payee, address1);
CBitcoinAddress address2(address1);
// LogPrint("mnpayments", "mnw - winning vote - Addr %s Height %d bestHeight %d - %s\n", address2.ToString().c_str(), winner.nBlockHeight, nHeight, winner.vinMasternode.prevout.ToStringShort());
if (masternodePayments.AddWinningMasternode(winner)) {
winner.Relay();
masternodeSync.AddedMasternodeWinner(winner.GetHash());
}
}
}
bool CMasternodePayments::GetBlockPayee(int nBlockHeight, CScript& payee)
{
if (mapMasternodeBlocks.count(nBlockHeight)) {
return mapMasternodeBlocks[nBlockHeight].GetPayee(payee);
}
return false;
}
// Is this masternode scheduled to get paid soon?
// -- Only look ahead up to 8 blocks to allow for propagation of the latest 2 winners
bool CMasternodePayments::IsScheduled(CMasternode& mn, int nNotBlockHeight)
{
LOCK(cs_mapMasternodeBlocks);
int nHeight;
{
TRY_LOCK(cs_main, locked);
if (!locked || chainActive.Tip() == NULL) return false;
nHeight = chainActive.Tip()->nHeight;
}
CScript mnpayee;
mnpayee = GetScriptForDestination(mn.pubKeyCollateralAddress.GetID());
CScript payee;
for (int64_t h = nHeight; h <= nHeight + 8; h++) {
if (h == nNotBlockHeight) continue;
if (mapMasternodeBlocks.count(h)) {
if (mapMasternodeBlocks[h].GetPayee(payee)) {
if (mnpayee == payee) {
return true;
}
}
}
}
return false;
}
bool CMasternodePayments::AddWinningMasternode(CMasternodePaymentWinner& winnerIn)
{
uint256 blockHash = 0;
if (!GetBlockHash(blockHash, winnerIn.nBlockHeight - 100)) {
return false;
}
{
LOCK2(cs_mapMasternodePayeeVotes, cs_mapMasternodeBlocks);
if (mapMasternodePayeeVotes.count(winnerIn.GetHash())) {
return false;
}
mapMasternodePayeeVotes[winnerIn.GetHash()] = winnerIn;
if (!mapMasternodeBlocks.count(winnerIn.nBlockHeight)) {
CMasternodeBlockPayees blockPayees(winnerIn.nBlockHeight);
mapMasternodeBlocks[winnerIn.nBlockHeight] = blockPayees;
}
}
mapMasternodeBlocks[winnerIn.nBlockHeight].AddPayee(winnerIn.payee, 1);
return true;
}
bool CMasternodeBlockPayees::IsTransactionValid(const CTransaction& txNew)
{
LOCK(cs_vecPayments);
int nMaxSignatures = 0;
int nMasternode_Drift_Count = 0;
std::string strPayeesPossible = "";
CAmount nReward = GetBlockValue(nBlockHeight);
if (sporkManager.IsSporkActive(SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT)) {
// Get a stable number of masternodes by ignoring newly activated (< 8000 sec old) masternodes
nMasternode_Drift_Count = mnodeman.stable_size() + Params().MasternodeCountDrift();
}
else {
//account for the fact that all peers do not see the same masternode count. A allowance of being off our masternode count is given
//we only need to look at an increased masternode count because as count increases, the reward decreases. This code only checks
//for mnPayment >= required, so it only makes sense to check the max node count allowed.
nMasternode_Drift_Count = mnodeman.size() + Params().MasternodeCountDrift();
}
CAmount requiredMasternodePayment = GetMasternodePayment(nBlockHeight, nReward, nMasternode_Drift_Count, txNew.HasZerocoinSpendInputs());
//require at least 6 signatures
for (CMasternodePayee& payee : vecPayments)
if (payee.nVotes >= nMaxSignatures && payee.nVotes >= MNPAYMENTS_SIGNATURES_REQUIRED)
nMaxSignatures = payee.nVotes;
// if we don't have at least 6 signatures on a payee, approve whichever is the longest chain
if (nMaxSignatures < MNPAYMENTS_SIGNATURES_REQUIRED) return true;
for (CMasternodePayee& payee : vecPayments) {
bool found = false;
for (CTxOut out : txNew.vout) {
if (payee.scriptPubKey == out.scriptPubKey) {
if(out.nValue == requiredMasternodePayment)
found = true;
else
LogPrintf("%s : Masternode payment value (%s) different from required value (%s).\n",
__func__, FormatMoney(out.nValue).c_str(), FormatMoney(requiredMasternodePayment).c_str());
}
}
if (payee.nVotes >= MNPAYMENTS_SIGNATURES_REQUIRED) {
if (found) return true;
CTxDestination address1;
ExtractDestination(payee.scriptPubKey, address1);
CBitcoinAddress address2(address1);
if (strPayeesPossible == "") {
strPayeesPossible += address2.ToString();
} else {
strPayeesPossible += "," + address2.ToString();
}
}
}
LogPrint("masternode","CMasternodePayments::IsTransactionValid - Missing required payment of %s to %s\n", FormatMoney(requiredMasternodePayment).c_str(), strPayeesPossible.c_str());
return false;
}
std::string CMasternodeBlockPayees::GetRequiredPaymentsString()
{
LOCK(cs_vecPayments);
std::string ret = "Unknown";
for (CMasternodePayee& payee : vecPayments) {
CTxDestination address1;
ExtractDestination(payee.scriptPubKey, address1);
CBitcoinAddress address2(address1);
if (ret != "Unknown") {
ret += ", " + address2.ToString() + ":" + std::to_string(payee.nVotes);
} else {
ret = address2.ToString() + ":" + std::to_string(payee.nVotes);
}
}
return ret;
}
std::string CMasternodePayments::GetRequiredPaymentsString(int nBlockHeight)
{
LOCK(cs_mapMasternodeBlocks);
if (mapMasternodeBlocks.count(nBlockHeight)) {
return mapMasternodeBlocks[nBlockHeight].GetRequiredPaymentsString();
}
return "Unknown";
}
bool CMasternodePayments::IsTransactionValid(const CTransaction& txNew, int nBlockHeight)
{
LOCK(cs_mapMasternodeBlocks);
if (mapMasternodeBlocks.count(nBlockHeight)) {
return mapMasternodeBlocks[nBlockHeight].IsTransactionValid(txNew);
}
return true;
}
void CMasternodePayments::CleanPaymentList()
{
LOCK2(cs_mapMasternodePayeeVotes, cs_mapMasternodeBlocks);
int nHeight;
{
TRY_LOCK(cs_main, locked);
if (!locked || chainActive.Tip() == NULL) return;
nHeight = chainActive.Tip()->nHeight;
}
//keep up to five cycles for historical sake
int nLimit = std::max(int(mnodeman.size() * 1.25), 1000);
std::map<uint256, CMasternodePaymentWinner>::iterator it = mapMasternodePayeeVotes.begin();
while (it != mapMasternodePayeeVotes.end()) {
CMasternodePaymentWinner winner = (*it).second;
if (nHeight - winner.nBlockHeight > nLimit) {
LogPrint("mnpayments", "CMasternodePayments::CleanPaymentList - Removing old Masternode payment - block %d\n", winner.nBlockHeight);
masternodeSync.mapSeenSyncMNW.erase((*it).first);
mapMasternodePayeeVotes.erase(it++);
mapMasternodeBlocks.erase(winner.nBlockHeight);
} else {
++it;
}
}
}
bool CMasternodePayments::ProcessBlock(int nBlockHeight)
{
if (!fMasterNode) return false;
//reference node - hybrid mode
int n = mnodeman.GetMasternodeRank(activeMasternode.vin, nBlockHeight - 100, ActiveProtocol());
if (n == -1) {
LogPrint("mnpayments", "CMasternodePayments::ProcessBlock - Unknown Masternode\n");
return false;
}
if (n > MNPAYMENTS_SIGNATURES_TOTAL) {
LogPrint("mnpayments", "CMasternodePayments::ProcessBlock - Masternode not in the top %d (%d)\n", MNPAYMENTS_SIGNATURES_TOTAL, n);
return false;
}
if (nBlockHeight <= nLastBlockHeight) return false;
CMasternodePaymentWinner newWinner(activeMasternode.vin);
if (budget.IsBudgetPaymentBlock(nBlockHeight)) {
//is budget payment block -- handled by the budgeting software
} else {
LogPrint("masternode","CMasternodePayments::ProcessBlock() Start nHeight %d - vin %s. \n", nBlockHeight, activeMasternode.vin.prevout.hash.ToString());
// pay to the oldest MN that still had no payment but its input is old enough and it was active long enough
int nCount = 0;
CMasternode* pmn = mnodeman.GetNextMasternodeInQueueForPayment(nBlockHeight, true, nCount);
if (pmn != NULL) {
LogPrint("masternode","CMasternodePayments::ProcessBlock() Found by FindOldestNotInVec \n");
newWinner.nBlockHeight = nBlockHeight;
CScript payee = GetScriptForDestination(pmn->pubKeyCollateralAddress.GetID());
newWinner.AddPayee(payee);
CTxDestination address1;
ExtractDestination(payee, address1);
CBitcoinAddress address2(address1);
LogPrint("masternode","CMasternodePayments::ProcessBlock() Winner payee %s nHeight %d. \n", address2.ToString().c_str(), newWinner.nBlockHeight);
} else {
LogPrint("masternode","CMasternodePayments::ProcessBlock() Failed to find masternode to pay\n");
}
}
std::string errorMessage;
CPubKey pubKeyMasternode;
CKey keyMasternode;
if (!CMessageSigner::GetKeysFromSecret(strMasterNodePrivKey, keyMasternode, pubKeyMasternode)) {
LogPrint("masternode","CMasternodePayments::ProcessBlock() - Error upon calling GetKeysFromSecret.\n");
return false;
}
const bool fNewSigs = Params().NewSigsActive(nBlockHeight - 20);
LogPrint("masternode","CMasternodePayments::ProcessBlock() - Signing Winner\n");
if (newWinner.Sign(keyMasternode, pubKeyMasternode, fNewSigs)) {
LogPrint("masternode","CMasternodePayments::ProcessBlock() - AddWinningMasternode\n");
if (AddWinningMasternode(newWinner)) {
newWinner.Relay();
nLastBlockHeight = nBlockHeight;
return true;
}
}
return false;
}
void CMasternodePayments::Sync(CNode* node, int nCountNeeded)
{
LOCK(cs_mapMasternodePayeeVotes);
int nHeight;
{
TRY_LOCK(cs_main, locked);
if (!locked || chainActive.Tip() == NULL) return;
nHeight = chainActive.Tip()->nHeight;
}
int nCount = (mnodeman.CountEnabled() * 1.25);
if (nCountNeeded > nCount) nCountNeeded = nCount;
int nInvCount = 0;
std::map<uint256, CMasternodePaymentWinner>::iterator it = mapMasternodePayeeVotes.begin();
while (it != mapMasternodePayeeVotes.end()) {
CMasternodePaymentWinner winner = (*it).second;
if (winner.nBlockHeight >= nHeight - nCountNeeded && winner.nBlockHeight <= nHeight + 20) {
node->PushInventory(CInv(MSG_MASTERNODE_WINNER, winner.GetHash()));
nInvCount++;
}
++it;
}
node->PushMessage("ssc", MASTERNODE_SYNC_MNW, nInvCount);
}
std::string CMasternodePayments::ToString() const
{
std::ostringstream info;
info << "Votes: " << (int)mapMasternodePayeeVotes.size() << ", Blocks: " << (int)mapMasternodeBlocks.size();
return info.str();
}
int CMasternodePayments::GetOldestBlock()
{
LOCK(cs_mapMasternodeBlocks);
int nOldestBlock = std::numeric_limits<int>::max();
std::map<int, CMasternodeBlockPayees>::iterator it = mapMasternodeBlocks.begin();
while (it != mapMasternodeBlocks.end()) {
if ((*it).first < nOldestBlock) {
nOldestBlock = (*it).first;
}
it++;
}
return nOldestBlock;
}
int CMasternodePayments::GetNewestBlock()
{
LOCK(cs_mapMasternodeBlocks);
int nNewestBlock = 0;
std::map<int, CMasternodeBlockPayees>::iterator it = mapMasternodeBlocks.begin();
while (it != mapMasternodeBlocks.end()) {
if ((*it).first > nNewestBlock) {
nNewestBlock = (*it).first;
}
it++;
}
return nNewestBlock;
}
| [
"indianpivxcoin@gmail.com"
] | indianpivxcoin@gmail.com |
84607daeeb9923fb98c9588b55e6873b0b5400a7 | bcb4c2bcc5174e9d0f1196a8bea6fbedf76373aa | /Lab2/Lab2/PC5.cpp | 731537788c77b59a2e867bff95cf6a12590191bd | [] | no_license | emchang3/CIS2541 | bc62447ef72773b613fb4cc264bd3674596796c0 | e00a7eaeecf8a19284c7393153d8731fad22cb31 | refs/heads/master | 2021-01-16T23:22:34.360745 | 2017-01-12T02:05:19 | 2017-01-12T02:05:19 | 60,797,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | //
// PC5.cpp
// Lab2
//
// Created by Ezra Chang on 6/9/16.
// Copyright © 2016 Ezra Chang. All rights reserved.
//
// Average of Values
//
// To get the average of a series of values, you add the values up and then divide the sum by the number of values. Write a program that stores the following values in five different variables: 28, 32, 37, 24, and 33. The program should first calculate the sum of these five variables and store the result in a separate variable named sum. Then, the program should divide the sum variable by 5 to get the average. Display the average on the screen.
#include <iostream>
using namespace std;
#include "PC5.hpp"
double PC5::average ()
{
double first, second, third, fourth, fifth, sum, average;
first = 28;
second = 32;
third = 37;
fourth = 24;
fifth = 33;
sum = first + second + third + fourth + fifth;
average = sum / 5;
return average;
}
| [
"ezra.mintao.chang@gmail.com"
] | ezra.mintao.chang@gmail.com |
69ae1c373556030ab03b59dc618271b6624a0138 | 3f161b079564c3155c078942f5a9ac85aac6c847 | /src/hash.h | e1f04b955d3960c2b64418464a4bd8c829ac0e20 | [
"MIT"
] | permissive | EazyPayZa/EazyPayZa | 66d82631a4206ef8522bea879f07e08cd939abc2 | 553c86b1770b7065350f42a6447b2b496c3a2ccd | refs/heads/master | 2020-12-20T17:02:01.750585 | 2020-02-05T09:43:07 | 2020-02-05T09:43:07 | 221,440,245 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 15,354 | h | // 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 PIVX developers
// Copyright (c) 2019 The EazyPayZa Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_HASH_H
#define BITCOIN_HASH_H
#include "crypto/ripemd160.h"
#include "crypto/sha256.h"
#include "serialize.h"
#include "uint256.h"
#include "version.h"
#include "crypto/sph_blake.h"
#include "crypto/sph_bmw.h"
#include "crypto/sph_groestl.h"
#include "crypto/sph_jh.h"
#include "crypto/sph_keccak.h"
#include "crypto/sph_skein.h"
#include "crypto/sha512.h"
#include <iomanip>
#include <openssl/sha.h>
#include <sstream>
#include <vector>
using namespace std;
/** A hasher class for Bitcoin's 256-bit hash (double SHA-256). */
class CHash256
{
private:
CSHA256 sha;
public:
static const size_t OUTPUT_SIZE = CSHA256::OUTPUT_SIZE;
void Finalize(unsigned char hash[OUTPUT_SIZE])
{
unsigned char buf[CSHA256::OUTPUT_SIZE];
sha.Finalize(buf);
sha.Reset().Write(buf, CSHA256::OUTPUT_SIZE).Finalize(hash);
}
CHash256& Write(const unsigned char* data, size_t len)
{
sha.Write(data, len);
return *this;
}
CHash256& Reset()
{
sha.Reset();
return *this;
}
};
class CHash512
{
private:
CSHA512 sha;
public:
static const size_t OUTPUT_SIZE = CSHA512::OUTPUT_SIZE;
void Finalize(unsigned char hash[OUTPUT_SIZE])
{
unsigned char buf[CSHA512::OUTPUT_SIZE];
sha.Finalize(buf);
sha.Reset().Write(buf, CSHA512::OUTPUT_SIZE).Finalize(hash);
}
CHash512& Write(const unsigned char* data, size_t len)
{
sha.Write(data, len);
return *this;
}
CHash512& Reset()
{
sha.Reset();
return *this;
}
};
#ifdef GLOBALDEFINED
#define GLOBAL
#else
#define GLOBAL extern
#endif
GLOBAL sph_blake512_context z_blake;
GLOBAL sph_bmw512_context z_bmw;
GLOBAL sph_groestl512_context z_groestl;
GLOBAL sph_jh512_context z_jh;
GLOBAL sph_keccak512_context z_keccak;
GLOBAL sph_skein512_context z_skein;
#define fillz() \
do { \
sph_blake512_init(&z_blake); \
sph_bmw512_init(&z_bmw); \
sph_groestl512_init(&z_groestl); \
sph_jh512_init(&z_jh); \
sph_keccak512_init(&z_keccak); \
sph_skein512_init(&z_skein); \
} while (0)
#define ZBLAKE (memcpy(&ctx_blake, &z_blake, sizeof(z_blake)))
#define ZBMW (memcpy(&ctx_bmw, &z_bmw, sizeof(z_bmw)))
#define ZGROESTL (memcpy(&ctx_groestl, &z_groestl, sizeof(z_groestl)))
#define ZJH (memcpy(&ctx_jh, &z_jh, sizeof(z_jh)))
#define ZKECCAK (memcpy(&ctx_keccak, &z_keccak, sizeof(z_keccak)))
#define ZSKEIN (memcpy(&ctx_skein, &z_skein, sizeof(z_skein)))
/* ----------- Bitcoin Hash ------------------------------------------------- */
/** A hasher class for Bitcoin's 160-bit hash (SHA-256 + RIPEMD-160). */
class CHash160
{
private:
CSHA256 sha;
public:
static const size_t OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE;
void Finalize(unsigned char hash[OUTPUT_SIZE])
{
unsigned char buf[CSHA256::OUTPUT_SIZE];
sha.Finalize(buf);
CRIPEMD160().Write(buf, CSHA256::OUTPUT_SIZE).Finalize(hash);
}
CHash160& Write(const unsigned char* data, size_t len)
{
sha.Write(data, len);
return *this;
}
CHash160& Reset()
{
sha.Reset();
return *this;
}
};
/** Compute the 256-bit hash of a std::string */
inline std::string Hash(std::string input)
{
unsigned char hash[SHA256_DIGEST_LENGTH];
SHA256_CTX sha256;
SHA256_Init(&sha256);
SHA256_Update(&sha256, input.c_str(), input.size());
SHA256_Final(hash, &sha256);
stringstream ss;
for (int i = 0; i < SHA256_DIGEST_LENGTH; i++) {
ss << hex << setw(2) << setfill('0') << (int)hash[i];
}
return ss.str();
}
/** Compute the 256-bit hash of a void pointer */
inline void Hash(void* in, unsigned int len, unsigned char* out)
{
SHA256_CTX sha256;
SHA256_Init(&sha256);
SHA256_Update(&sha256, in, len);
SHA256_Final(out, &sha256);
}
/** Compute the 512-bit hash of an object. */
template <typename T1>
inline uint512 Hash512(const T1 pbegin, const T1 pend)
{
static const unsigned char pblank[1] = {};
uint512 result;
CHash512().Write(pbegin == pend ? pblank : (const unsigned char*)&pbegin[0], (pend - pbegin) * sizeof(pbegin[0])).Finalize((unsigned char*)&result);
return result;
}
template <typename T1, typename T2>
inline uint512 Hash512(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end)
{
static const unsigned char pblank[1] = {};
uint512 result;
CHash512().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of an object. */
template <typename T1>
inline uint256 Hash(const T1 pbegin, const T1 pend)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(pbegin == pend ? pblank : (const unsigned char*)&pbegin[0], (pend - pbegin) * sizeof(pbegin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of the concatenation of two objects. */
template <typename T1, typename T2>
inline uint256 Hash(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of the concatenation of three objects. */
template <typename T1, typename T2, typename T3>
inline uint256 Hash(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Write(p3begin == p3end ? pblank : (const unsigned char*)&p3begin[0], (p3end - p3begin) * sizeof(p3begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of the concatenation of three objects. */
template <typename T1, typename T2, typename T3, typename T4>
inline uint256 Hash(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end, const T4 p4begin, const T4 p4end)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Write(p3begin == p3end ? pblank : (const unsigned char*)&p3begin[0], (p3end - p3begin) * sizeof(p3begin[0])).Write(p4begin == p4end ? pblank : (const unsigned char*)&p4begin[0], (p4end - p4begin) * sizeof(p4begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of the concatenation of three objects. */
template <typename T1, typename T2, typename T3, typename T4, typename T5>
inline uint256 Hash(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end, const T4 p4begin, const T4 p4end, const T5 p5begin, const T5 p5end)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Write(p3begin == p3end ? pblank : (const unsigned char*)&p3begin[0], (p3end - p3begin) * sizeof(p3begin[0])).Write(p4begin == p4end ? pblank : (const unsigned char*)&p4begin[0], (p4end - p4begin) * sizeof(p4begin[0])).Write(p5begin == p5end ? pblank : (const unsigned char*)&p5begin[0], (p5end - p5begin) * sizeof(p5begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 256-bit hash of the concatenation of three objects. */
template <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
inline uint256 Hash(const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end, const T4 p4begin, const T4 p4end, const T5 p5begin, const T5 p5end, const T6 p6begin, const T6 p6end)
{
static const unsigned char pblank[1] = {};
uint256 result;
CHash256().Write(p1begin == p1end ? pblank : (const unsigned char*)&p1begin[0], (p1end - p1begin) * sizeof(p1begin[0])).Write(p2begin == p2end ? pblank : (const unsigned char*)&p2begin[0], (p2end - p2begin) * sizeof(p2begin[0])).Write(p3begin == p3end ? pblank : (const unsigned char*)&p3begin[0], (p3end - p3begin) * sizeof(p3begin[0])).Write(p4begin == p4end ? pblank : (const unsigned char*)&p4begin[0], (p4end - p4begin) * sizeof(p4begin[0])).Write(p5begin == p5end ? pblank : (const unsigned char*)&p5begin[0], (p5end - p5begin) * sizeof(p5begin[0])).Write(p6begin == p6end ? pblank : (const unsigned char*)&p6begin[0], (p6end - p6begin) * sizeof(p6begin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 160-bit hash an object. */
template <typename T1>
inline uint160 Hash160(const T1 pbegin, const T1 pend)
{
static unsigned char pblank[1] = {};
uint160 result;
CHash160().Write(pbegin == pend ? pblank : (const unsigned char*)&pbegin[0], (pend - pbegin) * sizeof(pbegin[0])).Finalize((unsigned char*)&result);
return result;
}
/** Compute the 160-bit hash of a vector. */
inline uint160 Hash160(const std::vector<unsigned char>& vch)
{
return Hash160(vch.begin(), vch.end());
}
/** A writer stream (for serialization) that computes a 256-bit hash. */
class CHashWriter
{
private:
CHash256 ctx;
public:
int nType;
int nVersion;
CHashWriter(int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn) {}
CHashWriter& write(const char* pch, size_t size)
{
ctx.Write((const unsigned char*)pch, size);
return (*this);
}
// invalidates the object
uint256 GetHash()
{
uint256 result;
ctx.Finalize((unsigned char*)&result);
return result;
}
template <typename T>
CHashWriter& operator<<(const T& obj)
{
// Serialize to this stream
::Serialize(*this, obj, nType, nVersion);
return (*this);
}
//
// Stream subset
//
void SetType(int n) { nType = n; }
int GetType() { return nType; }
void SetVersion(int n) { nVersion = n; }
int GetVersion() { return nVersion; }
};
/** Compute the 256-bit hash of an object's serialization. */
template <typename T>
uint256 SerializeHash(const T& obj, int nType = SER_GETHASH, int nVersion = PROTOCOL_VERSION)
{
CHashWriter ss(nType, nVersion);
ss << obj;
return ss.GetHash();
}
unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char>& vDataToHash);
void BIP32Hash(const unsigned char chainCode[32], unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);
//int HMAC_SHA512_Init(HMAC_SHA512_CTX *pctx, const void *pkey, size_t len);
//int HMAC_SHA512_Update(HMAC_SHA512_CTX *pctx, const void *pdata, size_t len);
//int HMAC_SHA512_Final(unsigned char *pmd, HMAC_SHA512_CTX *pctx);
/* ----------- Quark Hash ------------------------------------------------ */
template <typename T1>
inline uint256 HashQuark(const T1 pbegin, const T1 pend)
{
sph_blake512_context ctx_blake;
sph_bmw512_context ctx_bmw;
sph_groestl512_context ctx_groestl;
sph_jh512_context ctx_jh;
sph_keccak512_context ctx_keccak;
sph_skein512_context ctx_skein;
static unsigned char pblank[1];
uint512 mask = 8;
uint512 zero = 0;
uint512 hash[9];
sph_blake512_init(&ctx_blake);
// ZBLAKE;
sph_blake512(&ctx_blake, (pbegin == pend ? pblank : static_cast<const void*>(&pbegin[0])), (pend - pbegin) * sizeof(pbegin[0]));
sph_blake512_close(&ctx_blake, static_cast<void*>(&hash[0]));
sph_bmw512_init(&ctx_bmw);
// ZBMW;
sph_bmw512(&ctx_bmw, static_cast<const void*>(&hash[0]), 64);
sph_bmw512_close(&ctx_bmw, static_cast<void*>(&hash[1]));
if ((hash[1] & mask) != zero) {
sph_groestl512_init(&ctx_groestl);
// ZGROESTL;
sph_groestl512(&ctx_groestl, static_cast<const void*>(&hash[1]), 64);
sph_groestl512_close(&ctx_groestl, static_cast<void*>(&hash[2]));
} else {
sph_skein512_init(&ctx_skein);
// ZSKEIN;
sph_skein512(&ctx_skein, static_cast<const void*>(&hash[1]), 64);
sph_skein512_close(&ctx_skein, static_cast<void*>(&hash[2]));
}
sph_groestl512_init(&ctx_groestl);
// ZGROESTL;
sph_groestl512(&ctx_groestl, static_cast<const void*>(&hash[2]), 64);
sph_groestl512_close(&ctx_groestl, static_cast<void*>(&hash[3]));
sph_jh512_init(&ctx_jh);
// ZJH;
sph_jh512(&ctx_jh, static_cast<const void*>(&hash[3]), 64);
sph_jh512_close(&ctx_jh, static_cast<void*>(&hash[4]));
if ((hash[4] & mask) != zero) {
sph_blake512_init(&ctx_blake);
// ZBLAKE;
sph_blake512(&ctx_blake, static_cast<const void*>(&hash[4]), 64);
sph_blake512_close(&ctx_blake, static_cast<void*>(&hash[5]));
} else {
sph_bmw512_init(&ctx_bmw);
// ZBMW;
sph_bmw512(&ctx_bmw, static_cast<const void*>(&hash[4]), 64);
sph_bmw512_close(&ctx_bmw, static_cast<void*>(&hash[5]));
}
sph_keccak512_init(&ctx_keccak);
// ZKECCAK;
sph_keccak512(&ctx_keccak, static_cast<const void*>(&hash[5]), 64);
sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[6]));
sph_skein512_init(&ctx_skein);
// SKEIN;
sph_skein512(&ctx_skein, static_cast<const void*>(&hash[6]), 64);
sph_skein512_close(&ctx_skein, static_cast<void*>(&hash[7]));
if ((hash[7] & mask) != zero) {
sph_keccak512_init(&ctx_keccak);
// ZKECCAK;
sph_keccak512(&ctx_keccak, static_cast<const void*>(&hash[7]), 64);
sph_keccak512_close(&ctx_keccak, static_cast<void*>(&hash[8]));
} else {
sph_jh512_init(&ctx_jh);
// ZJH;
sph_jh512(&ctx_jh, static_cast<const void*>(&hash[7]), 64);
sph_jh512_close(&ctx_jh, static_cast<void*>(&hash[8]));
}
return hash[8].trim256();
}
void scrypt_hash(const char* pass, unsigned int pLen, const char* salt, unsigned int sLen, char* output, unsigned int N, unsigned int r, unsigned int p, unsigned int dkLen);
#endif // BITCOIN_HASH_H
| [
"nikki.bisschoff@gmail.com"
] | nikki.bisschoff@gmail.com |
26b6cebc5c751fc51f4176ba10be9e81cd113873 | c565250beec42f95a15a9c7a7058c6d05bbcfe33 | /FP_PP_1_20121592_박재혁/FP_PP_1_20121592_박재혁/interface.h | 13f593a77fc17ee24835e9c0e0cfb5f469d0c436 | [] | no_license | bn3monkey/SG2018_FileProcess | 18fbfaef23c050ba4ee682b87a4608595037f606 | 77df73e6fce6faa7fa414f0f59f3d57633357fed | refs/heads/master | 2021-10-07T09:47:50.669286 | 2018-12-04T20:36:40 | 2018-12-04T20:36:40 | 152,285,602 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,891 | h | #pragma once
#include "LectureManager.hpp"
#include "MemberManager.hpp"
class ManagerInterface
{
private:
MemberManager* pMM;
LectureManager* pLM;
PurchaseManager* pPM;
//검색된 것들을 보관하는 공간
Member m;
Lecture l;
Purchase p;
bool end;
void (ManagerInterface::*state)();
void nextState(void (ManagerInterface::*func)()) { state = func; }
void login();
void admin_menu();
void normal_menu();
void member_retrieve();
void member_insert();
void member_update();
void member_remove();
void member_search();
void lecture_retrieve();
void lecture_insert();
void lecture_update();
void lecture_remove();
void lecture_search();
void purchase_retrieve();
void purchase_insert();
void purchase_update();
void purchase_remove();
void purchase_search();
void member_my_retrieve();
void member_my_update();
void member_my_remove();
void lecture_my_retrieve();
void lecture_my_search();
void purchase_my_retrieve();
void purchase_my_insert();
void purchase_my_update();
void purchase_my_remove();
void purchase_my_search();
public:
ManagerInterface() : end(false)
{
nextState(&ManagerInterface::login);
}
void play()
{
RecordFile <Member>* Memberfile = new RecordFile<Member>(DelimFieldBuffer('|', STDMAXBUF));
pMM = new MemberManager("listOfMember.dat", Memberfile);
RecordFile <Lecture>* Lecturefile = new RecordFile<Lecture>(DelimFieldBuffer('|', STDMAXBUF));
pLM = new LectureManager("listOfLecture.dat", Lecturefile);
RecordFile <Purchase>* Purchasefile = new RecordFile<Purchase>(DelimFieldBuffer('|', STDMAXBUF));
pPM = new PurchaseManager("listOfPurchase.dat", Purchasefile);
pMM->setPurchaseManager(*pPM);
pLM->setPurchaseManager(*pPM);
while (!end)
{
(this->*state)();
}
delete Memberfile;
delete Lecturefile;
delete Purchasefile;
delete pPM;
delete pMM;
delete pLM;
}
}; | [
"bn3monkey@naver.com"
] | bn3monkey@naver.com |
d6f901313c2d1232caeb16050cea1b828336297c | 409081868134618c51f2fb7118d1b6d0c7735c4b | /src/shared/DenseCorrespondence.cpp | eebedc656041e5b738223217a99ba0e17cc1436e | [] | no_license | PeterZs/DeformationTransfer | d18c09f7dea560c3a5e925d06b4ef1a6e17e9c81 | 3e3c5ed4060b423ac6742a882cf3069badb4a968 | refs/heads/master | 2023-03-17T09:23:57.797059 | 2020-08-21T18:19:25 | 2020-08-21T18:19:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | cpp | //
// DenseCorrespondence.cpp
// Deform
//
// Created by Kyle on 12/7/18.
// Copyright © 2018 Kyle. All rights reserved.
//
#include "DenseCorrespondence.h"
void DenseCorrespondence::setSize(size_t size)
{
_correspondences.resize(size);
clear();
}
void DenseCorrespondence::clear()
{
for(auto c : _correspondences)
{
c.clear();
}
_numPairs = 0;
}
bool DenseCorrespondence::add(int s, int t)
{
auto& corr = _correspondences[s];
if (std::find(corr.begin(), corr.end(), t) == corr.end())
{
corr.push_back(t);
_numPairs++;
}
return true;
}
bool DenseCorrespondence::has(int s) const
{
return !get(s).empty();
}
Correspondence::List& DenseCorrespondence::get(int s)
{
return _correspondences[s];
}
const Correspondence::List& DenseCorrespondence::get(int s) const
{
return _correspondences[s];
}
bool DenseCorrespondence::write(const std::string& path) const
{
std::ofstream file(path);
if (!file.is_open())
return false;
writeSize(file, _correspondences.size());
for (int i = 0; i < _correspondences.size(); i++)
{
writeLine(file, i, _correspondences[i]);
}
file.close();
return true;
}
void DenseCorrespondence::getPairs(std::vector<std::pair<int, int>>& pairs)
{
for (auto i = 0; i < _correspondences.size(); i++)
{
const auto& c = _correspondences[i];
for (auto j = 0; j < c.size(); j++)
{
pairs.push_back(std::make_pair(i, c[j]));
}
}
}
| [
"kmorgenr@usc.edu"
] | kmorgenr@usc.edu |
c426f70efa2b5e9b3a7cb01a1f2568415893dd5a | ac7c2e64fa66ec7aecc9cf810cb2bf013fd412c0 | /Baruch_C++/Level_4/Section_2_5/Ex_2_5_1/Source.cpp | b5527cd19f1174eee195f2ebe830b756f4b4c123 | [] | no_license | mistletoe999/cpp-samples | e7219fcf7dbfe5ddc81cb527f08cd9d55149774a | 7b5cb634c70d3de476c0d43e15f7a045458dc925 | refs/heads/master | 2020-12-25T15:40:30.402680 | 2015-06-23T04:32:50 | 2015-06-23T04:32:50 | 40,014,976 | 0 | 1 | null | 2015-07-31T16:43:13 | 2015-07-31T16:43:10 | C++ | UTF-8 | C++ | false | false | 1,790 | cpp | // Ex_2.5.1: Demonstrates the use of dynamic memory alocation
// for classes
#include "Point.hpp"
int main() {
cout << "PART 1: Initialize Point objects on the heap" << endl;
cout << "============================================" << endl << endl;
// Initializing Point objects in the heap
Point * p1 = new Point(); // Using Default Constructor
Point * p2 = new Point(1.0, 2.0); // Using Constructor with coordinates
Point * p3 = new Point((*p2)); // Using Copy Constructor
double d1 = (*p1).Distance(); // Can also call p1-> instead of (*p1).
double d2 = (*p2).Distance(); // Can also call p1-> instead of (*p1).
double d3 = (*p3).Distance(); // Can also call p1-> instead of (*p1).
cout << "Points Initialized are : \nP1:" << (*p1) << "\tP2:" << (*p2) << "\tP3:" << (*p3) << endl;
cout << "Calling Distance() function, distances from the origin: " << endl;
cout << "P1: " << d1 << ", P2: " << d2 << ", P3: " << d3 << endl;
// Delete the Point objects initialized on the heap
delete p1;
p1 = 0;
delete p2;
p2 = 0;
delete p3;
p3 = 0;
cout << "PART 2: Initialize Point array on the heap" << endl;
cout << "============================================" << endl << endl;
unsigned int arraySize;
cout << "Please enter the array size: " << endl;
cin >> arraySize;
//Point p[arraySize]; Does not run. Causes Compiler Error
// Initialize array on the heap
Point * pointArray = new Point[arraySize]; // Cannot assign any other constructor apart from default constructor
cout << "Initialized array with " << arraySize << " Point objects on the heap" << endl;
cout << "Deleting the Point Array from the heap" << endl;
// Deleting the pointer
delete[] pointArray;
pointArray = 0;
return 0;
} | [
"kapil12@outlook.com"
] | kapil12@outlook.com |
fe1fff8e3cde29f7635bbac2821e310e91e73806 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/core/import_pose/pose_stream/ExtendedPoseInputStream.cc | fd251167aa3b8a68bc87b3c49304e7269db900d9 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
/// @file
/// @brief
/// @author James Thompson
// libRosetta headers
#include <core/types.hh>
#include <core/chemical/ResidueTypeSet.fwd.hh>
#include <core/pose/Pose.hh>
#include <core/import_pose/pose_stream/PoseInputStream.hh>
#include <core/import_pose/pose_stream/ExtendedPoseInputStream.hh>
// C++ headers
#include <string>
#include <utility/exit.hh>
#include <core/pose/annotated_sequence.hh>
#include <utility/vector1.hh>
namespace core {
namespace import_pose {
namespace pose_stream {
bool ExtendedPoseInputStream::has_another_pose() {
return ( current_n_ <= ntimes_ );
}
void ExtendedPoseInputStream::reset() {
current_n_ = 1;
}
void ExtendedPoseInputStream::fill_pose(
core::pose::Pose & pose,
core::chemical::ResidueTypeSet const & residue_set
) {
// check to make sure that we have more poses!
if ( !has_another_pose() ) {
utility_exit_with_message(
"ExtendedPoseInputStream: called fill_pose, but I have no more Poses!"
);
}
core::pose::make_pose_from_sequence(
pose,
seq_,
residue_set
);
for ( Size pos = 1; pos <= pose.total_residue(); pos++ ) {
pose.set_phi ( pos, -150 );
pose.set_psi ( pos, 150 );
pose.set_omega( pos, 180 );
}
++current_n_;
} // fill_pose
void ExtendedPoseInputStream::fill_pose(
core::pose::Pose &
) {
utility_exit_with_message(
"ExtendedPoseInputStream: called fill_pose, but without ResidueType Set"
);
}
} // pose_stream
} // import_pose
} // core
| [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
eac23ac0cc4d2d5af310c5edddb887ab3c46de58 | ab0dcab89f39d12746ad2b3506e1c2c34d8f1bf4 | /LUOGU/P2152_1881472.cpp | 203c086505da403ca97bc640a4db9e9da9c1cdd5 | [] | no_license | lum7na/ACM | f672583ff3022bc916d9cd3d721f0a464b287042 | fa667f4105450ec48e9b1d1b062f1444b6f0da32 | refs/heads/main | 2023-05-06T21:23:13.069269 | 2021-06-01T11:56:16 | 2021-06-01T11:56:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,388 | cpp | #include <cstdio>
#include <vector>
#include <cstring>
#include <iostream>
#include <cstring>
#include <cstdlib>
using namespace std;
char sA[10005],sB[10005];
const int Base=1000000000;
const int Width=9;
struct BigInt {
int s[10000],l;
BigInt operator = (char* str) {
l=0;
int len=strlen(str);
l=len/9+3;
for(int i=1;i<=l;i++) {
int k1=max(0,len-i*9),k2=len-(i-1)*9;
for (int j=k1;j<k2;j++) s[i-1]=s[i-1]*10+str[j]-'0';
}
while(l&&s[l-1]==0)l--;
return *this;
}
BigInt operator - (const BigInt& b) {
BigInt c;
memset(c.s,0,sizeof(c.s));
c.l=0;
for(int i=0;;i++) {
if(i>=l&&i>=b.l) break;
if(i<b.l) c.s[i]=s[i]-b.s[i];
else if (i<l) c.s[i]=s[i];
else c.s[i]=0;
if(c.s[i]<0) c.s[i]+=Base,s[i+1]--;
}
c.l=l;
while(c.l&&c.s[c.l-1]==0)c.l--;
return c;
}
bool operator > (const BigInt &b) const {
if(l!=b.l) return l>b.l;
for (int i=l-1;i>=0;i--) if(b.s[i]!=s[i]) return s[i]>b.s[i];
}
}A,B,mn,mx;
int cnt;
void diva() {
for(int i=0;i<A.l;i++) {
if (i&&A.s[i]&1) A.s[i-1]+=Base/2;
A.s[i]>>=1;
}
while(A.l&&A.s[A.l-1]==0)A.l--;
}
void divb() {
for(int i=0;i<B.l;i++) {
if (i&&B.s[i]&1) B.s[i-1]+=Base/2;
B.s[i]>>=1;
}
while(B.l&&B.s[B.l-1]==0)B.l--;
}
void mul() {
for(int i=A.l-1;i>=0;i--) {
A.s[i]<<=1;
A.s[i+1]+=A.s[i]/Base;
A.s[i]%=Base;
}
while(A.s[A.l-1]>0) A.l++;
}
int main() {
ios::sync_with_stdio(false);
cin>>sA>>sB;
A=sA,B=sB;
while(1) {
bool ok=1;
if(A.l==B.l) {
for(int i=0;i<A.l;i++) if(A.s[i]!=B.s[i]) {ok=0; break;}
} else ok=0;
if(ok) break;
if(A.s[0]%2==0&&B.s[0]%2==0) diva(),divb(),cnt++;
else if(A.s[0]%2==0) diva();
else if(B.s[0]%2==0) divb();
else if(A>B) {A=A-B;}
else {B=B-A;}
}
while(cnt--) mul();
//for(int i=A.l-1;i>=0;i--) cout<<A.s[i];
while(A.l&&A.s[A.l-1]==0)A.l--;
for(int i=A.l-1;i>=0;i--) {
if(i==A.l-1) printf("%d",A.s[i]);
else printf("%09d",A.s[i]);
}
return 0;
}
// | [
"aster2632@gmail.com"
] | aster2632@gmail.com |
71d7c2fcbc0719187246048fd34e3b6e8c9cf04c | b648a0ff402d23a6432643879b0b81ebe0bc9685 | /vendor/bond/examples/cpp/grpc/scalar/scalar.cpp | fee7deba927c24f48ec6d56e1d22b4a9c61f0d8c | [
"Apache-2.0",
"MIT"
] | permissive | jviotti/binary-json-size-benchmark | 4712faca2724d47d23efef241983ce875dc71cee | 165b577884ef366348bf48042fddf54aacfe647a | refs/heads/main | 2023-04-18T01:40:26.141995 | 2022-12-19T13:25:35 | 2022-12-19T13:25:35 | 337,583,132 | 21 | 1 | Apache-2.0 | 2022-12-17T21:53:56 | 2021-02-10T01:18:05 | C++ | UTF-8 | C++ | false | false | 3,199 | cpp | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "scalar_grpc.h"
#include "scalar_types.h"
#include <bond/ext/grpc/io_manager.h>
#include <bond/ext/grpc/server.h>
#include <bond/ext/grpc/thread_pool.h>
#include <bond/ext/grpc/unary_call.h>
#include <bond/core/bond_apply.h>
#include <bond/core/bond_types.h>
#include <bond/core/box.h>
#include <chrono>
#include <functional>
#include <iostream>
#include <memory>
#include <string>
using namespace scalar;
// Logic and data behind the server's behavior.
class ScalarMethodsImpl final : public ScalarMethods::Service
{
public:
using ScalarMethods::Service::Service;
private:
void Negate(bond::ext::grpc::unary_call<bond::Box<int32_t>, bond::Box<int32_t>> call) override
{
bond::Box<int32_t> request = call.request().Deserialize();
call.Finish(bond::make_box(-request.value));
}
void Sum(bond::ext::grpc::unary_call<bond::Box<std::vector<uint64_t>>, bond::Box<uint64_t>> call) override
{
bond::Box<std::vector<uint64_t>> request = call.request().Deserialize();
bond::Box<uint64_t> reply;
for (auto v : request.value)
{
reply.value += v;
}
call.Finish(reply);
}
};
template <typename T>
void ValidateResponseOrDie(
const char* what,
const T& expected,
std::future<bond::ext::grpc::unary_call_result<bond::Box<T>>> result)
{
if (result.wait_for(std::chrono::seconds(10)) == std::future_status::timeout)
{
std::cout << what << ": timeout ocurred\n";
exit(1);
}
bond::Box<T> reply;
try
{
result.get().response().Deserialize(reply);
}
catch (const bond::ext::grpc::UnaryCallException& e)
{
std::cout << "request failed: " << e.status().error_message();
exit(1);
}
if (reply.value != expected)
{
std::cout << what << ": expected '" << expected << "' but got '" << reply.value << "'.\n";
exit(1);
}
std::cout << what << ": correct response '" << reply.value << "'.\n";
}
static void MakeNegateRequest(ScalarMethods::Client& client)
{
ValidateResponseOrDie("negate", int32_t{-10}, client.AsyncNegate(bond::make_box(10)));
}
static void MakeSumRequest(ScalarMethods::Client& client)
{
ValidateResponseOrDie("sum", uint64_t{15}, client.AsyncSum(bond::make_box(std::vector<uint64_t>{1, 2, 3, 4, 5})));
}
int main()
{
auto ioManager = std::make_shared<bond::ext::grpc::io_manager>();
bond::ext::grpc::thread_pool threadPool;
std::unique_ptr<ScalarMethodsImpl> service{ new ScalarMethodsImpl{ threadPool } };
const std::string server_address("127.0.0.1:50051");
::grpc::ServerBuilder builder;
builder.AddListeningPort(server_address, ::grpc::InsecureServerCredentials());
auto server = bond::ext::grpc::server::Start(builder, std::move(service));
ScalarMethods::Client client(
::grpc::CreateChannel(server_address, ::grpc::InsecureChannelCredentials()),
ioManager,
threadPool);
MakeNegateRequest(client);
MakeSumRequest(client);
}
| [
"jv@jviotti.com"
] | jv@jviotti.com |
168fec27af09a947860edac51fed89655538b015 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/ds/security/services/ca/policy/default/policy.h | 17405e53d78faf77d3019323d04767d097cb63f2 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 22,632 | h | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: policy.h
//
//--------------------------------------------------------------------------
// policy.h: Declaration of CCertPolicyEnterprise
#include "resource.h"
#include <certca.h>
#include <userenv.h>
#include <dsgetdc.h>
#include <winldap.h>
/////////////////////////////////////////////////////////////////////////////
// certpol
extern HANDLE g_hEventLog;
extern HINSTANCE g_hInstance;
#define MAX_INSERTION_ARRAY_SIZE 100
#define B3_VERSION_NUMBER 2031
#define CONFIGURE_EVENT_FORMAT TEXT("CA Configuration %ls")
#define DS_ATTR_COMMON_NAME L"cn"
//#define DS_ATTR_DISTINGUISHED_NAME L"distinguishedName"
#define DS_ATTR_DNS_NAME L"dNSHostName"
#define DS_ATTR_EMAIL_ADDR L"mail"
#define DS_ATTR_OBJECT_GUID L"objectGUID"
#define DS_ATTR_UPN L"userPrincipalName"
class CTemplatePolicy;
HRESULT
polGetProperty(
IN ICertServerPolicy *pServer,
IN BOOL fRequest,
IN WCHAR const *pwszPropertyName,
IN DWORD PropType,
OUT VARIANT *pvarOut);
HRESULT
polBuildErrorInfo(
IN HRESULT hrLog,
IN DWORD dwLogId,
IN WCHAR const *pwszDescription,
IN WCHAR const * const *ppwszInsert, // array of insert strings
OPTIONAL IN OUT ICreateErrorInfo **ppCreateErrorInfo);
HRESULT
TPInitialize(
IN ICertServerPolicy *pServer);
VOID
TPCleanup();
// begin_sdksample
HRESULT
ReqInitialize(
IN ICertServerPolicy *pServer);
VOID
ReqCleanup(VOID);
class CRequestInstance;
#ifndef __BSTRC__DEFINED__
#define __BSTRC__DEFINED__
typedef OLECHAR const *BSTRC;
#endif
HRESULT
polGetServerCallbackInterface(
OUT ICertServerPolicy **ppServer,
IN LONG Context);
HRESULT
polGetRequestStringProperty(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropertyName,
OUT BSTR *pstrOut);
HRESULT
polGetCertificateStringProperty(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropertyName,
OUT BSTR *pstrOut);
HRESULT
polGetRequestLongProperty(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropertyName,
OUT LONG *plOut);
HRESULT
polGetCertificateLongProperty(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropertyName,
OUT LONG *plOut);
HRESULT
polGetRequestAttribute(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszAttributeName,
OUT BSTR *pstrOut);
HRESULT
polGetCertificateExtension(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszExtensionName,
IN DWORD dwPropType,
IN OUT VARIANT *pvarOut);
HRESULT
polSetCertificateExtension(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszExtensionName,
IN DWORD dwPropType,
IN DWORD dwExtFlags,
IN VARIANT const *pvarIn);
DWORD
polFindObjIdInList(
IN WCHAR const *pwsz,
IN DWORD count,
IN WCHAR const * const *ppwsz);
//
// Class CCertPolicyEnterprise
//
// Actual policy module for a CA Policy
//
//
class CCertPolicyEnterprise:
public CComDualImpl<ICertPolicy2, &IID_ICertPolicy2, &LIBID_CERTPOLICYLib>,
public ISupportErrorInfo,
public CComObjectRoot,
public CComCoClass<CCertPolicyEnterprise, &CLSID_CCertPolicy>
{
public:
CCertPolicyEnterprise()
{
m_strDescription = NULL;
// RevocationExtension variables:
m_dwRevocationFlags = 0;
m_wszASPRevocationURL = NULL;
m_dwDispositionFlags = 0;
m_dwEditFlags = 0;
m_cEnableRequestExtensions = 0;
m_apwszEnableRequestExtensions = NULL;
m_cEnableEnrolleeRequestExtensions = 0;
m_apwszEnableEnrolleeRequestExtensions = NULL;
m_cDisableExtensions = 0;
m_apwszDisableExtensions = NULL;
// CA Name
m_strRegStorageLoc = NULL;
m_strCAName = NULL;
m_strCASanitizedName = NULL;
m_strCASanitizedDSName = NULL;
m_strMachineDNSName = NULL;
// CA and cert type info
m_CAType = ENUM_UNKNOWN_CA;
m_pCert = NULL;
m_iCRL = 0;
// end_sdksample
//+--------------------------------------
// CertTypeExtension variables:
m_astrSubjectAltNameProp[0] = NULL;
m_astrSubjectAltNameProp[1] = NULL;
m_astrSubjectAltNameObjectId[0] = NULL;
m_astrSubjectAltNameObjectId[1] = NULL;
m_fTemplateCriticalSection = FALSE;
m_pCreateErrorInfo = NULL;
m_pbSMIME = NULL;
m_fUseDS = FALSE;
m_dwLogLevel = CERTLOG_WARNING;
m_pld = NULL;
m_pwszHostName = NULL;
m_hCertTypeQuery = NULL;
m_strDomainDN = NULL;
m_strConfigDN = NULL;
m_cTemplatePolicies = 0;
m_apTemplatePolicies = NULL;
m_fConfigLoaded = FALSE;
m_dwCATemplListSequenceNum = 0;
m_TemplateSequence = 0;
//+--------------------------------------
// begin_sdksample
}
~CCertPolicyEnterprise();
BEGIN_COM_MAP(CCertPolicyEnterprise)
COM_INTERFACE_ENTRY(IDispatch)
COM_INTERFACE_ENTRY(ICertPolicy)
COM_INTERFACE_ENTRY(ICertPolicy2)
COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()
DECLARE_NOT_AGGREGATABLE(CCertPolicyEnterprise)
// Remove the comment from the line above if you don't want your object to
// support aggregation. The default is to support it
DECLARE_REGISTRY(
CCertPolicyEnterprise,
wszCLASS_CERTPOLICY TEXT(".1"),
wszCLASS_CERTPOLICY,
IDS_CERTPOLICY_DESC,
THREADFLAGS_BOTH)
// ISupportsErrorInfo
STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
// ICertPolicy
public:
STDMETHOD(Initialize)(
/* [in] */ BSTR const strConfig);
STDMETHOD(VerifyRequest)(
/* [in] */ BSTR const strConfig,
/* [in] */ LONG Context,
/* [in] */ LONG bNewRequest,
/* [in] */ LONG Flags,
/* [out, retval] */ LONG __RPC_FAR *pDisposition);
STDMETHOD(GetDescription)(
/* [out, retval] */ BSTR __RPC_FAR *pstrDescription);
STDMETHOD(ShutDown)();
// ICertPolicy2
public:
STDMETHOD(GetManageModule)(
/* [out, retval] */ ICertManageModule **ppManageModule);
public:
HRESULT AddBasicConstraintsCommon(
IN ICertServerPolicy *pServer,
IN CERT_EXTENSION const *pExtension,
IN BOOL fCA,
IN BOOL fEnableExtension);
BSTRC GetPolicyDescription() { return(m_strDescription); }
// end_sdksample
HRESULT FindTemplate(
OPTIONAL IN WCHAR const *pwszTemplateName,
OPTIONAL IN WCHAR const *pwszTemplateObjId,
OUT CTemplatePolicy **ppTemplate);
DWORD GetLogLevel() { return(m_dwLogLevel); }
DWORD GetEditFlags() { return(m_dwEditFlags); }
BYTE const *GetSMIME(OUT DWORD *pcbSMIME)
{
*pcbSMIME = m_cbSMIME;
return(m_pbSMIME);
}
// begin_sdksample
HRESULT AddV1TemplateNameExtension(
IN ICertServerPolicy *pServer,
OPTIONAL IN WCHAR const *pwszTemplateName);
private:
CERT_CONTEXT const *_GetIssuer(
IN ICertServerPolicy *pServer);
HRESULT _EnumerateExtensions(
IN ICertServerPolicy *pServer,
IN LONG bNewRequest,
IN BOOL fFirstPass,
IN BOOL fEnableEnrolleeExtensions,
IN DWORD cCriticalExtensions,
IN WCHAR const * const *apwszCriticalExtensions);
#if DBG_CERTSRV
VOID _DumpStringArray(
IN char const *pszType,
IN DWORD count,
IN LPWSTR const *apwsz);
#else
#define _DumpStringArray(pszType, count, apwsz)
#endif
VOID _FreeStringArray(
IN OUT DWORD *pcString,
IN OUT LPWSTR **papwsz);
VOID _Cleanup();
HRESULT _SetSystemStringProp(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszName,
OPTIONAL IN WCHAR const *pwszValue);
HRESULT _AddStringArray(
IN WCHAR const *pwszzValue,
IN BOOL fURL,
IN OUT DWORD *pcStrings,
IN OUT LPWSTR **papwszRegValues);
HRESULT _ReadRegistryString(
IN HKEY hkey,
IN BOOL fURL,
IN WCHAR const *pwszRegName,
IN WCHAR const *pwszSuffix,
OUT LPWSTR *pwszRegValue);
HRESULT _ReadRegistryStringArray(
IN HKEY hkey,
IN BOOL fURL,
IN DWORD dwFlags,
IN DWORD cRegNames,
IN DWORD *aFlags,
IN WCHAR const * const *apwszRegNames,
IN OUT DWORD *pcStrings,
IN OUT LPWSTR **papwszRegValues);
VOID _InitRevocationExtension(
IN HKEY hkey);
VOID _InitRequestExtensionList(
IN HKEY hkey);
VOID _InitDisableExtensionList(
IN HKEY hkey);
HRESULT _AddRevocationExtension(
IN ICertServerPolicy *pServer);
HRESULT _AddOldCertTypeExtension(
IN ICertServerPolicy *pServer,
IN BOOL fCA);
HRESULT _AddAuthorityKeyId(
IN ICertServerPolicy *pServer);
HRESULT _AddDefaultKeyUsageExtension(
IN ICertServerPolicy *pServer,
IN BOOL fCA);
HRESULT _AddEnhancedKeyUsageExtension(
IN ICertServerPolicy *pServer);
HRESULT _AddDefaultBasicConstraintsExtension(
IN ICertServerPolicy *pServer,
IN BOOL fCA);
HRESULT _SetValidityPeriod(
IN ICertServerPolicy *pServer);
// end_sdksample
VOID _InitSubjectAltNameExtension(
IN HKEY hkey,
IN WCHAR const *pwszRegName,
IN WCHAR const *pwszObjectId,
IN DWORD iAltName);
VOID _InitDefaultSMIMEExtension(
IN HKEY hkey);
HRESULT _AddSubjectAltNameExtension(
IN ICertServerPolicy *pServer,
IN DWORD iAltName);
HRESULT _PatchExchangeSubjectAltName(
IN ICertServerPolicy *pServer,
OPTIONAL IN BSTRC strTemplateName);
HRESULT _LoadDSConfig(
IN ICertServerPolicy *pServer,
IN BOOL fRediscover);
VOID _UnloadDSConfig();
HRESULT _UpdateTemplates(
IN ICertServerPolicy *pServer,
IN BOOL fForceLoad);
HRESULT _UpgradeTemplatesInDS(
IN const HCAINFO hCAInfo,
IN BOOL fForceLoad,
OUT BOOL *pfTemplateAdded);
HRESULT _LogLoadTemplateError(
IN ICertServerPolicy *pServer,
HRESULT hr,
LPCWSTR pcwszTemplate);
HRESULT _LoadTemplates(
IN ICertServerPolicy *pServer,
OPTIONAL OUT HCAINFO *phCAInfo);
VOID _ReleaseTemplates();
HRESULT _AddTemplateToCA(
IN HCAINFO hCAInfo,
IN WCHAR const *pwszTemplateName,
OUT BOOL *pfAdded);
HRESULT _BuildErrorInfo(
IN HRESULT hrLog,
IN DWORD dwLogId);
HRESULT _DuplicateAppPoliciesToEKU(
IN ICertServerPolicy *pServer);
// begin_sdksample
private:
// RevocationExtension variables:
CERT_CONTEXT const *m_pCert;
BSTR m_strDescription;
DWORD m_dwRevocationFlags;
LPWSTR m_wszASPRevocationURL;
DWORD m_dwDispositionFlags;
DWORD m_dwEditFlags;
DWORD m_CAPathLength;
DWORD m_cEnableRequestExtensions;
LPWSTR *m_apwszEnableRequestExtensions;
DWORD m_cEnableEnrolleeRequestExtensions;
LPWSTR *m_apwszEnableEnrolleeRequestExtensions;
DWORD m_cDisableExtensions;
LPWSTR *m_apwszDisableExtensions;
// CertTypeExtension variables:
BSTR m_strRegStorageLoc;
BSTR m_strCAName;
BSTR m_strCASanitizedName;
BSTR m_strCASanitizedDSName;
BSTR m_strMachineDNSName;
// CA and cert type info
ENUM_CATYPES m_CAType;
DWORD m_iCert;
DWORD m_iCRL;
// end_sdksample
//+--------------------------------------
// SubjectAltNameExtension variables:
BSTR m_astrSubjectAltNameProp[2];
BSTR m_astrSubjectAltNameObjectId[2];
CRITICAL_SECTION m_TemplateCriticalSection;
BOOL m_fTemplateCriticalSection;
ICreateErrorInfo *m_pCreateErrorInfo;
BOOL m_fUseDS;
DWORD m_dwLogLevel;
LDAP *m_pld;
WCHAR *m_pwszHostName;
HCERTTYPEQUERY m_hCertTypeQuery;
DWORD m_TemplateSequence;
BSTR m_strDomainDN;
BSTR m_strConfigDN;
DWORD m_cTemplatePolicies;
CTemplatePolicy **m_apTemplatePolicies;
BOOL m_fConfigLoaded;
DWORD m_dwCATemplListSequenceNum;
BYTE *m_pbSMIME;
DWORD m_cbSMIME;
//+--------------------------------------
// begin_sdksample
};
// end_sdksample
// Class CTemplatePolicy
// Sub Policy information for a CA policy
typedef struct _OBJECTIDLIST {
DWORD cObjId;
WCHAR **rgpwszObjId;
} OBJECTIDLIST;
// Template properties that can be cloned via CopyMemory:
typedef struct _TEMPLATEPROPERTIES {
DWORD dwTemplateMajorVersion;
DWORD dwTemplateMinorVersion;
DWORD dwSchemaVersion;
DWORD dwEnrollmentFlags;
DWORD dwSubjectNameFlags;
DWORD dwPrivateKeyFlags;
DWORD dwGeneralFlags;
DWORD dwMinKeyLength;
DWORD dwcSignatureRequired;
LLFILETIME llftExpirationPeriod;
LLFILETIME llftOverlapPeriod;
} TEMPLATEPROPERTIES;
class CTemplatePolicy
{
public:
CTemplatePolicy();
~CTemplatePolicy();
HRESULT Initialize(
IN HCERTTYPE hCertType,
IN ICertServerPolicy *pServer,
IN CCertPolicyEnterprise *pPolicy);
HRESULT AccessCheck(
IN HANDLE hToken);
HRESULT Clone(
OUT CTemplatePolicy **ppTemplate);
HRESULT Apply(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest,
OUT BOOL *pfReenroll);
HRESULT GetFlags(
IN DWORD dwOption,
OUT DWORD *pdwFlags);
HRESULT GetCriticalExtensions(
OUT DWORD *pcCriticalExtensions,
OUT WCHAR const * const **papwszCriticalExtensions);
BOOL IsRequestedTemplate(
OPTIONAL IN WCHAR const *pwszTemplateName,
OPTIONAL IN WCHAR const *pwszTemplateObjId);
HRESULT GetV1TemplateClass(
OUT WCHAR const **ppwszV1TemplateClass);
WCHAR const *GetTemplateName() { return(m_pwszTemplateName); }
WCHAR const *GetTemplateObjId() { return(m_pwszTemplateObjId); }
private:
VOID _Cleanup();
HRESULT _CloneExtensions(
IN CERT_EXTENSIONS const *pExtensionsIn,
OUT CERT_EXTENSIONS **ppExtensionsOut);
HRESULT _CloneObjectIdList(
IN OBJECTIDLIST const *pObjectIdListIn,
OUT OBJECTIDLIST *pObjectIdListOut);
HRESULT _LogLoadResult(
IN CCertPolicyEnterprise *pPolicy,
IN ICertServerPolicy *pServer,
IN HRESULT hrLoad);
HRESULT _InitBasicConstraintsExtension(
IN HKEY hkey);
HRESULT _AddBasicConstraintsExtension(
IN CRequestInstance *pRequest,
IN ICertServerPolicy *pServer);
HRESULT _InitKeyUsageExtension(
IN HKEY hkey);
HRESULT _AddKeyUsageExtension(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _AddTemplateExtensionArray(
IN ICertServerPolicy *pServer);
HRESULT _AddTemplateExtension(
IN ICertServerPolicy *pServer,
IN CERT_EXTENSION const *pExt);
HRESULT _AddSubjectName(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _AddDSDistinguishedName(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _AddAltSubjectName(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _ApplyExpirationTime(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _EnforceKeySizePolicy(
IN ICertServerPolicy *pServer);
HRESULT _EnforceKeyArchivalPolicy(
IN ICertServerPolicy *pServer);
HRESULT _EnforceSymmetricAlgorithms(
IN ICertServerPolicy *pServer);
HRESULT _EnforceMinimumTemplateVersion(
IN CRequestInstance *pRequest);
HRESULT _EnforceEnrollOnBehalfOfAllowed(
IN ICertServerPolicy *pServer,
OUT BOOL *pfEnrollOnBehalfOf);
HRESULT _EnforceReenrollment(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest);
HRESULT _EnforceSignaturePolicy(
IN ICertServerPolicy *pServer,
IN CRequestInstance *pRequest,
IN BOOL fEnrollOnBehalfOf);
HRESULT _LoadSignaturePolicies(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropNameRequest,
OUT DWORD *pcPolicies,
OUT OBJECTIDLIST **pprgPolicies);
private:
HCERTTYPE m_hCertType;
TEMPLATEPROPERTIES m_tp;
WCHAR *m_pwszTemplateName;
WCHAR *m_pwszTemplateObjId;
CERT_EXTENSIONS *m_pExtensions;
OBJECTIDLIST m_CriticalExtensions;
OBJECTIDLIST m_PoliciesApplication;
OBJECTIDLIST m_PoliciesIssuance;
CCertPolicyEnterprise *m_pPolicy;
};
// begin_sdksample
//
// Class CRequestInstance
//
// Instance data for a certificate that is being created.
//
class CRequestInstance
{
friend class CTemplatePolicy; // no_sdksample
public:
CRequestInstance()
{
m_strTemplateName = NULL;
m_strTemplateObjId = NULL;
m_pPolicy = NULL;
// end_sdksample
//+--------------------------------------
m_pTemplate = NULL;
m_hToken = NULL;
m_pldGC = NULL;
m_pldClientDC = NULL;
m_pldT = NULL;
m_SearchResult = NULL;
m_PrincipalAttributes = NULL;
m_strUserDN = NULL;
m_pwszUPN = NULL;
// The default version for clients is W2K beta3 (2031)
m_RequestOsVersion.dwOSVersionInfoSize = sizeof(m_RequestOsVersion);
m_RequestOsVersion.dwMajorVersion = 5;
m_RequestOsVersion.dwMinorVersion = 0;
m_RequestOsVersion.dwBuildNumber = B3_VERSION_NUMBER;
m_RequestOsVersion.dwPlatformId = VER_PLATFORM_WIN32_NT;
m_RequestOsVersion.szCSDVersion[0] = L'\0';
m_RequestOsVersion.wServicePackMajor = 0;
m_RequestOsVersion.wServicePackMinor = 0;
m_RequestOsVersion.wSuiteMask = 0;
m_RequestOsVersion.wProductType = 0;
m_RequestOsVersion.wReserved = 0;
m_fClientVersionSpecified = FALSE;
m_fIsXenrollRequest = FALSE;
m_fNewRequest = TRUE;
m_pCreateErrorInfo = NULL;
//+--------------------------------------
// begin_sdksample
}
~CRequestInstance();
HRESULT Initialize(
IN CCertPolicyEnterprise *pPolicy,
IN BOOL fEnterpriseCA, // no_sdksample
IN BOOL bNewRequest, // no_sdksample
IN ICertServerPolicy *pServer,
OUT BOOL *pfEnableEnrolleeExtensions);
HRESULT SetTemplateName(
IN ICertServerPolicy *pServer,
IN OPTIONAL WCHAR const *pwszTemplateName,
IN OPTIONAL WCHAR const *pwszTemplateObjId);
BSTRC GetTemplateName() { return(m_strTemplateName); }
BSTRC GetTemplateObjId() { return(m_strTemplateObjId); }
// end_sdksample
VOID SaveErrorInfo(
OPTIONAL IN ICreateErrorInfo *pCreateErrorInfo);
HRESULT SetErrorInfo();
HRESULT BuildErrorInfo(
IN HRESULT hrLog,
IN DWORD dwLogId,
OPTIONAL IN WCHAR const * const *ppwszInsert);
HRESULT ApplyTemplate(
IN ICertServerPolicy *pServer,
OUT BOOL *pfReenroll,
OUT DWORD *pdwEnrollmentFlags,
OUT DWORD *pcCriticalExtensions,
OUT WCHAR const * const **papwszCriticalExtensions);
VOID GetTemplateVersion(
OUT DWORD *pdwTemplateMajorVersion,
OUT DWORD *pdwTemplateMinorVersion);
BOOL IsNewRequest() { return m_fNewRequest; }
// begin_sdksample
BOOL IsCARequest() { return(m_fCA); }
CCertPolicyEnterprise *GetPolicy() { return(m_pPolicy); }
private:
HRESULT _SetFlagsProperty(
IN ICertServerPolicy *pServer,
IN WCHAR const *pwszPropName,
IN DWORD dwFlags);
BOOL _TemplateNamesMatch(
IN WCHAR const *pwszTemplateName1,
IN WCHAR const *pwszTemplateName2,
OUT BOOL *pfTemplateMissing);
// end_sdksample
//+--------------------------------------
HRESULT _InitToken(
IN ICertServerPolicy *pServer);
HRESULT _InitClientOSVersionInfo(
IN ICertServerPolicy *pServer);
HANDLE _GetToken() { return(m_hToken); }
BOOL _IsUser() { return(m_fUser); }
BOOL _IsXenrollRequest() { return(m_fIsXenrollRequest); }
BOOL _ClientVersionSpecified() { return(m_fClientVersionSpecified); }
// Return TRUE if the requesting client is running NT and the OS version is
// older than the passed version.
BOOL _IsNTClientOlder(
IN DWORD dwMajor,
IN DWORD dwMinor,
IN DWORD dwBuild,
IN DWORD dwPlatform)
{
return(
dwPlatform == m_RequestOsVersion.dwPlatformId &&
(dwMajor > m_RequestOsVersion.dwMajorVersion ||
(dwMajor == m_RequestOsVersion.dwMajorVersion &&
(dwMinor > m_RequestOsVersion.dwMinorVersion ||
(dwMinor == m_RequestOsVersion.dwMinorVersion &&
dwBuild > m_RequestOsVersion.dwBuildNumber)))));
}
HRESULT _GetValueString(
IN WCHAR const *pwszName,
OUT BSTRC *pstrValue);
HRESULT _GetValues(
IN WCHAR const *pwszName,
OUT WCHAR ***pppwszValues);
HRESULT _FreeValues(
IN WCHAR **ppwszValues);
HRESULT _GetObjectGUID(
OUT BSTR *pstrGuid);
HRESULT _LoadPrincipalObject(
IN ICertServerPolicy *pServer,
IN CTemplatePolicy *pTemplate,
IN BOOL fDNSNameRequired);
VOID _ReleasePrincipalObject();
VOID _Cleanup(); // add_sdksample
HRESULT _GetDSObject(
IN ICertServerPolicy *pServer,
IN BOOL fDNSNameRequired,
OPTIONAL IN WCHAR const *pwszClientDC);
private: // add_sdksample
HANDLE m_hToken;
LDAP *m_pldGC;
LDAP *m_pldClientDC;
LDAP *m_pldT;
BOOL m_fUser; // This is a user
BOOL m_fEnterpriseCA;
LDAPMessage *m_SearchResult;
LDAPMessage *m_PrincipalAttributes; // Collected attrs for cert
BSTR m_strUserDN; // Path to principal object
WCHAR *m_pwszUPN; // Principal Name
OSVERSIONINFOEX m_RequestOsVersion; // request version info
BOOL m_fIsXenrollRequest; // not Netscape keygen
BOOL m_fClientVersionSpecified;
CTemplatePolicy *m_pTemplate;
ICreateErrorInfo *m_pCreateErrorInfo;
//+--------------------------------------
// begin_sdksample
CCertPolicyEnterprise *m_pPolicy;
BSTR m_strTemplateName; // certificate type requested
BSTR m_strTemplateObjId; // certificate type requested
DWORD m_dwTemplateMajorVersion;
DWORD m_dwTemplateMinorVersion;
BOOL m_fCA;
BOOL m_fNewRequest; // set if new request, no_sdksample
};
// end_sdksample
| [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
e405d98c6867a7109572af3ba896f5a89c72c8bf | 05b77b0cc2ba232d24f759f371917399f5c46362 | /esb_wbsd/wbsdecowindow.cpp | 915001deaf0a396ddb0a022a2d387536b9e355e3 | [] | no_license | lee-icebow/ESB | 7adf68edc6b6606f9ad66046682a51e2075ba033 | 0dcb67bd6d04ee81dc9c797a1afe3ac5a44d1cac | refs/heads/master | 2021-01-21T07:57:58.192909 | 2015-09-01T02:36:48 | 2015-09-01T02:36:48 | 41,712,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,574 | cpp | #include "wbsdecowindow.h"
#include "ui_wbsdecowindow.h"
#include "wbsdchildwindow.h"
#include "qstring.h"
#include "qdebug.h"
#include "application.h"
#include"QMessageBox"
WBSDEcoWindow::WBSDEcoWindow(WBSDBaseWindow *parent) :
WBSDChildWindow(parent),
ui(new Ui::WBSDEcoWindow)
{
static const char* back[] = {
QT_TRANSLATE_NOOP("back_eco", "Back")
};
ui->setupUi(this);
menuBack = new QAction(Application::translate("back_eco",back[0]), this);
menuBack->setEnabled(true);
ui->menubar->addAction(menuBack);
connect( menuBack, SIGNAL(triggered()), this, SLOT(on_menuBack_triggered()));
boardDp0BitField = 0;
updateLabels();
updateData();
ui->centralwidget->setLayout(ui->verticalLayout);
}
WBSDEcoWindow::~WBSDEcoWindow()
{
delete ui;
}
void WBSDEcoWindow::on_menuBack_triggered()
{
this->close();
}
void WBSDEcoWindow::on_Tedt_1_editingFinished()
{
if(ui->Pdt_1>ui->Tedt_1)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_1->setTime(ui->Pdt_1->time());
}else
{
SetECODPVal(44,ui->Tedt_1);
}
}
void WBSDEcoWindow::on_Tedt_2_editingFinished()
{
if(ui->Pdt_2>ui->Tedt_2)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_2->setTime(ui->Pdt_2->time());
}else
{
SetECODPVal(46,ui->Tedt_2);
}
}
void WBSDEcoWindow::on_Tedt_3_editingFinished()
{
if(ui->Pdt_3>ui->Tedt_3)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_3->setTime(ui->Pdt_3->time());
}else
{
SetECODPVal(48,ui->Tedt_3);
}
}
void WBSDEcoWindow::on_Tedt_4_editingFinished()
{
if(ui->Pdt_4>ui->Tedt_4)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_4->setTime(ui->Pdt_4->time());
}else
{
SetECODPVal(50,ui->Tedt_4);
}
}
void WBSDEcoWindow::on_Tedt_5_editingFinished()
{
if(ui->Pdt_5>ui->Tedt_5)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_5->setTime(ui->Pdt_5->time());
}else
{
SetECODPVal(52,ui->Tedt_5);
}
}
void WBSDEcoWindow::on_Tedt_6_editingFinished()
{
if(ui->Pdt_6>ui->Tedt_6)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_6->setTime(ui->Pdt_6->time());
}
else
{
SetECODPVal(54,ui->Tedt_6);
}
}
void WBSDEcoWindow::on_Tedt_7_editingFinished()
{
if(ui->Pdt_7>ui->Tedt_7)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_7->setTime(ui->Pdt_7->time());
}else
{
SetECODPVal(56,ui->Tedt_7);
}
}
void WBSDEcoWindow::on_Pdt_1_editingFinished()
{
SetECODPVal(58,ui->Pdt_1);
ui->Tedt_1->setMinimumTime(ui->Pdt_1->time());
if(ui->Pdt_1>ui->Tedt_1)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_1->setTime(ui->Pdt_1->time());
}
}
void WBSDEcoWindow::on_Pdt_2_editingFinished()
{
SetECODPVal(59,ui->Pdt_2);
ui->Tedt_2->setMinimumTime(ui->Pdt_2->time());
if(ui->Pdt_2>ui->Tedt_2)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_2->setTime(ui->Pdt_2->time());
}
}
void WBSDEcoWindow::on_Pdt_3_editingFinished()
{
SetECODPVal(60,ui->Pdt_3);
if(ui->Pdt_3>ui->Tedt_3)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_3->setTime(ui->Pdt_3->time());
}
}
void WBSDEcoWindow::on_Pdt_4_editingFinished()
{
SetECODPVal(61,ui->Pdt_4);
if(ui->Pdt_4>ui->Tedt_4)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_4->setTime(ui->Pdt_4->time());
}
}
void WBSDEcoWindow::on_Pdt_5_editingFinished()
{
SetECODPVal(62,ui->Pdt_5);
if(ui->Pdt_5>ui->Tedt_5)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_5->setTime(ui->Pdt_5->time());
}
}
void WBSDEcoWindow::on_Pdt_6_editingFinished()
{
SetECODPVal(63,ui->Pdt_6);
if(ui->Pdt_6>ui->Tedt_6)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_6->setTime(ui->Pdt_6->time());
}
}
void WBSDEcoWindow::on_Pdt_7_editingFinished()
{
SetECODPVal(64,ui->Pdt_7);
if(ui->Pdt_7>ui->Tedt_7)
{
QMessageBox::question(this, QObject::tr("Seting Error"), QObject::tr("Active End must be earlyer than Active start!!!"),QMessageBox::Ok);
ui->Tedt_7->setTime(ui->Pdt_7->time());
}
}
void WBSDEcoWindow::SetECODPVal(int block, QTimeEdit *a)
{
int hour = a->time().hour();
int minute = a->time().minute();
int value = ((0xFF & hour) << 8) | (0xFF & minute);
GetAllEcoData();
ParameterMsg message(Message::MCB,Message::DP, block, Message::SET_PARAMETER);
message.setWord(value);
itsBaseWindow->addMessageToQue(message);
}
void WBSDEcoWindow::updateEcoSetting(int value, QTimeEdit *a)
{
int hour, minute;
hour = (0xFF00 & value) >> 8;
minute = 0xFF & value;
a->setTime(QTime(hour,minute));
}
void WBSDEcoWindow::connectionStatusChanged(int aStatus,StringMessage aMSG)
{
itsBaseWindow->disconnectToMessages(this);
if(aStatus<20)
{
this->close();
this->deleteLater();
}
}
void WBSDEcoWindow::updateLabels()
{
static const char* ecoTxt[] = {
QT_TRANSLATE_NOOP("eco_txt", "Disable"),
QT_TRANSLATE_NOOP("eco_txt", "Enable")
};
ui->ecoMode->addItem(Application::translate("eco_txt",ecoTxt[0]),0x0);
ui->ecoMode->addItem(Application::translate("eco_txt",ecoTxt[1]),0x1);
ui->holidayMode->addItem(Application::translate("eco_txt",ecoTxt[0]),0x0);
ui->holidayMode->addItem(Application::translate("eco_txt",ecoTxt[1]),0x1);
ui->ecoWakeup->addItem(Application::translate("eco_txt",ecoTxt[0]),0x0);
ui->ecoWakeup->addItem(Application::translate("eco_txt",ecoTxt[1]),0x1);
}
void WBSDEcoWindow::updateHolidayMode(unsigned int conf)
{
int noItems = ui->holidayMode->count();
int index;
for (index=0; index<noItems; index++){
int itemVal = ui->holidayMode->itemData(index).toInt();
if ((conf)==itemVal) {
ui->holidayMode->setCurrentIndex(index);
break;
}
}
QString qss=QString("RJDEBUG WBSDEcoWindow::updateHolidayMode index %1").arg(index);
qDebug () << qss;
}
void WBSDEcoWindow::on_ecoMode_activated(int index)
{
qDebug () << "RJDEBUG on_ecoMode_activated";
int value = ui->ecoMode->itemData(index).toInt();
setBoardDP0Parameter(value, 12);
}
void WBSDEcoWindow::updateEcoWakeup(unsigned int conf)
{
int noItems = ui->ecoWakeup->count();
int index;
for (index=0; index<noItems; index++){
int itemVal = ui->ecoWakeup->itemData(index).toInt();
if ((conf)==itemVal) {
ui->ecoWakeup->setCurrentIndex(index);
break;
}
}
QString qss=QString("RJDEBUG WBSDEcoWindow::updateEcoWakeup index %1").arg(index);
qDebug () << qss;
}
void WBSDEcoWindow::updateEcoSetTemp(double temp)
{
ui->ecoSetTemp->setValue(temp);
}
void WBSDEcoWindow::updateData()
{
qDebug() << "WBSDEcoWindow::updateData";
ParameterMsg msg1(Message::MCB,Message::DP,0);
ParameterMsg msg2(Message::MCB,Message::DP,22);
ParameterMsg msg3(Message::MCB,Message::DP,23);
ParameterMsg msg4(Message::MCB,Message::AP, 22);
msg1.getWord();
msg2.getWord();
msg3.getWord();
msg4.getWord();
itsBaseWindow->addMessageToQue(msg1);
itsBaseWindow->addMessageToQue(msg2);
itsBaseWindow->addMessageToQue(msg3);
itsBaseWindow->addMessageToQue(msg4);
for(int i=44;i<=64;i++)
{
ParameterMsg message(Message::MCB,Message::DP,i);
message.getWord();
itsBaseWindow->addMessageToQue(message);
}
}
void WBSDEcoWindow::closeEvent(QCloseEvent *)
{
emit iclose();
}
void WBSDEcoWindow::on_holidayMode_activated(int index)
{
qDebug () << "RJDEBUG on_holidayMode_activated";
int value = ui->holidayMode->itemData(index).toInt();
int ecoIndex = ui->ecoWakeup->currentIndex();
int valEco = ui->ecoWakeup->itemData(ecoIndex).toInt();
if(!valEco && index == 1) //Must have Eco Wakeup if enabling Holiday Mode
{
setBoardDP0Parameters(1, 10, value, 11);
}
else
{
setBoardDP0Parameter(value, 11);
}
}
void WBSDEcoWindow::on_ecoWakeup_activated(int index)
{
qDebug () << "RJDEBUG on_ecoWakeup_activated";
int value = ui->ecoWakeup->itemData(index).toInt();
setBoardDP0Parameter(value, 10);
int holidayIndex = ui->holidayMode->currentIndex();
int valHoliday = ui->holidayMode->itemData(holidayIndex).toInt();
if(valHoliday && index == 0) //Disabling Eco Wakeup must disable Holiday Mode
{
setBoardDP0Parameters(value, 10, 0, 11);
}
else
{
setBoardDP0Parameter(value, 10);
}
}
void WBSDEcoWindow::on_ecoSetTemp_editingFinished() {
qDebug () << "RJDEBUG on_ecoSetTemp_editingFinished";
ParameterMsg message(Message::MCB,Message::AP,22, Message::SET_PARAMETER);
message.setFloat(ui->ecoSetTemp->value());
itsBaseWindow->addMessageToQue(message);
}
// Send Board DP block 0 message. Need to add all bit data in block 0.
void WBSDEcoWindow::setBoardDP0Parameter(unsigned int value, int bitPos)
{
ParameterMsg message(Message::MCB,Message::DP, 0, Message::SET_PARAMETER);
message.setBit(bitPos,value);
QString qs=QString("RJDEBUG WBSDEcoWindow::setBoardDP0Parameter, boardDp0BitField = %1").arg(boardDp0BitField);
qDebug () << qs;
itsBaseWindow->addMessageToQue(message);
}
// Send Board DP block 0 message. Need to add all bit data in block 0.
void WBSDEcoWindow::setBoardDP0Parameters(unsigned int value1, unsigned int bitPos1, unsigned int value2, unsigned int bitPos2)
{
setBoardDP0Parameter(value1,bitPos1);
setBoardDP0Parameter(value2,bitPos2);
}
void WBSDEcoWindow::GetAllEcoData()
{
//ui->Tedt_7->dis
_lstEco.clear();
EcoInfo_T mytmp;
mytmp.index =0;
mytmp.stop = ui->Tedt_7->time().hour()*60+ui->Tedt_7->time().minute();
mytmp.start = ui->Pdt_7->time().hour()*60+ui->Pdt_7->time().minute();
_lstEco.append(mytmp);
mytmp.index =1;
mytmp.stop = ui->Tedt_1->time().hour()*60+ui->Tedt_1->time().minute();
mytmp.start = ui->Pdt_1->time().hour()*60+ui->Pdt_1->time().minute();
_lstEco.append(mytmp);
mytmp.index =2;
mytmp.stop = ui->Tedt_2->time().hour()*60+ui->Tedt_2->time().minute();
mytmp.start = ui->Pdt_2->time().hour()*60+ui->Pdt_2->time().minute();
_lstEco.append(mytmp);
mytmp.index =3;
mytmp.stop = ui->Tedt_3->time().hour()*60+ui->Tedt_3->time().minute();
mytmp.start = ui->Pdt_3->time().hour()*60+ui->Pdt_3->time().minute();
_lstEco.append(mytmp);
mytmp.index =4;
mytmp.stop = ui->Tedt_4->time().hour()*60+ui->Tedt_4->time().minute();
mytmp.start = ui->Pdt_4->time().hour()*60+ui->Pdt_4->time().minute();
_lstEco.append(mytmp);
mytmp.index =5;
mytmp.stop = ui->Tedt_5->time().hour()*60+ui->Tedt_5->time().minute();
mytmp.start = ui->Pdt_5->time().hour()*60+ui->Pdt_5->time().minute();
_lstEco.append(mytmp);
mytmp.index =6;
mytmp.stop = ui->Tedt_6->time().hour()*60+ui->Tedt_6->time().minute();
mytmp.start = ui->Pdt_6->time().hour()*60+ui->Pdt_6->time().minute();
_lstEco.append(mytmp);
ui->widget->setPaintlist(_lstEco);
}
void WBSDEcoWindow::updateEcoMode(unsigned int conf)
{
int noItems = ui->ecoMode->count();
int index;
for (index=0; index<noItems; index++){
int itemVal = ui->ecoMode->itemData(index).toInt();
if ((conf)==itemVal) {
ui->ecoMode->setCurrentIndex(index);
break;
}
}
if(conf == 0)
{
if(ui->ecoWakeup->itemData(ui->ecoWakeup->currentIndex())!=0)
on_ecoWakeup_activated(0);
ui->ecoWakeup->setEnabled(false);
}
else
{
ui->ecoWakeup->setEnabled(true);
}
QString qss=QString("RJDEBUG WBSDEcoWindow::updateEcoMode index %1").arg(index);
qDebug () << qss;
}
void WBSDEcoWindow::gotMessage(Message aMsg)
{
unsigned int aVal;
char aLevelState;
char aRfgState;
QByteArray data=aMsg.getData();
QString hex=QString(data.toHex());
qDebug() << aMsg.getBoard() <<"||"<<aMsg.getParameters().at(3);
Message::qtype atype=aMsg.getType();
switch (atype)
{
case Message::SET_PARAMETER:
//qDebug() << aMsg.getBoard() <<"||"<<aMsg.getParameters().at(3);
break;
case (Message::REPLY_DB):
switch ((unsigned char)aMsg.getBoard())
{
case Message::MCB:
switch ((unsigned char)aMsg.getDataBaseType())
{
case Message::DP:
switch(aMsg.getParameters().at(3))
{
/*
* modify by lee
* Boiler temp in US mode. When in Fahrenheit, also remove (˚C). Now it says 145.4 ˚C and this is not correct.
*/
case 0:
aVal= aMsg.getDataUInt();
boardDp0BitField = aVal;
itsBaseWindow->setUnitTmp((0x8000 & aVal) >> 15);
if(itsBaseWindow->getUnitTmp() == 0)
{
ui->label_4->setText(QObject::tr("Boiler temperature in ECO mode (°C)"));
}
else
{
ui->label_4->setText(QObject::tr("Boiler temperature in ECO mode (°F)"));
}
updateEcoMode((int)((boardDp0BitField & 0x1000) >> 12));
updateHolidayMode((int)((boardDp0BitField & 0x800) >> 11 ));
updateEcoWakeup((int)((boardDp0BitField & 0x400) >> 10 ));
break;
case 44:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_1);
break;
case 46:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_2);
break;
case 48:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_3);
break;
case 50:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_4);
break;
case 52:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_5);
break;
case 54:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_6);
break;
case 56:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Tedt_7);
break;
case 58:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_1);
break;
case 59:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_2);
break;
case 60:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_3);
break;
case 61:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_4);
break;
case 62:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_5);
break;
case 63:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_6);
break;
case 64:
aVal=aMsg.getDataUInt();
updateEcoSetting(aVal,ui->Pdt_7);
GetAllEcoData();
break;
}
break;
case Message::AP:
switch(aMsg.getParameters().at(3))
{
case 22:
updateEcoSetTemp(aMsg.getDataFloat());
break;
default:
break;
}
break;
}
}
}
}
| [
"Lee.li@CREM-SH123.coffeequeen.local"
] | Lee.li@CREM-SH123.coffeequeen.local |
56e1e03a5d4cee15750be148ee0e5824b53b99d3 | 455ecd26f1439cd4a44856c743b01d711e3805b6 | /java/include/android.widget.TableLayout.hpp | e362e9f6533dabcbb2a8ed3c8eb4b4f1c402495e | [] | no_license | lbguilherme/duvidovc-app | 00662bf024f82a842c808673109b30fe2b70e727 | f7c86ea812d2ae8dd892918b65ea429e9906531c | refs/heads/master | 2021-03-24T09:17:17.834080 | 2015-09-08T02:32:44 | 2015-09-08T02:32:44 | 33,072,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,937 | hpp | #pragma once
#include "../src/java-core.hpp"
#include <jni.h>
#include <cstdint>
#include <memory>
#include <vector>
#include "java.lang.Object.hpp"
#include "android.widget.LinearLayout.hpp"
namespace android { namespace content { class Context; } }
namespace android { namespace util { class AttributeSet; } }
namespace android { namespace view { class View; } }
namespace android { namespace view { class ViewGroup_LayoutParams; } }
namespace android { namespace view { class ViewGroup_OnHierarchyChangeListener; } }
namespace android { namespace widget { class TableLayout_LayoutParams; } }
namespace android {
namespace widget {
class TableLayout : public virtual ::java::lang::Object,
public virtual ::android::widget::LinearLayout {
public:
static jclass _class;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wreorder"
explicit TableLayout(jobject _obj) : ::java::lang::Object(_obj), ::android::graphics::drawable::Drawable_Callback(_obj), ::android::view::KeyEvent_Callback(_obj), ::android::view::View(_obj), ::android::view::ViewGroup(_obj), ::android::view::ViewManager(_obj), ::android::view::ViewParent(_obj), ::android::view::accessibility::AccessibilityEventSource(_obj), ::android::widget::LinearLayout(_obj) {}
#pragma GCC diagnostic pop
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wreorder"
TableLayout(const ::android::widget::TableLayout& x) : ::java::lang::Object((jobject)0), ::android::graphics::drawable::Drawable_Callback((jobject)0), ::android::view::KeyEvent_Callback((jobject)0), ::android::view::View((jobject)0), ::android::view::ViewGroup((jobject)0), ::android::view::ViewManager((jobject)0), ::android::view::ViewParent((jobject)0), ::android::view::accessibility::AccessibilityEventSource((jobject)0), ::android::widget::LinearLayout((jobject)0) {obj = x.obj;}
TableLayout(::android::widget::TableLayout&& x) : ::java::lang::Object((jobject)0), ::android::graphics::drawable::Drawable_Callback((jobject)0), ::android::view::KeyEvent_Callback((jobject)0), ::android::view::View((jobject)0), ::android::view::ViewGroup((jobject)0), ::android::view::ViewManager((jobject)0), ::android::view::ViewParent((jobject)0), ::android::view::accessibility::AccessibilityEventSource((jobject)0), ::android::widget::LinearLayout((jobject)0) {obj = x.obj; x.obj = JavaObjectHolder((jobject)0);}
#pragma GCC diagnostic pop
::android::widget::TableLayout& operator=(const ::android::widget::TableLayout& x) {obj = x.obj; return *this;}
::android::widget::TableLayout& operator=(::android::widget::TableLayout&& x) {obj = std::move(x.obj); return *this;}
TableLayout(const ::android::content::Context&);
TableLayout(const ::android::content::Context&, const ::android::util::AttributeSet&);
void setOnHierarchyChangeListener(const ::android::view::ViewGroup_OnHierarchyChangeListener&) const;
void requestLayout() const;
bool isShrinkAllColumns() const;
void setShrinkAllColumns(bool) const;
bool isStretchAllColumns() const;
void setStretchAllColumns(bool) const;
void setColumnCollapsed(int32_t, bool) const;
bool isColumnCollapsed(int32_t) const;
void setColumnStretchable(int32_t, bool) const;
bool isColumnStretchable(int32_t) const;
void setColumnShrinkable(int32_t, bool) const;
bool isColumnShrinkable(int32_t) const;
void addView(const ::android::view::View&) const;
void addView(const ::android::view::View&, int32_t) const;
void addView(const ::android::view::View&, const ::android::view::ViewGroup_LayoutParams&) const;
void addView(const ::android::view::View&, int32_t, const ::android::view::ViewGroup_LayoutParams&) const;
::android::widget::TableLayout_LayoutParams generateLayoutParams(const ::android::util::AttributeSet&) const;
};
}
}
#include "android.widget.TableLayout_LayoutParams.hpp"
| [
"dev@lbguilherme.com"
] | dev@lbguilherme.com |
c91532d82186d102bf599a83c2a9f98b825e4fed | 2e3cab55d57f356150eb316a686f2c9fcd4600d2 | /LabelRank/LabelRank/LPA.h | e1ee7d15077ca77ef89fcbd652df2acc86c8d52d | [] | no_license | yxl3210230/GitHubVS2013 | 15d28908b407b326e86f0aead5edae8f71e136bd | c4dd4fd55edb1bec0e2d3af74708c5e3f05d5f65 | refs/heads/master | 2020-05-17T16:14:38.924413 | 2014-07-21T08:33:46 | 2014-07-21T08:33:46 | 21,893,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | h | /*
* LPA
*
* Created on: Feb 28, 2012
* Author: Jerry
*/
#ifndef LPA_H_
#define LPA_H_
#include "Net.h"
#include "NODE.h"
#include <map>
#include <vector>
#include <utility>
#include <unordered_map>
#include "MersenneTwister.h"
#include "TieLabel.h"
#include "DisjointM.h"
//---------------------------
// Multi-threading
//---------------------------
typedef std::tr1::unordered_map<int, int> UOrderedH_INT_INT;
typedef std::tr1::unordered_map<int, double> UOrderedH_INT_DBL;
class LPA {
public:
static bool isDEBUG;
//---------------------------
// network parameters
//---------------------------
Net* net; //could be added with selfloop
string netName;
string fileName_net;
string networkPath;
bool isUseLargestComp; //***
bool isSymmetrize;
//---------------------------
// SLPA parameters
//---------------------------
vector<double> THRS; //thr
bool isSyn; //is synchronous version?
int maxT;
bool isSaveicpm;
//---------------------------
// more
//---------------------------
string outputDir;
MTRand mtrand1;
MTRand mtrand2;
LPA(string inputFileName,int maxT,\
string outputDir,bool isUseLargestComp,bool isSymmetrize,bool isSyn,\
bool isSaveicpm,int run);
virtual ~LPA();
double bestQ;
int bestT;
int bestK; //number of comms
string shortfileName;
int run;
//-------------------------------
// LPA
//-------------------------------
void start();
void init();
void LPA_syn_pointer();
void LPA_Asyn_pointer();
void createCPM_pointer(vector<vector<int>* >& cpm);
void LPA_createCPM_pointer_computeQ(string fileName);
int ceateHistogram_selRandMax(vector<int>& topLabels,const vector<int>& wordsList,int oldlabel,bool & amIok);
static void sort_cpm(vector<vector<int> >& cpm);
void convert_cpmVectPtr2cpm(vector<vector<int>* >& cpmptr, vector<vector<int> >& cpm);
void write2txt_CPM_pointer(string fileName,vector<vector<int>* >& cpm);
void printAllLabels();
void printHistogram_INT_DBL(map<int,double> &hist);
bool isConverge();
//---------------------------
// temporal
//---------------------------
double interSnap_smoothFactor;
Net *prevNet; //network in previous snapshot
int sID; //current snapshop id (starting from 0)
void applySmoothing(NODE* v,UOrderedH_INT_DBL& BCHistgram);
//---------------------------
// Multi-threading
//---------------------------
int numThreads;
};
#endif /* LPA_H_ */
| [
"yxl3210230@hotmail.com"
] | yxl3210230@hotmail.com |
089c97adbe41c20d0d1ec23b80154ea865e5dede | 89bb8080f602da97cde5a5589fcb316ab7267bda | /56面试题-数组中数字出现的次数/56面试题-数组中数字出现的次数/main.cpp | f11cf6d9e12eb04d53c8ff5d2405539e54f3e7cd | [] | no_license | sunnercc/OfferCode | 08f9cc5a560304364bd060cef0e6f3f5695ebdac | d391a51ac3f2a8ddcab397e7434a4eb4d8274ddb | refs/heads/master | 2020-04-07T12:26:35.777033 | 2019-01-14T08:09:26 | 2019-01-14T08:09:26 | 158,368,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | //
// main.cpp
// 56面试题-数组中数字出现的次数
//
// Created by ifuwo on 2018/11/26.
// Copyright © 2018 sunner. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"sunner.cc@outlook.com"
] | sunner.cc@outlook.com |
119009514df2c6ef4e3336b163a7d1ee99a13cd6 | 4ad71246baaf04f13442e7a4aa0dfbfe5b2e8020 | /Sort/selection.cpp | 850ecfbbc961de1e57f218a39a5f060faa24c01e | [] | no_license | surajbanthot/DS_Algo | 08e7a4a07eb2fd0c29484e61dd9bbfd40319ff58 | 7dc127d436e6fb109424afb313e5ddea5246153b | refs/heads/master | 2022-12-18T06:57:10.314932 | 2020-09-26T06:47:42 | 2020-09-26T06:47:42 | 289,135,060 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | #include <bits/stdc++.h>
using namespace std;
void swap(int *xp, int *yp)
{
int temp = *xp;
*xp = *yp;
*yp = temp;
}
void selectionSort(int arr[], int n)
{
int i, j, min_idx;
for (i = 0; i < n - 1; i++)
{
min_idx = i;
for (j = i + 1; j < n; j++)
if (arr[j] < arr[min_idx])
min_idx = j;
swap(&arr[min_idx], &arr[i]);
}
}
void printArray(int arr[], int size)
{
int i;
for (i = 0; i < size; i++)
cout << arr[i] << " ";
cout << endl;
}
int main()
{
int arr[] = {64, 25, 12, 22, 11};
int n = sizeof(arr) / sizeof(arr[0]);
selectionSort(arr, n);
cout << "Sorted Array \n";
printArray(arr, n);
return 0;
} | [
"surajbanthot@gmail.com"
] | surajbanthot@gmail.com |
0aba7e964231e165917e82aec6b74bf6818de641 | e195b1e524f70e221fd0a7be43db7c14656942ee | /AlgorithmsII_Princeton/Week-I/DirectedGraphs/topological_sort_test.cc | 7105cb4e64a786d3dfdb0cc6da7b994f7b201d9c | [] | no_license | neha-arora-root/Courses | 8f1aae0edea228ad18a48b3dd63ac57d9d2951f3 | 6a7f8950676369a8249e8df8c6be850656310990 | refs/heads/master | 2022-12-26T21:34:34.440628 | 2019-08-29T18:58:52 | 2019-08-29T18:58:52 | 98,038,163 | 0 | 0 | null | 2022-12-07T23:29:02 | 2017-07-22T14:55:59 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,216 | cc | #include "topological_sort.h"
#include "../test_utils.h"
namespace directed_graph {
void TestCycleInGraph(testing::Testing& test_suite) {
test_suite.init("test cycle in graph");
Node a("A"), b("B"), c("C"), d("D"), e("E"), f("F");
Edge e1(a.Id(), b.Id(), 1), e2(b.Id(), c.Id(), 1), e3(c.Id(), a.Id(), 1), e4(d.Id(), e.Id(), 1), e5(d.Id(), f.Id(), 1), e6(e.Id(), f.Id(), 1);
TopologicalSort dg_1({e1, e2, e3});
test_suite.test(dg_1.IsCyclic());
TopologicalSort dg_2({e4, e5, e6});
test_suite.test(!dg_2.IsCyclic());
test_suite.TestResults();
}
void TestTopologicalSorting(testing::Testing& test_suite) {
test_suite.init("test topological sorting in graph");
Node a("A"), b("B"), c("C"), d("D"), e("E"), f("F"), g("G");
Edge e1(a.Id(), b.Id(), 1), e2(b.Id(), c.Id(), 1), e3(c.Id(), a.Id(), 1);
TopologicalSort dg_1({e1, e2, e3});
const std::vector<std::string> order_1 = dg_1.TopologicallySorted();
test_suite.test(order_1.size() == 0);
Edge e4(a.Id(), b.Id(), 1), e5(a.Id(), c.Id(), 1), e6(b.Id(), d.Id(), 1), e7(c.Id(), d.Id(), 1), e8(d.Id(), f.Id(), 1), e9(e.Id(), f.Id(), 1), e10(f.Id(), g.Id(), 1);
TopologicalSort dg_2({e4, e5, e6, e7, e8, e9, e10});
// dg_2.PrintAllEdges();
const std::vector<std::string> order_2 = dg_2.TopologicallySorted();
std::unordered_map<std::string, int> nodes_positions;
for (int i = 0; i < order_2.size(); i++) {
nodes_positions[order_2[i]] = i;
}
// The following ordering should hold for topological sorting.
test_suite.test(nodes_positions["A"] < nodes_positions["B"]);
test_suite.test(nodes_positions["A"] < nodes_positions["C"]);
test_suite.test(nodes_positions["B"] < nodes_positions["D"]);
test_suite.test(nodes_positions["C"] < nodes_positions["D"]);
test_suite.test(nodes_positions["D"] < nodes_positions["F"]);
test_suite.test(nodes_positions["E"] < nodes_positions["F"]);
test_suite.test(nodes_positions["F"] < nodes_positions["G"]);
dg_2.PrintOrder(order_2);
test_suite.TestResults();
}
} // namespace directed_graph
int main () {
testing::Testing test_suite("TEST SUITE FOR DIRECTED GRAPHS");
directed_graph::TestCycleInGraph(test_suite);
directed_graph::TestTopologicalSorting(test_suite);
test_suite.PrintStats();
} | [
"nehaarora@Nehas-MacBook-Pro.local"
] | nehaarora@Nehas-MacBook-Pro.local |
bbd88626f3793c7cf500e0819fd8650931dc8efb | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_S1600810312.h | 27b8cf199e07cf2402458fdb3aee0f38c3b7b5c0 | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
#include "mscorlib_System_Collections_Generic_Dictionary_2_E2815710193.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ShimEnumerator<GSN.Skill.Phoenix.Model.Data.AnalyticsAttributeName,System.Object>
struct ShimEnumerator_t1600810312 : public Il2CppObject
{
public:
// System.Collections.Generic.Dictionary`2/Enumerator<TKey,TValue> System.Collections.Generic.Dictionary`2/ShimEnumerator::host_enumerator
Enumerator_t2815710193 ___host_enumerator_0;
public:
inline static int32_t get_offset_of_host_enumerator_0() { return static_cast<int32_t>(offsetof(ShimEnumerator_t1600810312, ___host_enumerator_0)); }
inline Enumerator_t2815710193 get_host_enumerator_0() const { return ___host_enumerator_0; }
inline Enumerator_t2815710193 * get_address_of_host_enumerator_0() { return &___host_enumerator_0; }
inline void set_host_enumerator_0(Enumerator_t2815710193 value)
{
___host_enumerator_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
2dec9dfcd8b2c87d414599f5a171b3174aceedcd | a3562a0e45fae73c67ac761d40d468ca2dbf6a88 | /server_CommandPWD.cpp | e647c542904227ebc69907a4f8f63c348238f4ff | [] | no_license | hugomlb/Honeypot-FTP | 8b512d2cf084907566a197a8916ee140db9cfaf8 | fe0a4ec70fe7e924b64ee97b46b8a9ed6bd51a42 | refs/heads/master | 2022-12-06T10:14:21.612710 | 2020-08-07T02:55:10 | 2020-08-07T02:55:10 | 210,867,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include "server_CommandPWD.h"
#include "common_SocketPeer.h"
server_CommandPWD::server_CommandPWD(server_ServerConfiguration* configuration):
server_Command(configuration){
currentDirectoryMsg = configuration -> getValueOf("currentDirectoryMsg");
}
void server_CommandPWD::execute(std::string argument, server_User *user,
common_SocketPeer *socketPeer) {
if (user -> isLogged()) {
sendMessage("257 " + currentDirectoryMsg, socketPeer);
} else {
askForLogin(socketPeer);
}
}
server_CommandPWD::~server_CommandPWD() {
}
| [
"hlarrea@fi.uba.ar"
] | hlarrea@fi.uba.ar |
0fb7f5ffe4bc1199f7fba8d49c8340f4f07639b2 | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /geant4/G4TwistedBox.hh | eb78be556c59c46c61cd5c9309d63c66da33a46d | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4TwistedBox.hh,v 1.10 2006/06/29 18:48:00 gunter Exp $
// GEANT4 tag $Name: geant4-09-03-patch-01 $
//
//
// --------------------------------------------------------------------
// GEANT 4 class header file
//
//
// G4TwistedBox
//
// Class description:
//
// A G4TwistedBox is a twisted cuboid of given half lengths pDx,pDy,pDz
// and twist angle pPhiTwist.
// The Box is centred on the origin with sides parallel to the x/y/z axes.
//
// Member Data:
//
// pDx Half-length along x axis
// pDy Half-length along y asis
// pDz Half-length along z axis
// pPhiTwist Twist angle
// Author:
//
// 27-Oct-2004 - O.Link (Oliver.Link@cern.ch)
//
// --------------------------------------------------------------------
#ifndef __G4TWISTEDBOX__
#define __G4TWISTEDBOX__
#include "G4VTwistedFaceted.hh"
class G4TwistedBox : public G4VTwistedFaceted
{
public: // with description
G4TwistedBox(const G4String& pName,
G4double pPhiTwist,
G4double pDx,
G4double pDy,
G4double pDz );
virtual ~G4TwistedBox();
// accessors
inline G4double GetXHalfLength() const { return GetDx1() ; }
inline G4double GetYHalfLength() const { return GetDy1() ; }
inline G4double GetZHalfLength() const { return GetDz() ; }
inline G4double GetPhiTwist() const { return GetTwistAngle() ; }
G4GeometryType GetEntityType() const;
std::ostream& StreamInfo(std::ostream& os) const;
public: // without description
G4TwistedBox(__void__&);
// Fake default constructor for usage restricted to direct object
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
};
#endif
| [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
a336bc11a0b65c24114e281bd02f26495bfac521 | f177029dec544beee0d335fb39e091eb2c604a95 | /src/WaitCursor.h | 92bda1ff4e3e3359170924308555be355af9f723 | [
"MIT"
] | permissive | petterh/textedit | f2b90702a269c54ddc245b3587cda4559c409a22 | df59502fa5309834b2d2452af609ba6fb1dc97c2 | refs/heads/master | 2022-06-12T11:04:35.784031 | 2021-12-23T16:34:18 | 2021-12-23T16:34:18 | 109,372,581 | 6 | 1 | MIT | 2021-12-23T16:34:19 | 2017-11-03T08:43:19 | C++ | UTF-8 | C++ | false | false | 1,153 | h | /*
* $Header: /Book/WaitCursor.h 6 28.11.99 22:18 Oslph312 $
*
* The WaitCursor class displays hourglass cursors during lengthy
* operations. It uses named alternatives to the standard wait
* cursors if they are available, e.g. for printing.
*
* The WaitCursor class has become more advanced since the text of
* PISW went to print. Instead of displaying the wait cursor right
* away, it starts a thread that waits a bit. This avoids a quick
* wait-cursor flicker in the operation turns out not to be so
* time-consuming after all.
* TODO: Make one MT, one ST version.
*/
#pragma once
class WaitCursor {
private:
int _nTimeIn;
HANDLE _hThread;
HANDLE _hEvent;
DWORD _dwParentThreadId;
HCURSOR _hcur;
bool _isFromFile;
void _attachThreadInput( bool bAttach ) const;
void _finishThread( void );
void _restore( void ) const;
HCURSOR _loadCursor( LPCTSTR pszName );
void _threadFunc( void ) const;
static DWORD WINAPI _threadFunc( void *pData );
public:
WaitCursor( LPCTSTR pszName = 0, int nTimeIn = 150 ); // ms
~WaitCursor() throw();
void restore( void );
};
// end of file
| [
"petter.hesselberg@autostoresystem.com"
] | petter.hesselberg@autostoresystem.com |
0c293c1addccbec85e636ef7652ea3107f342c3f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5644738749267968_1/C++/ntq/d.cpp | 08f3fe95e793e0e6b91b708cbb6fd5904c855a9a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <iomanip>
using namespace std;
int main(){
int T; cin >> T;
for(int t=0; t<T; t++){
cout << "Case #" << t+1 << ": ";
int N; cin >> N;
set<double> masses_naomi;
set<double> masses_ken;
for(int n=0; n<N; n++){
double mass;
cin >> mass;
masses_naomi.insert(mass);
}
for(int n=0; n<N; n++){
double mass;
cin >> mass;
masses_ken.insert(mass);
}
int points_war = 0;
int points_deceitful_war = 0;
set<double> masses_naomi_orig(masses_naomi);
set<double> masses_ken_orig(masses_ken);
//play normal war
while(masses_naomi.size() > 0){
double max_naomi = *masses_naomi.rbegin();
masses_naomi.erase(max_naomi);
set<double>::iterator upper =
masses_ken.upper_bound(max_naomi);
if(upper != masses_ken.end()){
masses_ken.erase(upper);
} else {
points_war ++;
masses_ken.erase(masses_ken.begin());
}
}
//play deceitful war
masses_naomi = masses_naomi_orig;
masses_ken = masses_ken_orig;
while(masses_naomi.size() > 0){
double min_ken = *masses_ken.begin();
set<double>::iterator upper =
masses_naomi.upper_bound(min_ken);
if(upper != masses_naomi.end()){
masses_ken.erase(min_ken);
masses_naomi.erase(upper);
points_deceitful_war++;
} else {
double min_naomi = *masses_naomi.begin();
masses_naomi.erase(min_naomi);
masses_ken.erase(--masses_ken.end());
}
}
cout << points_deceitful_war << " " << points_war << endl;
}
return 0;
}
| [
"eewestman@gmail.com"
] | eewestman@gmail.com |
744eb1ecd648ddba5e0891c404aa2bddcc0afe24 | e5aedd0a2c72cd09963853075830cf5724694940 | /s13/Poller.cc | e91820a8a72036024e45c03cc02152f7158ab2e7 | [] | no_license | mzahng160/muduoLearning | bea3bfbbcfb8329063fac788ceb8c6e7042b3952 | 257ea60c15ecbc4ea6bc901879daf7745eabc7d4 | refs/heads/master | 2020-06-23T14:03:17.174499 | 2020-02-01T07:33:37 | 2020-02-01T07:33:37 | 198,643,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,229 | cc | #include "Poller.h"
#include "Channel.h"
#include "logging/Logging.h"
#include <poll.h>
#include <assert.h>
#include <stdio.h>
using namespace muduo;
Poller::Poller(EventLoop* loop)
: ownerLoop_(loop)
{
}
Poller::~Poller()
{
}
Timestamp Poller::poll(int timeoutMs, ChannelList* activeChannels)
{
int numEvents = ::poll(&*pollfds_.begin(), pollfds_.size(), timeoutMs);
Timestamp now(Timestamp::now());
if(numEvents > 0)
{
LOG_TRACE << numEvents << " events happend";
fillActiveChannels(numEvents, activeChannels);
}
else if(numEvents == 0)
{
LOG_TRACE << "nothing happend";
}
else
{
LOG_SYSERR << " Poller::poll()";
}
return now;
}
void Poller::fillActiveChannels(int numEvents, ChannelList* activeChannels) const
{
for(PollFdList::const_iterator pfd = pollfds_.begin();
pfd != pollfds_.end() && numEvents > 0; ++pfd)
{
if(pfd->revents > 0)
{
--numEvents;
ChannelMap::const_iterator ch = channels_.find(pfd->fd);
assert(ch != channels_.end());
Channel* channel = ch->second;
assert(channel->fd() == pfd->fd);
channel->set_revents(pfd->revents);
activeChannels->push_back(channel);
}
}
}
void Poller::updateChannel(Channel* channel)
{
assertInLoopThread();
LOG_TRACE << "fd = " << channel->fd() << " events = " << channel->events();
printf("updateChannel fd %d\n", channel->fd());
if(channel->index() < 0)
{
//add new fd to polldfds_;
assert(channels_.find(channel->fd()) == channels_.end());
struct pollfd pfd;
pfd.fd = channel->fd();
pfd.events = static_cast<short>(channel->events());
pfd.revents = 0;
pollfds_.push_back(pfd);
int index = static_cast<int>(pollfds_.size()) - 1;
channel->set_index(index);
channels_[pfd.fd] = channel;
}
else
{
assert(channels_.find(channel->fd()) != channels_.end());
assert(channels_[channel->fd()] == channel);
int idx = channel->index();
assert(0 <= idx && idx < static_cast<int>(pollfds_.size()));
struct pollfd& pfd = pollfds_[idx];
assert(pfd.fd == channel->fd() || pfd.fd == -channel->fd()-1);
pfd.events = static_cast<short>(channel->events());
pfd.revents = 0;
printf("add new channel %d\n", idx);
if(channel->isNoneEvent())
{
pfd.fd = -channel->fd() - 1;
}
}
}
void Poller::removeChannel(Channel* channel)
{
assertInLoopThread();
LOG_TRACE << "fd = " << channel->fd();
assert(channels_.find(channel->fd()) != channels_.end());
assert(channels_[channel->fd()] == channel);
assert(channel->isNoneEvent());
int idx = channel->index();
assert(0 <= idx && idx < static_cast<int> (pollfds_.size()));
const struct pollfd& pfd = pollfds_[idx];(void)pfd;
assert(pfd.fd == -channel->fd()-1 && pfd.events == channel->events());
ssize_t n = channels_.erase(channel->fd());
assert(n == 1); (void) n;
if(implicit_cast<size_t>(idx) == pollfds_.size() - 1){
pollfds_.pop_back();
}else{
int channelEndFd = pollfds_.back().fd;
iter_swap(pollfds_.begin()+idx, pollfds_.end()-1);
if(channelEndFd < 0)
channelEndFd = -channelEndFd - 1;
channels_[channelEndFd]->set_index(idx);
pollfds_.pop_back();
}
} | [
"mzhang160@163.com"
] | mzhang160@163.com |
5e3e73a3e62c1bb7b30bc4e6e878ec140c2a2ce8 | 572524ff9bb0ca3a8db5f1f50a6aa8b21da9fb44 | /RFID-Network-Build-master/tests/Power consumption tests/RF24MeshPowerUse/RF24MeshPowerUse.ino | c292a7c5c0c604291c757c01eec09b31b9cb2a73 | [
"MIT"
] | permissive | sand0636/RFID | 5d00c40c3a8eb7af0147ebcaaf5f0986dc91cb10 | e0ce5ac6c619021312a39295734e9d1a1220f3c6 | refs/heads/master | 2020-05-15T14:14:01.537935 | 2019-05-10T17:36:57 | 2019-05-10T17:36:57 | 182,327,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | ino |
/*
* Code to test the actual data rate and number of packets dropped using the RF24Mesh. This is largely taken from the transfer example for the RF24 library
* Ben Duggan
* 9/16/18
*/
#include "RF24.h"
#include "RF24Network.h"
#include "RF24Mesh.h"
#include "printf.h"
#include <SPI.h>
/*** Variables to change ***/
#define cs 8 //Pin connected to the ce (chip enable)
#define csn 9 //Pin connected to the cs (chip select)
uint8_t channel = 10; //Channel the radios are using 0-124
#define thisID 0 //This nodes ID 0 for master(giving data rate) 1-127 for other
uint8_t powerLevel = RF24_PA_MIN; //Power level of this node (RF24_PA_MIN, RF24_PA_LOW, RF24_PA_HIGH, or RF24_PA_MAX)
rf24_datarate_e dataRate = RF24_250KBPS; //Data rate of this node (RF24_250KBPS, RF24_1MBPS or RF24_2MBPS)
#define ledPin LED_BUILTIN //What pin is the led connected to
//#define Serial SerialUSB // Uncomment this line if you are testing with a SAMD based board
/*** ***/
RF24 radio(cs, csn);
RF24Network network(radio);
RF24Mesh mesh(radio, network);
void setup() {
Serial.begin(9600);
printf_begin();
Serial.println("Begin: This may take a minute if you just changed the settings...");
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, HIGH);
delay(500);
digitalWrite(ledPin, LOW);
mesh.setNodeID(thisID);
mesh.begin(channel, dataRate); //Start mesh using this channel and data rate
radio.setPALevel(powerLevel); //Set the PA level of the radio
radio.printDetails(); //Prints all the details of the radio. Usefull to double check that you set things correctly
for(int i=0; i<5; i++) {
digitalWrite(ledPin, HIGH);
delay(100);
digitalWrite(ledPin, LOW);
}
Serial.println("Starting main loop...");
delay(3000);
radio.powerDown();
delay(5000);
//radio.powerUp();
}
void loop() {
mesh.update();
if(thisID == 0) {
mesh.DHCP();
}
}
| [
"36897076+sand0636@users.noreply.github.com"
] | 36897076+sand0636@users.noreply.github.com |
193e559fea2504e2ecec5f086b60eb5daf0f1017 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_919_httpd-2.2.27.cpp | 2efec04886491a45dafe5f88e1f5be4cb8dc5b97 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,899 | cpp | static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
{
int rv = !OK;
request_rec *r = f->r;
cache_request_rec *cache;
cache_server_conf *conf;
const char *cc_out, *cl;
const char *exps, *lastmods, *dates, *etag;
apr_time_t exp, date, lastmod, now;
apr_off_t size;
cache_info *info = NULL;
char *reason;
apr_pool_t *p;
apr_bucket *e;
conf = (cache_server_conf *) ap_get_module_config(r->server->module_config,
&cache_module);
/* Setup cache_request_rec */
cache = (cache_request_rec *) ap_get_module_config(r->request_config,
&cache_module);
if (!cache) {
/* user likely configured CACHE_SAVE manually; they should really use
* mod_cache configuration to do that
*/
cache = apr_pcalloc(r->pool, sizeof(cache_request_rec));
ap_set_module_config(r->request_config, &cache_module, cache);
}
reason = NULL;
p = r->pool;
/*
* Pass Data to Cache
* ------------------
* This section passes the brigades into the cache modules, but only
* if the setup section (see below) is complete.
*/
if (cache->block_response) {
/* We've already sent down the response and EOS. So, ignore
* whatever comes now.
*/
return APR_SUCCESS;
}
/* have we already run the cachability check and set up the
* cached file handle?
*/
if (cache->in_checked) {
/* pass the brigades into the cache, then pass them
* up the filter stack
*/
rv = cache->provider->store_body(cache->handle, r, in);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
"cache: Cache provider's store_body failed!");
ap_remove_output_filter(f);
/* give someone else the chance to cache the file */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
}
else {
/* proactively remove the lock as soon as we see the eos bucket */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, in);
}
return ap_pass_brigade(f->next, in);
}
/*
* Setup Data in Cache
* -------------------
* This section opens the cache entity and sets various caching
* parameters, and decides whether this URL should be cached at
* all. This section is* run before the above section.
*/
/* read expiry date; if a bad date, then leave it so the client can
* read it
*/
exps = apr_table_get(r->err_headers_out, "Expires");
if (exps == NULL) {
exps = apr_table_get(r->headers_out, "Expires");
}
if (exps != NULL) {
if (APR_DATE_BAD == (exp = apr_date_parse_http(exps))) {
exps = NULL;
}
}
else {
exp = APR_DATE_BAD;
}
/* read the last-modified date; if the date is bad, then delete it */
lastmods = apr_table_get(r->err_headers_out, "Last-Modified");
if (lastmods == NULL) {
lastmods = apr_table_get(r->headers_out, "Last-Modified");
}
if (lastmods != NULL) {
lastmod = apr_date_parse_http(lastmods);
if (lastmod == APR_DATE_BAD) {
lastmods = NULL;
}
}
else {
lastmod = APR_DATE_BAD;
}
/* read the etag and cache-control from the entity */
etag = apr_table_get(r->err_headers_out, "Etag");
if (etag == NULL) {
etag = apr_table_get(r->headers_out, "Etag");
}
cc_out = apr_table_get(r->err_headers_out, "Cache-Control");
if (cc_out == NULL) {
cc_out = apr_table_get(r->headers_out, "Cache-Control");
}
/*
* what responses should we not cache?
*
* At this point we decide based on the response headers whether it
* is appropriate _NOT_ to cache the data from the server. There are
* a whole lot of conditions that prevent us from caching this data.
* They are tested here one by one to be clear and unambiguous.
*/
if (r->status != HTTP_OK && r->status != HTTP_NON_AUTHORITATIVE
&& r->status != HTTP_PARTIAL_CONTENT
&& r->status != HTTP_MULTIPLE_CHOICES
&& r->status != HTTP_MOVED_PERMANENTLY
&& r->status != HTTP_NOT_MODIFIED) {
/* RFC2616 13.4 we are allowed to cache 200, 203, 206, 300, 301 or 410
* We allow the caching of 206, but a cache implementation might choose
* to decline to cache a 206 if it doesn't know how to.
* We include 304 Not Modified here too as this is the origin server
* telling us to serve the cached copy.
*/
if (exps != NULL || cc_out != NULL) {
/* We are also allowed to cache any response given that it has a
* valid Expires or Cache Control header. If we find a either of
* those here, we pass request through the rest of the tests. From
* the RFC:
*
* A response received with any other status code (e.g. status
* codes 302 and 307) MUST NOT be returned in a reply to a
* subsequent request unless there are cache-control directives or
* another header(s) that explicitly allow it. For example, these
* include the following: an Expires header (section 14.21); a
* "max-age", "s-maxage", "must-revalidate", "proxy-revalidate",
* "public" or "private" cache-control directive (section 14.9).
*/
}
else {
reason = apr_psprintf(p, "Response status %d", r->status);
}
}
if (reason) {
/* noop */
}
else if (exps != NULL && exp == APR_DATE_BAD) {
/* if a broken Expires header is present, don't cache it */
reason = apr_pstrcat(p, "Broken expires header: ", exps, NULL);
}
else if (exp != APR_DATE_BAD && exp < r->request_time)
{
/* if a Expires header is in the past, don't cache it */
reason = "Expires header already expired, not cacheable";
}
else if (!conf->ignorequerystring && r->parsed_uri.query && exps == NULL &&
!ap_cache_liststr(NULL, cc_out, "max-age", NULL) &&
!ap_cache_liststr(NULL, cc_out, "s-maxage", NULL)) {
/* if a query string is present but no explicit expiration time,
* don't cache it (RFC 2616/13.9 & 13.2.1)
*/
reason = "Query string present but no explicit expiration time";
}
else if (r->status == HTTP_NOT_MODIFIED &&
!cache->handle && !cache->stale_handle) {
/* if the server said 304 Not Modified but we have no cache
* file - pass this untouched to the user agent, it's not for us.
*/
reason = "HTTP Status 304 Not Modified";
}
else if (r->status == HTTP_OK && lastmods == NULL && etag == NULL
&& (exps == NULL) && (conf->no_last_mod_ignore ==0) &&
!ap_cache_liststr(NULL, cc_out, "max-age", NULL) &&
!ap_cache_liststr(NULL, cc_out, "s-maxage", NULL)) {
/* 200 OK response from HTTP/1.0 and up without Last-Modified,
* Etag, Expires, Cache-Control:max-age, or Cache-Control:s-maxage
* headers.
*/
/* Note: mod-include clears last_modified/expires/etags - this
* is why we have an optional function for a key-gen ;-)
*/
reason = "No Last-Modified, Etag, Expires, Cache-Control:max-age or Cache-Control:s-maxage headers";
}
else if (r->header_only && !cache->stale_handle) {
/* Forbid HEAD requests unless we have it cached already */
reason = "HTTP HEAD request";
}
else if (!conf->store_nostore &&
ap_cache_liststr(NULL, cc_out, "no-store", NULL)) {
/* RFC2616 14.9.2 Cache-Control: no-store response
* indicating do not cache, or stop now if you are
* trying to cache it.
*/
/* FIXME: The Cache-Control: no-store could have come in on a 304,
* FIXME: while the original request wasn't conditional. IOW, we
* FIXME: made the the request conditional earlier to revalidate
* FIXME: our cached response.
*/
reason = "Cache-Control: no-store present";
}
else if (!conf->store_private &&
ap_cache_liststr(NULL, cc_out, "private", NULL)) {
/* RFC2616 14.9.1 Cache-Control: private response
* this object is marked for this user's eyes only. Behave
* as a tunnel.
*/
/* FIXME: See above (no-store) */
reason = "Cache-Control: private present";
}
else if (apr_table_get(r->headers_in, "Authorization") != NULL
&& !(ap_cache_liststr(NULL, cc_out, "s-maxage", NULL)
|| ap_cache_liststr(NULL, cc_out, "must-revalidate", NULL)
|| ap_cache_liststr(NULL, cc_out, "public", NULL))) {
/* RFC2616 14.8 Authorisation:
* if authorisation is included in the request, we don't cache,
* but we can cache if the following exceptions are true:
* 1) If Cache-Control: s-maxage is included
* 2) If Cache-Control: must-revalidate is included
* 3) If Cache-Control: public is included
*/
reason = "Authorization required";
}
else if (ap_cache_liststr(NULL,
apr_table_get(r->headers_out, "Vary"),
"*", NULL)) {
reason = "Vary header contains '*'";
}
else if (apr_table_get(r->subprocess_env, "no-cache") != NULL) {
reason = "environment variable 'no-cache' is set";
}
else if (r->no_cache) {
/* or we've been asked not to cache it above */
reason = "r->no_cache present";
}
/* Hold the phone. Some servers might allow us to cache a 2xx, but
* then make their 304 responses non cacheable. This leaves us in a
* sticky position. If the 304 is in answer to our own conditional
* request, we cannot send this 304 back to the client because the
* client isn't expecting it. Instead, our only option is to respect
* the answer to the question we asked (has it changed, answer was
* no) and return the cached item to the client, and then respect
* the uncacheable nature of this 304 by allowing the remove_url
* filter to kick in and remove the cached entity.
*/
if (reason && r->status == HTTP_NOT_MODIFIED &&
cache->stale_handle) {
apr_bucket_brigade *bb;
apr_bucket *bkt;
int status;
cache->handle = cache->stale_handle;
info = &cache->handle->cache_obj->info;
/* Load in the saved status and clear the status line. */
r->status = info->status;
r->status_line = NULL;
bb = apr_brigade_create(r->pool, r->connection->bucket_alloc);
r->headers_in = cache->stale_headers;
status = ap_meets_conditions(r);
if (status != OK) {
r->status = status;
bkt = apr_bucket_flush_create(bb->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(bb, bkt);
}
else {
cache->provider->recall_body(cache->handle, r->pool, bb);
}
cache->block_response = 1;
/* let someone else attempt to cache */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
return ap_pass_brigade(f->next, bb);
}
if (reason) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"cache: %s not cached. Reason: %s", r->unparsed_uri,
reason);
/* remove this filter from the chain */
ap_remove_output_filter(f);
/* remove the lock file unconditionally */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
/* ship the data up the stack */
return ap_pass_brigade(f->next, in);
}
/* Make it so that we don't execute this path again. */
cache->in_checked = 1;
/* Set the content length if known.
*/
cl = apr_table_get(r->err_headers_out, "Content-Length");
if (cl == NULL) {
cl = apr_table_get(r->headers_out, "Content-Length");
}
if (cl) {
char *errp;
if (apr_strtoff(&size, cl, &errp, 10) || *errp || size < 0) {
cl = NULL; /* parse error, see next 'if' block */
}
}
if (!cl) {
/* if we don't get the content-length, see if we have all the
* buckets and use their length to calculate the size
*/
int all_buckets_here=0;
int unresolved_length = 0;
size=0;
for (e = APR_BRIGADE_FIRST(in);
e != APR_BRIGADE_SENTINEL(in);
e = APR_BUCKET_NEXT(e))
{
if (APR_BUCKET_IS_EOS(e)) {
all_buckets_here=1;
break;
}
if (APR_BUCKET_IS_FLUSH(e)) {
unresolved_length = 1;
continue;
}
if (e->length == (apr_size_t)-1) {
break;
}
size += e->length;
}
if (!all_buckets_here) {
size = -1;
}
}
/* It's safe to cache the response.
*
* There are two possiblities at this point:
* - cache->handle == NULL. In this case there is no previously
* cached entity anywhere on the system. We must create a brand
* new entity and store the response in it.
* - cache->stale_handle != NULL. In this case there is a stale
* entity in the system which needs to be replaced by new
* content (unless the result was 304 Not Modified, which means
* the cached entity is actually fresh, and we should update
* the headers).
*/
/* Did we have a stale cache entry that really is stale?
*
* Note that for HEAD requests, we won't get the body, so for a stale
* HEAD request, we don't remove the entity - instead we let the
* CACHE_REMOVE_URL filter remove the stale item from the cache.
*/
if (cache->stale_handle) {
if (r->status == HTTP_NOT_MODIFIED) {
/* Oh, hey. It isn't that stale! Yay! */
cache->handle = cache->stale_handle;
info = &cache->handle->cache_obj->info;
rv = OK;
}
else if (!r->header_only) {
/* Oh, well. Toss it. */
cache->provider->remove_entity(cache->stale_handle);
/* Treat the request as if it wasn't conditional. */
cache->stale_handle = NULL;
/*
* Restore the original request headers as they may be needed
* by further output filters like the byterange filter to make
* the correct decisions.
*/
r->headers_in = cache->stale_headers;
}
}
/* no cache handle, create a new entity only for non-HEAD requests */
if (!cache->handle && !r->header_only) {
rv = cache_create_entity(r, size);
info = apr_pcalloc(r->pool, sizeof(cache_info));
/* We only set info->status upon the initial creation. */
info->status = r->status;
}
if (rv != OK) {
/* Caching layer declined the opportunity to cache the response */
ap_remove_output_filter(f);
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
return ap_pass_brigade(f->next, in);
}
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"cache: Caching url: %s", r->unparsed_uri);
/* We are actually caching this response. So it does not
* make sense to remove this entity any more.
*/
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"cache: Removing CACHE_REMOVE_URL filter.");
ap_remove_output_filter(cache->remove_url_filter);
/*
* We now want to update the cache file header information with
* the new date, last modified, expire and content length and write
* it away to our cache file. First, we determine these values from
* the response, using heuristics if appropriate.
*
* In addition, we make HTTP/1.1 age calculations and write them away
* too.
*/
/* Read the date. Generate one if one is not supplied */
dates = apr_table_get(r->err_headers_out, "Date");
if (dates == NULL) {
dates = apr_table_get(r->headers_out, "Date");
}
if (dates != NULL) {
info->date = apr_date_parse_http(dates);
}
else {
info->date = APR_DATE_BAD;
}
now = apr_time_now();
if (info->date == APR_DATE_BAD) { /* No, or bad date */
/* no date header (or bad header)! */
info->date = now;
}
date = info->date;
/* set response_time for HTTP/1.1 age calculations */
info->response_time = now;
/* get the request time */
info->request_time = r->request_time;
/* check last-modified date */
if (lastmod != APR_DATE_BAD && lastmod > date) {
/* if it's in the future, then replace by date */
lastmod = date;
lastmods = dates;
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0,
r->server,
"cache: Last modified is in the future, "
"replacing with now");
}
/* if no expiry date then
* if Cache-Control: max-age present
* expiry date = date + max-age
* else if lastmod
* expiry date = date + min((date - lastmod) * factor, maxexpire)
* else
* expire date = date + defaultexpire
*/
if (exp == APR_DATE_BAD) {
char *max_age_val;
if (ap_cache_liststr(r->pool, cc_out, "max-age", &max_age_val) &&
max_age_val != NULL) {
apr_int64_t x;
errno = 0;
x = apr_atoi64(max_age_val);
if (errno) {
x = conf->defex;
}
else {
x = x * MSEC_ONE_SEC;
}
if (x > conf->maxex) {
x = conf->maxex;
}
exp = date + x;
}
else if ((lastmod != APR_DATE_BAD) && (lastmod < date)) {
/* if lastmod == date then you get 0*conf->factor which results in
* an expiration time of now. This causes some problems with
* freshness calculations, so we choose the else path...
*/
apr_time_t x = (apr_time_t) ((date - lastmod) * conf->factor);
if (x > conf->maxex) {
x = conf->maxex;
}
exp = date + x;
}
else {
exp = date + conf->defex;
}
}
info->expire = exp;
/* We found a stale entry which wasn't really stale. */
if (cache->stale_handle) {
/* Load in the saved status and clear the status line. */
r->status = info->status;
r->status_line = NULL;
/* RFC 2616 10.3.5 states that entity headers are not supposed
* to be in the 304 response. Therefore, we need to combine the
* response headers with the cached headers *before* we update
* the cached headers.
*
* However, before doing that, we need to first merge in
* err_headers_out and we also need to strip any hop-by-hop
* headers that might have snuck in.
*/
r->headers_out = apr_table_overlay(r->pool, r->headers_out,
r->err_headers_out);
r->headers_out = ap_cache_cacheable_hdrs_out(r->pool, r->headers_out,
r->server);
apr_table_clear(r->err_headers_out);
/* Merge in our cached headers. However, keep any updated values. */
ap_cache_accept_headers(cache->handle, r, 1);
}
/* Write away header information to cache. It is possible that we are
* trying to update headers for an entity which has already been cached.
*
* This may fail, due to an unwritable cache area. E.g. filesystem full,
* permissions problems or a read-only (re)mount. This must be handled
* later.
*/
rv = cache->provider->store_headers(cache->handle, r, info);
/* Did we just update the cached headers on a revalidated response?
*
* If so, we can now decide what to serve to the client. This is done in
* the same way as with a regular response, but conditions are now checked
* against the cached or merged response headers.
*/
if (cache->stale_handle) {
apr_bucket_brigade *bb;
apr_bucket *bkt;
int status;
bb = apr_brigade_create(r->pool, r->connection->bucket_alloc);
/* Restore the original request headers and see if we need to
* return anything else than the cached response (ie. the original
* request was conditional).
*/
r->headers_in = cache->stale_headers;
status = ap_meets_conditions(r);
if (status != OK) {
r->status = status;
bkt = apr_bucket_flush_create(bb->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(bb, bkt);
}
else {
cache->provider->recall_body(cache->handle, r->pool, bb);
}
cache->block_response = 1;
/* Before returning we need to handle the possible case of an
* unwritable cache. Rather than leaving the entity in the cache
* and having it constantly re-validated, now that we have recalled
* the body it is safe to try and remove the url from the cache.
*/
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
"cache: updating headers with store_headers failed. "
"Removing cached url.");
rv = cache->provider->remove_url(cache->stale_handle, r->pool);
if (rv != OK) {
/* Probably a mod_disk_cache cache area has been (re)mounted
* read-only, or that there is a permissions problem.
*/
ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
"cache: attempt to remove url from cache unsuccessful.");
}
}
/* let someone else attempt to cache */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
return ap_pass_brigade(f->next, bb);
}
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
"cache: store_headers failed");
ap_remove_output_filter(f);
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
return ap_pass_brigade(f->next, in);
}
rv = cache->provider->store_body(cache->handle, r, in);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
"cache: store_body failed");
ap_remove_output_filter(f);
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, NULL);
return ap_pass_brigade(f->next, in);
}
/* proactively remove the lock as soon as we see the eos bucket */
ap_cache_remove_lock(conf, r, cache->handle ?
(char *)cache->handle->cache_obj->key : NULL, in);
return ap_pass_brigade(f->next, in);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
00570f90b3bf30dfe0bd6fec20c9623c912dacaf | d0ff2c67da042ebfe6b0cd3f7fbbfdd24999e0c4 | /specFW2/cmdgl.cpp | 560f5884e80c4358b367263f14ae667cab02c344 | [] | no_license | Pkijoe/specFW2 | ed8e0b9a595faf57dfc345c4647196494fffd257 | 053a8c32ea481fc23a523e1249c55a574f808e2f | refs/heads/master | 2020-04-07T00:03:15.362800 | 2018-11-15T18:45:17 | 2018-11-15T18:45:17 | 157,889,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,497 | cpp | //===========================================================================
//
// Module Name: cmdGL.cpp
//
// Function: This routine returns the current state of the six Motor Lookers.
//
// Original Author: T Frazzini
//
// Copyright (c) 2005, PerkinElmer, LAS. All rights reserved.
//
//===========================================================================
#include "StdAfx.h"
#include "ParserThread.h"
unsigned int CParserThread::cmdGL()
{
WORD status(NO_ERRORS);
WORD SVstatus, SVstatus2;
char cStatus;
strcpy(m_nDataOutBuf, "GL00xxxxxxxxxxxx");
SVstatus = m_IO.InputW(SVSTAT_CS);
SVstatus2 = m_IO.InputW(STATUS_REG2);
cStatus = ASCII0;
if (SVstatus & SLIT_HOME)
cStatus += 1;
m_nDataOutBuf[4] = cStatus;
cStatus = ASCII0;
if (SVstatus & SLIT_LIMIT)
cStatus += 1;
m_nDataOutBuf[5] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWX_HOME_AXIAL)
cStatus += 1;
m_nDataOutBuf[6] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWX_LIMIT_AXIAL)
cStatus += 1;
m_nDataOutBuf[7] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWY_HOME_AXIAL)
cStatus += 1;
m_nDataOutBuf[8] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWY_LIMIT_AXIAL)
cStatus += 1;
m_nDataOutBuf[9] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWX_HOME_RADIAL)
cStatus += 1;
m_nDataOutBuf[10] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWX_LIMIT_RADIAL)
cStatus += 1;
m_nDataOutBuf[11] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWY_HOME_RADIAL)
cStatus += 1;
m_nDataOutBuf[12] = cStatus;
cStatus = ASCII0;
if (SVstatus & VIEWY_LIMIT_RADIAL)
cStatus += 1;
m_nDataOutBuf[13] = cStatus;
cStatus = ASCII0; // CBF-149 - Toroid looker status.
if (SVstatus2 & TOROID_MOTOR_HOME)
cStatus += 1;
m_nDataOutBuf[14] = cStatus;
cStatus = ASCII0; // CBF-26 - this was missing...
if (SVstatus2 & SHUTTER_MOTOR_HOME)
cStatus += 1;
m_nDataOutBuf[15] = cStatus;
return status;
}
//===========================================================================
/*** Revision History ***
12/15/15 JO Initial additions and changes for Century B.
07/28/16 JO CBF-26 - Removed unused toroid commands and references.
02/02/17 JO CBF-149 - Add toroid home sensor status bit.
$Log: /WinLab/SpecFW/cmdgl.cpp $
*
* 1 3/17/05 11:15 Frazzitl
* Initial version of Optima Spectrometer firmware using the Icarus board,
* TcpIp, and the new Sarnoff detector.
$NoKeywords: $
** End of Rev History **/
| [
"joseph.orlando@perkinelmer.com"
] | joseph.orlando@perkinelmer.com |
2c8ca0b792d3d0813f02275b58c414dca6ebfcfd | ca3f7ef9f6e6c1a2e8c1cb2117df4e389b8d7b06 | /Testing/Interpolation/otbGridIntersectionPointSetSourceTest.cxx | 8327ce7dddbc08cd7a9eeec5d4e8d27cac556f63 | [] | no_license | echristophe/otb-insar | 91d3e10279485df4032f2e020f046f1f5b9ea211 | 040e0715872366dee4b499964fade2044be3318b | refs/heads/master | 2021-01-22T17:57:58.447697 | 2012-04-21T17:28:45 | 2012-04-21T17:28:45 | 31,623,890 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | cxx | /*=========================================================================
Copyright 2011 Patrick IMBO
Contributed to ORFEO Toolbox under license Apache 2
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 "otbGridIntersectionPointSetSource.h"
#include "itkPointSet.h"
int otbGridIntersectionPointSetSourceTest(int, char*[])
{
typedef double PixelType;
typedef itk::PointSet<PixelType, 2> PointSetType;
typedef otb::GridIntersectionPointSetSource<PointSetType> PointSetSourceType;
typedef PointSetType::PointsContainer PointsContainerType;
PointSetSourceType::Pointer pointSet = PointSetSourceType::New();
// pointSet->SetNumberOfPoints(10);
PointSetType::PointType minPoint, maxPoint;
minPoint[0] = 10;
minPoint[1] = 20;
pointSet->SetMinPoint(minPoint);
maxPoint[0] = 20;
maxPoint[1] = 30;
pointSet->SetMaxPoint(maxPoint);
pointSet->SetNumberOfPoints(5);
pointSet->Update();
// Get the the point container
PointSetSourceType::PointsContainerPointer
points = pointSet->GetOutput()->GetPoints();
PointsContainerType::ConstIterator it = points->Begin();
while (it != points->End())
{
PointSetType::PointType p = it.Value();
std::cout.width(5); std::cout << p[0] << ", ";
std::cout.width(5); std::cout << p[1] << std::endl;
++it;
}
// All objects should be automatically destroyed at this point
return EXIT_SUCCESS;
}
| [
"emmanuel.christophe@orfeo-toolbox.org"
] | emmanuel.christophe@orfeo-toolbox.org |
4cb14724b7d0be23225f0e3663913b2216ebab66 | 7043d715bb3f1563db02d09fea5d93106b899ac2 | /wensn/wensn.cpp | ed574d453049542522e1c87c1b096188b8528ed3 | [] | no_license | wymdrose/MYDLL | 2789fcb1fc388d6999bf56ba95552aa40321ea3d | 9132c7d026d6a42ea0af12c10b92a0e8d2c00ddc | refs/heads/master | 2021-07-13T05:35:09.145553 | 2020-08-23T03:12:22 | 2020-08-23T03:12:22 | 194,650,933 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp | #include "../../lib/wensn.h"
#include "../../lib/communicateLib.h"
#pragma comment(lib, "CommunicateLib.lib")
using namespace InstrumentApi;
std::shared_ptr<CommunicateDrose::CommunicateInterface> mpCommunicate;
wensn::wensn()
{
}
wensn::~wensn()
{
}
Wst60m485::Wst60m485(unsigned int portNo, int baudRate){
mpCommunicate = static_cast<std::shared_ptr<CommunicateDrose::CommunicateInterface>>
(std::make_shared<CommunicateDrose::ComPortOne>(portNo, baudRate, 10, 3000));
}
bool Wst60m485::init(){
if (mpCommunicate->init() == false){
return false;
}
return true;
}
int Wst60m485::getVoice(){
unsigned short voice;
QByteArray tSend;
//0A 04 00 00 00 03 B1 70
tSend.resize(8);
tSend[0] = 0x0A;
tSend[1] = 0x04;
tSend[2] = 0x00;
tSend[3] = 0x00;
tSend[4] = 0x00;
tSend[5] = 0x03;
tSend[6] = 0xB1;
tSend[7] = 0x70;
QByteArray tRecv;
mpCommunicate->communicate(tSend, tRecv);
unsigned char tArray[2];
tArray[0] = tRecv[6];
tArray[1] = tRecv[5];
memcpy(&voice, tArray, 2);
return voice;
}
int Wst60m485::getVoices()
{
QVector<int> vVoices;
for (size_t i = 0; i < 5; i++)
{
int voice = getVoice();
if (voice)
{
vVoices.push_back(voice);
}
}
int voicesum(0);
for (size_t i = 0; i < vVoices.length(); i++)
{
voicesum += vVoices[i];
}
return voicesum / vVoices.length();
}
int Wst60m485::getVoiceMax()
{
int max(0);
for (size_t i = 0; i < 10; i++)
{
int voice = getVoice();
if (voice > max)
{
max = voice;
}
_sleep(300);
}
return max;
} | [
"38951259+wymdrose@users.noreply.github.com"
] | 38951259+wymdrose@users.noreply.github.com |
b9c9e6215e6ca5db565017cd07e3bd64056d6018 | 9247cc17fbcf5ce96960e1b180d463339f45378d | /.Kattis/budget/budget/budget.cpp | 1da04bc7a6aecb3084312d6aec6f6e2de6a3e79f | [
"MIT"
] | permissive | sxweetlollipop2912/MaCode | dbc63da9400e729ce1fb8fdabe18508047d810ef | b8da22d6d9dc4bf82ca016896bf64497ac95febc | refs/heads/master | 2022-07-28T03:42:14.703506 | 2021-12-16T15:44:04 | 2021-12-16T15:44:04 | 294,735,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | cpp | #include <cstdio>
#include <iostream>
#include <queue>
#include <algorithm>
#include <cstring>
#define maxR 201
#define maxC 21
#define maxN 223
#define INF 19999999999999999
#define N (ROW + COL + 2)
#define st 0
#define en (N - 1)
#define getR(x) (x)
#define getC(x) ((x) + ROW)
typedef int maxn;
typedef long long maxa;
maxn ROW, COL, trace[maxN];
maxa C[maxN][maxN], f[maxN][maxN], add[maxN][maxN];
void Set(const maxn r, const maxn c, const char opt, const maxa val) {
if (opt == '=') add[getR(r)][getC(c)] = val, C[getR(r)][getC(c)] = 0, C[st][getR(r)] -= val, C[getC(c)][en] -= val;
if (opt == '<') C[getR(r)][getC(c)] = val - 1;
if (opt == '>') add[getR(r)][getC(c)] = val + 1, C[st][getR(r)] -= (val + 1), C[getC(c)][en] -= (val + 1);
}
void Prepare() {
std::cin >> ROW >> COL;
for (maxn i = 1; i <= ROW; i++) std::cin >> C[st][getR(i)], f[st][getR(i)] = add[st][getR(i)] = 0;
for (maxn i = 1; i <= COL; i++) std::cin >> C[getC(i)][en], f[getC(i)][en] = add[getC(i)][en] = 0;
for (maxn r = 1; r <= ROW; r++) for (maxn c = 1; c <= COL; c++) C[getR(r)][getC(c)] = INF, f[getR(r)][getC(c)] = add[getR(r)][getC(c)] = 0;
maxn k; std::cin >> k;
while (k--) {
maxn r, c; char opt; maxa val;
std::cin >> r >> c >> opt >> val;
if (!r && !c) for (maxn r = 1; r <= ROW; r++) for (maxn c = 1; c <= COL; c++) Set(r, c, opt, val);
else if (!r) for (maxn r = 1; r <= ROW; r++) Set(r, c, opt, val);
else if (!c) for (maxn c = 1; c <= COL; c++) Set(r, c, opt, val);
else Set(r, c, opt, val);
}
}
bool Path() {
std::queue <maxn> bfs;
bfs.push(st);
std::fill(trace, trace + N, -1);
trace[st] = st;
while (!bfs.empty()) {
maxn u = bfs.front();
bfs.pop();
for (maxn v = 0; v < N; v++) {
if (trace[v] != -1 || C[u][v] == f[u][v]) continue;
trace[v] = u;
if (v == en) return 1;
bfs.push(v);
}
}
return 0;
}
void Update() {
maxn v, u = en; maxa delta = INF;
while (u != st) {
v = u, u = trace[v];
delta = std::min(delta, C[u][v] - f[u][v]);
}
u = en;
while (u != st) {
v = u, u = trace[v];
f[u][v] += delta;
f[v][u] -= delta;
}
}
bool Process() {
for (maxn r = 1; r <= ROW; r++) for (maxn c = 1; c <= COL; c++) if (C[getR(r)][getC(c)] < 0) return 0;
for (maxn r = 1; r <= ROW; r++) if (C[st][getR(r)] < 0) return 0;
for (maxn c = 1; c <= COL; c++) if (C[getC(c)][en] < 0) return 0;
while (Path()) Update();
for (maxn r = 1; r <= ROW; r++) if (C[st][getR(r)] != f[st][getR(r)]) return 0;
for (maxn c = 1; c <= COL; c++) if (C[getC(c)][en] != f[getC(c)][en]) return 0;
for (maxn r = 1; r <= ROW; r++, std::cout << '\n') for (maxn c = 1; c <= COL; c++) std::cout << f[getR(r)][getC(c)] + add[getR(r)][getC(c)] << ' ';
return 1;
}
int main() {
std::ios_base::sync_with_stdio(0);
std::cin.tie(0);
int t; std::cin >> t;
while (t--) {
Prepare();
if (!Process()) std::cout << "IMPOSSIBLE\n";
std::cout << '\n';
}
} | [
"thaolygoat@gmail.com"
] | thaolygoat@gmail.com |
2c0ab5779cd6d93ec578e262af5dab87c6c7ac6f | b43ba110f6e4b6e1301b678396717849eac87b1e | /Software/BattleStation/controlpacket.cpp | 1d5966af906568cad146405546d9f8996db1a5ce | [
"MIT"
] | permissive | purduerov/ROV-Maelstrom | 826efd2035d6fc777f9fcd5692faf96d38c61e0d | 9149b78dc734fdd0925ff36f071021500c3535e6 | refs/heads/master | 2020-07-23T21:09:43.886133 | 2016-12-27T18:39:58 | 2016-12-27T18:39:58 | 66,401,089 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,143 | cpp | #include "controlpacket.h"
ControlPacket::ControlPacket() {
this->data = QByteArray(PACKET_SIZE, 0x00);
reset();
}
ControlPacket::~ControlPacket() {
}
void ControlPacket::setX(qint16 x) {
memcpy(this->x, &x, 2);
}
void ControlPacket::setY(qint16 y) {
memcpy(this->y, &y, 2);
}
void ControlPacket::setZ(qint16 z) {
memcpy(this->z, &z, 2);
}
void ControlPacket::setRoll(qint16 roll) {
memcpy(this->roll, &roll, 2);
}
void ControlPacket::setPitch(qint16 pitch) {
memcpy(this->pitch, &pitch, 2);
}
void ControlPacket::setYaw(qint16 yaw) {
memcpy(this->yaw, &yaw, 2);
}
quint8 ControlPacket::crc(QByteArray data) {
quint8 crc = 0;
int size = data.size();
for (int i = 1; i < size-2; ++i) {
quint8 inbyte = data.at(i);
for (int i = 8; i; i--) {
quint8 mix = (crc ^ inbyte) & 0x01;
crc >>= 1;
if (mix) crc ^= 0xD5;
inbyte >>= 1;
}
}
return crc;
}
void ControlPacket::assemblePacket() {
data[0] = HEADER;
data[1] = CONTROL;
data[2] = x[0];
data[3] = x[1];
data[4] = y[0];
data[5] = y[1];
data[6] = z[0];
data[7] = z[1];
data[8] = roll[0];
data[9] = roll[1];
data[10] = pitch[0];
data[11] = pitch[1];
data[12] = yaw[0];
data[13] = yaw[1];
for (int i = 14; i < PACKET_SIZE-2; i++) {
data[i] = 'A' + i - 2;
}
data[PACKET_SIZE-2] = CRC_BYTE;
data[PACKET_SIZE-1] = TAIL;
data[PACKET_SIZE-2] = crc(data);
}
QByteArray ControlPacket::getPacket() {
assemblePacket();
return data;
}
void ControlPacket::reset() {
data[0] = HEADER;
data[1] = CONTROL;
data[PACKET_SIZE-2] = CRC_BYTE;
data[PACKET_SIZE-1] = TAIL;
}
void ControlPacket::print() {
assemblePacket();
qDebug("Header:\t\t 0x%x", data.at(0));
qDebug("Control:\t 0x0%x", data.at(1));
qint16 printX = 0;
memcpy(&printX, &data.constData()[2], 2);
qint16 printY = 0;
memcpy(&printY, &data.constData()[4], 2);
qint16 printZ = 0;
memcpy(&printZ, &data.constData()[6], 2);
qDebug("X:\t\t %d", printX);
qDebug("Y:\t\t %d", printY);
qDebug("Z:\t\t %d", printZ);
qint16 printRoll = 0;
memcpy(&printRoll, &data.constData()[8], 2);
qint16 printPitch = 0;
memcpy(&printPitch, &data.constData()[10], 2);
qint16 printYaw = 0;
memcpy(&printYaw, &data.constData()[12], 2);
qDebug("Roll:\t\t %d", printRoll);
qDebug("Pitch:\t\t %d", printPitch);
qDebug("Yaw:\t\t %d", printYaw);
qDebug("Snoids:\t\t %d%d %d%d %d%d %d%d",
data.at(14) & 0x80 ? 1 : 0,
data.at(14) & 0x40 ? 1 : 0,
data.at(14) & 0x20 ? 1 : 0,
data.at(14) & 0x10 ? 1 : 0,
data.at(14) & 0x08 ? 1 : 0,
data.at(14) & 0x04 ? 1 : 0,
data.at(14) & 0x02 ? 1 : 0,
data.at(14) & 0x01 ? 1 : 0
);
qDebug("H.Pump:\t\t %d", data.at(15));
qDebug("LEDs:\t\t %d", data.at(16));
qDebug("T. Stat:\t %d %d %d %d %d %d %d %d",
data.at(17) & 0x80 ? 1 : 0,
data.at(17) & 0x40 ? 1 : 0,
data.at(17) & 0x20 ? 1 : 0,
data.at(17) & 0x10 ? 1 : 0,
data.at(17) & 0x08 ? 1 : 0,
data.at(17) & 0x04 ? 1 : 0,
data.at(17) & 0x02 ? 1 : 0,
data.at(17) & 0x01 ? 1 : 0
);
qDebug("PID:\t\t %s", data.at(18) ? "Yes" : "No");
qint16 printTuningA = 0;
memcpy(&printTuningA, &data.constData()[19], 2);
qint16 printTuningB = 0;
memcpy(&printTuningB, &data.constData()[21], 2);
qint16 printTuningC = 0;
memcpy(&printTuningC, &data.constData()[23], 2);
qDebug("PID A:\t\t %d", printTuningA);
qDebug("PID B:\t\t %d", printTuningB);
qDebug("PID C:\t\t %d", printTuningC);
qDebug("Pivot X:\t %d", (qint8) data.at(25));
qDebug("Pivot Y:\t %d", (qint8) data.at(26));
qDebug("Pivot Z:\t %d", (qint8) data.at(27));
qDebug("Check:\t\t 0x%x", (quint8) data.at(PACKET_SIZE-2));
qDebug("Tail:\t\t 0x%x", data.at(PACKET_SIZE-1));
}
| [
"molo.matt@gmail.com"
] | molo.matt@gmail.com |
70c8160ce98140cee4a926f78715daa0e7e46946 | 966e307aea0abe406c496bb11266c8f3fb8731d0 | /project/include/help/deletehelp.h | 1929a0a1c2baef017e79da27d1e219ae2c2dcbe3 | [] | no_license | DamnCoder/dcpp_gameobject | 548362b84e6b78534cbf1dbd261517eab0515f5a | 4c462292b40312f89707a379978c731bc0a46041 | refs/heads/master | 2020-03-24T19:30:57.681793 | 2018-07-30T22:37:58 | 2018-07-30T22:37:58 | 142,931,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | h | /*
The MIT License (MIT)
Copyright (c) 2018 Jorge López González
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
//
// deletehelp.h
// DCPP
//
// Created by Jorge López on 24/3/16.
//
//
#pragma once
#include "vectorhelp.h"
#include <vector>
#include <map>
namespace dc
{
//-----------------------------------------------------------------------
// COMMON FUNCTIONS
//-----------------------------------------------------------------------
/**
* Template for safely deleting pointers
* @param data
*/
template <typename T>
inline
void SafeDelete(T*& data)
{
if (data)
{
delete data;
data = 0;
}
}
/**
* Template for deleting pointers from maps
* Calls clear at the end.
*/
template <typename K, typename T>
inline
void SafeDelete(std::map<K, T*>& m)
{
typename std::map<K, T*>::iterator it, end;
it = m.begin();
end = m.end();
for (; it != end; ++it)
{
T* element = it->second;
delete element;
}
m.clear();
}
/**
* Template for deleting vector of pointers from maps
* Calls clear at the end.
*/
template <typename K, typename T>
inline
void SafeDelete(std::map<K, std::vector<T*>>& m)
{
typename std::map<K, std::vector<T*>>::iterator it, end;
it = m.begin();
end = m.end();
for (; it != end; ++it)
{
std::vector<T*>& elementList = it->second;
SafeDelete(elementList);
}
m.clear();
}
} | [
"jorge2402@gmail.com"
] | jorge2402@gmail.com |
16844c24114ea710018a1103ba5356d16372131e | 607e69f9e4440ef3ab9c33b7b6e85e95b5e982fb | /deps/museum/8.0.0/external/libcxx/unordered_set | ce0840379aa2367af93bab223367264f074e275c | [
"Apache-2.0",
"NCSA",
"MIT"
] | permissive | simpleton/profilo | 8bda2ebf057036a55efd4dea1564b1f114229d1a | 91ef4ba1a8316bad2b3080210316dfef4761e180 | refs/heads/master | 2023-03-12T13:34:27.037783 | 2018-04-24T22:45:58 | 2018-04-24T22:45:58 | 125,419,173 | 0 | 0 | Apache-2.0 | 2018-03-15T19:54:00 | 2018-03-15T19:54:00 | null | UTF-8 | C++ | false | false | 57,203 | // -*- C++ -*-
//===-------------------------- unordered_set -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef _MUSEUM_LIBCPP_UNORDERED_SET
#define _MUSEUM_LIBCPP_UNORDERED_SET
/*
unordered_set synopsis
#include <museum/8.0.0/external/libcxx/initializer_list>
namespace std
{
template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
class Alloc = allocator<Value>>
class unordered_set
{
public:
// types
typedef Value key_type;
typedef key_type value_type;
typedef Hash hasher;
typedef Pred key_equal;
typedef Alloc allocator_type;
typedef value_type& reference;
typedef const value_type& const_reference;
typedef typename allocator_traits<allocator_type>::pointer pointer;
typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
typedef typename allocator_traits<allocator_type>::size_type size_type;
typedef typename allocator_traits<allocator_type>::difference_type difference_type;
typedef /unspecified/ iterator;
typedef /unspecified/ const_iterator;
typedef /unspecified/ local_iterator;
typedef /unspecified/ const_local_iterator;
unordered_set()
noexcept(
is_nothrow_default_constructible<hasher>::value &&
is_nothrow_default_constructible<key_equal>::value &&
is_nothrow_default_constructible<allocator_type>::value);
explicit unordered_set(size_type n, const hasher& hf = hasher(),
const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
template <class InputIterator>
unordered_set(InputIterator f, InputIterator l,
size_type n = 0, const hasher& hf = hasher(),
const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
explicit unordered_set(const allocator_type&);
unordered_set(const unordered_set&);
unordered_set(const unordered_set&, const Allocator&);
unordered_set(unordered_set&&)
noexcept(
is_nothrow_move_constructible<hasher>::value &&
is_nothrow_move_constructible<key_equal>::value &&
is_nothrow_move_constructible<allocator_type>::value);
unordered_set(unordered_set&&, const Allocator&);
unordered_set(initializer_list<value_type>, size_type n = 0,
const hasher& hf = hasher(), const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
unordered_set(size_type n, const allocator_type& a); // C++14
unordered_set(size_type n, const hasher& hf, const allocator_type& a); // C++14
template <class InputIterator>
unordered_set(InputIterator f, InputIterator l, size_type n, const allocator_type& a); // C++14
template <class InputIterator>
unordered_set(InputIterator f, InputIterator l, size_type n,
const hasher& hf, const allocator_type& a); // C++14
unordered_set(initializer_list<value_type> il, size_type n, const allocator_type& a); // C++14
unordered_set(initializer_list<value_type> il, size_type n,
const hasher& hf, const allocator_type& a); // C++14
~unordered_set();
unordered_set& operator=(const unordered_set&);
unordered_set& operator=(unordered_set&&)
noexcept(
allocator_type::propagate_on_container_move_assignment::value &&
is_nothrow_move_assignable<allocator_type>::value &&
is_nothrow_move_assignable<hasher>::value &&
is_nothrow_move_assignable<key_equal>::value);
unordered_set& operator=(initializer_list<value_type>);
allocator_type get_allocator() const noexcept;
bool empty() const noexcept;
size_type size() const noexcept;
size_type max_size() const noexcept;
iterator begin() noexcept;
iterator end() noexcept;
const_iterator begin() const noexcept;
const_iterator end() const noexcept;
const_iterator cbegin() const noexcept;
const_iterator cend() const noexcept;
template <class... Args>
pair<iterator, bool> emplace(Args&&... args);
template <class... Args>
iterator emplace_hint(const_iterator position, Args&&... args);
pair<iterator, bool> insert(const value_type& obj);
pair<iterator, bool> insert(value_type&& obj);
iterator insert(const_iterator hint, const value_type& obj);
iterator insert(const_iterator hint, value_type&& obj);
template <class InputIterator>
void insert(InputIterator first, InputIterator last);
void insert(initializer_list<value_type>);
iterator erase(const_iterator position);
iterator erase(iterator position); // C++14
size_type erase(const key_type& k);
iterator erase(const_iterator first, const_iterator last);
void clear() noexcept;
void swap(unordered_set&)
noexcept(allocator_traits<Allocator>::is_always_equal::value &&
noexcept(swap(declval<hasher&>(), declval<hasher&>())) &&
noexcept(swap(declval<key_equal&>(), declval<key_equal&>()))); // C++17
hasher hash_function() const;
key_equal key_eq() const;
iterator find(const key_type& k);
const_iterator find(const key_type& k) const;
size_type count(const key_type& k) const;
pair<iterator, iterator> equal_range(const key_type& k);
pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
size_type bucket_count() const noexcept;
size_type max_bucket_count() const noexcept;
size_type bucket_size(size_type n) const;
size_type bucket(const key_type& k) const;
local_iterator begin(size_type n);
local_iterator end(size_type n);
const_local_iterator begin(size_type n) const;
const_local_iterator end(size_type n) const;
const_local_iterator cbegin(size_type n) const;
const_local_iterator cend(size_type n) const;
float load_factor() const noexcept;
float max_load_factor() const noexcept;
void max_load_factor(float z);
void rehash(size_type n);
void reserve(size_type n);
};
template <class Value, class Hash, class Pred, class Alloc>
void swap(unordered_set<Value, Hash, Pred, Alloc>& x,
unordered_set<Value, Hash, Pred, Alloc>& y)
noexcept(noexcept(x.swap(y)));
template <class Value, class Hash, class Pred, class Alloc>
bool
operator==(const unordered_set<Value, Hash, Pred, Alloc>& x,
const unordered_set<Value, Hash, Pred, Alloc>& y);
template <class Value, class Hash, class Pred, class Alloc>
bool
operator!=(const unordered_set<Value, Hash, Pred, Alloc>& x,
const unordered_set<Value, Hash, Pred, Alloc>& y);
template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
class Alloc = allocator<Value>>
class unordered_multiset
{
public:
// types
typedef Value key_type;
typedef key_type value_type;
typedef Hash hasher;
typedef Pred key_equal;
typedef Alloc allocator_type;
typedef value_type& reference;
typedef const value_type& const_reference;
typedef typename allocator_traits<allocator_type>::pointer pointer;
typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
typedef typename allocator_traits<allocator_type>::size_type size_type;
typedef typename allocator_traits<allocator_type>::difference_type difference_type;
typedef /unspecified/ iterator;
typedef /unspecified/ const_iterator;
typedef /unspecified/ local_iterator;
typedef /unspecified/ const_local_iterator;
unordered_multiset()
noexcept(
is_nothrow_default_constructible<hasher>::value &&
is_nothrow_default_constructible<key_equal>::value &&
is_nothrow_default_constructible<allocator_type>::value);
explicit unordered_multiset(size_type n, const hasher& hf = hasher(),
const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
template <class InputIterator>
unordered_multiset(InputIterator f, InputIterator l,
size_type n = 0, const hasher& hf = hasher(),
const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
explicit unordered_multiset(const allocator_type&);
unordered_multiset(const unordered_multiset&);
unordered_multiset(const unordered_multiset&, const Allocator&);
unordered_multiset(unordered_multiset&&)
noexcept(
is_nothrow_move_constructible<hasher>::value &&
is_nothrow_move_constructible<key_equal>::value &&
is_nothrow_move_constructible<allocator_type>::value);
unordered_multiset(unordered_multiset&&, const Allocator&);
unordered_multiset(initializer_list<value_type>, size_type n = /see below/,
const hasher& hf = hasher(), const key_equal& eql = key_equal(),
const allocator_type& a = allocator_type());
unordered_multiset(size_type n, const allocator_type& a); // C++14
unordered_multiset(size_type n, const hasher& hf, const allocator_type& a); // C++14
template <class InputIterator>
unordered_multiset(InputIterator f, InputIterator l, size_type n, const allocator_type& a); // C++14
template <class InputIterator>
unordered_multiset(InputIterator f, InputIterator l, size_type n,
const hasher& hf, const allocator_type& a); // C++14
unordered_multiset(initializer_list<value_type> il, size_type n, const allocator_type& a); // C++14
unordered_multiset(initializer_list<value_type> il, size_type n,
const hasher& hf, const allocator_type& a); // C++14
~unordered_multiset();
unordered_multiset& operator=(const unordered_multiset&);
unordered_multiset& operator=(unordered_multiset&&)
noexcept(
allocator_type::propagate_on_container_move_assignment::value &&
is_nothrow_move_assignable<allocator_type>::value &&
is_nothrow_move_assignable<hasher>::value &&
is_nothrow_move_assignable<key_equal>::value);
unordered_multiset& operator=(initializer_list<value_type>);
allocator_type get_allocator() const noexcept;
bool empty() const noexcept;
size_type size() const noexcept;
size_type max_size() const noexcept;
iterator begin() noexcept;
iterator end() noexcept;
const_iterator begin() const noexcept;
const_iterator end() const noexcept;
const_iterator cbegin() const noexcept;
const_iterator cend() const noexcept;
template <class... Args>
iterator emplace(Args&&... args);
template <class... Args>
iterator emplace_hint(const_iterator position, Args&&... args);
iterator insert(const value_type& obj);
iterator insert(value_type&& obj);
iterator insert(const_iterator hint, const value_type& obj);
iterator insert(const_iterator hint, value_type&& obj);
template <class InputIterator>
void insert(InputIterator first, InputIterator last);
void insert(initializer_list<value_type>);
iterator erase(const_iterator position);
iterator erase(iterator position); // C++14
size_type erase(const key_type& k);
iterator erase(const_iterator first, const_iterator last);
void clear() noexcept;
void swap(unordered_multiset&)
noexcept(allocator_traits<Allocator>::is_always_equal::value &&
noexcept(swap(declval<hasher&>(), declval<hasher&>())) &&
noexcept(swap(declval<key_equal&>(), declval<key_equal&>()))); // C++17
hasher hash_function() const;
key_equal key_eq() const;
iterator find(const key_type& k);
const_iterator find(const key_type& k) const;
size_type count(const key_type& k) const;
pair<iterator, iterator> equal_range(const key_type& k);
pair<const_iterator, const_iterator> equal_range(const key_type& k) const;
size_type bucket_count() const noexcept;
size_type max_bucket_count() const noexcept;
size_type bucket_size(size_type n) const;
size_type bucket(const key_type& k) const;
local_iterator begin(size_type n);
local_iterator end(size_type n);
const_local_iterator begin(size_type n) const;
const_local_iterator end(size_type n) const;
const_local_iterator cbegin(size_type n) const;
const_local_iterator cend(size_type n) const;
float load_factor() const noexcept;
float max_load_factor() const noexcept;
void max_load_factor(float z);
void rehash(size_type n);
void reserve(size_type n);
};
template <class Value, class Hash, class Pred, class Alloc>
void swap(unordered_multiset<Value, Hash, Pred, Alloc>& x,
unordered_multiset<Value, Hash, Pred, Alloc>& y)
noexcept(noexcept(x.swap(y)));
template <class Value, class Hash, class Pred, class Alloc>
bool
operator==(const unordered_multiset<Value, Hash, Pred, Alloc>& x,
const unordered_multiset<Value, Hash, Pred, Alloc>& y);
template <class Value, class Hash, class Pred, class Alloc>
bool
operator!=(const unordered_multiset<Value, Hash, Pred, Alloc>& x,
const unordered_multiset<Value, Hash, Pred, Alloc>& y);
} // std
*/
#include <museum/8.0.0/external/libcxx/__config>
#include <museum/8.0.0/external/libcxx/__hash_table>
#include <museum/8.0.0/external/libcxx/functional>
#include <museum/8.0.0/external/libcxx/__debug>
#if !defined(_MUSEUM_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif
_MUSEUM_LIBCPP_BEGIN_NAMESPACE_STD
template <class _Value, class _Hash = hash<_Value>, class _Pred = equal_to<_Value>,
class _Alloc = allocator<_Value> >
class _MUSEUM_LIBCPP_TEMPLATE_VIS unordered_set
{
public:
// types
typedef _Value key_type;
typedef key_type value_type;
typedef _Hash hasher;
typedef _Pred key_equal;
typedef _Alloc allocator_type;
typedef value_type& reference;
typedef const value_type& const_reference;
static_assert((is_same<value_type, typename allocator_type::value_type>::value),
"Invalid allocator::value_type");
private:
typedef __hash_table<value_type, hasher, key_equal, allocator_type> __table;
__table __table_;
public:
typedef typename __table::pointer pointer;
typedef typename __table::const_pointer const_pointer;
typedef typename __table::size_type size_type;
typedef typename __table::difference_type difference_type;
typedef typename __table::const_iterator iterator;
typedef typename __table::const_iterator const_iterator;
typedef typename __table::const_local_iterator local_iterator;
typedef typename __table::const_local_iterator const_local_iterator;
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set()
_NOEXCEPT_(is_nothrow_default_constructible<__table>::value)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
}
explicit unordered_set(size_type __n, const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
#if _MUSEUM_LIBCPP_STD_VER > 11
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(size_type __n, const allocator_type& __a)
: unordered_set(__n, hasher(), key_equal(), __a) {}
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(size_type __n, const hasher& __hf, const allocator_type& __a)
: unordered_set(__n, __hf, key_equal(), __a) {}
#endif
unordered_set(size_type __n, const hasher& __hf, const key_equal& __eql,
const allocator_type& __a);
template <class _InputIterator>
unordered_set(_InputIterator __first, _InputIterator __last);
template <class _InputIterator>
unordered_set(_InputIterator __first, _InputIterator __last,
size_type __n, const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
template <class _InputIterator>
unordered_set(_InputIterator __first, _InputIterator __last,
size_type __n, const hasher& __hf, const key_equal& __eql,
const allocator_type& __a);
#if _MUSEUM_LIBCPP_STD_VER > 11
template <class _InputIterator>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(_InputIterator __first, _InputIterator __last,
size_type __n, const allocator_type& __a)
: unordered_set(__first, __last, __n, hasher(), key_equal(), __a) {}
template <class _InputIterator>
unordered_set(_InputIterator __first, _InputIterator __last,
size_type __n, const hasher& __hf, const allocator_type& __a)
: unordered_set(__first, __last, __n, __hf, key_equal(), __a) {}
#endif
_MUSEUM_LIBCPP_INLINE_VISIBILITY
explicit unordered_set(const allocator_type& __a);
unordered_set(const unordered_set& __u);
unordered_set(const unordered_set& __u, const allocator_type& __a);
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(unordered_set&& __u)
_NOEXCEPT_(is_nothrow_move_constructible<__table>::value);
unordered_set(unordered_set&& __u, const allocator_type& __a);
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
unordered_set(initializer_list<value_type> __il);
unordered_set(initializer_list<value_type> __il, size_type __n,
const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
unordered_set(initializer_list<value_type> __il, size_type __n,
const hasher& __hf, const key_equal& __eql,
const allocator_type& __a);
#if _MUSEUM_LIBCPP_STD_VER > 11
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(initializer_list<value_type> __il, size_type __n,
const allocator_type& __a)
: unordered_set(__il, __n, hasher(), key_equal(), __a) {}
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set(initializer_list<value_type> __il, size_type __n,
const hasher& __hf, const allocator_type& __a)
: unordered_set(__il, __n, __hf, key_equal(), __a) {}
#endif
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
// ~unordered_set() = default;
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set& operator=(const unordered_set& __u)
{
__table_ = __u.__table_;
return *this;
}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set& operator=(unordered_set&& __u)
_NOEXCEPT_(is_nothrow_move_assignable<__table>::value);
#endif
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_set& operator=(initializer_list<value_type> __il);
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
allocator_type get_allocator() const _NOEXCEPT
{return allocator_type(__table_.__node_alloc());}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
bool empty() const _NOEXCEPT {return __table_.size() == 0;}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type size() const _NOEXCEPT {return __table_.size();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type max_size() const _NOEXCEPT {return __table_.max_size();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator begin() _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator end() _NOEXCEPT {return __table_.end();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator begin() const _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator end() const _NOEXCEPT {return __table_.end();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator cbegin() const _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator cend() const _NOEXCEPT {return __table_.end();}
#if !defined(_MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_MUSEUM_LIBCPP_HAS_NO_VARIADICS)
template <class... _Args>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<iterator, bool> emplace(_Args&&... __args)
{return __table_.__emplace_unique(_MUSEUM_VSTD::forward<_Args>(__args)...);}
template <class... _Args>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
iterator emplace_hint(const_iterator __p, _Args&&... __args)
{
_MUSEUM_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__p) == this,
"unordered_set::emplace_hint(const_iterator, args...) called with an iterator not"
" referring to this unordered_set");
return __table_.__emplace_unique(_MUSEUM_VSTD::forward<_Args>(__args)...).first;
}
#else
iterator emplace_hint(const_iterator, _Args&&... __args)
{return __table_.__emplace_unique(_MUSEUM_VSTD::forward<_Args>(__args)...).first;}
#endif
#endif // !defined(_MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_MUSEUM_LIBCPP_HAS_NO_VARIADICS)
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<iterator, bool> insert(const value_type& __x)
{return __table_.__insert_unique(__x);}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<iterator, bool> insert(value_type&& __x)
{return __table_.__insert_unique(_MUSEUM_VSTD::move(__x));}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
iterator insert(const_iterator __p, const value_type& __x)
{
_MUSEUM_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__p) == this,
"unordered_set::insert(const_iterator, const value_type&) called with an iterator not"
" referring to this unordered_set");
return insert(__x).first;
}
#else
iterator insert(const_iterator, const value_type& __x)
{return insert(__x).first;}
#endif
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
iterator insert(const_iterator __p, value_type&& __x)
{
_MUSEUM_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__p) == this,
"unordered_set::insert(const_iterator, value_type&&) called with an iterator not"
" referring to this unordered_set");
return insert(_MUSEUM_VSTD::move(__x)).first;
}
#else
iterator insert(const_iterator, value_type&& __x)
{return insert(_MUSEUM_VSTD::move(__x)).first;}
#endif
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _InputIterator>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void insert(_InputIterator __first, _InputIterator __last);
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void insert(initializer_list<value_type> __il)
{insert(__il.begin(), __il.end());}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator erase(const_iterator __p) {return __table_.erase(__p);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type erase(const key_type& __k) {return __table_.__erase_unique(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator erase(const_iterator __first, const_iterator __last)
{return __table_.erase(__first, __last);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void clear() _NOEXCEPT {__table_.clear();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void swap(unordered_set& __u)
_NOEXCEPT_(__is_nothrow_swappable<__table>::value)
{__table_.swap(__u.__table_);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
hasher hash_function() const {return __table_.hash_function();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
key_equal key_eq() const {return __table_.key_eq();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator find(const key_type& __k) {return __table_.find(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator find(const key_type& __k) const {return __table_.find(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type count(const key_type& __k) const {return __table_.__count_unique(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<iterator, iterator> equal_range(const key_type& __k)
{return __table_.__equal_range_unique(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<const_iterator, const_iterator> equal_range(const key_type& __k) const
{return __table_.__equal_range_unique(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket_count() const _NOEXCEPT {return __table_.bucket_count();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type max_bucket_count() const _NOEXCEPT {return __table_.max_bucket_count();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket_size(size_type __n) const {return __table_.bucket_size(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket(const key_type& __k) const {return __table_.bucket(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
local_iterator begin(size_type __n) {return __table_.begin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
local_iterator end(size_type __n) {return __table_.end(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator begin(size_type __n) const {return __table_.cbegin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator end(size_type __n) const {return __table_.cend(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator cbegin(size_type __n) const {return __table_.cbegin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator cend(size_type __n) const {return __table_.cend(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
float load_factor() const _NOEXCEPT {return __table_.load_factor();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
float max_load_factor() const _NOEXCEPT {return __table_.max_load_factor();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void max_load_factor(float __mlf) {__table_.max_load_factor(__mlf);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void rehash(size_type __n) {__table_.rehash(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void reserve(size_type __n) {__table_.reserve(__n);}
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
bool __dereferenceable(const const_iterator* __i) const
{return __table_.__dereferenceable(__i);}
bool __decrementable(const const_iterator* __i) const
{return __table_.__decrementable(__i);}
bool __addable(const const_iterator* __i, ptrdiff_t __n) const
{return __table_.__addable(__i, __n);}
bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const
{return __table_.__addable(__i, __n);}
#endif // _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
};
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(size_type __n,
const hasher& __hf, const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(size_type __n,
const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
_InputIterator __first, _InputIterator __last)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
_InputIterator __first, _InputIterator __last, size_type __n,
const hasher& __hf, const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
_InputIterator __first, _InputIterator __last, size_type __n,
const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
const allocator_type& __a)
: __table_(__a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
const unordered_set& __u)
: __table_(__u.__table_)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__u.bucket_count());
insert(__u.begin(), __u.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
const unordered_set& __u, const allocator_type& __a)
: __table_(__u.__table_, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__u.bucket_count());
insert(__u.begin(), __u.end());
}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
unordered_set&& __u)
_NOEXCEPT_(is_nothrow_move_constructible<__table>::value)
: __table_(_MUSEUM_VSTD::move(__u.__table_))
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
__get_db()->swap(this, &__u);
#endif
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
unordered_set&& __u, const allocator_type& __a)
: __table_(_MUSEUM_VSTD::move(__u.__table_), __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
if (__a != __u.get_allocator())
{
iterator __i = __u.begin();
while (__u.size() != 0)
__table_.__insert_unique(_MUSEUM_VSTD::move(__u.__table_.remove(__i++)->__value_));
}
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
else
__get_db()->swap(this, &__u);
#endif
}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
initializer_list<value_type> __il)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
insert(__il.begin(), __il.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
initializer_list<value_type> __il, size_type __n, const hasher& __hf,
const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__il.begin(), __il.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(
initializer_list<value_type> __il, size_type __n, const hasher& __hf,
const key_equal& __eql, const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__il.begin(), __il.end());
}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_set<_Value, _Hash, _Pred, _Alloc>&
unordered_set<_Value, _Hash, _Pred, _Alloc>::operator=(unordered_set&& __u)
_NOEXCEPT_(is_nothrow_move_assignable<__table>::value)
{
__table_ = _MUSEUM_VSTD::move(__u.__table_);
return *this;
}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_set<_Value, _Hash, _Pred, _Alloc>&
unordered_set<_Value, _Hash, _Pred, _Alloc>::operator=(
initializer_list<value_type> __il)
{
__table_.__assign_unique(__il.begin(), __il.end());
return *this;
}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
inline
void
unordered_set<_Value, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
_InputIterator __last)
{
for (; __first != __last; ++__first)
__table_.__insert_unique(*__first);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
void
swap(unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
unordered_set<_Value, _Hash, _Pred, _Alloc>& __y)
_NOEXCEPT_(_NOEXCEPT_(__x.swap(__y)))
{
__x.swap(__y);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
bool
operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
const unordered_set<_Value, _Hash, _Pred, _Alloc>& __y)
{
if (__x.size() != __y.size())
return false;
typedef typename unordered_set<_Value, _Hash, _Pred, _Alloc>::const_iterator
const_iterator;
for (const_iterator __i = __x.begin(), __ex = __x.end(), __ey = __y.end();
__i != __ex; ++__i)
{
const_iterator __j = __y.find(*__i);
if (__j == __ey || !(*__i == *__j))
return false;
}
return true;
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
bool
operator!=(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
const unordered_set<_Value, _Hash, _Pred, _Alloc>& __y)
{
return !(__x == __y);
}
template <class _Value, class _Hash = hash<_Value>, class _Pred = equal_to<_Value>,
class _Alloc = allocator<_Value> >
class _MUSEUM_LIBCPP_TEMPLATE_VIS unordered_multiset
{
public:
// types
typedef _Value key_type;
typedef key_type value_type;
typedef _Hash hasher;
typedef _Pred key_equal;
typedef _Alloc allocator_type;
typedef value_type& reference;
typedef const value_type& const_reference;
static_assert((is_same<value_type, typename allocator_type::value_type>::value),
"Invalid allocator::value_type");
private:
typedef __hash_table<value_type, hasher, key_equal, allocator_type> __table;
__table __table_;
public:
typedef typename __table::pointer pointer;
typedef typename __table::const_pointer const_pointer;
typedef typename __table::size_type size_type;
typedef typename __table::difference_type difference_type;
typedef typename __table::const_iterator iterator;
typedef typename __table::const_iterator const_iterator;
typedef typename __table::const_local_iterator local_iterator;
typedef typename __table::const_local_iterator const_local_iterator;
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset()
_NOEXCEPT_(is_nothrow_default_constructible<__table>::value)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
}
explicit unordered_multiset(size_type __n, const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
unordered_multiset(size_type __n, const hasher& __hf,
const key_equal& __eql, const allocator_type& __a);
#if _MUSEUM_LIBCPP_STD_VER > 11
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(size_type __n, const allocator_type& __a)
: unordered_multiset(__n, hasher(), key_equal(), __a) {}
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(size_type __n, const hasher& __hf, const allocator_type& __a)
: unordered_multiset(__n, __hf, key_equal(), __a) {}
#endif
template <class _InputIterator>
unordered_multiset(_InputIterator __first, _InputIterator __last);
template <class _InputIterator>
unordered_multiset(_InputIterator __first, _InputIterator __last,
size_type __n, const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
template <class _InputIterator>
unordered_multiset(_InputIterator __first, _InputIterator __last,
size_type __n , const hasher& __hf,
const key_equal& __eql, const allocator_type& __a);
#if _MUSEUM_LIBCPP_STD_VER > 11
template <class _InputIterator>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(_InputIterator __first, _InputIterator __last,
size_type __n, const allocator_type& __a)
: unordered_multiset(__first, __last, __n, hasher(), key_equal(), __a) {}
template <class _InputIterator>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(_InputIterator __first, _InputIterator __last,
size_type __n, const hasher& __hf, const allocator_type& __a)
: unordered_multiset(__first, __last, __n, __hf, key_equal(), __a) {}
#endif
_MUSEUM_LIBCPP_INLINE_VISIBILITY
explicit unordered_multiset(const allocator_type& __a);
unordered_multiset(const unordered_multiset& __u);
unordered_multiset(const unordered_multiset& __u, const allocator_type& __a);
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(unordered_multiset&& __u)
_NOEXCEPT_(is_nothrow_move_constructible<__table>::value);
unordered_multiset(unordered_multiset&& __u, const allocator_type& __a);
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
unordered_multiset(initializer_list<value_type> __il);
unordered_multiset(initializer_list<value_type> __il, size_type __n,
const hasher& __hf = hasher(),
const key_equal& __eql = key_equal());
unordered_multiset(initializer_list<value_type> __il, size_type __n,
const hasher& __hf, const key_equal& __eql,
const allocator_type& __a);
#if _MUSEUM_LIBCPP_STD_VER > 11
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(initializer_list<value_type> __il, size_type __n, const allocator_type& __a)
: unordered_multiset(__il, __n, hasher(), key_equal(), __a) {}
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset(initializer_list<value_type> __il, size_type __n, const hasher& __hf, const allocator_type& __a)
: unordered_multiset(__il, __n, __hf, key_equal(), __a) {}
#endif
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
// ~unordered_multiset() = default;
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset& operator=(const unordered_multiset& __u)
{
__table_ = __u.__table_;
return *this;
}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
unordered_multiset& operator=(unordered_multiset&& __u)
_NOEXCEPT_(is_nothrow_move_assignable<__table>::value);
#endif
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
unordered_multiset& operator=(initializer_list<value_type> __il);
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
allocator_type get_allocator() const _NOEXCEPT
{return allocator_type(__table_.__node_alloc());}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
bool empty() const _NOEXCEPT {return __table_.size() == 0;}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type size() const _NOEXCEPT {return __table_.size();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type max_size() const _NOEXCEPT {return __table_.max_size();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator begin() _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator end() _NOEXCEPT {return __table_.end();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator begin() const _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator end() const _NOEXCEPT {return __table_.end();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator cbegin() const _NOEXCEPT {return __table_.begin();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator cend() const _NOEXCEPT {return __table_.end();}
#if !defined(_MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_MUSEUM_LIBCPP_HAS_NO_VARIADICS)
template <class... _Args>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator emplace(_Args&&... __args)
{return __table_.__emplace_multi(_MUSEUM_VSTD::forward<_Args>(__args)...);}
template <class... _Args>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator emplace_hint(const_iterator __p, _Args&&... __args)
{return __table_.__emplace_hint_multi(__p, _MUSEUM_VSTD::forward<_Args>(__args)...);}
#endif // !defined(_MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_MUSEUM_LIBCPP_HAS_NO_VARIADICS)
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator insert(const value_type& __x) {return __table_.__insert_multi(__x);}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator insert(value_type&& __x) {return __table_.__insert_multi(_MUSEUM_VSTD::move(__x));}
#endif
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator insert(const_iterator __p, const value_type& __x)
{return __table_.__insert_multi(__p, __x);}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator insert(const_iterator __p, value_type&& __x)
{return __table_.__insert_multi(__p, _MUSEUM_VSTD::move(__x));}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _InputIterator>
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void insert(_InputIterator __first, _InputIterator __last);
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void insert(initializer_list<value_type> __il)
{insert(__il.begin(), __il.end());}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator erase(const_iterator __p) {return __table_.erase(__p);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type erase(const key_type& __k) {return __table_.__erase_multi(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator erase(const_iterator __first, const_iterator __last)
{return __table_.erase(__first, __last);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void clear() _NOEXCEPT {__table_.clear();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void swap(unordered_multiset& __u)
_NOEXCEPT_(__is_nothrow_swappable<__table>::value)
{__table_.swap(__u.__table_);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
hasher hash_function() const {return __table_.hash_function();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
key_equal key_eq() const {return __table_.key_eq();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
iterator find(const key_type& __k) {return __table_.find(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_iterator find(const key_type& __k) const {return __table_.find(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type count(const key_type& __k) const {return __table_.__count_multi(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<iterator, iterator> equal_range(const key_type& __k)
{return __table_.__equal_range_multi(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
pair<const_iterator, const_iterator> equal_range(const key_type& __k) const
{return __table_.__equal_range_multi(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket_count() const _NOEXCEPT {return __table_.bucket_count();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type max_bucket_count() const _NOEXCEPT {return __table_.max_bucket_count();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket_size(size_type __n) const {return __table_.bucket_size(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
size_type bucket(const key_type& __k) const {return __table_.bucket(__k);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
local_iterator begin(size_type __n) {return __table_.begin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
local_iterator end(size_type __n) {return __table_.end(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator begin(size_type __n) const {return __table_.cbegin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator end(size_type __n) const {return __table_.cend(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator cbegin(size_type __n) const {return __table_.cbegin(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
const_local_iterator cend(size_type __n) const {return __table_.cend(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
float load_factor() const _NOEXCEPT {return __table_.load_factor();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
float max_load_factor() const _NOEXCEPT {return __table_.max_load_factor();}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void max_load_factor(float __mlf) {__table_.max_load_factor(__mlf);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void rehash(size_type __n) {__table_.rehash(__n);}
_MUSEUM_LIBCPP_INLINE_VISIBILITY
void reserve(size_type __n) {__table_.reserve(__n);}
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
bool __dereferenceable(const const_iterator* __i) const
{return __table_.__dereferenceable(__i);}
bool __decrementable(const const_iterator* __i) const
{return __table_.__decrementable(__i);}
bool __addable(const const_iterator* __i, ptrdiff_t __n) const
{return __table_.__addable(__i, __n);}
bool __subscriptable(const const_iterator* __i, ptrdiff_t __n) const
{return __table_.__addable(__i, __n);}
#endif // _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
};
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
size_type __n, const hasher& __hf, const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
size_type __n, const hasher& __hf, const key_equal& __eql,
const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
_InputIterator __first, _InputIterator __last)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
_InputIterator __first, _InputIterator __last, size_type __n,
const hasher& __hf, const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
_InputIterator __first, _InputIterator __last, size_type __n,
const hasher& __hf, const key_equal& __eql, const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__first, __last);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
const allocator_type& __a)
: __table_(__a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
const unordered_multiset& __u)
: __table_(__u.__table_)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__u.bucket_count());
insert(__u.begin(), __u.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
const unordered_multiset& __u, const allocator_type& __a)
: __table_(__u.__table_, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__u.bucket_count());
insert(__u.begin(), __u.end());
}
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
unordered_multiset&& __u)
_NOEXCEPT_(is_nothrow_move_constructible<__table>::value)
: __table_(_MUSEUM_VSTD::move(__u.__table_))
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
__get_db()->swap(this, &__u);
#endif
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
unordered_multiset&& __u, const allocator_type& __a)
: __table_(_MUSEUM_VSTD::move(__u.__table_), __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
if (__a != __u.get_allocator())
{
iterator __i = __u.begin();
while (__u.size() != 0)
__table_.__insert_multi(_MUSEUM_VSTD::move(__u.__table_.remove(__i++)->__value_));
}
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
else
__get_db()->swap(this, &__u);
#endif
}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
initializer_list<value_type> __il)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
insert(__il.begin(), __il.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
initializer_list<value_type> __il, size_type __n, const hasher& __hf,
const key_equal& __eql)
: __table_(__hf, __eql)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__il.begin(), __il.end());
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset(
initializer_list<value_type> __il, size_type __n, const hasher& __hf,
const key_equal& __eql, const allocator_type& __a)
: __table_(__hf, __eql, __a)
{
#if _MUSEUM_LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);
#endif
__table_.rehash(__n);
insert(__il.begin(), __il.end());
}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
#ifndef _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_multiset<_Value, _Hash, _Pred, _Alloc>&
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::operator=(
unordered_multiset&& __u)
_NOEXCEPT_(is_nothrow_move_assignable<__table>::value)
{
__table_ = _MUSEUM_VSTD::move(__u.__table_);
return *this;
}
#endif // _MUSEUM_LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline
unordered_multiset<_Value, _Hash, _Pred, _Alloc>&
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::operator=(
initializer_list<value_type> __il)
{
__table_.__assign_multi(__il.begin(), __il.end());
return *this;
}
#endif // _MUSEUM_LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
template <class _Value, class _Hash, class _Pred, class _Alloc>
template <class _InputIterator>
inline
void
unordered_multiset<_Value, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
_InputIterator __last)
{
for (; __first != __last; ++__first)
__table_.__insert_multi(*__first);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
void
swap(unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __y)
_NOEXCEPT_(_NOEXCEPT_(__x.swap(__y)))
{
__x.swap(__y);
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
bool
operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __y)
{
if (__x.size() != __y.size())
return false;
typedef typename unordered_multiset<_Value, _Hash, _Pred, _Alloc>::const_iterator
const_iterator;
typedef pair<const_iterator, const_iterator> _EqRng;
for (const_iterator __i = __x.begin(), __ex = __x.end(); __i != __ex;)
{
_EqRng __xeq = __x.equal_range(*__i);
_EqRng __yeq = __y.equal_range(*__i);
if (_MUSEUM_VSTD::distance(__xeq.first, __xeq.second) !=
_MUSEUM_VSTD::distance(__yeq.first, __yeq.second) ||
!_MUSEUM_VSTD::is_permutation(__xeq.first, __xeq.second, __yeq.first))
return false;
__i = __xeq.second;
}
return true;
}
template <class _Value, class _Hash, class _Pred, class _Alloc>
inline _MUSEUM_LIBCPP_INLINE_VISIBILITY
bool
operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __y)
{
return !(__x == __y);
}
_MUSEUM_LIBCPP_END_NAMESPACE_STD
#endif // _MUSEUM_LIBCPP_UNORDERED_SET
| [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com | |
2878323162317a792d300816003ebcc87053b23d | 0eab3c8d3a0aed385650e89fabb82d6e43650130 | /HotPatcher/Source/HotPatcherEditor/Private/Cook/SHotPatcherCookedPlatforms.h | 6ab9373fa9c1e856398ea3d125c66a875c8fe016 | [] | no_license | AzZXiao/HotPatcher | f3095449d43e6e860812632e5d0581f38c07c8ed | 9ef472f4c26c9886b6686f2319fa0e2eb28c8311 | refs/heads/master | 2022-04-27T03:47:56.912870 | 2020-04-27T08:45:45 | 2020-04-27T08:45:45 | 262,010,383 | 1 | 0 | null | 2020-05-07T09:43:07 | 2020-05-07T09:43:06 | null | UTF-8 | C++ | false | false | 2,077 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Interfaces/ITargetPlatformManagerModule.h"
#include "Interfaces/ITargetPlatform.h"
#include "Model/FHotPatcherCookModel.h"
#include "Templates/SharedPointer.h"
/**
* Implements the cooked platforms panel.
*/
class SHotPatcherCookedPlatforms
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SHotPatcherCookedPlatforms) { }
SLATE_END_ARGS()
public:
/**
* Constructs the widget.
*
* @param InArgs The Slate argument list.
*/
void Construct( const FArguments& InArgs,TSharedPtr<FHotPatcherCookModel> InCookModel);
protected:
/**
* Builds the platform menu.
*
* @return Platform menu widget.
*/
void MakePlatformMenu( )
{
TArray<ITargetPlatform*> Platforms = GetTargetPlatformManager()->GetTargetPlatforms();
if (Platforms.Num() > 0)
{
PlatformList.Reset();
for (int32 PlatformIndex = 0; PlatformIndex < Platforms.Num(); ++PlatformIndex)
{
FString PlatformName = Platforms[PlatformIndex]->PlatformName();
PlatformList.Add(MakeShareable(new FString(PlatformName)));
}
}
}
private:
// Callback for clicking the 'Select All Platforms' button.
void HandleAllPlatformsHyperlinkNavigate( bool AllPlatforms )
{
if (mCookModel.IsValid())
{
if (AllPlatforms)
{
TArray<ITargetPlatform*> Platforms = GetTargetPlatformManager()->GetTargetPlatforms();
for (int32 PlatformIndex = 0; PlatformIndex < Platforms.Num(); ++PlatformIndex)
{
mCookModel->AddSelectedCookPlatform(Platforms[PlatformIndex]->PlatformName());
}
}
else {
mCookModel->ClearAllPlatform();
}
}
}
// Handles generating a row widget in the map list view.
TSharedRef<ITableRow> HandlePlatformListViewGenerateRow( TSharedPtr<FString> InItem, const TSharedRef<STableViewBase>& OwnerTable );
private:
// Holds the platform list.
TArray<TSharedPtr<FString> > PlatformList;
// Holds the platform list view.
TSharedPtr<SListView<TSharedPtr<FString> > > PlatformListView;
TSharedPtr<FHotPatcherCookModel> mCookModel;
};
| [
"hxhb@live.com"
] | hxhb@live.com |
147d47aa98e3f3e3ba6772f592bb0390277c988b | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/Music_structs.h | 6287b4dcc7a1fcb9f41aff2a554981e6d731ba85 | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 1,342 | h | #pragma once
// Name: Sea of Thieves, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Enums
//---------------------------------------------------------------------------
// Enum Music.EAISpawnerMusicZoneState
enum class Music_EAISpawnerMusicZoneState : uint8_t
{
EAISpawnerMusicZoneState__Passive = 0,
EAISpawnerMusicZoneState__InCombat = 1,
EAISpawnerMusicZoneState__BattleWon = 2,
EAISpawnerMusicZoneState__EAISpawnerMusicZoneState_MAX = 3,
};
//---------------------------------------------------------------------------
// Script Structs
//---------------------------------------------------------------------------
// ScriptStruct Music.MusicZoneDestroyedEvent
// 0x0010
struct FMusicZoneDestroyedEvent
{
unsigned char UnknownData_4US7[0x10]; // 0x0000(0x0010) MISSED OFFSET (PADDING)
};
// ScriptStruct Music.MusicZoneSpawnedEvent
// 0x0010
struct FMusicZoneSpawnedEvent
{
unsigned char UnknownData_3WCO[0x10]; // 0x0000(0x0010) MISSED OFFSET (PADDING)
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f3eefd036fbbee46f5344f56f237a1538b5bfc99 | a1c8cc4ad3976f00740d3887c792181d49753837 | /src/cpp/Alignment.hpp | af256558f4334d08d42ba648564162663db70317 | [] | no_license | pb-cdunn/pbdagcon | b71d788d10ef19c6e9cd2d9a424037252278dbb5 | beea3c3b66fb369e46739e1302030c584af8ece3 | refs/heads/master | 2021-01-15T07:50:52.886903 | 2015-08-27T21:36:28 | 2015-08-27T23:35:47 | 36,703,717 | 3 | 3 | null | 2015-06-02T02:51:44 | 2015-06-02T02:51:44 | null | UTF-8 | C++ | false | false | 3,931 | hpp | // Copyright (c) 2011-2015, Pacific Biosciences of California, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted (subject to the limitations in the
// disclaimer below) 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 Pacific Biosciences nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
// GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY PACIFIC
// BIOSCIENCES AND ITS 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 PACIFIC BIOSCIENCES OR ITS
// 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.
#ifndef __GCON_ALIGNMENT_HPP__
#define __GCON_ALIGNMENT_HPP__
#include <stdint.h>
///
/// Super-simple alignment representation. Represents an alignment between two
/// PacBio reads, one of which we're trying to correct. The read to correct
/// may be either the target or the query, depending on how the alignment was
/// done.
///
namespace dagcon {
class Alignment {
public:
typedef void (*ParseFunc)(std::istream&, Alignment* aln);
// May correct the target or the query, default is target
static bool groupByTarget;
// length of the sequence we are trying to correct
uint32_t tlen;
// conforming offsets are 1-based
uint32_t start;
uint32_t end;
// ID of the read we're trying to correct (target)
std::string id;
// ID of the supporting read (query)
std::string sid;
char strand;
// query and target strings must be equal length
std::string qstr;
std::string tstr;
Alignment();
static ParseFunc parse;
};
}
std::istream& operator>>(std::istream& instrm, dagcon::Alignment& data);
std::ostream& operator<<(std::ostream& ostrm, dagcon::Alignment& data);
void parseM5(std::istream& stream, dagcon::Alignment* aln);
void parsePre(std::istream& stream, dagcon::Alignment* aln);
/// Simplifies the alignment by normalizing gaps. Converts mismatches into
/// indels ...
/// query: CAC query: C-AC
/// | | ---> | |
/// target: CGC target: CG-C
///
/// Shifts equivalent gaps to the right in the reference ...
/// query: CAACAT query: CAACAT
/// | | || ---> ||| |
/// target: C-A-AT target: CAA--T
///
/// Shifts equivalent gaps to the right in the read ...
/// query: -C--CGT query: CCG--T
/// | | | ---> ||| |
/// target: CCGAC-T target: CCGACT
/// Allow optional gap pushing, some aligners may not need it and I'd like
/// to get rid of it anyway.
dagcon::Alignment normalizeGaps(dagcon::Alignment& aln, bool push=true);
void trimAln(dagcon::Alignment& aln, int trimLen=50);
std::string revComp(std::string& seq);
#endif // __GCON_ALIGNMENT_HPP__
| [
"cdunn@pacificbiosciences.com"
] | cdunn@pacificbiosciences.com |
987e799071a8b08ebd987a8be8e5b2a0f01b40cb | b5cb8172006392412bf28b34ef0ebe5f0e88ad9d | /HelloWorld/HelloWorld.ino | af360ad665c00310a32f5161b9049c30039433ad | [] | no_license | Honoriot/Arduino_Aniket | 77ae869f3a317dd40a17375314bd92cb11b87fdc | f4835e6f774d5abd7276611b76b5337cd02d14dd | refs/heads/main | 2023-03-17T23:41:49.440458 | 2021-03-15T17:18:43 | 2021-03-15T17:18:43 | 322,203,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,919 | ino | /*
LiquidCrystal Library - Hello World
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
This sketch prints "Hello World!" to the LCD
and shows the time.
The circuit:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* LCD VSS pin to ground
* LCD VCC pin to 5V
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
Library originally added 18 Apr 2008
by David A. Mellis
library modified 5 Jul 2009
by Limor Fried (http://www.ladyada.net)
example added 9 Jul 2009
by Tom Igoe
modified 22 Nov 2010
by Tom Igoe
modified 7 Nov 2016
by Arturo Guadalupi
This example code is in the public domain.
http://www.arduino.cc/en/Tutorial/LiquidCrystalHelloWorld
*/
// include the library code:
#include <LiquidCrystal.h>
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 7, en = 6, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int Button = 13;
int flag = 0;
void setup() {
// set up the LCD's number of columns and rows:
//Serial.begin(9600);
lcd.begin(16, 2);
// Print a message to the LCD.
// lcd.print("hello, world!");
pinMode(Button, INPUT);
lcd.home();
lcd.print("We begin!");
//delay(1000);
lcd.setCursor(2, 1);
lcd.print("Press Button");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
// lcd.setCursor(0, 1);
// print the number of seconds since reset:
// lcd.print(millis() / 1000);
start_();
}
void start_(){
// lcd.home();
// lcd.print("We begin!");
// //delay(1000);
// lcd.setCursor(2, 1);
// lcd.print("Press Button");
//Serial.print(digitalRead(Button));
if(digitalRead(Button)==1){
lcd.clear();
lcd.home();
lcd.print("Aniket Singh");
lcd.setCursor(0,1);
lcd.print("8929163145");
delay(100);
}
if(digitalRead(Button)==0){
lcd.clear();
lcd.home();
lcd.print("Aniket Singh");
for(int i=0;i<16;i++){
lcd.clear();
lcd.home();
lcd.print("Aniket Singh");
lcd.setCursor(i,1);
lcd.print("8929163145");
delay(500);
if(digitalRead(Button)==1)
break;
}
}
// if(digitalRead(Button)==1 and flag == 1){
// flag = 0;
// }
// if(flag == 1){
// lcd.clear();
// lcd.home();
// lcd.print("Aniket Singh");
// }if(flag == 0){
// lcd.clear();
// lcd.home();
// lcd.print("Info is hidden");
// lcd.setCursor(2, 1);
// lcd.print("Press, Button");
// }
}
| [
"ani.shiv.2018@gmail.com"
] | ani.shiv.2018@gmail.com |
6a7372a717e93bc6d9b74838bad016836aa134c5 | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/havok/Source/Physics/Vehicle/AeroDynamics/Default/hkpVehicleDefaultAerodynamicsClass.cpp | 40418e612dd1368fb3f29b4347e8e4defabfe1b8 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,173 | cpp | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2007 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
*
*/
// WARNING: THIS FILE IS GENERATED. EDITS WILL BE LOST.
// Generated from 'Physics/Vehicle/AeroDynamics/Default/hkpVehicleDefaultAerodynamics.h'
#include <Physics/Vehicle/hkpVehicle.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Base/Reflection/hkTypeInfo.h>
#include <Physics/Vehicle/AeroDynamics/Default/hkpVehicleDefaultAerodynamics.h>
//
// Class hkpVehicleDefaultAerodynamics
//
HK_REFLECTION_DEFINE_VIRTUAL(hkpVehicleDefaultAerodynamics);
static const hkInternalClassMember hkpVehicleDefaultAerodynamicsClass_Members[] =
{
{ "airDensity", HK_NULL, HK_NULL, hkClassMember::TYPE_REAL, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkpVehicleDefaultAerodynamics,m_airDensity), HK_NULL },
{ "frontalArea", HK_NULL, HK_NULL, hkClassMember::TYPE_REAL, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkpVehicleDefaultAerodynamics,m_frontalArea), HK_NULL },
{ "dragCoefficient", HK_NULL, HK_NULL, hkClassMember::TYPE_REAL, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkpVehicleDefaultAerodynamics,m_dragCoefficient), HK_NULL },
{ "liftCoefficient", HK_NULL, HK_NULL, hkClassMember::TYPE_REAL, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkpVehicleDefaultAerodynamics,m_liftCoefficient), HK_NULL },
{ "extraGravityws", HK_NULL, HK_NULL, hkClassMember::TYPE_VECTOR4, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkpVehicleDefaultAerodynamics,m_extraGravityws), HK_NULL }
};
extern const hkClass hkpVehicleAerodynamicsClass;
extern const hkClass hkpVehicleDefaultAerodynamicsClass;
const hkClass hkpVehicleDefaultAerodynamicsClass(
"hkpVehicleDefaultAerodynamics",
&hkpVehicleAerodynamicsClass, // parent
sizeof(hkpVehicleDefaultAerodynamics),
HK_NULL,
0, // interfaces
HK_NULL,
0, // enums
reinterpret_cast<const hkClassMember*>(hkpVehicleDefaultAerodynamicsClass_Members),
HK_COUNT_OF(hkpVehicleDefaultAerodynamicsClass_Members),
HK_NULL, // defaults
HK_NULL, // attributes
0
);
/*
* Havok SDK - PUBLIC RELEASE, BUILD(#20070919)
*
* Confidential Information of Havok. (C) Copyright 1999-2007
* Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
* Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership
* rights, and intellectual property rights in the Havok software remain in
* Havok and/or its suppliers.
*
* Use of this software for evaluation purposes is subject to and indicates
* acceptance of the End User licence Agreement for this product. A copy of
* the license is included with this software and is also available from salesteam@havok.com.
*
*/
| [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
7404ef6a7829bc52aa84cab502a7f616fbe8bedd | 77545e3170da167f742dca03232f563fd1554b09 | /Actor.cpp | 02c52658ad773b976ac182ef04c737c45d443982 | [] | no_license | swesteme/arduino-rc-control | fe9a50f894441caf670de5a423337b5cc2aff734 | 50f7a7e190ac39051670ba7ebbb400bdc44e6f2a | refs/heads/master | 2021-05-09T20:03:59.606710 | 2018-01-24T20:52:54 | 2018-01-24T20:52:54 | 118,675,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | //
// Actor.cpp
// Actor
//
// Created by Sebastian Westemeyer on 06.01.18.
//
#include "Actor.hpp"
#include "GroupBundle.hpp"
Actor::Actor(GroupBundle *bundle, unsigned long codeOn, unsigned long codeOff) : m_codeOn(codeOn), m_codeOff(codeOff) {
// add this actor to list of actors
bundle->addActor(this);
// Serial.println("Actor On: " + String(codeOn) + "/" + String(m_codeOn) + ", Off: " + String(codeOff) + "/" + m_codeOff);
}
bool Actor::matchesCode(unsigned long code) {
// check, whether we have to switch on this actor
if (m_codeOn == code) {
switchOn();
return true;
}
// check, whether we have to switch off this actor
if (m_codeOff == code) {
switchOff();
return true;
}
// nothing to do
return false;
}
| [
"sebastian@westemeyer.de"
] | sebastian@westemeyer.de |
bba37b3d452e9627eab5296e557fe8a7356f98c5 | d352cb980107b8665e63c8b8b21e2921af53b8d3 | /Codechef/codechef_SKMP.cpp | 4007c6ef19e774b5a0ac4c9f49d095b7d609a305 | [] | no_license | sir-rasel/Online_Judge_Problem_Solve | 490949f0fc639956b20f6dec32676c7d8dc66a81 | 9fb93ff4d143d56228443e55e8d8dac530ce728b | refs/heads/master | 2021-06-03T19:48:04.700992 | 2021-03-30T16:41:03 | 2021-03-30T16:41:03 | 133,169,776 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int,int> pii;
int main() {
int test;
cin>>test;
while(test--){
string s,p;
cin>>s>>p;
vector<int> str(30,0),pattern(30,0);
for(int i=0;i<s.size();i++) str[s[i]-'a']++;
for(int i=0;i<p.size();i++) pattern[p[i]-'a']++;
string ans1 = "";
bool flag = true;
for(int i=0;i<26;i++){
if((i+'a')==p[0] and flag){
for(auto c:p)
ans1 += c;
for(int j=0;j<(str[i]-pattern[i]);j++)
ans1 += (i+'a');
flag = false;
}
else{
for(int j=0;j<(str[i]-pattern[i]);j++)
ans1 += (i+'a');
}
}
string ans2 = "";
flag = true;
for(int i=0;i<26;i++){
if((i+'a')==p[0] and flag){
for(int j=0;j<(str[i]-pattern[i]);j++)
ans2 += (i+'a');
for(auto c:p)
ans2 += c;
flag = false;
}
else{
for(int j=0;j<(str[i]-pattern[i]);j++)
ans2 += (i+'a');
}
}
cout<<min(ans1,ans2)<<endl;
}
return 0;
}
| [
"raselcse97@gmail.com"
] | raselcse97@gmail.com |
a879901b18e7b092ea779d3527b83f895fd990ef | 764765b6ecef76e92e400e7a55afa21dc517898e | /Minos/MinosControl/CommonMonitor.cpp | d35e76df4a08a6575feca3b90782c5d96d1397b2 | [
"BSD-3-Clause"
] | permissive | zsteva/backup-minos2 | c2d9a6097b6f0e753b0a7205615f64e12a455c7d | 1ac59cea1e126ac16f4ba73dcdd185b7e721166e | refs/heads/master | 2020-03-15T16:41:45.386744 | 2018-04-24T18:59:57 | 2018-04-24T18:59:57 | 132,240,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,428 | cpp | /////////////////////////////////////////////////////////////////////////////
// $Id$
//
// PROJECT NAME Minos Amateur Radio Control and Logging System
//
// COPYRIGHT (c) M. J. Goodey G0GJV 2005 - 2008
//
/////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------
#define NO_WIN32_LEAN_AND_MEAN
#include "MinosControl_pch.h"
#pragma hdrstop
#include <process.h>
#include "ServerEvent.h"
#include "GJVThreads.h"
#include "LogEvents.h"
#include "XMPPRPCParams.h"
#include "XMPPStanzas.h"
#include "Dispatcher.h"
#include "MinosThread.h"
#include "XMPPEvents.h"
#include "XMPPRPCObj.h"
#include "RPCPubSub.h"
#include "ControlRPCObj.h"
#include "tinyxml.h"
#include "portconf.h"
#include "controlport.h"
#ifndef _STDEXCEPT_
#include <stdexcept>
#endif
#include "CommonMonitor.h"
#include "lineEvents.h"
//==============================================================================
// static members
baseTimer *baseTimer::tt = 0;
int baseTimer::ttcount = 0;
HANDLE baseTimer::hTimerThread = 0;
HANDLE baseTimer::hTimerThreadCloseEvent = 0;
unsigned long currTick = 0;
unsigned long basetick = 0;
void baseTimer::timerThread()
{
GJV_thread::setThreadName( "hires timer" );
currTick = 0;
basetick = GetTickCount();
TIMECAPS tc;
if ( timeGetDevCaps( &tc, sizeof( TIMECAPS ) ) != TIMERR_NOERROR )
{
// Error; application can't continue.
MessageBox( 0, "Timer", "GetDevCaps", MB_ICONERROR | MB_OK );
}
UINT wTimerRes = std::min( std::max( tc.wPeriodMin, TARGET_RESOLUTION ), tc.wPeriodMax );
timeBeginPeriod( wTimerRes );
MMRESULT timeEventId = timeSetEvent( TIMER_INTERVAL, 0, intrTick, 0, TIME_PERIODIC );
hTimerThreadCloseEvent = CreateEvent(
NULL, // no security attributes
TRUE, // manual reset event
FALSE, // not-signalled
NULL ); // no name
while ( 1 )
{
// Wait for request to close or for a read thread to terminate.
DWORD dwWait = WaitForSingleObject( hTimerThreadCloseEvent, 1000 );
if ( dwWait == WAIT_TIMEOUT )
continue;
CloseHandle( hTimerThreadCloseEvent );
if ( timeEventId )
{
timeKillEvent( timeEventId );
timeEventId = 0;
}
if ( wTimerRes )
{
timeEndPeriod( wTimerRes );
wTimerRes = 0;
}
return ;
}
}
/*static */unsigned __stdcall baseTimer::timerThread( LPVOID lpThreadParameter )
{
baseTimer * b = ( baseTimer * ) lpThreadParameter;
b->timerThread();
return 0;
}
void baseTimer::tickEvent()
{
// need to go through the keyer chain
for ( std::deque <timerTicker *>::iterator tt = tickers.begin(); tt != tickers.end(); tt++ )
{
if ( ( *tt ) ->ready )
( *tt ) ->tickEvent();
}
}
void baseTimer::registerTicker( timerTicker *k )
{
tickers.push_back( k );
}
void CALLBACK baseTimer::intrTick( UINT /*wTimerID*/, UINT /*msg*/,
DWORD /*dwUser*/, DWORD /*dw1*/, DWORD /*dw2*/ )
{
// NB we may need to have a fine timer around for CW - at a variable rate
currTick++;
if ( tt )
tt->tickEvent();
}
/*static*/baseTimer *baseTimer::initialiseTimer()
{
if ( !tt )
{
tt = new baseTimer();
}
ttcount++;
return tt;
}
/*static*/void baseTimer::killTimer()
{
if ( tt )
tt->tickers.clear();
SetEvent( hTimerThreadCloseEvent );
WaitForSingleObject( hTimerThread, INFINITE );
}
/*static*/void baseTimer::closeTimer()
{
if ( --ttcount <= 0 )
{
killTimer();
delete tt;
tt = 0;
}
}
// take the clock interrupt, use it to tick
baseTimer::baseTimer()
{
unsigned int dwTimerThreadId;
// NB that ABOVE_NORMAL is a Win2K invention
hTimerThread = ( HANDLE ) _beginthreadex( NULL, // security
0, // stacksize
timerThread, // start
this, // arg
ABOVE_NORMAL_PRIORITY_CLASS, // createflags
&dwTimerThreadId // threadid
);
}
baseTimer::~baseTimer()
{
killTimer();
}
//==============================================================================
timerTicker::timerTicker() : ready( false )
{
b = baseTimer::initialiseTimer();
b->registerTicker( this );
}
timerTicker::~timerTicker()
{
ready = false;
b->closeTimer();
}
//==============================================================================
commonController::commonController( )
{
}
void commonController::closeDown()
{
baseTimer::killTimer();
// close down each port
for ( std::deque <commonPort *>::iterator icp = portChain.begin(); icp != portChain.end(); icp++ )
{
if ( *icp )
( *icp ) ->closePort();
delete ( *icp );
}
portChain.clear();
}
commonController::~commonController()
{
}
/*
void commonController::ptt(int)
{
}
void commonController::key(int)
{
}
*/
bool commonController::initialise( )
{
timerTicker::ready = true;
return true;
}
void commonController::tickEvent() // this will often be an interrupt routine
{
checkControls();
}
void commonController::checkControls( void )
{
// loop through ports, checkControls on each
for ( my_deque < commonPort *>::iterator i = portChain.begin(); i != portChain.end(); i++ )
{
( *i ) ->checkControls();
}
}
commonPort *commonController::createPort( const PortConfig &port )
{
// we cannot use dynamic_cast as we have turned RTTI off to save space
commonPort * cp = portChain.find( port.name );
if ( cp )
return cp;
else
{
// create the port
switch ( port.portType )
{
case PortConfig::eptSerial:
cp = new serialPort( port );
break;
case PortConfig::eptWindows:
cp = new WindowsMonitorPort( port );
break;
case PortConfig::eptK8055:
cp = new K8055Port( port );
break;
case PortConfig::eptUBW:
cp = new UBWPort( port );
break;
}
}
return cp;
}
commonLineControl *commonController::findLine( const std::string &name, bool lineIn )
{
commonLineControl * clc = 0;
for ( my_deque < commonPort *>::iterator i = portChain.begin(); i != portChain.end(); i++ )
{
clc = ( *i ) ->findLine( name, lineIn );
if ( clc )
{
break;
}
}
return clc;
}
void commonController::lineChange( commonLineControl *line )
{
/*
RPCPubSub::publish( "LineControl", line->lineName, line->getState()?"set":"unset" ); // we also want time of change and time in state?
*/
commonLineControl * pttout = findLine( "PTTOut", false );
commonLineControl *pttin = findLine( "PTTIn", true );
commonLineControl *l1 = findLine( "L1", true );
commonLineControl *l2 = findLine( "L2", true );
if ( pttout && pttin && l1 && l2 )
{
setLines( pttout->getState(), pttin->getState(), l1->getState(), l2->getState() );
}
LineSet *ls = LineSet::GetLineSet();
ls->publish( line->lineName, line->getState() );
}
//==============================================================================
| [
"g0gjv@5aba93d0-1d48-0410-ab36-a573633a0585"
] | g0gjv@5aba93d0-1d48-0410-ab36-a573633a0585 |
c4ac3168f54b823784e9cad9fb4bb1e4acbf0da3 | f412973e8b174ac8d8b08ef77e8000b664d18dd8 | /20_HashMaps/hashMaps.cpp | 0390da0fb996f9a0b2ca81be404dcd29623279c7 | [] | no_license | aka2029/C_PLusPlus | d395fffd755430433f50349b48f7b3ba59f713b6 | 0d6855b11f6190801012be9ba808f9772c78138c | refs/heads/master | 2021-03-09T19:22:13.447405 | 2020-04-09T14:49:52 | 2020-04-09T14:49:52 | 246,372,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,784 | cpp | #include <iostream>
#include <string>
using namespace std;
class Node{
public:
string key;
string phoneNo;
Node * next;
Node(const string& k, const string& p){
key = k; //if array strcpy(key, k)
phoneNo = p;
next = NULL;
}
};
class Hashmap {
Node* *table;
int tableSize;
int numNodes;
int hashFunction(const string & s){
int &size = tableSize;
int mul = 1;
int hashCode = 0;
for(int i = 0; i < s.size(); ++i){
char curChar = s[i];
int x = ((curChar % size) * (mul % size)) % size;
hashCode = (hashCode + x) % size;
mul = (mul % size * mul % size) % size;
}
return hashCode;
}
void insertIntotable(int idx, Node * nodeToInsert){
Node * head = table[idx];
//insert into ll
nodeToInsert->next = head;
table[idx] = nodeToInsert; // insertion in the beginning
}
double loadFactor(){
return (double)numNodes / tableSize;
}
void rehash(){
Node* * oldTable = table;
int oldSize = tableSize;
tableSize = 2 * oldSize;
table = new Node*[tableSize]{NULL, }; //Null initialised
for(int listNo = 0; listNo < oldSize; ++listNo){
Node * curList = oldTable[listNo];
while(curList){
int idx = hashFunction(curList->key); //idx for new table
Node * remList = curList->next;
insertIntotable(idx, curList);
curList = remList;
}
}
delete [] oldTable;
}
public:
Hashmap(){
tableSize = 7;
table = new Node*[tableSize]{}; //initalises array to NULL
numNodes = 0;
}
void insert(const string& s, string p){
int idx = hashFunction(s);
Node * newNode = new Node(s, p);
insertIntotable(idx, newNode);
++numNodes;
if (loadFactor() > 0.7) rehash();
}
void remove(string& s){
int idx = hashFunction(s);
Node * head = table[idx];
//remove from list
Node * prevNode = NULL;
Node * ahead = NULL;
while(head){
ahead = head->next;
if (head->key == s){
if (prevNode == NULL){
table[idx] = ahead;
}
else {
prevNode->next = ahead;
}
delete head;
return;
}
prevNode = head;
head = ahead;
}
}
string value(const string& s){
int idx = hashFunction(s);
Node * head = table[idx];
Node * cur = head;
while(cur){
if (cur->key == s){
return cur->phoneNo;
}
cur = cur->next;
}
return "";
}
~Hashmap(){
for(int i = 0; i < tableSize; ++i){
Node * head = table[i];
while(head){
Node * nextNode = head->next;
delete head;
head = nextNode;
}
}
delete [] table;
}
void printHashmap() const { //data members WILL NOT be updated
for(int i = 0; i < tableSize; ++i){
cout << "table[" << i << "]\t-->";
Node * curList = table[i];
while(curList){
cout << curList->key << "(" << curList->phoneNo << ")-->";
curList = curList->next;
}
cout << endl;
}
}
};
int main() {
Hashmap h;
h.insert("abc", "99212");
h.insert("def", "4324");
h.insert("i", "444");
h.printHashmap();
cout << endl;
// cout << h.value("abc");
} | [
"asaks22@gmail.com"
] | asaks22@gmail.com |
2afb05a5a506f3ae30d1e037020d214875363a78 | 0816d49694f8af034b113c16a95855663511fc50 | /include/player.h | 11f5926876ce7c4543451ee2bafe956b8042e89b | [] | no_license | nrking0/Blackjack | 43270c3c10c584b4130ac9636eb2f26d9b63e392 | afd5db44f4a2ec618ebf54eda1f7ff4baf6ce1f2 | refs/heads/main | 2023-04-21T14:28:44.366161 | 2021-05-05T05:00:15 | 2021-05-05T05:00:15 | 368,048,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | h | #ifndef BLACKJACK_PLAYER_H
#define BLACKJACK_PLAYER_H
#include <string>
#include <vector>
#include "card.h"
#include "cinder/gl/gl.h"
#include "cinder/app/App.h"
namespace blackjack {
/**
* Class representing a player in the blackjack game.
*/
class Player {
public:
/**
* Basic player constructor that gets name to set for player.
*
* @param name the set name for the player
*/
explicit Player(std::string name);
/**
* Calculates the current score of the player based off the rules of blackjack.
*
* @return the player's current score
*/
int CalculateScore() const;
/**
* Adds a given card to the player's hand.
*
* @param card the card to be added
*/
void DealCard(Card card);
/**
* Clears the player's given hand.
*/
void ClearHand();
/**
* Resets the win count of a player to zero.
*/
void ClearWins();
/**
* Adds a win to the player's win count.
*/
void AddWin();
/**
* Draws player in visual app.
*/
void Draw(int player_index, int num_players) const;
/**
* Draws the dealer in the visual app.
*/
void DrawDealer(int turn) const;
const std::vector<Card>& GetHand() const;
std::string GetName() const;
void SetHasPlayed(bool has_played);
bool GetHasPlayed() const;
int GetWinCount() const;
private:
const double kWindowSize = 750;
const double kMargin = 100;
const double kCardMargin = 25;
std::string name_;
std::vector<Card> hand_;
bool has_played_;
int win_count_;
};
} // namespace blackjack
#endif //BLACKJACK_PLAYER_H
| [
"nrking0@gmail.com"
] | nrking0@gmail.com |
0e9f4700bf3860698ad069d8219cd3daa9638ec2 | e0b7500cff4bc94b4fffe791c8a075c33b79c489 | /src/api/operator/numpy/np_broadcast_reduce_op_value.cc | ed268867c59ae03e093f694411e6d6f228375853 | [
"Apache-2.0",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-generic-cla",
"NCSA",
"OFL-1.0",
"BSD-2-Clause-Views",
"MIT",
"Unlicense",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | haimeh/mxnet_a51m | c71d098cd0a9771cad31de26b9236071bada4c24 | b62490f15937723e6076570be983ddb0180d2dea | refs/heads/master | 2022-12-22T18:29:54.881909 | 2020-08-20T01:45:40 | 2020-08-20T01:45:40 | 288,790,745 | 0 | 1 | Apache-2.0 | 2022-12-14T17:23:23 | 2020-08-19T17:08:09 | C++ | UTF-8 | C++ | false | false | 6,099 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
/*!
* \file np_broadcast_reduce_op_value.cc
* \brief Implementation of the API of functions in
* src/operator/tensor/np_broadcast_reduce_op_value.cc
*/
#include <mxnet/api_registry.h>
#include <mxnet/runtime/packed_func.h>
#include "../utils.h"
#include "../../../operator/numpy/np_broadcast_reduce_op.h"
namespace mxnet {
MXNET_REGISTER_API("_npi.broadcast_to")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
const nnvm::Op* op = Op::Get("_npi_broadcast_to");
nnvm::NodeAttrs attrs;
op::BroadcastToParam param;
if (args[1].type_code() == kDLInt) {
param.shape = TShape(1, args[1].operator int64_t());
} else {
param.shape = TShape(args[1].operator ObjectRef());
}
attrs.parsed = std::move(param);
attrs.op = op;
SetAttrDict<op::BroadcastToParam>(&attrs);
int num_outputs = 0;
NDArray* inputs[] = {args[0].operator mxnet::NDArray*()};
int num_inputs = 1;
auto ndoutputs = Invoke(op, &attrs, num_inputs, inputs, &num_outputs, nullptr);
*ret = ndoutputs[0];
});
MXNET_REGISTER_API("_npi.sum")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
const nnvm::Op* op = Op::Get("_npi_sum");
op::NumpyReduceAxesParam param;
nnvm::NodeAttrs attrs;
attrs.op = op;
// parse axis
if (args[1].type_code() == kNull) {
param.axis = dmlc::nullopt;
} else {
if (args[1].type_code() == kDLInt) {
param.axis = Tuple<int>(1, args[1].operator int64_t());
} else {
param.axis = Tuple<int>(args[1].operator ObjectRef());
}
}
// parse dtype
if (args[2].type_code() == kNull) {
param.dtype = dmlc::nullopt;
} else {
param.dtype = String2MXNetTypeWithBool(args[2].operator std::string());
}
// parse keepdims
if (args[3].type_code() == kNull) {
param.keepdims = false;
} else {
param.keepdims = args[3].operator bool();
}
// parse initial
if (args[4].type_code() == kNull) {
param.initial = dmlc::nullopt;
} else {
param.initial = args[4].operator double();
}
attrs.parsed = std::move(param);
SetAttrDict<op::NumpyReduceAxesParam>(&attrs);
NDArray* inputs[] = {args[0].operator NDArray*()};
int num_inputs = 1;
NDArray* outputs[] = {args[5].operator NDArray*()};
NDArray** out = (outputs[0] == nullptr) ? nullptr : outputs;
int num_outputs = (outputs[0] != nullptr);
auto ndoutputs = Invoke(op, &attrs, num_inputs, inputs, &num_outputs, out);
if (out) {
*ret = PythonArg(5);
} else {
*ret = reinterpret_cast<mxnet::NDArray*>(ndoutputs[0]);
}
});
MXNET_REGISTER_API("_npi.mean")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
const nnvm::Op* op = Op::Get("_npi_mean");
nnvm::NodeAttrs attrs;
op::NumpyReduceAxesParam param;
if (args[1].type_code() == kNull) {
param.axis = dmlc::optional<mxnet::Tuple<int>>();
} else {
param.axis = mxnet::Tuple<int>(args[1].operator ObjectRef());
}
if (args[2].type_code() == kNull) {
param.dtype = dmlc::optional<int>();
} else {
param.dtype = String2MXNetTypeWithBool(args[2].operator std::string());
}
if (args[3].type_code() == kNull) {
param.keepdims = false;
} else {
param.keepdims = args[3].operator bool();
}
param.initial = dmlc::optional<double>();
attrs.parsed = std::move(param);
attrs.op = op;
SetAttrDict<op::NumpyReduceAxesParam>(&attrs);
int num_inputs = 1;
NDArray* inputs[] = {args[0].operator mxnet::NDArray*()};
NDArray* out = args[4].operator mxnet::NDArray*();
NDArray** outputs = out == nullptr ? nullptr : &out;
int num_outputs = out != nullptr;
auto ndoutputs = Invoke(op, &attrs, num_inputs, inputs, &num_outputs, outputs);
if (out) {
*ret = PythonArg(4);
} else {
*ret = ndoutputs[0];
}
});
MXNET_REGISTER_API("_npi.prod")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
const nnvm::Op* op = Op::Get("_npi_prod");
nnvm::NodeAttrs attrs;
op::NumpyReduceAxesParam param;
if (args[1].type_code() == kNull) {
param.axis = dmlc::optional<mxnet::Tuple<int>>();
} else if (args[1].type_code() == kDLInt) {
param.axis = Tuple<int>(1, args[1].operator int64_t());
} else {
param.axis = Tuple<int>(args[1].operator ObjectRef());
}
if (args[2].type_code() == kNull) {
param.dtype = dmlc::optional<int>();
} else {
param.dtype = String2MXNetTypeWithBool(args[2].operator std::string());
}
if (args[3].type_code() == kNull) {
param.keepdims = false;
} else {
param.keepdims = args[3].operator bool();
}
if (args[4].type_code() == kNull) {
param.initial = dmlc::optional<double>();
} else {
param.initial = args[4].operator double();
}
attrs.parsed = std::move(param);
attrs.op = op;
SetAttrDict<op::NumpyReduceAxesParam>(&attrs);
int num_inputs = 1;
NDArray* inputs[] = {args[0].operator mxnet::NDArray*()};
NDArray* out = args[5].operator mxnet::NDArray*();
NDArray** outputs = out == nullptr ? nullptr : &out;
int num_outputs = out != nullptr;
auto ndoutputs = Invoke(op, &attrs, num_inputs, inputs, &num_outputs, outputs);
if (out) {
*ret = PythonArg(5);
} else {
*ret = ndoutputs[0];
}
});
} // namespace mxnet
| [
"haimehs@gmail.com"
] | haimehs@gmail.com |
163e7ef7a6236b9c9835c148361cab0b7076f72f | cbe658d23fc8ff2ac2871f6a2eee1eb6bb33e35d | /countingtriangles.cpp | 4f94fdebd4963afe1c654bfca5f9257be5857b12 | [] | no_license | nahid597/coding-interview | 9d6552b9eabf4c224a07cf711d39dd37ed33124f | 6dd7c1daaefe7a1b0cb9c8d2733b7bd6c4b2a77a | refs/heads/main | 2023-01-01T22:31:34.009189 | 2020-10-25T08:15:22 | 2020-10-25T08:15:22 | 306,747,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include<bits/stdc++.h>
using namespace std;
int countTriangles(int x[], int n)
{
int cnt = 0,k;
for(int i = 0; i < n -2; i++)
{
k = i + 2;
for(int j = i +1; j < n-1; j++)
{
//k = j + 1;
while(k < n && x[i] + x[j] > x[k])
{
cout << x[i] << " " << x[j] << " " << x[k] << endl;
k++;
//if(j != k)
// cnt++;
}
if(k > j)
cnt += k - j -1;
}
}
//cout << cnt <<endl;
return cnt;
}
int main()
{
int n;
cin >> n;
int x[n+1];
for(int i = 0; i < n; i++)
{
cin >> x[i];
}
int ans = countTriangles(x,n);
cout << ans <<endl;
return 0;
}
| [
"nahid.hasan@mymedicalhub.com"
] | nahid.hasan@mymedicalhub.com |
3e30f47e8a1936cb3708e77bfae329d8b028b48d | 943b8a1d008eb51105167dd3f326c26c697e4a30 | /GT/gt_client/network/connectiontcp.h | 563eb9188cdd4ae67b93f2b94d52bbfa59836680 | [] | no_license | patadejaguar/GuerraDeTanques | 2f6ceb07388202afd550ef34cc6c2b04efee0cee | d78108baacd4cc0fbb7db46e957c3284cafba31b | refs/heads/master | 2016-09-02T20:01:18.138991 | 2014-08-30T11:50:50 | 2014-08-30T11:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | h | #ifndef CONNECTIONTCP_H
#define CONNECTIONTCP_H
#include <QPixmap>
#include "tcpclient.h"
#include "gameglobals.h"
class ConnectionTcp : public TcpClient
{
Q_OBJECT
public:
static ConnectionTcp* instance();
inline UserProperties userProperties(){return _user_properties;}
//resources
void sendMissingsResources(QStringList terrains, QStringList tanks, QStringList objects);
//user commands
void sendRegisterUser(QString nick, QString password, QByteArray avatar);
void sendEditUser(QString nick, QString current_password, QString new_password, QByteArray new_avatar);
void sendLoginUser(QString nick, QString password);
void sendLogoutUser();
//messages
void sendMessage(QString message);
//messages related with game
void sendCreateGame(int index_of_terrain);
void sendCloseGame();
void sendRequestCreatedGames();
void sendJoinGame(QString creator);
void sendLeaveGame();
void sendGameStarted();
void sendGameOver(int team_win, QMap<PlayerData, QMap<PlayerData, KillsDeaths> > results);
signals:
void notifyConnectedData(QStringList terrains, QStringList tanks, QStringList objects);
void notifyResourcesAreReady();
void notifyRegisterSuccessful(QString user);
void notifyEditSuccessful(QString user);
void notifyLoginSuccessful(UserProperties user, QList<UserProperties> users_login);
void notifyMessageReceived(QString message);
void notifyLoginUser(UserProperties user);
void notifyLogoutUser(UserProperties user);
void notifyCreateGame(UserProperties user, int index_of_terrain, QString ip);
void notifyCloseGame(QList<UserProperties> user);
void notifyRequestCreatedGames(QByteArray data);
void notifyPlayerJoinedGame(UserProperties user);
void notifyPlayerLeavedGame(QList<UserProperties> users_properties);
void notifyGameStarted(UserProperties creator);
protected:
void parseData(QDataStream &stream_input);
void parseConnectedData(QDataStream &stream_input);
void parseMissingResources(QDataStream &stream_input);
void parseRegisterUserSuccessful(QDataStream &stream_input);
void parseRegisterUserError(QDataStream &stream_input);
void parseEditUserSuccessful(QDataStream &stream_input);
void parseEditUserError(QDataStream &stream_input);
void parseLoginSucessful(QDataStream &stream_input);
void parseLoginError(QDataStream &stream_input);
void parseMessage(QDataStream &stream_input);
void parseLoginUser(QDataStream &stream_input);
void parseLogoutUser(QDataStream &stream_input);
//juego
void parseCreateGame(QDataStream &stream_input);
void parseCloseGame(QDataStream &stream_input);
void parseRequestCreatedGames(QDataStream &stream_input);
void parsePlayerJoinedGame(QDataStream &stream_input);
void parsePlayerLeavedGame(QDataStream &stream_input);
void parseGameStarted(QDataStream &stream_input);
private:
ConnectionTcp();
//----------------------_att...
UserProperties _user_properties;
static ConnectionTcp* _instance;
};
#endif // CONNECTIONTCP_H
| [
"patadejaguar@gmail.com"
] | patadejaguar@gmail.com |
12864375ff7c9f2bb33eff960395b73346dc4793 | e2a20e4b607244c4b45caa0df2a7bc5f57e83075 | /Circular_list.cpp | 0b872382f2a67b66cb7890ada019db671c125f3c | [] | no_license | vicente97p4/DataStructure | d487994e872ebb8b0975bb4a27a986ce8ddcbb3b | aee93caf05849abe1993a4b33f70edfc32cc340c | refs/heads/master | 2023-01-27T14:10:04.629825 | 2020-12-08T08:21:25 | 2020-12-08T08:21:25 | 229,774,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include <stdio.h>
#include <stdlib.h>
typedef int element;
typedef struct ListNode {
element data;
struct ListNode *link;
}ListNode;
ListNode* create_node(element data, ListNode *link) {
ListNode *new_node;
new_node = (ListNode*)malloc(sizeof(ListNode));
new_node->data = data;
new_node->link = link;
return new_node;
}
void display(ListNode *head) {
ListNode *p;
if (head == NULL) return;
p = head;
do {
p = p->link;
printf("%d->", p->data);
} while (p != head);
printf("\n");
}
void insert_first(ListNode **phead, ListNode *node) {
if (*phead == NULL) {
*phead = node;
node->link = node;
}
else {
node->link = (*phead)->link;
(*phead)->link = node;
}
}
void insert_last(ListNode **phead, ListNode *node) {
if (*phead == NULL) {
*phead == node;
node->link = node;
}
else {
node->link = (*phead)->link;
(*phead)->link = node;
*phead = node;
}
}
int main() {
ListNode *list1 = NULL;
insert_first(&list1, create_node(10, NULL));
insert_first(&list1, create_node(20, NULL));
insert_last(&list1, create_node(30, NULL));
display(list1);
} | [
"59174085+vicente97p4@users.noreply.github.com"
] | 59174085+vicente97p4@users.noreply.github.com |
9ee8eb70c7f7645b9578e0793a787824b47c68ac | 009e98ac743a1fc66a765bfd8dd2240856299a47 | /src/qt/bitcoinstrings.cpp | 229ffdf46c86a3d9123dfed100afe3fdf3f477e5 | [
"MIT"
] | permissive | FWCC/Source | 0b9baee522917892369e2d655dcc5d562f5a4376 | 1c5b895fd75a2869e401900b09fa99b6a6101fdd | refs/heads/master | 2021-01-02T22:32:27.073403 | 2014-06-12T16:47:43 | 2014-06-12T16:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,160 | cpp | #include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {QT_TRANSLATE_NOOP("bitcoin-core", "To use the %s option"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
" %s\n"
"It is recommended you use the following random password:\n"
"rpcuser=FIFAWCCoinrpc\n"
"rpcpassword=%s\n"
"(you do not need to remember this password)\n"
"The username and password MUST NOT be the same.\n"
"If the file does not exist, create it with owner-readable-only file "
"permissions.\n"
"It is also recommended to set alertnotify so you are notified of problems;\n"
"for example: alertnotify=echo %%s | mail -s \"FIFAWCCoin Alert\" admin@foo."
"com\n"),
QT_TRANSLATE_NOOP("bitcoin-core", "Error"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv6, "
"falling back to IPv4: %s"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv4: %s"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"You must set rpcpassword=<password> in the configuration file:\n"
"%s\n"
"If the file does not exist, create it with owner-readable-only file "
"permissions."),
QT_TRANSLATE_NOOP("bitcoin-core", "FIFAWCCoin version"),
QT_TRANSLATE_NOOP("bitcoin-core", "Usage:"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send command to -server or FIFAWCCoind"),
QT_TRANSLATE_NOOP("bitcoin-core", "List commands"),
QT_TRANSLATE_NOOP("bitcoin-core", "Get help for a command"),
QT_TRANSLATE_NOOP("bitcoin-core", "FIFAWCCoin"),
QT_TRANSLATE_NOOP("bitcoin-core", "Options:"),
QT_TRANSLATE_NOOP("bitcoin-core", "This help message"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify configuration file (default: FIFAWCCoin.conf)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify pid file (default: FIFAWCCoind.pid)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify data directory"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify wallet file (within data directory)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Set database cache size in megabytes (default: 25)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Set database disk log size in megabytes (default: 100)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify connection timeout in milliseconds (default: 5000)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Connect through socks proxy"),
QT_TRANSLATE_NOOP("bitcoin-core", "Select the version of socks proxy to use (4-5, default: 5)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use proxy to reach tor hidden services (default: same as -proxy)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Allow DNS lookups for -addnode, -seednode and -connect"),
QT_TRANSLATE_NOOP("bitcoin-core", "Listen for connections on <port> (default: 15714 or testnet: 25714)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Maintain at most <n> connections to peers (default: 125)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Add a node to connect to and attempt to keep the connection open"),
QT_TRANSLATE_NOOP("bitcoin-core", "Connect only to the specified node(s)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Connect to a node to retrieve peer addresses, and disconnect"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify your own public address"),
QT_TRANSLATE_NOOP("bitcoin-core", "Only connect to nodes in network <net> (IPv4, IPv6 or Tor)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Discover own IP address (default: 1 when listening and no -externalip)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Find peers using internet relay chat (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Accept connections from outside (default: 1 if no -proxy or -connect)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Bind to given address. Use [host]:port notation for IPv6"),
QT_TRANSLATE_NOOP("bitcoin-core", "Find peers using DNS lookup (default: 1)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Stake your coins to support network and gain reward (default: 1)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Sync time with other nodes. Disable if time on your system is precise e.g. "
"syncing with NTP (default: 1)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Sync checkpoints policy (default: strict)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Threshold for disconnecting misbehaving peers (default: 100)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Number of seconds to keep misbehaving peers from reconnecting (default: "
"86400)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use UPnP to map the listening port (default: 1 when listening)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use UPnP to map the listening port (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Detach block and address databases. Increases shutdown time (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Fee per KB to add to transactions you send"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"When creating transactions, ignore inputs with value less than this "
"(default: 0.01)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Accept command line and JSON-RPC commands"),
QT_TRANSLATE_NOOP("bitcoin-core", "Run in the background as a daemon and accept commands"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use the test network"),
QT_TRANSLATE_NOOP("bitcoin-core", "Output extra debugging information. Implies all other -debug* options"),
QT_TRANSLATE_NOOP("bitcoin-core", "Output extra network debugging information"),
QT_TRANSLATE_NOOP("bitcoin-core", "Prepend debug output with timestamp"),
QT_TRANSLATE_NOOP("bitcoin-core", "Shrink debug.log file on client startup (default: 1 when no -debug)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send trace/debug info to console instead of debug.log file"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send trace/debug info to debugger"),
QT_TRANSLATE_NOOP("bitcoin-core", "Username for JSON-RPC connections"),
QT_TRANSLATE_NOOP("bitcoin-core", "Password for JSON-RPC connections"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Listen for JSON-RPC connections on <port> (default: 15715 or testnet: 25715)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Allow JSON-RPC connections from specified IP address"),
QT_TRANSLATE_NOOP("bitcoin-core", "Send commands to node running on <ip> (default: 127.0.0.1)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Execute command when the best block changes (%s in cmd is replaced by block "
"hash)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Execute command when a wallet transaction changes (%s in cmd is replaced by "
"TxID)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Require a confirmations for change (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Enforce transaction scripts to use canonical PUSH operators (default: 1)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Execute command when a relevant alert is received (%s in cmd is replaced by "
"message)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Upgrade wallet to latest format"),
QT_TRANSLATE_NOOP("bitcoin-core", "Set key pool size to <n> (default: 100)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Rescan the block chain for missing wallet transactions"),
QT_TRANSLATE_NOOP("bitcoin-core", "Attempt to recover private keys from a corrupt wallet.dat"),
QT_TRANSLATE_NOOP("bitcoin-core", "How many blocks to check at startup (default: 2500, 0 = all)"),
QT_TRANSLATE_NOOP("bitcoin-core", "How thorough the block verification is (0-6, default: 1)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Imports blocks from external blk000?.dat file"),
QT_TRANSLATE_NOOP("bitcoin-core", "Block creation options:"),
QT_TRANSLATE_NOOP("bitcoin-core", "Set minimum block size in bytes (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Set maximum block size in bytes (default: 250000)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Set maximum size of high-priority/low-fee transactions in bytes (default: "
"27000)"),
QT_TRANSLATE_NOOP("bitcoin-core", "SSL options: (see the Bitcoin Wiki for SSL setup instructions)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Use OpenSSL (https) for JSON-RPC connections"),
QT_TRANSLATE_NOOP("bitcoin-core", "Server certificate file (default: server.cert)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Server private key (default: server.pem)"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:"
"@STRENGTH)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -paytxfee=<amount>: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Warning: -paytxfee is set very high! This is the transaction fee you will "
"pay if you send a transaction."),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -mininput=<amount>: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Wallet %s resides outside data directory %s."),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Cannot obtain a lock on data directory %s. FIFAWCCoin is probably already "
"running."),
QT_TRANSLATE_NOOP("bitcoin-core", "Verifying database integrity..."),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Error initializing database environment %s! To recover, BACKUP THAT "
"DIRECTORY, then remove everything from it except for wallet.dat."),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as "
"wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect "
"you should restore from a backup."),
QT_TRANSLATE_NOOP("bitcoin-core", "wallet.dat corrupt, salvage failed"),
QT_TRANSLATE_NOOP("bitcoin-core", "Unknown -socks proxy version requested: %i"),
QT_TRANSLATE_NOOP("bitcoin-core", "Unknown network specified in -onlynet: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid -proxy address: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid -tor address: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Cannot resolve -bind address: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Failed to listen on any port. Use -listen=0 if you want this."),
QT_TRANSLATE_NOOP("bitcoin-core", "Cannot resolve -externalip address: '%s'"),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -reservebalance=<amount>"),
QT_TRANSLATE_NOOP("bitcoin-core", "Unable to sign checkpoint, wrong checkpointkey?\n"),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading block index..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Error loading blkindex.dat"),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading wallet..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat: Wallet corrupted"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Warning: error reading wallet.dat! All keys read correctly, but transaction "
"data or address book entries might be missing or incorrect."),
QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat: Wallet requires newer version of FIFAWCCoin"),
QT_TRANSLATE_NOOP("bitcoin-core", "Wallet needed to be rewritten: restart FIFAWCCoin to complete"),
QT_TRANSLATE_NOOP("bitcoin-core", "Error loading wallet.dat"),
QT_TRANSLATE_NOOP("bitcoin-core", "Cannot downgrade wallet"),
QT_TRANSLATE_NOOP("bitcoin-core", "Cannot initialize keypool"),
QT_TRANSLATE_NOOP("bitcoin-core", "Cannot write default address"),
QT_TRANSLATE_NOOP("bitcoin-core", "Rescanning..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Importing blockchain data file."),
QT_TRANSLATE_NOOP("bitcoin-core", "Importing bootstrap blockchain data file."),
QT_TRANSLATE_NOOP("bitcoin-core", "Loading addresses..."),
QT_TRANSLATE_NOOP("bitcoin-core", "Error: could not start node"),
QT_TRANSLATE_NOOP("bitcoin-core", "Done loading"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Unable to bind to %s on this computer. FIFAWCCoin is probably already running."),
QT_TRANSLATE_NOOP("bitcoin-core", "Unable to bind to %s on this computer (bind returned error %d, %s)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Error: Wallet locked, unable to create transaction "),
QT_TRANSLATE_NOOP("bitcoin-core", "Error: Wallet unlocked for staking only, unable to create transaction."),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Error: This transaction requires a transaction fee of at least %s because of "
"its amount, complexity, or use of recently received funds "),
QT_TRANSLATE_NOOP("bitcoin-core", "Error: Transaction creation failed "),
QT_TRANSLATE_NOOP("bitcoin-core", "Sending..."),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Error: The transaction was rejected. This might happen if some of the coins "
"in your wallet were already spent, such as if you used a copy of wallet.dat "
"and coins were spent in the copy but not marked as spent here."),
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount"),
QT_TRANSLATE_NOOP("bitcoin-core", "Insufficient funds"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"Warning: Please check that your computer's date and time are correct! If "
"your clock is wrong FIFAWCCoin will not work properly."),
QT_TRANSLATE_NOOP("bitcoin-core", "Warning: This version is obsolete, upgrade required!"),
QT_TRANSLATE_NOOP("bitcoin-core", "WARNING: syncronized checkpoint violation detected, but skipped!"),
QT_TRANSLATE_NOOP("bitcoin-core", "Warning: Disk space is low!"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"WARNING: Invalid checkpoint found! Displayed transactions may not be "
"correct! You may need to upgrade, or notify developers."),
}; | [
"dev@fifawccoin.org"
] | dev@fifawccoin.org |
4d2bf169dc26ceba5a8b52d2b384dd1dc87e1893 | 2d3b6fb9f5d814caf50d4c978335ce30dcbe9a80 | /include/QwSTailList.h | d14a612b84966c94e390a03d336144d83704a903 | [
"MIT"
] | permissive | monkeeLee/QueueWorld | 556c3b84d32d54ae2f0e20e1fef41dc0479ba6c4 | 6caab59d3736a14059411df6a6957c91afb00601 | refs/heads/master | 2020-03-18T06:09:16.481622 | 2018-04-27T13:18:52 | 2018-04-27T13:18:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,181 | h | /*
Queue World is copyright (c) 2014 Ross Bencina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#ifndef INCLUDED_QWSTAILLIST_H
#define INCLUDED_QWSTAILLIST_H
#include <algorithm>
#include <cassert>
#ifdef NDEBUG
#include <cstdlib> // abort
#endif
#include "QwConfig.h"
#include "QwSingleLinkNodeInfo.h"
/*
QwSTailList is a single-threaded singly linked list with support
for O(1) push_back().
Can be used as a FIFO queue stack (push and pop to front, push to back).
The list is internally terminated with a 0 (NULL) next ptr.
Constraints:
- Don't call pop_front() on an empty list.
Properties:
- Many operations could be free functions (insert_after_node,
remove_node_after, node_is_back, node is end, end).
- O(1) swap contents of two lists
Nodes must contain a links_ field that is an array of pointers to nodes.
NEXT_LINK_INDEX specifies the element of this array that is used for the
next ptr.
struct ExampleNodeType{
ExampleNodeType *links_[2]; // links isn't required to be at the top but it is required to be called links
enum { EXAMPLE_LINK_INDEX_1, EXAMPLE_LINK_INDEX_2 }
// ... other fields
}
typedef QwSTailList<ExampleNodeType*, ExampleNodeType::EXAMPLE_LINK_INDEX_1> ExampleListType;
see forward_list for an interface reference:
http://en.cppreference.com/w/cpp/container/forward_list
*/
template<typename NodePtrT, int NEXT_LINK_INDEX>
class QwSTailList{
typedef QwSingleLinkNodeInfo<NodePtrT,NEXT_LINK_INDEX> nextlink;
public:
typedef typename nextlink::node_type node_type;
typedef typename nextlink::node_ptr_type node_ptr_type;
typedef typename nextlink::const_node_ptr_type const_node_ptr_type;
private:
node_ptr_type front_; // aka head. first link in list
node_ptr_type back_; // last link in list
#if (QW_VALIDATE_NODE_LINKS == 1)
void CHECK_NODE_IS_UNLINKED( const_node_ptr_type n ) const
{
#ifndef NDEBUG
assert( nextlink::is_unlinked(n) == true );
assert( n != front_ );
assert( n != back_ );
// Note: we can't check that the node is not referenced by some other list
#else
if(!( nextlink::is_unlinked(n) == true )) { std::abort(); }
if(!( n != front_ )) { std::abort(); }
if(!( n != back_ )) { std::abort(); }
#endif
}
void CLEAR_NODE_LINKS_FOR_VALIDATION( node_ptr_type n ) const
{
nextlink::clear(n);
}
#else
void CHECK_NODE_IS_UNLINKED( const_node_ptr_type ) const {}
void CLEAR_NODE_LINKS_FOR_VALIDATION( node_ptr_type ) const {}
#endif
public:
class iterator{
node_ptr_type p_;
public:
#if (QW_VALIDATE_NODE_LINKS == 1)
iterator() : p_( 0 ) {}
#else
iterator() {}
#endif
explicit iterator( node_ptr_type p ) : p_( p ) {}
iterator& operator++ () // prefix ++
{
p_ = nextlink::load(p_);
return *this;
}
iterator operator++ (int) // postfix ++
{
iterator result(*this);
++(*this);
return result;
}
// list is a container of pointers so dereferencing the iterator gives a pointer
node_ptr_type operator*() const { return p_; }
const node_ptr_type* operator->() const { return &p_; }
bool operator!=(const iterator& rhs) const { return rhs.p_ != p_; }
bool operator==(const iterator& rhs) const { return rhs.p_ == p_; }
};
typedef iterator const_iterator;
// TODO also provides const_iterator?
QwSTailList() : front_( 0 ), back_( 0 ) {}
void clear() {
#if (QW_VALIDATE_NODE_LINKS == 1)
while( !empty() ) pop_front();
#else
// this doesn't mark nodes as unlinked
front_ = 0;
back_ = 0;
#endif
}
void swap( QwSTailList& other ) {
std::swap( front_, other.front_ );
std::swap( back_, other.back_ );
}
//see also void swap( QwSTailList& a, QwSTailList &b );
bool empty() const
{
return (front_ == 0);
}
bool size_is_1() const
{
return (front_ != 0 && front_ == back_ );
}
bool size_is_greater_than_1() const
{
return (front_ != 0 && front_ != back_ );
}
// front and back return 0 (NULL) when list is empty
node_ptr_type front() { return front_; }
const_node_ptr_type front() const { return front_; }
node_ptr_type back() { return back_; }
const_node_ptr_type back() const { return back_; }
void push_front( node_ptr_type n )
{
CHECK_NODE_IS_UNLINKED( n );
nextlink::store(n, front_); // this works even if front_ is 0 when the list is empty.
if( !front_ )
back_ = n;
front_ = n;
}
node_ptr_type pop_front()
{
assert( !empty() ); // this version of pop_front doesn't work on an empty list.
// caller should check is_empty() first.
node_ptr_type result = front_;
front_ = nextlink::load(front_);
if( !front_ )
back_ = 0;
CLEAR_NODE_LINKS_FOR_VALIDATION( result );
return result;
}
void push_back( node_ptr_type n )
{
CHECK_NODE_IS_UNLINKED( n );
nextlink::store(n, 0);
if( empty() ){
front_ = n;
}else{
nextlink::store(back_, n);
}
back_ = n;
}
void insert_after( node_ptr_type before, node_ptr_type n ) // insert n after node before
{
assert( before != 0 );
assert( n != 0 );
CHECK_NODE_IS_UNLINKED( n );
node_ptr_type after = nextlink::load(before);
nextlink::store(n, after);
nextlink::store(before, n);
if( !after )
back_ = n;
}
void insert_after( iterator before, node_ptr_type n ) // insert n after node before.
// works even with before_begin() on an empty list.
{
insert_after( *before, n );
}
node_ptr_type remove_after( node_ptr_type before ) // returns the removed node
{
assert( nextlink::load(before) != 0 ); // can't remove an item after the last item
node_ptr_type result = nextlink::load(before);
node_ptr_type next = nextlink::load(result);
nextlink::store(before, next);
if( !next ){
if( front_ == 0 ) // (nextlink::load(before) aliases front when using before_begin())
back_ = 0;
else
back_ = before;
}
CLEAR_NODE_LINKS_FOR_VALIDATION( result );
return result;
}
void remove_after( iterator before )
{
remove_after( *before );
}
// erase_after returns an iterator to the item past the
// item that was erased or end() if it was the last item
iterator erase_after( iterator before )
{
assert( before != end() );
node_ptr_type before_node_ptr = *before;
node_ptr_type erased_node_ptr = nextlink::load(before_node_ptr);
node_ptr_type next_node_ptr = nextlink::load(erased_node_ptr);
nextlink::store(before_node_ptr, next_node_ptr);
if( !next_node_ptr ){
if( front_ == 0 ) // (nextlink::load(before_node_ptr) aliases front when using before_begin())
back_ = 0;
else
back_ = before_node_ptr;
}
CLEAR_NODE_LINKS_FOR_VALIDATION( erased_node_ptr );
return iterator( nextlink::load(before_node_ptr) );
}
// forward_list provides remove() and remove_if()
iterator before_begin()
{
// pretend our front_ field is actually the next link field in a node struct
// offset backwards from front_ then cast to a node ptr and wrap in an iterator
// this is probably not strictly portable but it allows us to insert at the beginning.
return iterator( reinterpret_cast<node_ptr_type>(reinterpret_cast<char*>(&front_) - nextlink::offsetof_link()) );
}
iterator begin() const { return iterator(front_); }
const iterator end() const { return iterator(0); }
// forward_list also provides const iterator and const iterator accessors
static node_ptr_type next( node_ptr_type n ) { return nextlink::load(n); }
/*
bool is_front( const node_ptr_type node ) const
{
return node == front_;
}
bool is_back( const node_ptr_type node ) const
{
return nextlink::load(node) == 0;
}
// identify terminator pointer (it's just a NULL ptr)
bool is_end( const node_ptr_type node ) const // node points to the element past back
{
return (node == 0);
}
*/
};
template<typename NodePtrT, int NEXT_LINK_INDEX>
inline void swap( QwSTailList<NodePtrT,NEXT_LINK_INDEX>& a, QwSTailList<NodePtrT,NEXT_LINK_INDEX>& b )
{
a.swap(b);
}
#endif /* INCLUDED_QWSTAILLIST_H */
/* -----------------------------------------------------------------------
Last reviewed: June 30, 2013
Last reviewed by: Ross B.
Status: OK
-------------------------------------------------------------------------- */
| [
"rossb@audiomulch.com"
] | rossb@audiomulch.com |
5d1aefb39b6f3d5e1bef6838b89c38b0e876402b | 8448de53a91d6e2ac638290baf8e8cf6b2115322 | /easyMule/src/UILayer/DlgMainTabSidePanel.h | 0b8fdf96f33d478a216c0b3e765540b71446cafd | [] | no_license | tempbottle/archive-code | 0986e3e8dc689eedfb79adbbbbc51f6582f02d51 | 4a0b65fa026d868a018dddd14d5ed20e6c6044c6 | refs/heads/master | 2020-12-25T15:29:37.601713 | 2015-08-11T16:26:14 | 2015-08-11T16:26:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,164 | h | /*
* $Id: DlgMainTabSidePanel.h 19524 2010-05-20 10:09:21Z dgkang $
*
* 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.
*/
#pragma once
// CDlgMainTabSidePanel 对话框
#include "Resource.h"
#include "afxwin.h"
#include "SearchButton.h"
//#include "SpeedMeter.h"
#include "SearchBarCtrl.h"
class CDlgMainTabSidePanel : public CDialog
{
DECLARE_DYNAMIC(CDlgMainTabSidePanel)
//DECLARE_ANCHOR_MAP() //Added by thilon on 2007.02.03, for Resize
public:
CDlgMainTabSidePanel(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgMainTabSidePanel();
// 对话框数据
enum { IDD = IDD_MAINTAB_SIDEPANEL };
public:
CSearchBarCtrl m_SearchBarCtrl;
CSearchButton m_SearchButton;
public:
int GetDesireWidth();
void Resize();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
//afx_msg BOOL OnEraseBkgnd(CDC* pDC);
LRESULT OnEraseBkgndEx(WPARAM wParam, LPARAM lParam);
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
protected:
virtual void OnCancel();
protected:
// afx_msg void OnBnClickedSearchbutton();
protected:
virtual void OnOK();
public:
afx_msg void OnPaint();
protected:
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
| [
"V.E.O@TOM.COM"
] | V.E.O@TOM.COM |
7dd41b80e58ef7256cc004dafa7f26824f6f0651 | df91a067ebe74199b0f8b8248ef3a3652e26b3ac | /com/ComAll/XHook.hpp | 49f39c912f6268fd2e5e05f110ec03e5df5a2247 | [] | no_license | xjp342023125/Code | 6aba3ca9122f07bc49417365153220a50d1f9fb5 | a6f6ae371fd157127b18b959c69ce0c2c76e6a22 | refs/heads/master | 2021-08-06T20:28:53.867527 | 2021-07-07T08:09:36 | 2021-07-07T08:09:36 | 79,343,868 | 5 | 2 | null | null | null | null | GB18030 | C++ | false | false | 9,793 | hpp | #pragma once
#include "XAsm.hpp"
typedef unsigned char BYTE;
typedef BYTE *PBYTE;
typedef void *LPVOID;
// apex的getopcodelen
static unsigned long MaskTable[518]={0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000008, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000008, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000008, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00008000, 0x00008000, 0x00000008, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00004000, 0x00004000,0x00000008, 0x00000008, 0x00001008, 0x00000018,0x00002000, 0x00006000, 0x00000100, 0x00004100,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00004100, 0x00006000, 0x00004100, 0x00004100,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00002002, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000020, 0x00000020, 0x00000020, 0x00000020,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000100, 0x00002000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00004100, 0x00004100, 0x00000200, 0x00000000,0x00004000, 0x00004000, 0x00004100, 0x00006000,0x00000300, 0x00000000, 0x00000200, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00000100, 0x00000100, 0x00000000, 0x00000000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00000100, 0x00000100, 0x00000100, 0x00000100,0x00002000, 0x00002000, 0x00002002, 0x00000100,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000008, 0x00000000, 0x00000008, 0x00000008,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0xFFFFFFFF,0x00000000, 0x00000000, 0x00000000, 0x00000000,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00002000, 0x00002000, 0x00002000, 0x00002000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00000000, 0x00000000, 0x00000000, 0x00004000,0x00004100, 0x00004000, 0xFFFFFFFF, 0xFFFFFFFF,0x00000000, 0x00000000, 0x00000000, 0x00004000,0x00004100, 0x00004000, 0xFFFFFFFF, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0xFFFFFFFF, 0xFFFFFFFF, 0x00004100, 0x00004000,0x00004000, 0x00004000, 0x00004000, 0x00004000,0x00004000, 0x00004000, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0x00000000, 0x00000000, 0x00000000, 0x00000000,0x00000000, 0x00000000, 0x00000000, 0x00000000,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,0xFFFFFFFF, 0xFFFFFFFF};
static int GetOpCodeSize (PBYTE Start){
DWORD* Tlb=(DWORD*)MaskTable;
PBYTE pOPCode;
DWORD t, c;
BYTE dh, dl, al;
int OpCodeSize =-1;
t = 0;
pOPCode = (PBYTE) Start;
c = 0;
do {
t &= 0x0F7;
c = *(BYTE *) pOPCode++;
t |= Tlb[c] ;
} while( ((t & 0x000000FF) & 8) != 0);
if ((c == 0x0F6) || (c == 0x0F7)){
t |= 0x00004000;
if ( (0x38 & *(BYTE *) pOPCode++) == 0)
t |= 0x00008000;
}else if (c == 0x0CD){
t |= 0x00000100;
if ( (*(BYTE *) pOPCode++) == 0x20)
t |= 0x00000400;
}else if (c == 0x0F){
al = *(BYTE *) pOPCode++;
t |= Tlb[al + 0x100];
if (t == 0xFFFFFFFF)
return OpCodeSize;
}
if ((((t & 0x0000FF00) >> 8) & 0x80) != 0){
dh = static_cast<BYTE> ((t & 0x0000FF00) >> 8);
dh ^= 0x20;
if ((c & 1) == 0)
dh ^= 0x21;
t &= 0xFFFF00FF;
t |= (dh << 8);
}
if ((((t & 0x0000FF00) >> 8) & 0x40) != 0 ) {
al = *(BYTE *) pOPCode++;
c = (DWORD)al;
c |= (al << 8);
c &= 0xC007;
if ( (c & 0x0000FF00) != 0xC000 ){
if ( ((t & 0x000000FF) & 0x10) == 0){
if ((c & 0x000000FF) == 4){
al = *(BYTE *) pOPCode++;
al &= 7;
c &= 0x0000FF00;
c |= al;
}
if ((c & 0x0000FF00) != 0x4000) {
if ((c & 0x0000FF00) == 0x8000) t |= 4;
else if (c==5)
t |= 4;
}
else
t |= 1;
}else{
if (c != 6) {
if((c & 0x0000FF00) == 0x4000)
t |= 1;
else if ((c & 0x0000FF00) == 0x8000)
t |= 2;
}
else
t |= 2;
}
}
}
if ((((t & 0x000000FF)) & 0x20) != 0){
dl = static_cast<BYTE> (t & 0x000000FF);
dl ^= 2;
t &= 0xFFFFFF00;
t |= dl;
if ((dl & 0x10) == 0){
dl ^= 6;
t &= 0xFFFFFF00;
t |= dl;
}
}
if ((((t & 0x0000FF00) >> 8) & 0x20) != 0){
dh = static_cast<BYTE> ((t & 0x0000FF00) >> 8);
dh ^= 2;
t &= 0xFFFF00FF;
t |= (dh << 8);
if ((dh & 0x10) == 0){
if (dh & 0x40) //是否是 0x6x
dh ^= 1; // 当dh = 0x2x 这里计算多2,当=62的时候却是 异或1
t &= 0xFFFFFF00;
t |= dh;
}
}
OpCodeSize = reinterpret_cast<DWORD> (pOPCode) - reinterpret_cast<DWORD> (Start);
t &= 0x707;
OpCodeSize += t & 0x000000FF;
OpCodeSize += (t & 0x0000FF00) >> 8;
if (((*(char*)Start) & 0x000000FF) == 0x66)
if ( OpCodeSize >= 6)
OpCodeSize -= 2; //减2处理 ,将 dword 型转成 word 型
return OpCodeSize;
}
#define HOOK_LEN 5
#define HOOK_RET_OLD_LEN 10
#define MAX_LEN 100
struct HookEnv{
addr_t dwAddr;
uint32 dwLen;
uint8 szOldCode[MAX_LEN];//file
uint8 szNewCode[MAX_LEN];//mem
};
static void UnHook(HookEnv &h){
EnableWrite(h.dwAddr);
memcpy((void*)h.dwAddr,h.szOldCode,h.dwLen);
DisableWrite(h.dwAddr);
}
static void InitHookEnv(HookEnv &h){
h.dwAddr = 0;
h.dwLen = 0;
memset(h.szOldCode,0x90,MAX_LEN);
memset(h.szNewCode,0x90,MAX_LEN);
}
static bool Hook(HookEnv &h,addr_t dwAddrOld,addr_t dwAddrNew,bool ModifyOld = true){
h.dwAddr = dwAddrOld;
//保存老代码
while (h.dwLen < HOOK_LEN) {
h.dwLen += GetOpCodeSize(PBYTE(h.dwAddr) + h.dwLen);
}
memcpy(h.szOldCode,(PVOID)h.dwAddr,h.dwLen);
// 保存老代码,跳回老代码
EnableWrite(&h.szOldCode[h.dwLen]);
SetJmpTo(&h.szOldCode[h.dwLen],(PBYTE)h.dwAddr+h.dwLen,E_JMP);
DisableWrite(&h.szOldCode[h.dwLen]);
if (ModifyOld){
// 修改老代码
EnableWrite(h.dwAddr);
SetJmpTo((uint8*)h.dwAddr,(uint8*)dwAddrNew,E_JMP);
DisableWrite(h.dwAddr);
}
return true;
} | [
"qt00@qq.com"
] | qt00@qq.com |
b8072e71fe99e30475a645ce7651f30f3010e9fd | afe1098ad3ad5a5a19c5ecc6668b3e3af2f525bd | /ListaOrdenada_Tarde_virouNoite/ListaSimples_Tarde/ListaLigada.cpp | baaae1d46916e5c0834d49fbbade5e01bd8e9460 | [] | no_license | RafaelSanoKaturabara/Fatec | b799f5581ed40b63951adae27ccb6414e2781b2b | 2c1e64dac7b0582aaa84e02143e7799485081e94 | refs/heads/master | 2021-01-12T01:53:33.670592 | 2017-12-16T14:23:30 | 2017-12-16T14:23:30 | 78,430,988 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,275 | cpp | // Programa exemplo de uma lista ligada simples com inserção no último da lista
// FATEC - MC - JCB - 16/02/2017 - Versão 0.0
#include "Lista.h"
// Função que pede o código do cliente
// Parâmetros:
// Entrada: char *ptrTransacao - ponteiro para um string que contém a ação sendo executada
// int *ptrCodigo - ponteiro da inteira a receber o código
// Retorno: bool - true - foi informado um código do cliente
// false - a ação foi cancelada
bool PedeCodigoCliente(char *ptrTransacao, int *ptrCodigo)
{
cout << "\n\t" << ptrTransacao << endl;
cout << "\nInforme o código do cliente" << endl
<< "Ou zero para cancelar a ação pedida: ";
cin >> *ptrCodigo; // a inteira apontada recebe o código
if(*ptrCodigo == 0) // cancelar a ação?
return false; // avisa que cancelou
return true; // indica que tem um código digitado
}
//
// entry point do programa
//
void main(void)
{
CLIENTE stCliente; // para conter os dados de um cliente
char cOpcao; // opção de escolha do operador
setlocale(LC_ALL, "portuguese_brazil"); // acentuação brasileira
// instanciar a classe cliente e criar um objeto
clCliente objCliente; // criou o objCliente
// loop infinito do programa
while(true)
{
LIMPAR_TELA;
cout << "\n\tFATEC - MC - Programa de teste da lista ligada simples" << endl;
cout << INCLUIR_CLIENTE << " - Incluir novo cliente" << endl;
cout << EXCLUIR_CLIENTE << " - Excluir cliente existente" << endl;
cout << BUSCAR_CLIENTE << " - Buscar um cliente" << endl;
cout << CLASSIFICAR_LISTA << " - Classificar lista de clientes" << endl;
cout << LISTAR_CLIENTES << " - Listar clientes" << endl;
cout << SAIR_DO_PROGRAMA << " - Sair do programa" << endl;
cout << "\tSelecione: ";
cin >> cOpcao; // recebe a opção do operador
cOpcao = toupper(cOpcao); // opção em maiúscula
switch(cOpcao) // avaliar a opção escolhida
{
case INCLUIR_CLIENTE:
if(!PedeCodigoCliente("Incluir cliente", &stCliente.nCodCliente)) // cancelou?
break; // volta ao menu
// verificar se o cliente existe
if(objCliente.VerificaSeClienteExiste(stCliente.nCodCliente, &stCliente))
{ // cliente existe
cout << "\nCliente: " << stCliente.nCodCliente << " Nome: "
<< stCliente.cNomeCliente << endl << "\tJá existe!" << endl;
PAUSA;
break; // volta ao menu
}
// cliente não existe
cout << "\nNome do cliente: ";
cin.ignore(1, EOF); // ignorar a tecla ENTER do buffer do teclado
cin.getline(stCliente.cNomeCliente, 40, '\n'); // recebe um texto com ENTER
cout << "Saldo do cliente: ";
cin >> stCliente.dSaldoCliente;
// fazer a inserção
if(!objCliente.InserirCliente(&stCliente)) // problema na inserção?
{ // não tem memória disponível para inserção do cliente
cout << "Não tem memória disponível!" << endl;
PAUSA;
}
break; // volta ao menu
case EXCLUIR_CLIENTE:
if(!PedeCodigoCliente("Excluir cliente", &stCliente.nCodCliente)) // cancelou?
break; // volta ao menu
// verificar se o cliente existe
if(objCliente.VerificaSeClienteExiste(stCliente.nCodCliente, &stCliente))
{ // cliente existe
cout << "\nCliente: " << stCliente.nCodCliente << " Nome: "
<< stCliente.cNomeCliente << endl
<< "\tConfirma a exclusão? (S ou N): ";
cin >> cOpcao; // recebe a confirmação ou não
if(cOpcao != 'S' && cOpcao != 's') // não foi S ou s?
break; // volta ao menu
// fazer a exclusão
if(!objCliente.ExcluirClienteDaLista(stCliente.nCodCliente)) // não encontrou?
{
cout << "Problema na exclusão!" << endl;
PAUSA;
}
break; // volta ao menu
}
else
{ // cliente não existe
cout << "Cliente de código: " << stCliente.nCodCliente
<< " não existe!" << endl;
PAUSA;
}
break; // volta ao menu
case BUSCAR_CLIENTE:
if(!PedeCodigoCliente("Buscar cliente", &stCliente.nCodCliente)) // cancelou?
break; // volta ao menu
// verificar se o cliente existe
if(objCliente.VerificaSeClienteExiste(stCliente.nCodCliente, &stCliente))
{ // cliente existe
cout << "\nCliente: " << stCliente.nCodCliente << " Nome: "
<< stCliente.cNomeCliente
<< endl << "Saldo: " << stCliente.dSaldoCliente << endl;
PAUSA;
break; // volta ao menu
}
else
{ // cliente não existe
cout << "Cliente de código: " << stCliente.nCodCliente
<< " não existe!" << endl;
PAUSA;
}
break; // volta ao menu
case CLASSIFICAR_LISTA:
if(!objCliente.ClassificarListaLigada())
{ // lista está vazia
cout << "Lista vazia!" << endl;
PAUSA;
}
break; // volta ao menu
case LISTAR_CLIENTES:
objCliente.ListarClientes();
break; // volta ao menu
case SAIR_DO_PROGRAMA:
cout << "Sair realmente? (S ou N): ";
cin >> cOpcao;
if(cOpcao == 'S' || cOpcao == 's') // sair realmente?
return; // volta ao sistema operacional
break;
default:
cout << "\nOpção inválida!" << endl;
PAUSA;
} // switch
} // while
} // main
| [
"rafael.katurabara@fatec.sp.gov.br"
] | rafael.katurabara@fatec.sp.gov.br |
1084b7dd5b191b1d7d89f3ef6944d066c6a31ca5 | 54ba691c639168b4dd2ec24263a0b6e64a25d8dc | /04_STL/19_Multimaps.cpp | 9d4b61176251a0bb6215ae4755fa5f51dd896aa5 | [] | no_license | moipm/advancedcpp | cd97eeb50aaed9f28bed4aae784f7fe2f531d7b3 | 9f8f0bc3af06808f463b2027b5a8e0c7eeeed837 | refs/heads/master | 2020-06-04T23:01:45.615400 | 2019-07-18T17:04:54 | 2019-07-18T17:04:54 | 192,224,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | #include <iostream>
#include <map>
using namespace std;
int main() {
multimap<int, string> lookup;
lookup.insert(make_pair(32, "Miguel"));
lookup.insert(make_pair(10, "Vic"));
lookup.insert(make_pair(32, "Raul"));
lookup.insert(make_pair(20, "Bob"));
for (multimap<int, string>::iterator it = lookup.begin(); it != lookup.end(); ++it) {
cout << it->first << ": " << it->second << endl;
}
cout << endl;
for (multimap<int, string>::iterator it = lookup.find(20); it != lookup.end(); ++it) {
cout << it->first << ": " << it->second << endl;
}
cout << endl;
pair<multimap<int, string>::iterator, multimap<int, string>::iterator> its = lookup.equal_range(32);
for (multimap<int, string>::iterator it = its.first; it != its.second; ++it) {
cout << it->first << ": " << it->second << endl;
}
cout << endl;
auto its2 = lookup.equal_range(32);
for (multimap<int, string>::iterator it = its2.first; it != its2.second; ++it) {
cout << it->first << ": " << it->second << endl;
}
return 0;
} | [
"moipalmon@gmail.com"
] | moipalmon@gmail.com |
62b9ad8757df815adc817e7f8df0189a34e223b9 | 00dd9ac568ae9399f55d0ae9fa8fbbfa4b710d24 | /ProblemsSolved/Graphs/sumo.cpp | 31a5675bfe5a25cd216729fec2243dc807a21611 | [
"Apache-2.0"
] | permissive | opwarp/Algorithms | 8337c1d9e126f7414c553fa3c112a3ec068f82e6 | af791541d416c29867213d705375cbb3361f486c | refs/heads/master | 2022-04-04T23:41:56.659498 | 2020-02-17T15:02:19 | 2020-02-17T15:02:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | cpp | #include<bits/stdc++.h>
using namespace std;
int n;
vector<vector<int>> ady;
vector<int> color;
bool isBipartite() {
for (int s = 1; s <= n; s++) {
if (color[s] > -1)
continue;
color[s] = 0;
queue<int> q; q.push(s);
while(!q.empty()) {
int u = q.front(); q.pop();
for (int &v : ady[u]) {
if (color[v] < 0)
q.push(v), color[v] = !color[u];
if (color[v] == color[u])
return false;
}
}
}
return true;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int m;
cin >> n >> m;
ady.resize(n + 1);
color = vector<int>(n + 1, -1);
vector<int> us(m);
vector<int> vs(m);
for (int i = 0; i < m; i++) {
int u, v;
cin >> u >> v;
us[i] = u;
vs[i] = v;
}
int left = 1, right = m, middle = 0;
int limit = 20;
while (limit--) {
middle = (left + right) / 2;
for (int i = 1; i <= n; i++)
ady[i].clear(), color[i] = -1;
for (int i = 0; i < middle; i++) {
ady[us[i]].push_back(vs[i]);
ady[vs[i]].push_back(us[i]);
}
if (isBipartite())
left = middle + 1;
else
right = middle;
}
cout << right << endl;
return 0;
} | [
"serchgabriel97@gmail.com"
] | serchgabriel97@gmail.com |
29cda2912fbea7d12e4ef74fc54ee383a2833b17 | 1007b1d0fcc07171a081871394f8c849fe6d93fa | /software/SLAM/ygz_slam_ros/examples/MakeSceneEurocStereoVIO_ros.cpp | ab37e88cd742dd5a264a413ac2f46c0539af0049 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jtpils/GAAS | da474c1081f2645a02e5e0fa8a1ab6708c1dbfd7 | 4523c117efcf44b64250d9154665c6b18d285288 | refs/heads/master | 2020-05-07T12:29:03.361463 | 2019-04-09T06:10:15 | 2019-04-09T06:10:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,842 | cpp | /**
* This is the Euroc stereo visual-inertial odometry program
* Please specify the dataset directory in the config file
*/
#include <math.h>
#include <Eigen/Core>
#include <opencv2/opencv.hpp>
#include <opencv2/core/eigen.hpp>
#include "ygz/System.h"
#include "ygz/EurocReader.h"
#include <ros/ros.h>
#include <sensor_msgs/Imu.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/NavSatFix.h>
#include <geometry_msgs/QuaternionStamped.h> //for DJI.
#include <nav_msgs/Odometry.h>
#include <geometry_msgs/Quaternion.h> //for apm and pixhawk.
#include <visualization_msgs/Marker.h> //for visualization.
#include <cv_bridge/cv_bridge.h>
#include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <ros/duration.h>
#include <math.h>
#include <geometry_msgs/PoseStamped.h> //for px4's external pose estimate
#include <sensor_msgs/Imu.h>
#include <mavros_msgs/CommandBool.h>
#include <mavros_msgs/SetMode.h>
#include <mavros_msgs/State.h>
//add scene retrieving.
#include "ygz/scene_retrieve.h"
#include "ygz/LoopClosingManager.h"
#include <signal.h>
#include <csignal>
#include <DBoW3/DBoW3.h>
using namespace DBoW3;
using namespace std;
using namespace ygz;
//Scene Pointer
Scene* pScene = NULL;
//NOTE do we want to publish vision estimated quaternion
bool publishVisionQuaternion = true;
//NOTE mode switch, do we want to publish SLAM output pose to /mavros/vision_pose/pose
bool publishSLAM = false;
sensor_msgs::Imu pixhawk_imu_data;
double pixhawk_heading, pixhawk_heading_rad;
bool IMU_valid = false;
const double pi = 3.14159265359;
VecIMU temp_vimu;
cv_bridge::CvImageConstPtr cv_ptrLeft;
cv_bridge::CvImageConstPtr cv_ptrRight;
System * pSystem;
struct GPS_pos
{
double x;
double y;
double z;
int time_ms;
};
typedef std::vector<GPS_pos> VecGPS;
VecGPS gps_list;
std::vector<double> HeadingVec;
int imu_idx = 0;
double init_longitude;
double init_latitude;
double init_altitude;
bool long_lat_ever_init;
VecAtti atti_list;
VehicleAttitude init_atti;
bool atti_ever_init;
double init_height;
typedef std::vector<double> VecHeight;
VecHeight height_list;
bool height_ever_init;
void FetchHeightCallback(const double);
ros::Publisher* pVisualOdomPublisher;
ros::Publisher* pExternalEstimate;
ros::Publisher* SLAMpose;
ros::Publisher* pFakeGPS;
int VisualOdomMSGindex;
SE3d pos_and_atti;
cv::Mat M1l, M2l, M1r, M2r;
#define GD_semiMajorAxis 6378.137000000
#define GD_TranMercB 6356.752314245
#define GD_geocentF 0.003352810664
mavros_msgs::State current_state;
size_t frame_index = 0;
std::ofstream SlamPoseHistory, px4PoseHistory;
vector<cv::Mat> VecLeftImage, VecRightImage;
DBoW3::Database cur_frame_db;
LoopClosingManager* pLoopClosingManager;
void mySigintHandler(int sig)
{
{
pScene->saveFile("scene.scn");
pScene->saveVoc();
cout<<"Saving Scene.cn and Voc finished!"<<endl;
cur_frame_db.save("database.bin");
for(int i; i<VecLeftImage.size(); i++)
{
cv::imwrite("./image/left/"+to_string(i)+".png", VecLeftImage[i].clone() );
cv::imwrite("./image/right/"+to_string(i)+".png", VecRightImage[i].clone() );
}
}
cout << "All done"<<endl;
ros::shutdown();
}
void state_cb(const mavros_msgs::State::ConstPtr& msg){
current_state = *msg;
}
void geodeticOffsetInv( double refLat, double refLon,
double lat, double lon,
double& xOffset, double& yOffset )
{
double a = GD_semiMajorAxis;
double b = GD_TranMercB;
double f = GD_geocentF;
double L = lon-refLon;
double U1 = atan((1-f) * tan(refLat));
double U2 = atan((1-f) * tan(lat));
double sinU1 = sin(U1);
double cosU1 = cos(U1);
double sinU2 = sin(U2);
double cosU2 = cos(U2);
double lambda = L;
double lambdaP;
double sinSigma;
double sigma;
double cosSigma;
double cosSqAlpha;
double cos2SigmaM;
double sinLambda;
double cosLambda;
double sinAlpha;
int iterLimit = 100;
do {
sinLambda = sin(lambda);
cosLambda = cos(lambda);
sinSigma = sqrt((cosU2*sinLambda) * (cosU2*sinLambda) +
(cosU1*sinU2-sinU1*cosU2*cosLambda) *
(cosU1*sinU2-sinU1*cosU2*cosLambda) );
if (sinSigma==0)
{
xOffset = 0.0;
yOffset = 0.0;
return ; // co-incident points
}
cosSigma = sinU1*sinU2 + cosU1*cosU2*cosLambda;
sigma = atan2(sinSigma, cosSigma);
sinAlpha = cosU1 * cosU2 * sinLambda / sinSigma;
cosSqAlpha = 1 - sinAlpha*sinAlpha;
cos2SigmaM = cosSigma - 2*sinU1*sinU2/cosSqAlpha;
if (cos2SigmaM != cos2SigmaM) //isNaN
{
cos2SigmaM = 0; // equatorial line: cosSqAlpha=0 (§6)
}
double C = f/16*cosSqAlpha*(4+f*(4-3*cosSqAlpha));
lambdaP = lambda;
lambda = L + (1-C) * f * sinAlpha *
(sigma + C*sinSigma*(cos2SigmaM+C*cosSigma*(-1+2*cos2SigmaM*cos2SigmaM)));
} while (fabs(lambda-lambdaP) > 1e-12 && --iterLimit>0);
if (iterLimit==0)
{
xOffset = 0.0;
yOffset = 0.0;
return; // formula failed to converge
}
double uSq = cosSqAlpha * (a*a - b*b) / (b*b);
double A = 1 + uSq/16384*(4096+uSq*(-768+uSq*(320-175*uSq)));
double B = uSq/1024 * (256+uSq*(-128+uSq*(74-47*uSq)));
double deltaSigma = B*sinSigma*(cos2SigmaM+B/4*(cosSigma*(-1+2*cos2SigmaM*cos2SigmaM)-
B/6*cos2SigmaM*(-3+4*sinSigma*sinSigma)*(-3+4*cos2SigmaM*cos2SigmaM)));
double s = b*A*(sigma-deltaSigma);
double bearing = atan2(cosU2*sinLambda, cosU1*sinU2-sinU1*cosU2*cosLambda);
xOffset = sin(bearing)*s*1000.0;
yOffset = cos(bearing)*s*1000.0;
}
void FetchImuCallback(const sensor_msgs::Imu& imu)
{
//LOG(INFO) << "fetching imu" << endl;
IMUData t_imu(imu.angular_velocity.x,
imu.angular_velocity.y,
imu.angular_velocity.z,
imu.linear_acceleration.x,
imu.linear_acceleration.y,
imu.linear_acceleration.z,
imu.header.stamp.toNSec() );
temp_vimu.push_back(t_imu);
//LOG(INFO) << "fecthing imu2" << endl;
}
void Display(cv_bridge::CvImageConstPtr cv_ptrLeft, cv_bridge::CvImageConstPtr cv_ptrRight)
{
cv::imshow("Left Image", cv_ptrLeft->image);
cv::imshow("Right Image", cv_ptrRight->image);
cv::waitKey(5);
}
void FetchGPSCallback(const sensor_msgs::NavSatFix& gps_info)
{
//cout<<"Got NavSatFix info!!!!!!"<<endl;
GPS_pos new_pos;
if(!long_lat_ever_init)
{
init_longitude = gps_info.longitude;
init_latitude = gps_info.latitude;
init_altitude = gps_info.altitude;
long_lat_ever_init = true;
cout<<"GPS init pos recorded!";
}
double newx,newy;
geodeticOffsetInv(init_latitude,init_longitude,gps_info.latitude,gps_info.longitude,newx,newy);
new_pos.x = newx;
new_pos.y = newy;
new_pos.z = gps_info.altitude - init_altitude;
new_pos.time_ms = gps_info.header.stamp.toNSec();
// cout <<"GPS_POS:"<<newx<<" "<<newy<<" "<<new_pos.z<<endl;
gps_list.push_back(new_pos);
}
void set_attitude_by_msg_dji(const geometry_msgs::QuaternionStamped& msg,VehicleAttitude& atti,bool do_reform = false)
{
atti.q.x() = msg.quaternion.x;
atti.q.y() = msg.quaternion.y;
atti.q.z() = msg.quaternion.z;
atti.q.w() = msg.quaternion.w;
if(do_reform)
{
atti.q = atti.q*(init_atti.q.inverse());
}
//LOG(WARNING)<<"Attitude input:\n\n"<<endl;
//LOG(WARNING)<<atti.q.toRotationMatrix()<<endl;
atti.time_ms = msg.header.stamp.toNSec();
}
void set_attitude_by_msg_px4(const nav_msgs::Odometry& msg,VehicleAttitude& atti,bool do_reform = false)
{
atti.q.x() = msg.pose.pose.orientation.x;
atti.q.y() = msg.pose.pose.orientation.y;
atti.q.z() = msg.pose.pose.orientation.z;
atti.q.w() = msg.pose.pose.orientation.w;
if(do_reform)
{
atti.q = atti.q*(init_atti.q.inverse());
}
//LOG(WARNING)<<"Attitude input:\n\n"<<endl;
//LOG(WARNING)<<atti.q.toRotationMatrix()<<endl;
atti.time_ms = msg.header.stamp.toNSec();
}
void FetchAttitudeCallback_dji(const geometry_msgs::QuaternionStamped& atti_msg)
{
//cout<<"Got atti_msg!!"<<endl;
if(!atti_ever_init)
{
set_attitude_by_msg_dji(atti_msg,init_atti,false);
atti_ever_init = true;
return;
}
VehicleAttitude new_atti;
set_attitude_by_msg_dji(atti_msg,new_atti,true);
atti_list.push_back(new_atti);
//cout<<"atti_msg pushed into list!"<<endl;
}
void FetchAttitudeCallback_px4(const nav_msgs::Odometry& atti_msg)
{
//cout<<"Got atti_msg!!"<<endl;
FetchHeightCallback(atti_msg.pose.pose.position.z);
if(!atti_ever_init)
{
set_attitude_by_msg_px4(atti_msg,init_atti,false);
atti_ever_init = true;
return;
}
VehicleAttitude new_atti;
set_attitude_by_msg_px4(atti_msg,new_atti,true);
atti_list.push_back(new_atti);
//cout<<"atti_msg pushed into list!"<<endl;
}
void FetchHeightCallback(const double height)
{
if(!height_ever_init)
{
init_height = height;
height_ever_init = true;
return;
}
height_list.push_back(height-init_height);
}
void deg2rad(double heading_deg)
{
pixhawk_heading_rad = (heading_deg * pi)/180;
}
void pixhawkIMU_sub(const sensor_msgs::Imu &curQ)
{
pixhawk_imu_data = curQ;
//decode heading information from pixhawk onbaord IMU quaternion
double w = curQ.orientation.w;
double z_in = curQ.orientation.z;
double check_NS = w*z_in;
double w_abs = abs(w);
double z_in_abs = abs(z_in);
double heading_deg = 180.0*(2*acos(w_abs)/pi) -180;
if(check_NS>0)
{
heading_deg*=-1.0;
}
heading_deg+=270;
if (heading_deg>360)
{
heading_deg-=360;
}
//ROS_INFO("Current Heading is : %f", heading_deg);
//ignore the first 20 readings and only use values from [20, 60)
if(40 >= imu_idx && imu_idx >= 20)
{
HeadingVec.push_back(heading_deg);
ROS_INFO("Heading received: %f", heading_deg);
}
//average the values we got
else if(imu_idx == 41)
{
float sum = 0;
for(auto n : HeadingVec)
{
sum += n;
}
pixhawk_heading = sum/HeadingVec.size();
ROS_INFO("Heading set to: %f", pixhawk_heading);
//set global heading in rad
deg2rad(pixhawk_heading);
//IMU data received, set it valid
IMU_valid = true;
}
imu_idx++;
}
void TEMP_FetchImageAndAttitudeCallback(const sensor_msgs::ImageConstPtr& msgLeft ,const sensor_msgs::ImageConstPtr &msgRight,const geometry_msgs::PoseStamped &posemsg)
{
System& system = *pSystem;
try
{
cv_ptrLeft = cv_bridge::toCvShare(msgLeft);
cv_ptrRight = cv_bridge::toCvShare(msgRight);
}
catch (cv_bridge::Exception& e)
{
ROS_ERROR("cv_bridge exception: %s", e.what());
return;
}
cv::Mat imLeftRect, imRightRect;
//cv::remap(cv_ptrLeft->image, imLeftRect, M1l, M2l, cv::INTER_LINEAR);
//cv::remap(cv_ptrRight->image, imRightRect, M1r, M2r, cv::INTER_LINEAR);
imLeftRect = cv_ptrLeft->image;
imRightRect = cv_ptrRight->image;
VehicleAttitude atti;
atti.q.x() = posemsg.pose.orientation.x;
atti.q.y() = posemsg.pose.orientation.y;
atti.q.z() = posemsg.pose.orientation.z;
atti.q.w() = posemsg.pose.orientation.w;
/*if(do_reform)
{
atti.q = atti.q*(init_atti.q.inverse());
}*/
//LOG(WARNING)<<"Attitude input:\n\n"<<endl;
//LOG(WARNING)<<atti.q.toRotationMatrix()<<endl;
atti.time_ms = posemsg.header.stamp.toNSec();
pos_and_atti = system.AddStereoIMU(imLeftRect, imRightRect, cv_ptrLeft->header.stamp.toNSec(),temp_vimu,
0,0,0,false,atti,true,0,false);
Vector3d pos = pos_and_atti.translation();
Matrix3d mat = pos_and_atti.rotationMatrix();
Quaterniond quat(mat);
SlamPoseHistory << to_string(pos[0]) + "," + to_string(pos[1]) + "," + to_string(pos[2]) + "\n";
//px4PoseHistory << to_string(posemsg.pose.position.x) + "," + to_string(posemsg.pose.position.y) + "," + to_string(posemsg.pose.position.z) + "\n";
geometry_msgs::PoseStamped SlamPose;
SlamPose.header.stamp = ros::Time::now();
auto &pose_obs = SlamPose.pose.position;
pose_obs.x = pos(0,0);
pose_obs.y = pos(1,0);
pose_obs.z = pos(2,0);
auto &pose_atti = SlamPose.pose.orientation;
pose_atti.w = quat.w();
pose_atti.x = quat.x();
pose_atti.y = quat.y();
pose_atti.z = quat.z();
SLAMpose->publish(SlamPose);
//add scene frame to scene
cv::Mat rotationmat,translationmat;
cv::eigen2cv(mat,rotationmat); // inverse operation:eigen2cv.
cv::eigen2cv(pos,translationmat);
cv::Mat Q_mat = (Mat_<float>(4,4) << 1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1);
if(!rotationmat.empty() && !translationmat.empty())
{
cout<<"r, t, q are: "<<rotationmat<<endl<<translationmat<<endl;
//pts2d_in pts3d_in desp, R, t
//typedef std::tuple<std::vector<cv::KeyPoint>, std::vector<cv::Point3d>, cv::Mat, cv::Mat, cv::Mat> SceneFrame;
SceneFrame scene_frame = generateSceneFrameFromStereoImage(imLeftRect, imRightRect, rotationmat, translationmat, Q_mat);
pScene->addFrame(scene_frame);
cur_frame_db.add(get<2>(scene_frame));
cout<<"cur_frame_db info: "<<cur_frame_db<<endl;
{
VecLeftImage.push_back(imLeftRect.clone());
}
{
VecRightImage.push_back(imRightRect.clone());
}
}
frame_index++;
temp_vimu.clear();
}
int main(int argc, char **argv) {
pScene = new Scene();
pScene->setHasScale(true);
gps_list.clear();
atti_list.clear();
long_lat_ever_init = false;
atti_ever_init = false;
height_ever_init = false;
FLAGS_logtostderr = true;
if(argc != 2)
{
cout<<"YOU NEED TO SPECIFY CONFIG PATH!"<<endl;
return 0;
}
SlamPoseHistory.open("./slampose.csv");
px4PoseHistory.open("./px4pose.csv");
google::InitGoogleLogging(argv[0]);
string config_path = argv[1];
string configFile(config_path);
cv::FileStorage fsSettings(configFile, cv::FileStorage::READ);
System system(config_path);
pSystem = &system;
string left_topic = string(fsSettings["Left"]);
string right_topic = string(fsSettings["Right"]);
string cur_voc_path = string(fsSettings["VocPath"]);
cur_frame_db = DBoW3::Database("/home/gishr/software/GAAS_backup/software/SLAM/ygz_slam_ros/image/small_voc.yml.gz", false, 0);
// rectification parameters
cv::Mat K_l, K_r, P_l, P_r, R_l, R_r, D_l, D_r;
fsSettings["LEFT.K"] >> K_l;
fsSettings["RIGHT.K"] >> K_r;
fsSettings["LEFT.P"] >> P_l;
fsSettings["RIGHT.P"] >> P_r;
fsSettings["LEFT.R"] >> R_l;
fsSettings["RIGHT.R"] >> R_r;
fsSettings["LEFT.D"] >> D_l;
fsSettings["RIGHT.D"] >> D_r;
int rows_l = fsSettings["LEFT.height"];
int cols_l = fsSettings["LEFT.width"];
int rows_r = fsSettings["RIGHT.height"];
int cols_r = fsSettings["RIGHT.width"];
if (K_l.empty() || K_r.empty() || P_l.empty() || P_r.empty() || R_l.empty() || R_r.empty() || D_l.empty() ||
D_r.empty() ||
rows_l == 0 || rows_r == 0 || cols_l == 0 || cols_r == 0) {
cerr << "ERROR: Calibration parameters to rectify stereo are missing!" << endl;
return 1;
}
cv::initUndistortRectifyMap(K_l, D_l, R_l, P_l.rowRange(0, 3).colRange(0, 3), cv::Size(cols_l, rows_l), CV_32F, M1l,
M2l);
cv::initUndistortRectifyMap(K_r, D_r, R_r, P_r.rowRange(0, 3).colRange(0, 3), cv::Size(cols_r, rows_r), CV_32F, M1r,
M2r);
cv::Mat Rbc, tbc;
fsSettings["RBC"] >> Rbc;
fsSettings["TBC"] >> tbc;
if (!Rbc.empty() && tbc.empty()) {
Matrix3d Rbc_;
Vector3d tbc_;
Rbc_ <<
Rbc.at<double>(0, 0), Rbc.at<double>(0, 1), Rbc.at<double>(0, 2),
Rbc.at<double>(1, 0), Rbc.at<double>(1, 1), Rbc.at<double>(1, 2),
Rbc.at<double>(2, 0), Rbc.at<double>(2, 1), Rbc.at<double>(2, 2);
tbc_ <<
tbc.at<double>(0, 0), tbc.at<double>(1, 0), tbc.at<double>(2, 0);
setting::TBC = SE3d(Rbc_, tbc_);
}
ros::init(argc, argv, "ygz_with_gps", ros::init_options::NoSigintHandler);
ros::NodeHandle nh;
signal(SIGINT, mySigintHandler);
message_filters::Subscriber<sensor_msgs::Image> left_sub(nh, left_topic, 10);
message_filters::Subscriber<sensor_msgs::Image> right_sub(nh, right_topic, 10);
ros::Subscriber imu_sub = nh.subscribe("/mynteye/imu/data_raw", 1000, FetchImuCallback);
ros::Subscriber gps_sub = nh.subscribe("/dji_sdk/gps_position",100,FetchGPSCallback);
ros::Publisher ygz_odom_vis_pub = nh.advertise<visualization_msgs::Marker>("/ygz_odom_marker",10);
pVisualOdomPublisher = &ygz_odom_vis_pub;
VisualOdomMSGindex = 0;
//for DJI device:
//ros::Subscriber atti_sub_dji = nh.subscribe("/dji_sdk/attitude",100,FetchAttitudeCallback_dji);
//for PX4 device:
ros::Subscriber atti_sub_px4 = nh.subscribe("/mavros/global_position/local",100,FetchAttitudeCallback_px4);
//old version
//typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::Image, sensor_msgs::Image> sync_pol;
//message_filters::Synchronizer<sync_pol> sync(sync_pol(10), left_sub, right_sub);
//sync.setMaxIntervalDuration(ros::Duration(0.01));
//sync.registerCallback(boost::bind(FetchImageCallback, _1, _2));
//new version with attitude by pixhawk mavlink msg.
typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::Image, sensor_msgs::Image,geometry_msgs::PoseStamped> sync_pol;
message_filters::Subscriber<geometry_msgs::PoseStamped> px4_attitude_sub(nh, "/mavros/local_position/pose", 10);
message_filters::Synchronizer<sync_pol> sync(sync_pol(10), left_sub, right_sub,px4_attitude_sub);
sync.registerCallback(//boost::bind(
TEMP_FetchImageAndAttitudeCallback
//,_1,_2,_3)
);
//NOTE for test
ros::Publisher slam_output_pose = nh.advertise<geometry_msgs::PoseStamped>("/SLAM/pose_for_obs_avoid",10);
SLAMpose = &slam_output_pose;
//NOTE For px4's external pose estimate
ros::Publisher px4_external_pose_estimate = nh.advertise<geometry_msgs::PoseStamped>("/mavros/vision_pose/pose",10);
pExternalEstimate = &px4_external_pose_estimate;
//NOTE px4 state
ros::Subscriber state_sub = nh.subscribe<mavros_msgs::State>("mavros/state", 10, state_cb);
//NOTE fake gps vision
ros::Publisher px4FakeGPS = nh.advertise<geometry_msgs::PoseStamped>("/mavros/fake_gps/vision",10);
pFakeGPS = &px4FakeGPS;
//NOTE external heading subscriber
//ros::Subscriber heading_sub = nh.subscribe<mavros_msgs::State>("mavros/state", 10, heading_cb);
//NOTE drone onboard imu data
ros::Subscriber pixhawk_imu_sub = nh.subscribe("/mavros/imu/data", 5, pixhawkIMU_sub);
ros::spin();
return 0;
}
| [
"haoransong1106@gmail.com"
] | haoransong1106@gmail.com |
6e924eb8c4285b1df0120c00c2e7a9d7a684ab73 | 75ab6a045ccfae81a1f0c5ffadeecafbfc82c475 | /day5/src/main.cpp | 984199cae8c1a3188e1b8bdc1b41b6abc73f7995 | [] | no_license | CelestineSauvage/AdventOfCode15 | 073a491fe44e6d64f8c03b05574301153ebb0857 | 4d1d6ac4170d86d6a61b74460133ed8569b951f3 | refs/heads/master | 2022-09-13T01:34:54.284272 | 2020-06-01T14:57:18 | 2020-06-01T14:57:18 | 268,099,955 | 0 | 1 | null | 2020-06-02T11:41:04 | 2020-05-30T14:50:21 | C++ | UTF-8 | C++ | false | false | 2,331 | cpp | #include <string>
#include<vector>
#include <iostream>
#include <fstream>
#include <algorithm>
const int MAX_CHAR = 26;
using namespace std;
bool threevowels (string word) {
std::string vowels = "aeiou";
int occ = 0;
for (char const &c: word) {
if (vowels.find(c) != std::string::npos){
occ++;
if (occ == 3)
return true;
}
}
return false;
}
bool twice (string word) {
for (int ind = 0; ind < (word.length() - 1); ind++) {
if (word[ind] == word[ind+1])
return true;
}
return false;
}
bool tofollow(string word) {
string concat;
std::vector<string> notgood;
string str1 = "ab";
string str2 = "cd";
string str3 = "pq";
string str4 = "xy";
notgood.push_back(str1);
notgood.push_back(str2);
notgood.push_back(str3);
notgood.push_back(str4);
for (int ind = 0; ind < (word.length() - 1); ind++) {
concat = word[ind];
concat += word[ind+1];
for (auto it = notgood.begin() ; it != notgood.end(); ++it){
if (concat == *it)
return false;
}
}
return true;
}
bool contains(string word) {
string concat;
for (int ind = 0; ind < (word.length() - 1); ind++) {
concat = word[ind];
concat += word[ind+1];
size_t pos = word.find(concat, ind + 2);
if (pos != std::string::npos) {
return true;
}
}
return false;
}
bool sandwich(string word) {
for (int ind = 0; ind < (word.length() - 1); ind++) {
if (word[ind] == word[ind+2])
return true;
}
return false;
}
int greatline (string word){
if (threevowels(word) && twice(word) && tofollow(word)){
// cout << word << '\n';
return 1;
}
else
return 0;
}
int greatline2 (string word){
if (contains(word) && sandwich(word)){
// cout << word << '\n';
return 1;
}
else
return 0;
}
int readfile (char * file) {
string line;
ifstream myfile;
int good;
int res;
myfile.open (file);
res = 0;
good = 0;
if (myfile.is_open())
{
if (myfile.is_open()){
while (getline(myfile, line)){
good = greatline2(line);
res = res + good;
}
myfile.close();
}
}
else cout << "Unable to open file";
return res;
}
int main(int argc, char * argv[]) {
string code;
cout << readfile(argv[1]) << '\n';
// cout << parseFloors2 (code) << '\n';
exit(0);
}
| [
"celestine.sauvage@gmail.com"
] | celestine.sauvage@gmail.com |
3248869efd3b45aaad6820812961e057486d26a5 | 6922d9f3c59cc35ddf0aa8c7d69ac249cabb2658 | /代码/hanzi-detection/tools/kitti_evaluate/evaluate_object.cpp | 1fc9611496954ebf7f9a5b0d1ee80615ecd6a275 | [] | no_license | monkeyshichi/Huawei_Handwriting | c93dde0854655b024e13746d53b53aadcaa4703f | 1b40ede901c0b158ebb88ac30abd5532fe91efa3 | refs/heads/master | 2020-05-09T21:08:55.673303 | 2019-04-12T09:02:24 | 2019-04-12T09:02:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,624 | cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
#include <math.h>
#include <vector>
#include <numeric>
#include <strings.h>
#include <assert.h>
using namespace std;
/*=======================================================================
STATIC EVALUATION PARAMETERS
=======================================================================*/
// holds the number of test images on the server
const int32_t N_TESTIMAGES = 7518;
// easy, moderate and hard evaluation level
vector<string> DIFFICULTY_NAMES;
enum DIFFICULTY{EASY=0, MODERATE=1, HARD=2};
// evaluation parameter
const int32_t MIN_HEIGHT[3] = {40, 25, 25}; // minimum height for evaluated groundtruth/detections
const int32_t MAX_OCCLUSION[3] = {0, 1, 2}; // maximum occlusion level of the groundtruth used for evaluation
const double MAX_TRUNCATION[3] = {0.15, 0.3, 0.5}; // maximum truncation level of the groundtruth used for evaluation
// evaluated object classes
enum CLASSES{CAR=0, PEDESTRIAN=1, CYCLIST=2};
// parameters varying per class
vector<string> CLASS_NAMES;
const double MIN_OVERLAP[3] = {0.7, 0.5, 0.5}; // the minimum overlap required for evaluation
// no. of recall steps that should be evaluated (discretized)
const double N_SAMPLE_PTS = 41;
// initialize class names
void initGlobals () {
CLASS_NAMES.push_back("car");
CLASS_NAMES.push_back("pedestrian");
CLASS_NAMES.push_back("cyclist");
DIFFICULTY_NAMES.push_back("easy");
DIFFICULTY_NAMES.push_back("moderate");
DIFFICULTY_NAMES.push_back("hard");
}
/*=======================================================================
DATA TYPES FOR EVALUATION
=======================================================================*/
// holding data needed for precision-recall and precision-aos
struct tPrData {
vector<double> v; // detection score for computing score thresholds
double similarity; // orientation similarity
int32_t tp; // true positives
int32_t fp; // false positives
int32_t fn; // false negatives
tPrData () :
similarity(0), tp(0), fp(0), fn(0) {}
};
// holding bounding boxes for ground truth and detections
struct tBox {
string type; // object type as car, pedestrian or cyclist,...
double x1; // left corner
double y1; // top corner
double x2; // right corner
double y2; // bottom corner
double alpha; // image orientation
tBox (string type, double x1,double y1,double x2,double y2,double alpha) :
type(type),x1(x1),y1(y1),x2(x2),y2(y2),alpha(alpha) {}
};
// holding ground truth data
struct tGroundtruth {
tBox box; // object type, box, orientation
double truncation; // truncation 0..1
int32_t occlusion; // occlusion 0,1,2 (non, partly, fully)
tGroundtruth () :
box(tBox("invalild",-1,-1,-1,-1,-10)),truncation(-1),occlusion(-1) {}
tGroundtruth (tBox box,double truncation,int32_t occlusion) :
box(box),truncation(truncation),occlusion(occlusion) {}
tGroundtruth (string type,double x1,double y1,double x2,double y2,double alpha,double truncation,int32_t occlusion) :
box(tBox(type,x1,y1,x2,y2,alpha)),truncation(truncation),occlusion(occlusion) {}
};
// holding detection data
struct tDetection {
tBox box; // object type, box, orientation
double thresh; // detection score
tDetection ():
box(tBox("invalid",-1,-1,-1,-1,-10)),thresh(-1000) {}
tDetection (tBox box,double thresh) :
box(box),thresh(thresh) {}
tDetection (string type,double x1,double y1,double x2,double y2,double alpha,double thresh) :
box(tBox(type,x1,y1,x2,y2,alpha)),thresh(thresh) {}
};
/*=======================================================================
FUNCTIONS TO LOAD DETECTION AND GROUND TRUTH DATA ONCE, SAVE RESULTS
=======================================================================*/
vector<tDetection> loadDetections(string file_name, bool &compute_aos, bool &eval_car, bool &eval_pedestrian, bool &eval_cyclist, bool &success) {
// holds all detections (ignored detections are indicated by an index vector
vector<tDetection> detections;
FILE *fp = fopen(file_name.c_str(),"r");
if (!fp) {
success = false;
return detections;
}
while (!feof(fp)) {
tDetection d;
double trash;
char str[255];
if (fscanf(fp, "%s %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf",
str, &trash, &trash, &d.box.alpha,
&d.box.x1, &d.box.y1, &d.box.x2, &d.box.y2,
&trash, &trash, &trash, &trash,
&trash, &trash, &trash, &d.thresh )==16) {
d.box.type = str;
detections.push_back(d);
// orientation=-10 is invalid, AOS is not evaluated if at least one orientation is invalid
if(d.box.alpha==-10)
compute_aos = false;
// a class is only evaluated if it is detected at least once
if(!eval_car && !strcasecmp(d.box.type.c_str(), "car"))
eval_car = true;
if(!eval_pedestrian && !strcasecmp(d.box.type.c_str(), "pedestrian"))
eval_pedestrian = true;
if(!eval_cyclist && !strcasecmp(d.box.type.c_str(), "cyclist"))
eval_cyclist = true;
}
}
fclose(fp);
success = true;
return detections;
}
vector<tGroundtruth> loadGroundtruth(string file_name,bool &success) {
// holds all ground truth (ignored ground truth is indicated by an index vector
vector<tGroundtruth> groundtruth;
FILE *fp = fopen(file_name.c_str(),"r");
if (!fp) {
success = false;
return groundtruth;
}
while (!feof(fp)) {
tGroundtruth g;
double trash;
char str[255];
if (fscanf(fp, "%s %lf %d %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf %lf",
str, &g.truncation, &g.occlusion, &g.box.alpha,
&g.box.x1, &g.box.y1, &g.box.x2, &g.box.y2,
&trash, &trash, &trash, &trash,
&trash, &trash, &trash )==15) {
g.box.type = str;
groundtruth.push_back(g);
}
}
fclose(fp);
success = true;
return groundtruth;
}
void saveStats (const vector<double> &precision, const vector<double> &aos, FILE *fp_det, FILE *fp_ori) {
// save precision to file
if(precision.empty())
return;
for (int32_t i=0; i<precision.size(); i++)
fprintf(fp_det,"%f ",precision[i]);
fprintf(fp_det,"\n");
// save orientation similarity, only if there were no invalid orientation entries in submission (alpha=-10)
if(aos.empty())
return;
for (int32_t i=0; i<aos.size(); i++)
fprintf(fp_ori,"%f ",aos[i]);
fprintf(fp_ori,"\n");
}
/*=======================================================================
EVALUATION HELPER FUNCTIONS
=======================================================================*/
// criterion defines whether the overlap is computed with respect to both areas (ground truth and detection)
// or with respect to box a or b (detection and "dontcare" areas)
inline double boxoverlap(tBox a, tBox b, int32_t criterion=-1){
// overlap is invalid in the beginning
double o = -1;
// get overlapping area
double x1 = max(a.x1, b.x1);
double y1 = max(a.y1, b.y1);
double x2 = min(a.x2, b.x2);
double y2 = min(a.y2, b.y2);
// compute width and height of overlapping area
double w = x2-x1;
double h = y2-y1;
// set invalid entries to 0 overlap
if(w<=0 || h<=0)
return 0;
// get overlapping areas
double inter = w*h;
double a_area = (a.x2-a.x1) * (a.y2-a.y1);
double b_area = (b.x2-b.x1) * (b.y2-b.y1);
// intersection over union overlap depending on users choice
if(criterion==-1) // union
o = inter / (a_area+b_area-inter);
else if(criterion==0) // bbox_a
o = inter / a_area;
else if(criterion==1) // bbox_b
o = inter / b_area;
// overlap
return o;
}
vector<double> getThresholds(vector<double> &v, double n_groundtruth){
// holds scores needed to compute N_SAMPLE_PTS recall values
vector<double> t;
// sort scores in descending order
// (highest score is assumed to give best/most confident detections)
sort(v.begin(), v.end(), greater<double>());
// get scores for linearly spaced recall
double current_recall = 0;
for(int32_t i=0; i<v.size(); i++){
// check if right-hand-side recall with respect to current recall is close than left-hand-side one
// in this case, skip the current detection score
double l_recall, r_recall, recall;
l_recall = (double)(i+1)/n_groundtruth;
if(i<(v.size()-1))
r_recall = (double)(i+2)/n_groundtruth;
else
r_recall = l_recall;
if( (r_recall-current_recall) < (current_recall-l_recall) && i<(v.size()-1))
continue;
// left recall is the best approximation, so use this and goto next recall step for approximation
recall = l_recall;
// the next recall step was reached
t.push_back(v[i]);
current_recall += 1.0/(N_SAMPLE_PTS-1.0);
}
return t;
}
void cleanData(CLASSES current_class, const vector<tGroundtruth> >, const vector<tDetection> &det, vector<int32_t> &ignored_gt, vector<tGroundtruth> &dc, vector<int32_t> &ignored_det, int32_t &n_gt, DIFFICULTY difficulty){
// extract ground truth bounding boxes for current evaluation class
for(int32_t i=0;i<gt.size(); i++){
// only bounding boxes with a minimum height are used for evaluation
double height = gt[i].box.y2 - gt[i].box.y1;
// neighboring classes are ignored ("van" for "car" and "person_sitting" for "pedestrian")
// (lower/upper cases are ignored)
int32_t valid_class;
// all classes without a neighboring class
if(!strcasecmp(gt[i].box.type.c_str(), CLASS_NAMES[current_class].c_str()))
valid_class = 1;
// classes with a neighboring class
else if(!strcasecmp(CLASS_NAMES[current_class].c_str(), "Pedestrian") && !strcasecmp("Person_sitting", gt[i].box.type.c_str()))
valid_class = 0;
else if(!strcasecmp(CLASS_NAMES[current_class].c_str(), "Car") && !strcasecmp("Van", gt[i].box.type.c_str()))
valid_class = 0;
// classes not used for evaluation
else
valid_class = -1;
// ground truth is ignored, if occlusion, truncation exceeds the difficulty or ground truth is too small
// (doesn't count as FN nor TP, although detections may be assigned)
bool ignore = false;
if(gt[i].occlusion>MAX_OCCLUSION[difficulty] || gt[i].truncation>MAX_TRUNCATION[difficulty] || height<MIN_HEIGHT[difficulty])
ignore = true;
// set ignored vector for ground truth
// current class and not ignored (total no. of ground truth is detected for recall denominator)
if(valid_class==1 && !ignore){
ignored_gt.push_back(0);
n_gt++;
}
// neighboring class, or current class but ignored
else if(valid_class==0 || (ignore && valid_class==1))
ignored_gt.push_back(1);
// all other classes which are FN in the evaluation
else
ignored_gt.push_back(-1);
}
// extract dontcare areas
for(int32_t i=0;i<gt.size(); i++)
if(!strcasecmp("DontCare", gt[i].box.type.c_str()))
dc.push_back(gt[i]);
// extract detections bounding boxes of the current class
for(int32_t i=0;i<det.size(); i++){
// neighboring classes are not evaluated
int32_t valid_class;
if(!strcasecmp(det[i].box.type.c_str(), CLASS_NAMES[current_class].c_str()))
valid_class = 1;
else
valid_class = -1;
// set ignored vector for detections
if(valid_class==1)
ignored_det.push_back(0);
else
ignored_det.push_back(-1);
}
}
tPrData computeStatistics(CLASSES current_class, const vector<tGroundtruth> >, const vector<tDetection> &det, const vector<tGroundtruth> &dc, const vector<int32_t> &ignored_gt, const vector<int32_t> &ignored_det, bool compute_fp, bool compute_aos=false, double thresh=0, bool debug=false){
tPrData stat = tPrData();
const double NO_DETECTION = -10000000;
vector<double> delta; // holds angular difference for TPs (needed for AOS evaluation)
vector<bool> assigned_detection; // holds wether a detection was assigned to a valid or ignored ground truth
assigned_detection.assign(det.size(), false);
vector<bool> ignored_threshold;
ignored_threshold.assign(det.size(), false); // holds detections with a threshold lower than thresh if FP are computed
// detections with a low score are ignored for computing precision (needs FP)
if(compute_fp)
for(int32_t i=0; i<det.size(); i++)
if(det[i].thresh<thresh)
ignored_threshold[i] = true;
// evaluate all ground truth boxes
for(int32_t i=0; i<gt.size(); i++){
// this ground truth is not of the current or a neighboring class and therefore ignored
if(ignored_gt[i]==-1)
continue;
/*=======================================================================
find candidates (overlap with ground truth > 0.5) (logical len(det))
=======================================================================*/
int32_t det_idx = -1;
double valid_detection = NO_DETECTION;
double max_overlap = 0;
// search for a possible detection
bool assigned_ignored_det = false;
for(int32_t j=0; j<det.size(); j++){
// detections not of the current class, already assigned or with a low threshold are ignored
if(ignored_det[j]==-1)
continue;
if(assigned_detection[j])
continue;
if(ignored_threshold[j])
continue;
// find the maximum score for the candidates and get idx of respective detection
double overlap = boxoverlap(det[j].box, gt[i].box);
// for computing recall thresholds, the candidate with highest score is considered
if(!compute_fp && overlap>MIN_OVERLAP[current_class] && det[j].thresh>valid_detection){
det_idx = j;
valid_detection = det[j].thresh;
}
// for computing pr curve values, the candidate with the greatest overlap is considered
// if the greatest overlap is an ignored detection (min_height), the overlapping detection is used
else if(compute_fp && overlap>MIN_OVERLAP[current_class] && (overlap>max_overlap || assigned_ignored_det) && ignored_det[j]==0){
max_overlap = overlap;
det_idx = j;
valid_detection = 1;
assigned_ignored_det = false;
}
else if(compute_fp && overlap>MIN_OVERLAP[current_class] && valid_detection==NO_DETECTION && ignored_det[j]==1){
det_idx = j;
valid_detection = 1;
assigned_ignored_det = true;
}
}
/*=======================================================================
compute TP, FP and FN
=======================================================================*/
// nothing was assigned to this valid ground truth
if(valid_detection==NO_DETECTION && ignored_gt[i]==0)
stat.fn++;
// only evaluate valid ground truth <=> detection assignments (considering difficulty level)
else if(valid_detection!=NO_DETECTION && (ignored_gt[i]==1 || ignored_det[det_idx]==1))
assigned_detection[det_idx] = true;
// found a valid true positive
else if(valid_detection!=NO_DETECTION){
// write highest score to threshold vector
stat.tp++;
stat.v.push_back(det[det_idx].thresh);
// compute angular difference of detection and ground truth if valid detection orientation was provided
if(compute_aos)
delta.push_back(gt[i].box.alpha - det[det_idx].box.alpha);
// clean up
assigned_detection[det_idx] = true;
}
}
// if FP are requested, consider stuff area
if(compute_fp){
// count fp
for(int32_t i=0; i<det.size(); i++){
// count false positives if required (height smaller than required is ignored (ignored_det==1)
if(!(assigned_detection[i] || ignored_det[i]==-1 || ignored_det[i]==1 || ignored_threshold[i]))
stat.fp++;
}
// do not consider detections overlapping with stuff area
int32_t nstuff = 0;
for(int32_t i=0; i<dc.size(); i++){
for(int32_t j=0; j<det.size(); j++){
// detections not of the current class, already assigned, with a low threshold or a low minimum height are ignored
if(assigned_detection[j])
continue;
if(ignored_det[j]==-1 || ignored_det[j]==1)
continue;
if(ignored_threshold[j])
continue;
// compute overlap and assign to stuff area, if overlap exceeds class specific value
double overlap = boxoverlap(det[j].box, dc[i].box, 0);
if(overlap>MIN_OVERLAP[current_class]){
assigned_detection[j] = true;
nstuff++;
}
}
}
// FP = no. of all not to ground truth assigned detections - detections assigned to stuff areas
stat.fp -= nstuff;
// if all orientation values are valid, the AOS is computed
if(compute_aos){
vector<double> tmp;
// FP have a similarity of 0, for all TP compute AOS
tmp.assign(stat.fp, 0);
for(int32_t i=0; i<delta.size(); i++)
tmp.push_back((1.0+cos(delta[i]))/2.0);
// be sure, that all orientation deltas are computed
assert(tmp.size()==stat.fp+stat.tp);
assert(delta.size()==stat.tp);
// get the mean orientation similarity for this image
if(stat.tp>0 || stat.fp>0)
stat.similarity = accumulate(tmp.begin(), tmp.end(), 0.0);
// there was neither a FP nor a TP, so the similarity is ignored in the evaluation
else
stat.similarity = -1;
}
}
return stat;
}
/*=======================================================================
EVALUATE CLASS-WISE
=======================================================================*/
bool eval_class (FILE *fp_det, FILE *fp_ori, CLASSES current_class,const vector< vector<tGroundtruth> > &groundtruth,const vector< vector<tDetection> > &detections, bool compute_aos, vector<double> &precision, vector<double> &aos, DIFFICULTY difficulty) {
// init
int32_t n_gt=0; // total no. of gt (denominator of recall)
vector<double> v, thresholds; // detection scores, evaluated for recall discretization
vector< vector<int32_t> > ignored_gt, ignored_det; // index of ignored gt detection for current class/difficulty
vector< vector<tGroundtruth> > dontcare; // index of dontcare areas, included in ground truth
// for all test images do
// for (int32_t i=0; i<N_TESTIMAGES; i++){
for (int32_t i=0; i<groundtruth.size(); i++){
// holds ignored ground truth, ignored detections and dontcare areas for current frame
vector<int32_t> i_gt, i_det;
vector<tGroundtruth> dc;
// only evaluate objects of current class and ignore occluded, truncated objects
cleanData(current_class, groundtruth[i], detections[i], i_gt, dc, i_det, n_gt, difficulty);
ignored_gt.push_back(i_gt);
ignored_det.push_back(i_det);
dontcare.push_back(dc);
// compute statistics to get recall values
tPrData pr_tmp = tPrData();
pr_tmp = computeStatistics(current_class, groundtruth[i], detections[i], dc, i_gt, i_det, false);
// add detection scores to vector over all images
for(int32_t j=0; j<pr_tmp.v.size(); j++)
v.push_back(pr_tmp.v[j]);
}
// get scores that must be evaluated for recall discretization
thresholds = getThresholds(v, n_gt);
// compute TP,FP,FN for relevant scores
vector<tPrData> pr;
pr.assign(thresholds.size(),tPrData());
// for (int32_t i=0; i<N_TESTIMAGES; i++){
for (int32_t i=0; i<groundtruth.size(); i++){
// for all scores/recall thresholds do:
for(int32_t t=0; t<thresholds.size(); t++){
tPrData tmp = tPrData();
tmp = computeStatistics(current_class, groundtruth[i], detections[i], dontcare[i],
ignored_gt[i], ignored_det[i], true, compute_aos, thresholds[t], t==38);
// add no. of TP, FP, FN, AOS for current frame to total evaluation for current threshold
pr[t].tp += tmp.tp;
pr[t].fp += tmp.fp;
pr[t].fn += tmp.fn;
if(tmp.similarity!=-1)
pr[t].similarity += tmp.similarity;
}
}
// compute recall, precision and AOS
vector<double> recall;
precision.assign(N_SAMPLE_PTS, 0);
if(compute_aos)
aos.assign(N_SAMPLE_PTS, 0);
double r=0;
// printf("thresholds:%d\n", thresholds.size());
for (int32_t i=0; i<thresholds.size(); i++){
r = pr[i].tp/(double)(pr[i].tp + pr[i].fn);
recall.push_back(r);
precision[i] = pr[i].tp/(double)(pr[i].tp + pr[i].fp);
if(compute_aos)
aos[i] = pr[i].similarity/(double)(pr[i].tp + pr[i].fp);
}
// filter precision and AOS using max_{i..end}(precision)
for (int32_t i=0; i<thresholds.size(); i++){
precision[i] = *max_element(precision.begin()+i, precision.end());
if(compute_aos)
aos[i] = *max_element(aos.begin()+i, aos.end());
}
// save statisics and finish with success
saveStats(precision, aos, fp_det, fp_ori);
return true;
}
void saveAndPlotPlots(string dir_name,string file_name,string obj_type,vector<double> vals[],bool is_aos){
char command[1024];
// save plot data to file
FILE *fp = fopen((dir_name + "/" + file_name + ".txt").c_str(),"w");
for (int32_t i=0; i<(int)N_SAMPLE_PTS; i++)
fprintf(fp,"%f %f %f %f\n",(double)i/(N_SAMPLE_PTS-1.0),vals[0][i],vals[1][i],vals[2][i]);
fclose(fp);
// create png + eps
for (int32_t j=0; j<2; j++) {
// open file
FILE *fp = fopen((dir_name + "/" + file_name + ".gp").c_str(),"w");
// save gnuplot instructions
if (j==0) {
fprintf(fp,"set term png size 450,315 font \"Helvetica\" 11\n");
fprintf(fp,"set output \"%s.png\"\n",file_name.c_str());
} else {
fprintf(fp,"set term postscript eps enhanced color font \"Helvetica\" 20\n");
fprintf(fp,"set output \"%s.eps\"\n",file_name.c_str());
}
// set labels and ranges
fprintf(fp,"set size ratio 0.7\n");
fprintf(fp,"set xrange [0:1]\n");
fprintf(fp,"set yrange [0:1]\n");
fprintf(fp,"set xlabel \"Recall\"\n");
if (!is_aos) fprintf(fp,"set ylabel \"Precision\"\n");
else fprintf(fp,"set ylabel \"Orientation Similarity\"\n");
obj_type[0] = toupper(obj_type[0]);
fprintf(fp,"set title \"%s\"\n",obj_type.c_str());
// line width
int32_t lw = 5;
if (j==0) lw = 3;
// plot error curve
fprintf(fp,"plot ");
fprintf(fp,"\"%s.txt\" using 1:2 title 'Easy' with lines ls 1 lw %d,",file_name.c_str(),lw);
fprintf(fp,"\"%s.txt\" using 1:3 title 'Moderate' with lines ls 2 lw %d,",file_name.c_str(),lw);
fprintf(fp,"\"%s.txt\" using 1:4 title 'Hard' with lines ls 3 lw %d",file_name.c_str(),lw);
// close file
fclose(fp);
// run gnuplot => create png + eps
sprintf(command,"cd %s; gnuplot %s",dir_name.c_str(),(file_name + ".gp").c_str());
system(command);
}
// create pdf and crop
// sprintf(command,"cd %s; ps2pdf %s.eps %s_large.pdf",dir_name.c_str(),file_name.c_str(),file_name.c_str());
// system(command);
// sprintf(command,"cd %s; pdfcrop %s_large.pdf %s.pdf",dir_name.c_str(),file_name.c_str(),file_name.c_str());
// system(command);
// sprintf(command,"cd %s; rm %s_large.pdf",dir_name.c_str(),file_name.c_str());
// system(command);
}
bool eval(string det_dir, string gt_dir, string output_dir){
// set some global parameters
initGlobals();
// ground truth and result directories
string plot_dir = output_dir + "/plot";
// create output directories
system(("mkdir " + plot_dir).c_str());
// hold detections and ground truth in memory
vector< vector<tGroundtruth> > groundtruth;
vector< vector<tDetection> > detections;
// holds wether orientation similarity shall be computed (might be set to false while loading detections)
// and which labels where provided by this submission
bool compute_aos=true, eval_car=false, eval_pedestrian=false, eval_cyclist=false;
// for all images read groundtruth and detections
for (int32_t i=0; i<N_TESTIMAGES; i++) {
// file name
char file_name[256];
sprintf(file_name,"%06d.txt",i);
// read ground truth and result poses
bool gt_success,det_success;
vector<tGroundtruth> gt = loadGroundtruth(gt_dir + "/" + file_name, gt_success);
vector<tDetection> det = loadDetections(det_dir + "/" + file_name, compute_aos, eval_car, eval_pedestrian, eval_cyclist,det_success);
if (!gt_success && !det_success) continue;
if (!det_success) continue;
groundtruth.push_back(gt);
detections.push_back(det);
// check for errors
// if (!gt_success) {
// mail->msg("ERROR: Couldn't read: %s of ground truth. Please write me an email!", file_name);
// return false;
// }
// if (!det_success) {
// mail->msg("ERROR: Couldn't read: %s", file_name);
// return false;
// }
}
printf("Total eval: %d detections files\n", detections.size());
// holds pointers for result files
FILE *fp_det=0, *fp_ori=0;
// eval cars
if(eval_car){
fp_det = fopen((output_dir + "/stats_" + CLASS_NAMES[CAR] + "_detection.txt").c_str(),"w");
if(compute_aos)
fp_ori = fopen((output_dir + "/stats_" + CLASS_NAMES[CAR] + "_orientation.txt").c_str(),"w");
vector<double> precision[3], aos[3];
if(!eval_class(fp_det,fp_ori,CAR,groundtruth,detections,compute_aos,precision[0],aos[0],EASY)
|| !eval_class(fp_det,fp_ori,CAR,groundtruth,detections,compute_aos,precision[1],aos[1],MODERATE)
|| !eval_class(fp_det,fp_ori,CAR,groundtruth,detections,compute_aos,precision[2],aos[2],HARD)){
// mail->msg("Car evaluation failed.");
return false;
}
fclose(fp_det);
saveAndPlotPlots(plot_dir,CLASS_NAMES[CAR] + "_detection",CLASS_NAMES[CAR],precision,0);
if(compute_aos){
saveAndPlotPlots(plot_dir,CLASS_NAMES[CAR] + "_orientation",CLASS_NAMES[CAR],aos,1);
fclose(fp_ori);
}
// print 41 points AP
double AP[3] = {0.0, 0.0, 0.0};
for (int d = 0; d < DIFFICULTY_NAMES.size(); d++) {
for (int i = 0; i < precision[d].size(); i++) {
AP[d] += precision[d][i];
}
AP[d] /= N_SAMPLE_PTS;
}
printf("%s (%.1fAP|E/M/H) %lf %lf %lf\n", CLASS_NAMES[CAR].c_str(), MIN_OVERLAP[CAR], AP[EASY], AP[MODERATE], AP[HARD]);
}
// eval pedestrians
if(eval_pedestrian){
fp_det = fopen((output_dir + "/stats_" + CLASS_NAMES[PEDESTRIAN] + "_detection.txt").c_str(),"w");
if(compute_aos)
fp_ori = fopen((output_dir + "/stats_" + CLASS_NAMES[PEDESTRIAN] + "_orientation.txt").c_str(),"w");
vector<double> precision[3], aos[3];
if(!eval_class(fp_det,fp_ori,PEDESTRIAN,groundtruth,detections,compute_aos,precision[0],aos[0],EASY)
|| !eval_class(fp_det,fp_ori,PEDESTRIAN,groundtruth,detections,compute_aos,precision[1],aos[1],MODERATE)
|| !eval_class(fp_det,fp_ori,PEDESTRIAN,groundtruth,detections,compute_aos,precision[2],aos[2],HARD)){
// mail->msg("Pedestrian evaluation failed.");
return false;
}
fclose(fp_det);
saveAndPlotPlots(plot_dir,CLASS_NAMES[PEDESTRIAN] + "_detection",CLASS_NAMES[PEDESTRIAN],precision,0);
if(compute_aos){
fclose(fp_ori);
saveAndPlotPlots(plot_dir,CLASS_NAMES[PEDESTRIAN] + "_orientation",CLASS_NAMES[PEDESTRIAN],aos,1);
}
// print 41 points AP
double AP[3] = {0.0, 0.0, 0.0};
for (int d = 0; d < DIFFICULTY_NAMES.size(); d++) {
for (int i = 0; i < precision[d].size(); i++) {
AP[d] += precision[d][i];
}
AP[d] /= N_SAMPLE_PTS;
}
printf("%s (%.1fAP|E/M/H) %lf %lf %lf\n", CLASS_NAMES[PEDESTRIAN].c_str(), MIN_OVERLAP[PEDESTRIAN], AP[EASY], AP[MODERATE], AP[HARD]);
}
// eval cyclists
if(eval_cyclist){
fp_det = fopen((output_dir + "/stats_" + CLASS_NAMES[CYCLIST] + "_detection.txt").c_str(),"w");
if(compute_aos)
fp_ori = fopen((output_dir + "/stats_" + CLASS_NAMES[CYCLIST] + "_orientation.txt").c_str(),"w");
vector<double> precision[3], aos[3];
if(!eval_class(fp_det,fp_ori,CYCLIST,groundtruth,detections,compute_aos,precision[0],aos[0],EASY)
|| !eval_class(fp_det,fp_ori,CYCLIST,groundtruth,detections,compute_aos,precision[1],aos[1],MODERATE)
|| !eval_class(fp_det,fp_ori,CYCLIST,groundtruth,detections,compute_aos,precision[2],aos[2],HARD)){
// mail->msg("Cyclist evaluation failed.");
return false;
}
fclose(fp_det);
saveAndPlotPlots(plot_dir,CLASS_NAMES[CYCLIST] + "_detection",CLASS_NAMES[CYCLIST],precision,0);
if(compute_aos){
fclose(fp_ori);
saveAndPlotPlots(plot_dir,CLASS_NAMES[CYCLIST] + "_orientation",CLASS_NAMES[CYCLIST],aos,1);
}
// print 41 points AP
double AP[3] = {0.0, 0.0, 0.0};
for (int d = 0; d < DIFFICULTY_NAMES.size(); d++) {
for (int i = 0; i < precision[d].size(); i++) {
AP[d] += precision[d][i];
}
AP[d] /= N_SAMPLE_PTS;
}
printf("%s (%.1fAP|E/M/H) %lf %lf %lf\n", CLASS_NAMES[CYCLIST].c_str(), MIN_OVERLAP[CYCLIST], AP[EASY], AP[MODERATE], AP[HARD]);
}
// success
return true;
}
int32_t main (int32_t argc,char *argv[]) {
// we need 2 or 4 arguments!
if (argc!=4) {
cout << "Usage: ./eval_detection det_dir gt_dir output_dir" << endl;
return 1;
}
// read arguments
string det_dir = argv[1];
string gt_dir = argv[2];
string output_dir = argv[3];
// init notification mail
// run evaluation
eval(det_dir, gt_dir, output_dir);
return 0;
}
| [
"cuiweifu@datafountain.cn"
] | cuiweifu@datafountain.cn |
175a979b73f283ef1c3c2a3dfbcd449519097837 | 870473f8e4be3b381e423df32981f3dccec9a928 | /src/CategoryStream.cpp | 954aacace5a0011817d17a5f7771337f42034fd7 | [] | no_license | aponysos/log4cpp-msvc14 | 8e99989e16be5127d8fbc5a6886a6ede5c6816ca | 6cd03a80ca4b2fc6db8d278f1b4a72de98071e42 | refs/heads/master | 2021-05-07T20:54:26.593148 | 2017-11-15T16:24:11 | 2017-11-15T16:24:11 | 108,975,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | cpp | /*
* CategoryStream.cpp
*
* Copyright 2001, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2001, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#include "PortabilityImpl.hh"
#ifdef LOG4CPP_HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <log4cpp/CategoryStream.hh>
#include <log4cpp/Category.hh>
namespace log4cpp {
CategoryStream::CategoryStream(Category& category, Priority::Value priority) :
_category(category),
_priority(priority),
_buffer(NULL) {
}
CategoryStream::~CategoryStream() {
flush();
}
void CategoryStream::flush() {
if (_buffer) {
getCategory().log(getPriority(), _buffer->str());
delete _buffer;
_buffer = NULL;
}
}
CategoryStream& CategoryStream::operator<<(const char* t)
{
if (getPriority() != Priority::NOTSET) {
if (!_buffer) {
_buffer = new std::ostringstream;
if (!_buffer) {
// XXX help help help
}
}
(*_buffer) << t;
}
return *this;
}
std::streamsize CategoryStream::width(std::streamsize wide ) {
if (getPriority() != Priority::NOTSET) {
if (!_buffer) {
_buffer = new std::ostringstream;
if (!_buffer) {
// XXX help help help
}
}
}
return _buffer->width(wide);
}
CategoryStream& CategoryStream::operator<< (cspf pf) {
return (*pf)(*this);
}
CategoryStream& eol (CategoryStream& os) {
if (os._buffer) {
os.flush();
}
return os;
}
CategoryStream& left (CategoryStream& os) {
if (os._buffer) {
os._buffer->setf(std::ios::left);
}
return os;
}
}
// MSVC6 bug in member templates instantiation
#if defined(_MSC_VER) && _MSC_VER < 1300
namespace
{
struct dummy
{
void instantiate()
{
using namespace log4cpp;
CategoryStream t(Category::getInstance(""), Priority::DEBUG);
t << static_cast<const char*>("")
<< Priority::DEBUG
<< static_cast<char>(0)
<< static_cast<unsigned char>(0)
<< static_cast<signed char>(0)
<< static_cast<short>(0)
<< static_cast<unsigned short>(0)
<< static_cast<int>(0)
<< static_cast<unsigned int>(0)
<< static_cast<long>(0)
<< static_cast<unsigned long>(0)
<< static_cast<float>(0.0)
<< static_cast<double>(0.0)
#if LOG4CPP_HAS_WCHAR_T != 0
<< std::wstring()
#endif
<< std::string();
}
};
}
#endif
| [
"aponysos@163.com"
] | aponysos@163.com |
1bcedf3d50b156951ec0eb4bc4f297c171050fa6 | 4ee460e54b06c75ec49ac07932c75e26b553c370 | /ITP1/Topic08/Ring.cpp | 179e2068be4cf6a62cbae8d288407c200791fca5 | [] | no_license | ryo-manba/AOJ | 0fc1c5417b5847e312eb6dc3cd7179c7e7e07b7e | 50c421d59037a0d3793d037453eeb7e5ec8c0ee2 | refs/heads/main | 2023-08-25T18:00:22.666033 | 2021-10-07T02:28:39 | 2021-10-07T02:28:39 | 347,805,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | #include<bits/stdc++.h>
typedef long long int ll;
typedef unsigned long long int ull;
#define BIG_NUM 2000000000
#define HUGE_NUM 4000000000000000000
#define MOD 1000000007
#define EPS 0.000000001
using namespace std;
int main()
{
string s, p;
cin >> s >> p;
string ss = s + s;
if (ss.find(p) != string::npos)
cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
} | [
"datemanba3@gmail.com"
] | datemanba3@gmail.com |
fd2e156ce4baf5c75a5ca71e4c9ff737f9a00ef5 | 61766a6bebd49cd4914f6fc6732402070a78d22a | /SongWei_20170209/piratecat/includes/owchart/include/Calendar/CMonth.h | 49ab7f1685ca7428ad669e2ad12219593d3eabd1 | [] | no_license | daxiadongxin/dataquery | 5b2d2d34689c19e1a949798fe0c72412a90020a6 | 3459a169460d65f03d83b12ecf9e04bb4debcd61 | refs/heads/master | 2020-06-06T09:19:01.302715 | 2018-03-14T08:56:32 | 2018-03-14T08:56:32 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,129 | h | /*****************************************************************************\
* *
* CMonth.h - Month functions, types, and definitions *
* *
* Version 4.00 ¡ï¡ï¡ï¡ï¡ï *
* *
* Copyright (c) 2016-2016, Lord's calendar. All rights reserved.*
* *
*******************************************************************************/
#ifndef __CMONTH_H__
#define __CMONTH_H__
#pragma once
#include "..\\..\\stdafx.h"
#include "CDay.h"
namespace OwLib
{
class CMonth
{
private:
int m_month;
int m_year;
void CreateDays();
public:
CMonth(int year, int month);
virtual ~CMonth();
map<int,CDay*> Days;
int GetDaysInMonth();
CDay* GetFirstDay();
CDay* GetLastDay();
int GetMonth();
int GetYear();
};
}
#endif | [
"252648281@qq.com"
] | 252648281@qq.com |
32ad8ef4d2fa1c3f126a44992cf35644aeb445e0 | 5da1dc6549cd51fc524a2d9baebd00e2c61f20f7 | /Classes/data/LocalDataManger.cpp | e476c6d26ccfcb165070d107aab6fa2e783fc5e6 | [] | no_license | atom-chen/gameclass | c8de5716a2c15872706491db55c9d170665f22d6 | eeb78bd95a9a621bd64cd37cf70a22e9bebd278b | refs/heads/master | 2020-07-04T14:46:22.154585 | 2018-08-26T10:27:24 | 2018-08-26T10:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,386 | cpp | //
// LocalDataManger.cpp
// game1
//
// Created by 俊盟科技1 on 8/22/14.
//
//
#include "LocalDataManger.h"
#include "rapidxml.hpp"
#include "rapidxml_utils.hpp"
#include "rapidxml_print.hpp"
#include "LocalFileManger.h"
using namespace rapidxml;
using namespace cocos2d;
static LocalDataManger *s_sharedLocalDataManger = nullptr;
LocalDataManger *LocalDataManger::sharedLocalDataManger()
{
if (s_sharedLocalDataManger == nullptr)
{
s_sharedLocalDataManger = new LocalDataManger();
if (!s_sharedLocalDataManger || !s_sharedLocalDataManger->init())
{
CC_SAFE_DELETE(s_sharedLocalDataManger);
}
}
return s_sharedLocalDataManger;
}
void LocalDataManger::destroyInstance()
{
CC_SAFE_RELEASE_NULL(s_sharedLocalDataManger);
}
LocalDataManger::LocalDataManger(void)
{
}
LocalDataManger::~LocalDataManger(void)
{
}
bool LocalDataManger::init()
{
bool bRet = false;
do
{
maptab_card_attribute_sysData.clear();
maptab_card_quality_sysData.clear();
maptab_card_star_sysData.clear();
maptab_charge_databaseData.clear();
maptab_checkpoints_sysData.clear();
maptab_city_expData.clear();
maptab_equipbase_sysData.clear();
maptab_hero_group_sysData.clear();
maptab_intensify_demand_sysData.clear();
maptab_item_base_sysData.clear();
maptab_lottery_baseData.clear();
maptab_lottery_data_sysData.clear();
maptab_market_database_sysData.clear();
maptab_monster_additionData.clear();
maptab_pvp_item_sysData.clear();
maptab_pvp_rank_sysData.clear();
maptab_pvp_timesData.clear();
maptab_sign_data_sysData.clear();
maptab_skill_effectData.clear();
maptab_skill_trajectoryData.clear();
maptab_skill_upgradeData.clear();
maptab_skill_visual_effectData.clear();
maptab_task_sysData.clear();
maptab_vip_sysData.clear();
#if 1
readConfigtab_card_attribute_sysData();
readConfigtab_card_quality_sysData();
readConfigtab_card_star_sysData();
readConfigtab_charge_databaseData();
readConfigtab_checkpoints_sysData();
readConfigtab_city_expData();
readConfigtab_equipbase_sysData();
readConfigtab_hero_group_sysData();
readConfigtab_intensify_demand_sysData();
readConfigtab_item_base_sysData();
readConfigtab_lottery_baseData();
readConfigtab_lottery_data_sysData();
readConfigtab_market_database_sysData();
readConfigtab_monster_additionData();
readConfigtab_pvp_item_sysData();
readConfigtab_pvp_rank_sysData();
readConfigtab_pvp_timesData();
readConfigtab_sign_data_sysData();
readConfigtab_skill_effectData();
readConfigtab_skill_trajectoryData();
readConfigtab_skill_upgradeData();
readConfigtab_skill_visual_effectData();
readConfigtab_task_sysData();
readConfigtab_vip_sysData();
#endif
bRet = true;
}
while (0);
return bRet;
}
//tab_card_attribute_sys
void LocalDataManger::readConfigtab_card_attribute_sysData()
{
if(!maptab_card_attribute_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_card_attribute_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *hero_namex = node->first_node("hero_name");
xml_node<> *hero_iconx = node->first_node("hero_icon");
xml_node<> *hero_half_imagex = node->first_node("hero_half_image");
xml_node<> *hero_typex = node->first_node("hero_type");
xml_node<> *hero_descriptionx = node->first_node("hero_description");
xml_node<> *hero_facetox = node->first_node("hero_faceto");
xml_node<> *hero_fighting_capacityx = node->first_node("hero_fighting_capacity");
xml_node<> *hero_levelx = node->first_node("hero_level");
xml_node<> *hero_qualityx = node->first_node("hero_quality");
xml_node<> *hero_starx = node->first_node("hero_star");
xml_node<> *hero_campx = node->first_node("hero_camp");
xml_node<> *hero_skill_id1x = node->first_node("hero_skill_id1");
xml_node<> *hero_skill_id2x = node->first_node("hero_skill_id2");
xml_node<> *hero_skill_id3x = node->first_node("hero_skill_id3");
xml_node<> *hero_skill_id4x = node->first_node("hero_skill_id4");
xml_node<> *hero_skill_id5x = node->first_node("hero_skill_id5");
xml_node<> *hero_skill_id6x = node->first_node("hero_skill_id6");
xml_node<> *hero_skillrelease_rulex = node->first_node("hero_skillrelease_rule");
xml_node<> *energy_poolx = node->first_node("energy_pool");
xml_node<> *injured_conversion_factorx = node->first_node("injured_conversion_factor");
xml_node<> *attack_conversion_factorx = node->first_node("attack_conversion_factor");
xml_node<> *hero_powerx = node->first_node("hero_power");
xml_node<> *power_growx = node->first_node("power_grow");
xml_node<> *agilex = node->first_node("agile");
xml_node<> *agile_growx = node->first_node("agile_grow");
xml_node<> *mentalx = node->first_node("mental");
xml_node<> *mental_growx = node->first_node("mental_grow");
xml_node<> *hero_hpx = node->first_node("hero_hp");
xml_node<> *physics_actx = node->first_node("physics_act");
xml_node<> *magic_strengthx = node->first_node("magic_strength");
xml_node<> *armorx = node->first_node("armor");
xml_node<> *magic_resistx = node->first_node("magic_resist");
xml_node<> *physics_critx = node->first_node("physics_crit");
xml_node<> *magic_critx = node->first_node("magic_crit");
xml_node<> *hp_restorex = node->first_node("hp_restore");
xml_node<> *energy_restorex = node->first_node("energy_restore");
xml_node<> *armor_strikex = node->first_node("armor_strike");
xml_node<> *ignore_magic_resistx = node->first_node("ignore_magic_resist");
xml_node<> *cure_effect_promotex = node->first_node("cure_effect_promote");
xml_node<> *hero_hitx = node->first_node("hero_hit");
xml_node<> *hero_evadex = node->first_node("hero_evade");
xml_node<> *suck_blood_levelx = node->first_node("suck_blood_level");
xml_node<> *move_speedx = node->first_node("move_speed");
xml_node<> *attact_intervalx = node->first_node("attact_interval");
xml_node<> *group_hero_idx = node->first_node("group_hero_id");
xml_node<> *hero_dialogex = node->first_node("hero_dialoge");
xml_node<> *voice_resourcex = node->first_node("voice_resource");
xml_node<> *skill_buff_coorx = node->first_node("skill_buff_coor");
xml_node<> *skill_hit_coorx = node->first_node("skill_hit_coor");
xml_node<> *skill_track_coorx = node->first_node("skill_track_coor");
xml_node<> *star_quenex = node->first_node("star_quene");
xml_node<> *star_shard_needsx = node->first_node("star_shard_needs");
Configtab_card_attribute_sysDataST st;
st.ID = atoi(idx->value());
st.hero_name = hero_namex->value();
st.hero_icon = hero_iconx->value();
st.hero_half_image = hero_half_imagex->value();
st.hero_type = atoi(hero_typex->value());
st.hero_description = hero_descriptionx->value();
st.hero_faceto = atoi(hero_facetox->value());
st.hero_fighting_capacity = atoi(hero_fighting_capacityx->value());
st.hero_level = atoi(hero_levelx->value());
st.hero_quality = atoi(hero_qualityx->value());
st.hero_star = atoi(hero_starx->value());
st.hero_camp = atoi(hero_campx->value());
st.hero_skill_id1 = atoi(hero_skill_id1x->value());
st.hero_skill_id2 = atoi(hero_skill_id2x->value());
st.hero_skill_id3 = atoi(hero_skill_id3x->value());
st.hero_skill_id4 = atoi(hero_skill_id4x->value());
st.hero_skill_id5 = atoi(hero_skill_id5x->value());
st.hero_skill_id6 = atoi(hero_skill_id6x->value());
st.hero_skillrelease_rule = hero_skillrelease_rulex->value();
st.energy_pool = atoi(energy_poolx->value());
st.injured_conversion_factor = atof(injured_conversion_factorx->value());
st.attack_conversion_factor = atof(attack_conversion_factorx->value());
st.hero_power = atoi(hero_powerx->value());
st.power_grow = atof(power_growx->value());
st.agile = atoi(agilex->value());
st.agile_grow = atof(agile_growx->value());
st.mental = atoi(mentalx->value());
st.mental_grow = atof(mental_growx->value());
st.hero_hp = atoi(hero_hpx->value());
st.physics_act = atoi(physics_actx->value());
st.magic_strength = atoi(magic_strengthx->value());
st.armor = atoi(armorx->value());
st.magic_resist = atoi(magic_resistx->value());
st.physics_crit = atoi(physics_critx->value());
st.magic_crit = atoi(magic_critx->value());
st.hp_restore = atoi(hp_restorex->value());
st.energy_restore = atoi(energy_restorex->value());
st.armor_strike = atoi(armor_strikex->value());
st.ignore_magic_resist = atoi(ignore_magic_resistx->value());
st.cure_effect_promote = atoi(cure_effect_promotex->value());
st.hero_hit = atoi(hero_hitx->value());
st.hero_evade = atoi(hero_evadex->value());
st.suck_blood_level = atoi(suck_blood_levelx->value());
st.move_speed = atoi(move_speedx->value());
st.attact_interval = atoi(attact_intervalx->value());
st.group_hero_id = atoi(group_hero_idx->value());
st.hero_dialoge = hero_dialogex->value();
st.voice_resource = voice_resourcex->value();
st.skill_buff_coor = skill_buff_coorx->value();
st.skill_hit_coor = skill_hit_coorx->value();
st.skill_track_coor = skill_track_coorx->value();
st.star_quene = atoi(star_quenex->value());
st.star_shard_needs = star_shard_needsx->value();
maptab_card_attribute_sysData[st.ID] = st;
}
}
Configtab_card_attribute_sysDataST LocalDataManger::getConfigtab_card_attribute_sysDataST(int ID)
{
return maptab_card_attribute_sysData[ID];
}
//tab_card_quality_sys
void LocalDataManger::readConfigtab_card_quality_sysData()
{
if(!maptab_card_quality_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_card_quality_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *quality_idx = node->first_node("quality_id");
xml_node<> *hero_advance_levelx = node->first_node("hero_advance_level");
xml_node<> *hero_advance_materialsx = node->first_node("hero_advance_materials");
xml_node<> *gold_expendx = node->first_node("gold_expend");
xml_node<> *hero_power_addx = node->first_node("hero_power_add");
xml_node<> *agile_addx = node->first_node("agile_add");
xml_node<> *mental_addx = node->first_node("mental_add");
xml_node<> *hero_hp_addx = node->first_node("hero_hp_add");
xml_node<> *physics_act_addx = node->first_node("physics_act_add");
xml_node<> *magic_strength_addx = node->first_node("magic_strength_add");
xml_node<> *armor_addx = node->first_node("armor_add");
xml_node<> *magic_resist_addx = node->first_node("magic_resist_add");
xml_node<> *physics_crit_addx = node->first_node("physics_crit_add");
xml_node<> *magic_crit_addx = node->first_node("magic_crit_add");
xml_node<> *hp_restore_addx = node->first_node("hp_restore_add");
xml_node<> *energy_restore_addx = node->first_node("energy_restore_add");
xml_node<> *armor_strike_addx = node->first_node("armor_strike_add");
xml_node<> *ignore_magic_resist_addx = node->first_node("ignore_magic_resist_add");
xml_node<> *cure_effect_promote_addx = node->first_node("cure_effect_promote_add");
xml_node<> *hero_hit_addx = node->first_node("hero_hit_add");
xml_node<> *hero_evade_addx = node->first_node("hero_evade_add");
xml_node<> *suck_blood_level_addx = node->first_node("suck_blood_level_add");
Configtab_card_quality_sysDataST st;
st.ID = atoi(idx->value());
st.quality_id = atoi(quality_idx->value());
st.hero_advance_level = atoi(hero_advance_levelx->value());
st.hero_advance_materials = hero_advance_materialsx->value();
st.gold_expend = atoi(gold_expendx->value());
st.hero_power_add = atoi(hero_power_addx->value());
st.agile_add = atoi(agile_addx->value());
st.mental_add = atoi(mental_addx->value());
st.hero_hp_add = atoi(hero_hp_addx->value());
st.physics_act_add = atoi(physics_act_addx->value());
st.magic_strength_add = atoi(magic_strength_addx->value());
st.armor_add = atoi(armor_addx->value());
st.magic_resist_add = atoi(magic_resist_addx->value());
st.physics_crit_add = atoi(physics_crit_addx->value());
st.magic_crit_add = atoi(magic_crit_addx->value());
st.hp_restore_add = atoi(hp_restore_addx->value());
st.energy_restore_add = atoi(energy_restore_addx->value());
st.armor_strike_add = atoi(armor_strike_addx->value());
st.ignore_magic_resist_add = atoi(ignore_magic_resist_addx->value());
st.cure_effect_promote_add = atoi(cure_effect_promote_addx->value());
st.hero_hit_add = atoi(hero_hit_addx->value());
st.hero_evade_add = atoi(hero_evade_addx->value());
st.suck_blood_level_add = atoi(suck_blood_level_addx->value());
maptab_card_quality_sysData[st.ID] = st;
}
}
Configtab_card_quality_sysDataST LocalDataManger::getConfigtab_card_quality_sysDataST(int ID)
{
return maptab_card_quality_sysData[ID];
}
//tab_card_star_sys
void LocalDataManger::readConfigtab_card_star_sysData()
{
if(!maptab_card_star_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_card_star_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *hero_idx = node->first_node("hero_id");
xml_node<> *one_star_power_growx = node->first_node("one_star_power_grow");
xml_node<> *two_star_power_growx = node->first_node("two_star_power_grow");
xml_node<> *three_star_power_growx = node->first_node("three_star_power_grow");
xml_node<> *four_star_power_growx = node->first_node("four_star_power_grow");
xml_node<> *five_star_power_growx = node->first_node("five_star_power_grow");
xml_node<> *one_star_agile_growx = node->first_node("one_star_agile_grow");
xml_node<> *two_star_agile_growx = node->first_node("two_star_agile_grow");
xml_node<> *three_star_agile_growx = node->first_node("three_star_agile_grow");
xml_node<> *four_star_agile_growx = node->first_node("four_star_agile_grow");
xml_node<> *five_star_agile_growx = node->first_node("five_star_agile_grow");
xml_node<> *one_star_mental_growx = node->first_node("one_star_mental_grow");
xml_node<> *two_star_mental_growx = node->first_node("two_star_mental_grow");
xml_node<> *three_star_mental_growx = node->first_node("three_star_mental_grow");
xml_node<> *four_star_mental_growx = node->first_node("four_star_mental_grow");
xml_node<> *five_star_mental_growx = node->first_node("five_star_mental_grow");
Configtab_card_star_sysDataST st;
st.ID = atoi(idx->value());
st.hero_id = atoi(hero_idx->value());
st.one_star_power_grow = atof(one_star_power_growx->value());
st.two_star_power_grow = atof(two_star_power_growx->value());
st.three_star_power_grow = atof(three_star_power_growx->value());
st.four_star_power_grow = atof(four_star_power_growx->value());
st.five_star_power_grow = atof(five_star_power_growx->value());
st.one_star_agile_grow = atof(one_star_agile_growx->value());
st.two_star_agile_grow = atof(two_star_agile_growx->value());
st.three_star_agile_grow = atof(three_star_agile_growx->value());
st.four_star_agile_grow = atof(four_star_agile_growx->value());
st.five_star_agile_grow = atof(five_star_agile_growx->value());
st.one_star_mental_grow = atof(one_star_mental_growx->value());
st.two_star_mental_grow = atof(two_star_mental_growx->value());
st.three_star_mental_grow = atof(three_star_mental_growx->value());
st.four_star_mental_grow = atof(four_star_mental_growx->value());
st.five_star_mental_grow = atof(five_star_mental_growx->value());
maptab_card_star_sysData[st.ID] = st;
}
}
Configtab_card_star_sysDataST LocalDataManger::getConfigtab_card_star_sysDataST(int ID)
{
return maptab_card_star_sysData[ID];
}
//tab_charge_database
void LocalDataManger::readConfigtab_charge_databaseData()
{
if(!maptab_charge_databaseData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_charge_database.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *charge_iconx = node->first_node("charge_icon");
xml_node<> *charge_typex = node->first_node("charge_type");
xml_node<> *charge_namex = node->first_node("charge_name");
xml_node<> *charge_descriptionx = node->first_node("charge_description");
xml_node<> *charge_numx = node->first_node("charge_num");
xml_node<> *additional_numx = node->first_node("additional_num");
xml_node<> *charge_timesx = node->first_node("charge_times");
xml_node<> *rmb_demandx = node->first_node("rmb_demand");
Configtab_charge_databaseDataST st;
st.ID = atoi(idx->value());
st.charge_icon = charge_iconx->value();
st.charge_type = atoi(charge_typex->value());
st.charge_name = charge_namex->value();
st.charge_description = charge_descriptionx->value();
st.charge_num = atoi(charge_numx->value());
st.additional_num = atoi(additional_numx->value());
st.charge_times = atoi(charge_timesx->value());
st.rmb_demand = atoi(rmb_demandx->value());
maptab_charge_databaseData[st.ID] = st;
}
}
Configtab_charge_databaseDataST LocalDataManger::getConfigtab_charge_databaseDataST(int ID)
{
return maptab_charge_databaseData[ID];
}
//tab_checkpoints_sys
void LocalDataManger::readConfigtab_checkpoints_sysData()
{
if(!maptab_checkpoints_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_checkpoints_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *checkpoint_typex = node->first_node("checkpoint_type");
xml_node<> *checkpoint_namex = node->first_node("checkpoint_name");
xml_node<> *checkpoint_descriptionx = node->first_node("checkpoint_description");
xml_node<> *checkpoint_resourcex = node->first_node("checkpoint_resource");
xml_node<> *checkpoint_monstersx = node->first_node("checkpoint_monsters");
xml_node<> *checkpoint_monsters2x = node->first_node("checkpoint_monsters2");
xml_node<> *checkpoint_monsters3x = node->first_node("checkpoint_monsters3");
xml_node<> *checkpoint_group_last_idx = node->first_node("checkpoint_group_last_id");
xml_node<> *propose_checkpoint_idx = node->first_node("propose_checkpoint_id");
xml_node<> *level_demandx = node->first_node("level_demand");
xml_node<> *through_timesx = node->first_node("through_times");
xml_node<> *restart_expentx = node->first_node("restart_expent");
xml_node<> *min_peoplex = node->first_node("min_people");
xml_node<> *max_peoplex = node->first_node("max_people");
xml_node<> *energy_expendx = node->first_node("energy_expend");
xml_node<> *city_exp_rewardx = node->first_node("city_exp_reward");
xml_node<> *hero_exp_rewardx = node->first_node("hero_exp_reward");
xml_node<> *gold_rewardx = node->first_node("gold_reward");
xml_node<> *drop_showx = node->first_node("drop_show");
xml_node<> *drop_itemsx = node->first_node("drop_items");
xml_node<> *boss_drop_itemsx = node->first_node("boss_drop_items");
xml_node<> *start_datex = node->first_node("start_date");
xml_node<> *end_datex = node->first_node("end_date");
xml_node<> *start_timex = node->first_node("start_time");
xml_node<> *end_timex = node->first_node("end_time");
xml_node<> *refresh_timex = node->first_node("refresh_time");
xml_node<> *cd_timex = node->first_node("cd_time");
Configtab_checkpoints_sysDataST st;
st.ID = atoi(idx->value());
st.checkpoint_type = atoi(checkpoint_typex->value());
st.checkpoint_name = checkpoint_namex->value();
st.checkpoint_description = checkpoint_descriptionx->value();
st.checkpoint_resource = checkpoint_resourcex->value();
st.checkpoint_monsters = checkpoint_monstersx->value();
st.checkpoint_monsters2 = checkpoint_monsters2x->value();
st.checkpoint_monsters3 = checkpoint_monsters3x->value();
st.checkpoint_group_last_id = atoi(checkpoint_group_last_idx->value());
st.propose_checkpoint_id = atoi(propose_checkpoint_idx->value());
st.level_demand = atoi(level_demandx->value());
st.through_times = atoi(through_timesx->value());
st.restart_expent = atoi(restart_expentx->value());
st.min_people = atoi(min_peoplex->value());
st.max_people = atoi(max_peoplex->value());
st.energy_expend = atoi(energy_expendx->value());
st.city_exp_reward = atoi(city_exp_rewardx->value());
st.hero_exp_reward = atoi(hero_exp_rewardx->value());
st.gold_reward = atoi(gold_rewardx->value());
st.drop_show = drop_showx->value();
st.drop_items = drop_itemsx->value();
st.boss_drop_items = boss_drop_itemsx->value();
st.start_date = start_datex->value();
st.end_date = end_datex->value();
st.start_time = atoi(start_timex->value());
st.end_time = atoi(end_timex->value());
st.refresh_time = atoi(refresh_timex->value());
st.cd_time = atoi(cd_timex->value());
maptab_checkpoints_sysData[st.ID] = st;
}
}
Configtab_checkpoints_sysDataST LocalDataManger::getConfigtab_checkpoints_sysDataST(int ID)
{
return maptab_checkpoints_sysData[ID];
}
//tab_city_exp
void LocalDataManger::readConfigtab_city_expData()
{
if(!maptab_city_expData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_city_exp.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *exp_upgradex = node->first_node("exp_upgrade");
xml_node<> *power_rewardx = node->first_node("power_reward");
xml_node<> *hero_up_gradex = node->first_node("hero_up_grade");
Configtab_city_expDataST st;
st.ID = atoi(idx->value());
st.exp_upgrade = atoi(exp_upgradex->value());
st.power_reward = atoi(power_rewardx->value());
st.hero_up_grade = atoi(hero_up_gradex->value());
maptab_city_expData[st.ID] = st;
}
}
Configtab_city_expDataST LocalDataManger::getConfigtab_city_expDataST(int ID)
{
return maptab_city_expData[ID];
}
//tab_equipbase_sys
void LocalDataManger::readConfigtab_equipbase_sysData()
{
if(!maptab_equipbase_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_equipbase_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *equip_namex = node->first_node("equip_name");
xml_node<> *equip_iconx = node->first_node("equip_icon");
xml_node<> *equip_descriptionx = node->first_node("equip_description");
xml_node<> *equip_typex = node->first_node("equip_type");
xml_node<> *equip_subtypex = node->first_node("equip_subtype");
xml_node<> *equip_qualityx = node->first_node("equip_quality");
xml_node<> *equip_apparel_levelx = node->first_node("equip_apparel_level");
xml_node<> *equip_apparel_qualityx = node->first_node("equip_apparel_quality");
xml_node<> *equip_advance_gola_expendx = node->first_node("equip_advance_gola_expend");
xml_node<> *equip_advance_materialx = node->first_node("equip_advance_material");
xml_node<> *equip_decompose_gold_expendx = node->first_node("equip_decompose_gold_expend");
xml_node<> *equip_decompose_materialsx = node->first_node("equip_decompose_materials");
xml_node<> *equip_next_idx = node->first_node("equip_next_id");
xml_node<> *equip_sourcex = node->first_node("equip_source");
xml_node<> *equip_exclusivex = node->first_node("equip_exclusive");
xml_node<> *exclusive_addx = node->first_node("exclusive_add");
xml_node<> *equip_powerx = node->first_node("equip_power");
xml_node<> *equip_mentalx = node->first_node("equip_mental");
xml_node<> *equip_agilex = node->first_node("equip_agile");
xml_node<> *equip_physic_actx = node->first_node("equip_physic_act");
xml_node<> *equip_magic_actx = node->first_node("equip_magic_act");
xml_node<> *equip_hpx = node->first_node("equip_hp");
xml_node<> *equip_energyx = node->first_node("equip_energy");
xml_node<> *equip_armorx = node->first_node("equip_armor");
xml_node<> *equip_magic_resistx = node->first_node("equip_magic_resist");
xml_node<> *equip_armor_strikex = node->first_node("equip_armor_strike");
xml_node<> *equip_ignore_magicx = node->first_node("equip_ignore_magic");
xml_node<> *equip_hp_restorex = node->first_node("equip_hp_restore");
xml_node<> *equip_energy_restorex = node->first_node("equip_energy_restore");
xml_node<> *equip_physics_critx = node->first_node("equip_physics_crit");
xml_node<> *equip_magic_critx = node->first_node("equip_magic_crit");
xml_node<> *equip_evadex = node->first_node("equip_evade");
xml_node<> *equip_suckx = node->first_node("equip_suck");
xml_node<> *equip_hitx = node->first_node("equip_hit");
xml_node<> *equip_curex = node->first_node("equip_cure");
xml_node<> *equip_energy_expendx = node->first_node("equip_energy_expend");
xml_node<> *equip_gold_pricex = node->first_node("equip_gold_price");
xml_node<> *equip_diamond_pricex = node->first_node("equip_diamond_price");
xml_node<> *equip_sell_pricex = node->first_node("equip_sell_price");
Configtab_equipbase_sysDataST st;
st.ID = atoi(idx->value());
st.equip_name = equip_namex->value();
st.equip_icon = equip_iconx->value();
st.equip_description = equip_descriptionx->value();
st.equip_type = atoi(equip_typex->value());
st.equip_subtype = atoi(equip_subtypex->value());
st.equip_quality = atoi(equip_qualityx->value());
st.equip_apparel_level = atoi(equip_apparel_levelx->value());
st.equip_apparel_quality = atoi(equip_apparel_qualityx->value());
st.equip_advance_gola_expend = atoi(equip_advance_gola_expendx->value());
st.equip_advance_material = equip_advance_materialx->value();
st.equip_decompose_gold_expend = atoi(equip_decompose_gold_expendx->value());
st.equip_decompose_materials = equip_decompose_materialsx->value();
st.equip_next_id = atoi(equip_next_idx->value());
st.equip_source = equip_sourcex->value();
st.equip_exclusive = atoi(equip_exclusivex->value());
st.exclusive_add = atoi(exclusive_addx->value());
st.equip_power = equip_powerx->value();
st.equip_mental = equip_mentalx->value();
st.equip_agile = equip_agilex->value();
st.equip_physic_act = equip_physic_actx->value();
st.equip_magic_act = equip_magic_actx->value();
st.equip_hp = equip_hpx->value();
st.equip_energy = equip_energyx->value();
st.equip_armor = equip_armorx->value();
st.equip_magic_resist = equip_magic_resistx->value();
st.equip_armor_strike = equip_armor_strikex->value();
st.equip_ignore_magic = equip_ignore_magicx->value();
st.equip_hp_restore = equip_hp_restorex->value();
st.equip_energy_restore = equip_energy_restorex->value();
st.equip_physics_crit = equip_physics_critx->value();
st.equip_magic_crit = equip_magic_critx->value();
st.equip_evade = equip_evadex->value();
st.equip_suck = equip_suckx->value();
st.equip_hit = equip_hitx->value();
st.equip_cure = equip_curex->value();
st.equip_energy_expend = equip_energy_expendx->value();
st.equip_gold_price = atoi(equip_gold_pricex->value());
st.equip_diamond_price = atoi(equip_diamond_pricex->value());
st.equip_sell_price = atoi(equip_sell_pricex->value());
maptab_equipbase_sysData[st.ID] = st;
}
}
Configtab_equipbase_sysDataST LocalDataManger::getConfigtab_equipbase_sysDataST(int ID)
{
return maptab_equipbase_sysData[ID];
}
//tab_hero_group_sys
void LocalDataManger::readConfigtab_hero_group_sysData()
{
if(!maptab_hero_group_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_hero_group_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *group_namex = node->first_node("group_name");
xml_node<> *group_describex = node->first_node("group_describe");
xml_node<> *group_effect_idx = node->first_node("group_effect_id");
Configtab_hero_group_sysDataST st;
st.ID = atoi(idx->value());
st.group_name = group_namex->value();
st.group_describe = group_describex->value();
st.group_effect_id = atoi(group_effect_idx->value());
maptab_hero_group_sysData[st.ID] = st;
}
}
Configtab_hero_group_sysDataST LocalDataManger::getConfigtab_hero_group_sysDataST(int ID)
{
return maptab_hero_group_sysData[ID];
}
//tab_intensify_demand_sys
void LocalDataManger::readConfigtab_intensify_demand_sysData()
{
if(!maptab_intensify_demand_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_intensify_demand_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *intensify_levelx = node->first_node("intensify_level");
xml_node<> *gold_expendx = node->first_node("gold_expend");
Configtab_intensify_demand_sysDataST st;
st.ID = atoi(idx->value());
st.intensify_level = atoi(intensify_levelx->value());
st.gold_expend = atoi(gold_expendx->value());
maptab_intensify_demand_sysData[st.ID] = st;
}
}
Configtab_intensify_demand_sysDataST LocalDataManger::getConfigtab_intensify_demand_sysDataST(int ID)
{
return maptab_intensify_demand_sysData[ID];
}
//tab_item_base_sys
void LocalDataManger::readConfigtab_item_base_sysData()
{
if(!maptab_item_base_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_item_base_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *item_namex = node->first_node("item_name");
xml_node<> *item_iconx = node->first_node("item_icon");
xml_node<> *item_descx = node->first_node("item_desc");
xml_node<> *item_qualityx = node->first_node("item_quality");
xml_node<> *item_typex = node->first_node("item_type");
xml_node<> *item_sub_itemx = node->first_node("item_sub_item");
xml_node<> *is_usex = node->first_node("is_use");
xml_node<> *item_use_effectx = node->first_node("item_use_effect");
xml_node<> *use_low_levelx = node->first_node("use_low_level");
xml_node<> *use_high_levelx = node->first_node("use_high_level");
xml_node<> *item_gold_pricex = node->first_node("item_gold_price");
xml_node<> *item_diamond_pricex = node->first_node("item_diamond_price");
xml_node<> *sell_gold_pricex = node->first_node("sell_gold_price");
xml_node<> *pile_numberx = node->first_node("pile_number");
xml_node<> *item_compoundx = node->first_node("item_compound");
xml_node<> *rucksack_sortx = node->first_node("rucksack_sort");
Configtab_item_base_sysDataST st;
st.ID = atoi(idx->value());
st.item_name = item_namex->value();
st.item_icon = item_iconx->value();
st.item_desc = item_descx->value();
st.item_quality = atoi(item_qualityx->value());
st.item_type = atoi(item_typex->value());
st.item_sub_item = atoi(item_sub_itemx->value());
st.is_use = atoi(is_usex->value());
st.item_use_effect = atoi(item_use_effectx->value());
st.use_low_level = atoi(use_low_levelx->value());
st.use_high_level = atoi(use_high_levelx->value());
st.item_gold_price = atoi(item_gold_pricex->value());
st.item_diamond_price = atoi(item_diamond_pricex->value());
st.sell_gold_price = atoi(sell_gold_pricex->value());
st.pile_number = atoi(pile_numberx->value());
st.item_compound = item_compoundx->value();
st.rucksack_sort = atoi(rucksack_sortx->value());
maptab_item_base_sysData[st.ID] = st;
}
}
Configtab_item_base_sysDataST LocalDataManger::getConfigtab_item_base_sysDataST(int ID)
{
return maptab_item_base_sysData[ID];
}
//tab_lottery_base
void LocalDataManger::readConfigtab_lottery_baseData()
{
if(!maptab_lottery_baseData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_lottery_base.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *lottery_nodex = node->first_node("lottery_node");
xml_node<> *expend_numx = node->first_node("expend_num");
xml_node<> *lottery_free_timesx = node->first_node("lottery_free_times");
xml_node<> *free_refresh_timex = node->first_node("free_refresh_time");
xml_node<> *fix_rewardx = node->first_node("fix_reward");
xml_node<> *open_conditionx = node->first_node("open_condition");
Configtab_lottery_baseDataST st;
st.ID = atoi(idx->value());
st.lottery_node = atoi(lottery_nodex->value());
st.expend_num = atoi(expend_numx->value());
st.lottery_free_times = atoi(lottery_free_timesx->value());
st.free_refresh_time = atoi(free_refresh_timex->value());
st.fix_reward = fix_rewardx->value();
st.open_condition = atoi(open_conditionx->value());
maptab_lottery_baseData[st.ID] = st;
}
}
Configtab_lottery_baseDataST LocalDataManger::getConfigtab_lottery_baseDataST(int ID)
{
return maptab_lottery_baseData[ID];
}
//tab_lottery_data_sys
void LocalDataManger::readConfigtab_lottery_data_sysData()
{
if(!maptab_lottery_data_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_lottery_data_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *lottery_typex = node->first_node("lottery_type");
xml_node<> *lottery_item_idx = node->first_node("lottery_item_id");
xml_node<> *item_numbersx = node->first_node("item_numbers");
xml_node<> *is_repeatx = node->first_node("is_repeat");
xml_node<> *first_cycle_probabilityx = node->first_node("first_cycle_probability");
xml_node<> *second_cycle_probabilityx = node->first_node("second_cycle_probability");
Configtab_lottery_data_sysDataST st;
st.ID = atoi(idx->value());
st.lottery_type = atoi(lottery_typex->value());
st.lottery_item_id = atoi(lottery_item_idx->value());
st.item_numbers = atoi(item_numbersx->value());
st.is_repeat = atoi(is_repeatx->value());
st.first_cycle_probability = atoi(first_cycle_probabilityx->value());
st.second_cycle_probability = atoi(second_cycle_probabilityx->value());
maptab_lottery_data_sysData[st.ID] = st;
}
}
Configtab_lottery_data_sysDataST LocalDataManger::getConfigtab_lottery_data_sysDataST(int ID)
{
return maptab_lottery_data_sysData[ID];
}
//tab_market_database_sys
void LocalDataManger::readConfigtab_market_database_sysData()
{
if(!maptab_market_database_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_market_database_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *currency_typex = node->first_node("currency_type");
xml_node<> *item_idx = node->first_node("item_id");
xml_node<> *item_numbersx = node->first_node("item_numbers");
xml_node<> *item_pricex = node->first_node("item_price");
xml_node<> *refresh_percentx = node->first_node("refresh_percent");
Configtab_market_database_sysDataST st;
st.ID = atoi(idx->value());
st.currency_type = atoi(currency_typex->value());
st.item_id = atoi(item_idx->value());
st.item_numbers = atoi(item_numbersx->value());
st.item_price = atoi(item_pricex->value());
st.refresh_percent = atoi(refresh_percentx->value());
maptab_market_database_sysData[st.ID] = st;
}
}
Configtab_market_database_sysDataST LocalDataManger::getConfigtab_market_database_sysDataST(int ID)
{
return maptab_market_database_sysData[ID];
}
//tab_monster_addition
void LocalDataManger::readConfigtab_monster_additionData()
{
if(!maptab_monster_additionData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_monster_addition.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *typex = node->first_node("type");
xml_node<> *sub_typex = node->first_node("sub_type");
xml_node<> *base_valuex = node->first_node("base_value");
xml_node<> *stage1x = node->first_node("stage1");
xml_node<> *stage2x = node->first_node("stage2");
xml_node<> *stage3x = node->first_node("stage3");
xml_node<> *stage4x = node->first_node("stage4");
xml_node<> *stage5x = node->first_node("stage5");
xml_node<> *stage6x = node->first_node("stage6");
xml_node<> *stage7x = node->first_node("stage7");
xml_node<> *stage8x = node->first_node("stage8");
xml_node<> *stage9x = node->first_node("stage9");
Configtab_monster_additionDataST st;
st.ID = atoi(idx->value());
st.type = atoi(typex->value());
st.sub_type = atoi(sub_typex->value());
st.base_value = atof(base_valuex->value());
st.stage1 = atof(stage1x->value());
st.stage2 = atof(stage2x->value());
st.stage3 = atof(stage3x->value());
st.stage4 = atof(stage4x->value());
st.stage5 = atof(stage5x->value());
st.stage6 = atof(stage6x->value());
st.stage7 = atof(stage7x->value());
st.stage8 = atof(stage8x->value());
st.stage9 = atof(stage9x->value());
maptab_monster_additionData[st.ID] = st;
}
}
Configtab_monster_additionDataST LocalDataManger::getConfigtab_monster_additionDataST(int ID)
{
return maptab_monster_additionData[ID];
}
//tab_pvp_item_sys
void LocalDataManger::readConfigtab_pvp_item_sysData()
{
if(!maptab_pvp_item_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_pvp_item_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *item_idx = node->first_node("item_id");
xml_node<> *item_numbersx = node->first_node("item_numbers");
xml_node<> *item_pricex = node->first_node("item_price");
xml_node<> *refresh_percentx = node->first_node("refresh_percent");
Configtab_pvp_item_sysDataST st;
st.ID = atoi(idx->value());
st.item_id = atoi(item_idx->value());
st.item_numbers = atoi(item_numbersx->value());
st.item_price = atoi(item_pricex->value());
st.refresh_percent = atoi(refresh_percentx->value());
maptab_pvp_item_sysData[st.ID] = st;
}
}
Configtab_pvp_item_sysDataST LocalDataManger::getConfigtab_pvp_item_sysDataST(int ID)
{
return maptab_pvp_item_sysData[ID];
}
//tab_pvp_rank_sys
void LocalDataManger::readConfigtab_pvp_rank_sysData()
{
if(!maptab_pvp_rank_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_pvp_rank_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *low_limitx = node->first_node("low_limit");
xml_node<> *hight_limitx = node->first_node("hight_limit");
xml_node<> *item_rewardx = node->first_node("item_reward");
xml_node<> *gold_rewardx = node->first_node("gold_reward");
xml_node<> *pvp_currency_rewardx = node->first_node("pvp_currency_reward");
xml_node<> *diamond_rewardx = node->first_node("diamond_reward");
Configtab_pvp_rank_sysDataST st;
st.ID = atoi(idx->value());
st.low_limit = atoi(low_limitx->value());
st.hight_limit = atoi(hight_limitx->value());
st.item_reward = item_rewardx->value();
st.gold_reward = atoi(gold_rewardx->value());
st.pvp_currency_reward = atoi(pvp_currency_rewardx->value());
st.diamond_reward = atoi(diamond_rewardx->value());
maptab_pvp_rank_sysData[st.ID] = st;
}
}
Configtab_pvp_rank_sysDataST LocalDataManger::getConfigtab_pvp_rank_sysDataST(int ID)
{
return maptab_pvp_rank_sysData[ID];
}
//tab_pvp_times
void LocalDataManger::readConfigtab_pvp_timesData()
{
if(!maptab_pvp_timesData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_pvp_times.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *pvp_free_timesx = node->first_node("pvp_free_times");
xml_node<> *cd_timesx = node->first_node("cd_times");
xml_node<> *reset_times_diamondx = node->first_node("reset_times_diamond");
Configtab_pvp_timesDataST st;
st.ID = atoi(idx->value());
st.pvp_free_times = atoi(pvp_free_timesx->value());
st.cd_times = atoi(cd_timesx->value());
st.reset_times_diamond = atoi(reset_times_diamondx->value());
maptab_pvp_timesData[st.ID] = st;
}
}
Configtab_pvp_timesDataST LocalDataManger::getConfigtab_pvp_timesDataST(int ID)
{
return maptab_pvp_timesData[ID];
}
//tab_sign_data_sys
void LocalDataManger::readConfigtab_sign_data_sysData()
{
if(!maptab_sign_data_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_sign_data_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *sign_daysx = node->first_node("sign_days");
xml_node<> *item_rewardx = node->first_node("item_reward");
xml_node<> *diamond_rewardx = node->first_node("diamond_reward");
xml_node<> *gold_rewardx = node->first_node("gold_reward");
xml_node<> *vip_additionx = node->first_node("vip_addition");
Configtab_sign_data_sysDataST st;
st.ID = atoi(idx->value());
st.sign_days = atoi(sign_daysx->value());
st.item_reward = item_rewardx->value();
st.diamond_reward = atoi(diamond_rewardx->value());
st.gold_reward = atoi(gold_rewardx->value());
st.vip_addition = vip_additionx->value();
maptab_sign_data_sysData[st.ID] = st;
}
}
Configtab_sign_data_sysDataST LocalDataManger::getConfigtab_sign_data_sysDataST(int ID)
{
return maptab_sign_data_sysData[ID];
}
//tab_skill_effect
void LocalDataManger::readConfigtab_skill_effectData()
{
if(!maptab_skill_effectData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_skill_effect.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *skill_demage_typex = node->first_node("skill_demage_type");
xml_node<> *skill_main_typex = node->first_node("skill_main_type");
xml_node<> *skill_sub_typex = node->first_node("skill_sub_type");
xml_node<> *skill_effect_typex = node->first_node("skill_effect_type");
xml_node<> *skill_effect_probabilityx = node->first_node("skill_effect_probability");
xml_node<> *skill_base_damagex = node->first_node("skill_base_damage");
xml_node<> *skill_effect_timex = node->first_node("skill_effect_time");
xml_node<> *skill_effect_intervalx = node->first_node("skill_effect_interval");
xml_node<> *self_act_parameterx = node->first_node("self_act_parameter");
xml_node<> *skill_add_parameterx = node->first_node("skill_add_parameter");
xml_node<> *skill_upgrade_effectx = node->first_node("skill_upgrade_effect");
xml_node<> *specil_effect_resourcex = node->first_node("specil_effect_resource");
Configtab_skill_effectDataST st;
st.ID = atoi(idx->value());
st.skill_demage_type = atoi(skill_demage_typex->value());
st.skill_main_type = atoi(skill_main_typex->value());
st.skill_sub_type = atoi(skill_sub_typex->value());
st.skill_effect_type = atoi(skill_effect_typex->value());
st.skill_effect_probability = atoi(skill_effect_probabilityx->value());
st.skill_base_damage = atoi(skill_base_damagex->value());
st.skill_effect_time = atoi(skill_effect_timex->value());
st.skill_effect_interval = atoi(skill_effect_intervalx->value());
st.self_act_parameter = atof(self_act_parameterx->value());
st.skill_add_parameter = atof(skill_add_parameterx->value());
st.skill_upgrade_effect = atoi(skill_upgrade_effectx->value());
st.specil_effect_resource = specil_effect_resourcex->value();
maptab_skill_effectData[st.ID] = st;
}
}
Configtab_skill_effectDataST LocalDataManger::getConfigtab_skill_effectDataST(int ID)
{
return maptab_skill_effectData[ID];
}
//tab_skill_trajectory
void LocalDataManger::readConfigtab_skill_trajectoryData()
{
if(!maptab_skill_trajectoryData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_skill_trajectory.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *track_typex = node->first_node("track_type");
xml_node<> *track_sub_typex = node->first_node("track_sub_type");
xml_node<> *enlarge_multiplex = node->first_node("enlarge_multiple");
xml_node<> *bullet_texturex = node->first_node("bullet_texture");
xml_node<> *speedx = node->first_node("speed");
Configtab_skill_trajectoryDataST st;
st.ID = atoi(idx->value());
st.track_type = atoi(track_typex->value());
st.track_sub_type = atoi(track_sub_typex->value());
st.enlarge_multiple = atof(enlarge_multiplex->value());
st.bullet_texture = bullet_texturex->value();
st.speed = atoi(speedx->value());
maptab_skill_trajectoryData[st.ID] = st;
}
}
Configtab_skill_trajectoryDataST LocalDataManger::getConfigtab_skill_trajectoryDataST(int ID)
{
return maptab_skill_trajectoryData[ID];
}
//tab_skill_upgrade
void LocalDataManger::readConfigtab_skill_upgradeData()
{
if(!maptab_skill_upgradeData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_skill_upgrade.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *skill_levelx = node->first_node("skill_level");
xml_node<> *skill_upgrade_goldx = node->first_node("skill_upgrade_gold");
Configtab_skill_upgradeDataST st;
st.ID = atoi(idx->value());
st.skill_level = atoi(skill_levelx->value());
st.skill_upgrade_gold = atoi(skill_upgrade_goldx->value());
maptab_skill_upgradeData[st.ID] = st;
}
}
Configtab_skill_upgradeDataST LocalDataManger::getConfigtab_skill_upgradeDataST(int ID)
{
return maptab_skill_upgradeData[ID];
}
//tab_skill_visual_effect
void LocalDataManger::readConfigtab_skill_visual_effectData()
{
if(!maptab_skill_visual_effectData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_skill_visual_effect.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *skill_namex = node->first_node("skill_name");
xml_node<> *skill_iconx = node->first_node("skill_icon");
xml_node<> *skill_levelx = node->first_node("skill_level");
xml_node<> *skill_descx = node->first_node("skill_desc");
xml_node<> *skill_effect_enlargex = node->first_node("skill_effect_enlarge");
xml_node<> *skill_animation_resourcex = node->first_node("skill_animation_resource");
xml_node<> *skill_hit_resourcex = node->first_node("skill_hit_resource");
xml_node<> *track_idx = node->first_node("track_id");
xml_node<> *level_demandx = node->first_node("level_demand");
xml_node<> *star_demandx = node->first_node("star_demand");
xml_node<> *quality_demandx = node->first_node("quality_demand");
xml_node<> *target_typex = node->first_node("target_type");
xml_node<> *skill_attact_distancex = node->first_node("skill_attact_distance");
xml_node<> *skill_rangex = node->first_node("skill_range");
xml_node<> *conjure_interruptx = node->first_node("conjure_interrupt");
xml_node<> *skill_sound_effectx = node->first_node("skill_sound_effect");
xml_node<> *skill_effect_idx = node->first_node("skill_effect_id");
xml_node<> *skill_base_capacityx = node->first_node("skill_base_capacity");
xml_node<> *skill_upgrade_capacityx = node->first_node("skill_upgrade_capacity");
xml_node<> *skill_effect_locationx = node->first_node("skill_effect_location");
xml_node<> *skill_effect_layerx = node->first_node("skill_effect_layer");
Configtab_skill_visual_effectDataST st;
st.ID = atoi(idx->value());
st.skill_name = skill_namex->value();
st.skill_icon = skill_iconx->value();
st.skill_level = atoi(skill_levelx->value());
st.skill_desc = skill_descx->value();
st.skill_effect_enlarge = atof(skill_effect_enlargex->value());
st.skill_animation_resource = skill_animation_resourcex->value();
st.skill_hit_resource = skill_hit_resourcex->value();
st.track_id = atoi(track_idx->value());
st.level_demand = atoi(level_demandx->value());
st.star_demand = atoi(star_demandx->value());
st.quality_demand = atoi(quality_demandx->value());
st.target_type = atoi(target_typex->value());
st.skill_attact_distance = atoi(skill_attact_distancex->value());
st.skill_range = atoi(skill_rangex->value());
st.conjure_interrupt = conjure_interruptx->value();
st.skill_sound_effect = skill_sound_effectx->value();
st.skill_effect_id = skill_effect_idx->value();
st.skill_base_capacity = atoi(skill_base_capacityx->value());
st.skill_upgrade_capacity = atoi(skill_upgrade_capacityx->value());
st.skill_effect_location = atoi(skill_effect_locationx->value());
st.skill_effect_layer = atoi(skill_effect_layerx->value());
maptab_skill_visual_effectData[st.ID] = st;
}
}
Configtab_skill_visual_effectDataST LocalDataManger::getConfigtab_skill_visual_effectDataST(int ID)
{
return maptab_skill_visual_effectData[ID];
}
//tab_task_sys
void LocalDataManger::readConfigtab_task_sysData()
{
if(!maptab_task_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_task_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *task_namex = node->first_node("task_name");
xml_node<> *task_descriptionx = node->first_node("task_description");
xml_node<> *task_typex = node->first_node("task_type");
xml_node<> *start_conditionx = node->first_node("start_condition");
xml_node<> *task_prepose_idx = node->first_node("task_prepose_id");
xml_node<> *task_postpose_idx = node->first_node("task_postpose_id");
xml_node<> *task_complete_typex = node->first_node("task_complete_type");
xml_node<> *task_complete_conditionx = node->first_node("task_complete_condition");
xml_node<> *task_complete_condition_numx = node->first_node("task_complete_condition_num");
xml_node<> *task_item_rewardx = node->first_node("task_item_reward");
xml_node<> *task_gold_rewardx = node->first_node("task_gold_reward");
xml_node<> *task_diamond_rewardx = node->first_node("task_diamond_reward");
xml_node<> *task_equip_rewardx = node->first_node("task_equip_reward");
xml_node<> *task_skipx = node->first_node("task_skip");
Configtab_task_sysDataST st;
st.ID = atoi(idx->value());
st.task_name = task_namex->value();
st.task_description = task_descriptionx->value();
st.task_type = atoi(task_typex->value());
st.start_condition = atoi(start_conditionx->value());
st.task_prepose_id = atoi(task_prepose_idx->value());
st.task_postpose_id = atoi(task_postpose_idx->value());
st.task_complete_type = atoi(task_complete_typex->value());
st.task_complete_condition = atoi(task_complete_conditionx->value());
st.task_complete_condition_num = atoi(task_complete_condition_numx->value());
st.task_item_reward = task_item_rewardx->value();
st.task_gold_reward = atoi(task_gold_rewardx->value());
st.task_diamond_reward = atoi(task_diamond_rewardx->value());
st.task_equip_reward = atoi(task_equip_rewardx->value());
st.task_skip = atoi(task_skipx->value());
maptab_task_sysData[st.ID] = st;
}
}
Configtab_task_sysDataST LocalDataManger::getConfigtab_task_sysDataST(int ID)
{
return maptab_task_sysData[ID];
}
//tab_vip_sys
void LocalDataManger::readConfigtab_vip_sysData()
{
if(!maptab_vip_sysData.empty()) {
return;
}
//rapidxml
string xmlfile = getXmlFile("xml/tab_vip_sys.xml");
log("%s",xmlfile.c_str());
char* text = const_cast<char*>(xmlfile.c_str());
xml_document<> doc;
doc.parse<0>(text);
xml_node<>* root = doc.first_node();
for (xml_node<> *node = root->first_node("id"); node != NULL; node = node->next_sibling())
{
xml_node<> *idx = node->first_node("id");
xml_node<> *vip_levelx = node->first_node("vip_level");
xml_node<> *free_wipe_timesx = node->first_node("free_wipe_times");
xml_node<> *onekey_wipex = node->first_node("onekey_wipe");
xml_node<> *energy_buy_timesx = node->first_node("energy_buy_times");
xml_node<> *golden_timesx = node->first_node("golden_times");
xml_node<> *reset_elite_checkpoints_timesx = node->first_node("reset_elite_checkpoints_times");
xml_node<> *reset_skill_cdx = node->first_node("reset_skill_cd");
xml_node<> *onekey_enchantingx = node->first_node("onekey_enchanting");
xml_node<> *reset_pvp_cdx = node->first_node("reset_pvp_cd");
xml_node<> *skill_point_limitx = node->first_node("skill_point_limit");
xml_node<> *treasure_seatx = node->first_node("treasure_seat");
xml_node<> *brother_currency_additionx = node->first_node("brother_currency_addition");
xml_node<> *society_dungeons_gold_additionx = node->first_node("society_dungeons_gold_addition");
xml_node<> *worship_timesx = node->first_node("worship_times");
xml_node<> *luxury_worship_timesx = node->first_node("luxury_worship_times");
xml_node<> *marketx = node->first_node("market");
xml_node<> *expedition_timesx = node->first_node("expedition_times");
xml_node<> *expedition_additionx = node->first_node("expedition_addition");
xml_node<> *black_marketx = node->first_node("black_market");
xml_node<> *lansquenet_numbersx = node->first_node("lansquenet_numbers");
xml_node<> *charge_demandx = node->first_node("charge_demand");
Configtab_vip_sysDataST st;
st.ID = atoi(idx->value());
st.vip_level = atoi(vip_levelx->value());
st.free_wipe_times = atoi(free_wipe_timesx->value());
st.onekey_wipe = atoi(onekey_wipex->value());
st.energy_buy_times = atoi(energy_buy_timesx->value());
st.golden_times = atoi(golden_timesx->value());
st.reset_elite_checkpoints_times = atoi(reset_elite_checkpoints_timesx->value());
st.reset_skill_cd = atoi(reset_skill_cdx->value());
st.onekey_enchanting = atoi(onekey_enchantingx->value());
st.reset_pvp_cd = atoi(reset_pvp_cdx->value());
st.skill_point_limit = atoi(skill_point_limitx->value());
st.treasure_seat = atoi(treasure_seatx->value());
st.brother_currency_addition = atoi(brother_currency_additionx->value());
st.society_dungeons_gold_addition = atof(society_dungeons_gold_additionx->value());
st.worship_times = atoi(worship_timesx->value());
st.luxury_worship_times = atoi(luxury_worship_timesx->value());
st.market = atoi(marketx->value());
st.expedition_times = atoi(expedition_timesx->value());
st.expedition_addition = atof(expedition_additionx->value());
st.black_market = atoi(black_marketx->value());
st.lansquenet_numbers = atoi(lansquenet_numbersx->value());
st.charge_demand = atoi(charge_demandx->value());
maptab_vip_sysData[st.ID] = st;
}
}
Configtab_vip_sysDataST LocalDataManger::getConfigtab_vip_sysDataST(int ID)
{
return maptab_vip_sysData[ID];
}
string LocalDataManger::getXmlFile(string path)
{
string file = FileUtils::getInstance()->getStringFromFile(path);
log("file size is %d",(int)file.size());
return file;
} | [
"fengmm521@gmail.com"
] | fengmm521@gmail.com |
578bb61d527e2e9e4c9a00751a863fa71dcb9ddd | bc3f2f7e3c97a19de4b7b7a2e0a7b0923be1dea8 | /MagicalRobot/Temp/StagingArea/Data/il2cppOutput/Bulk_System_5.cpp | dcf2e21b71d07b163b37a0a411b217611884f0a6 | [] | no_license | ericrosenbrown/CARebot | 38aca50c1b4fc6865490bed41c0de2ace1f7d6ed | b3fc101a07bcc3ac550a29799d0fab54ba6a05c6 | refs/heads/master | 2022-07-12T15:35:31.316175 | 2020-05-15T21:20:40 | 2020-05-15T21:20:40 | 264,301,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,328,010 | 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 "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
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>
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, 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);
}
};
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 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, typename T4>
struct VirtFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, 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);
}
};
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);
}
};
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 T1, typename T2, typename T3>
struct VirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct GenericVirtFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct GenericVirtFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct GenericVirtFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, 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);
}
};
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, typename T2, typename T3>
struct GenericVirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, 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);
}
};
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>
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);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct InterfaceFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct InterfaceFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct InterfaceFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename T1, typename T2, typename T3, typename T4>
struct InterfaceActionInvoker4
{
typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, 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 T1, typename T2, typename T3>
struct InterfaceActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, 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);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct GenericInterfaceFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct GenericInterfaceFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct GenericInterfaceFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, 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);
}
};
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, typename T2, typename T3>
struct GenericInterfaceActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, 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);
}
};
// System.Net.NetworkInformation.NetworkInterfaceFactory/MacOsNetworkInterfaceAPI
struct MacOsNetworkInterfaceAPI_t1249733612;
// System.Net.NetworkInformation.NetworkInterface[]
struct NetworkInterfaceU5BU5D_t3597716288;
// System.Net.NetworkInformation.NetworkInterface
struct NetworkInterface_t271883373;
// System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct Dictionary_2_t3754537481;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t132545152;
// System.SystemException
struct SystemException_t176217640;
// System.String
struct String_t;
// System.Type
struct Type_t;
// System.Net.IPAddress
struct IPAddress_t241777590;
// System.Byte[]
struct ByteU5BU5D_t4116647657;
// System.Net.NetworkInformation.MacOsNetworkInterface
struct MacOsNetworkInterface_t3969281182;
// System.Net.NetworkInformation.UnixNetworkInterface
struct UnixNetworkInterface_t2401762829;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct ValueCollection_t1175614503;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Object,System.Object>
struct ValueCollection_t1848589470;
// System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI
struct UnixNetworkInterfaceAPI_t1061423219;
// System.Net.NetworkInformation.NetworkInterfaceFactory
struct NetworkInterfaceFactory_t1756522298;
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES[]
struct Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057;
// System.Net.NetworkInformation.NetworkInformationException
struct NetworkInformationException_t2303982063;
// System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>
struct List_1_t640633774;
// System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI
struct Win32NetworkInterfaceAPI_t912414909;
// System.Net.NetworkInformation.Win32NetworkInterface2
struct Win32NetworkInterface2_t2303857857;
// System.Net.NetworkInformation.in6_addr
struct in6_addr_t3611791508;
// System.Net.NetworkInformation.UnixIPGlobalProperties
struct UnixIPGlobalProperties_t1460024316;
// System.Net.NetworkInformation.CommonUnixIPGlobalProperties
struct CommonUnixIPGlobalProperties_t1338606518;
// System.Net.NetworkInformation.UnixIPInterfaceProperties
struct UnixIPInterfaceProperties_t1296234392;
// System.Collections.Generic.List`1<System.Net.IPAddress>
struct List_1_t1713852332;
// System.Net.NetworkInformation.IPInterfaceProperties
struct IPInterfaceProperties_t3964383369;
// System.Net.NetworkInformation.IPAddressCollection
struct IPAddressCollection_t2315030214;
// System.IO.StreamReader
struct StreamReader_t4009935899;
// System.Text.RegularExpressions.Regex
struct Regex_t3657309853;
// System.Text.RegularExpressions.Match
struct Match_t3408321083;
// System.Text.RegularExpressions.Group
struct Group_t2468205786;
// System.Text.RegularExpressions.GroupCollection
struct GroupCollection_t69770484;
// System.Text.RegularExpressions.Capture
struct Capture_t2232016050;
// System.String[]
struct StringU5BU5D_t1281789340;
// System.Char[]
struct CharU5BU5D_t3528271667;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t257213610;
// System.Net.NetworkInformation.Win32_IP_ADDR_STRING
struct Win32_IP_ADDR_STRING_t1213417184;
// System.Net.NetworkInformation.Win32IPAddressCollection
struct Win32IPAddressCollection_t1156671415;
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056;
// System.Net.NetworkInformation.Win32IPGlobalProperties
struct Win32IPGlobalProperties_t3375126358;
// System.Net.NetworkInformation.IPGlobalProperties
struct IPGlobalProperties_t3113415935;
// System.Net.NetworkInformation.Win32IPInterfaceProperties2
struct Win32IPInterfaceProperties2_t4152818631;
// System.Net.NetworkInformation.Win32IPv4InterfaceStatistics
struct Win32IPv4InterfaceStatistics_t3096671123;
// System.Net.NetworkInformation.IPv4InterfaceStatistics
struct IPv4InterfaceStatistics_t3249312820;
// System.Net.NetworkInformation.Win32_MIB_IFROW
struct Win32_MIB_IFROW_t851471770;
// System.Net.PathList
struct PathList_t2806410337;
// System.Collections.SortedList
struct SortedList_t2427694641;
// System.Collections.IComparer
struct IComparer_t1540313114;
// System.Net.CookieCollection
struct CookieCollection_t3881042616;
// System.Collections.ICollection
struct ICollection_t3904884886;
// System.Collections.IEnumerator
struct IEnumerator_t1853284238;
// System.Net.PathList/PathListComparer
struct PathListComparer_t1123825266;
// System.Net.ProtocolViolationException
struct ProtocolViolationException_t4144007430;
// System.InvalidOperationException
struct InvalidOperationException_t56020091;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t950877179;
// System.Exception
struct Exception_t;
// System.Net.Security.AuthenticatedStream
struct AuthenticatedStream_t3415418016;
// System.IO.Stream
struct Stream_t1273022909;
// System.ArgumentNullException
struct ArgumentNullException_t1615371798;
// System.ArgumentException
struct ArgumentException_t132251570;
// System.Net.Security.LocalCertificateSelectionCallback
struct LocalCertificateSelectionCallback_t2354453884;
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t713131622;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t3399372417;
// System.Delegate
struct Delegate_t1188392813;
// System.IAsyncResult
struct IAsyncResult_t767004451;
// System.AsyncCallback
struct AsyncCallback_t3962456242;
// System.Net.Security.LocalCertSelectionCallback
struct LocalCertSelectionCallback_t1988113036;
// System.Net.Security.RemoteCertificateValidationCallback
struct RemoteCertificateValidationCallback_t3014364904;
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t194917408;
// System.Net.Security.SslStream
struct SslStream_t2700741536;
// Mono.Security.Interface.IMonoSslStream
struct IMonoSslStream_t1819859871;
// Mono.Security.Interface.MonoTlsProvider
struct MonoTlsProvider_t3152003291;
// Mono.Security.Interface.MonoTlsSettings
struct MonoTlsSettings_t3666008581;
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback
struct MonoRemoteCertificateValidationCallback_t2521872312;
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback
struct MonoLocalCertificateSelectionCallback_t1375878923;
// System.Threading.Tasks.Task
struct Task_t3187275312;
// System.NotSupportedException
struct NotSupportedException_t1314879016;
// System.ObjectDisposedException
struct ObjectDisposedException_t21392786;
// System.Net.ServerCertValidationCallback
struct ServerCertValidationCallback_t1488468298;
// System.Threading.ExecutionContext
struct ExecutionContext_t1748372627;
// System.Net.ServerCertValidationCallback/CallbackContext
struct CallbackContext_t314704580;
// System.Threading.ContextCallback
struct ContextCallback_t3823316192;
// System.Net.ServicePoint
struct ServicePoint_t2786966844;
// System.Uri
struct Uri_t100236324;
// System.Version
struct Version_t3456873960;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t777629997;
// System.Net.Sockets.Socket
struct Socket_t1119025450;
// System.Net.WebConnectionGroup
struct WebConnectionGroup_t1712379988;
// System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>
struct Dictionary_2_t1497636287;
// System.EventHandler
struct EventHandler_t1348719766;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Net.WebConnectionGroup>
struct ValueCollection_t3213680605;
// System.Collections.Generic.List`1<System.Net.WebConnectionGroup>
struct List_1_t3184454730;
// System.Collections.Generic.IEnumerable`1<System.Net.WebConnectionGroup>
struct IEnumerable_1_t692232877;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2059959053;
// System.Threading.Timer
struct Timer_t716671026;
// System.Net.IPHostEntry
struct IPHostEntry_t263743900;
// System.Net.IPAddress[]
struct IPAddressU5BU5D_t596328627;
// System.Net.HttpWebRequest
struct HttpWebRequest_t1669436515;
// System.Net.WebConnection
struct WebConnection_t3982808322;
// System.Threading.TimerCallback
struct TimerCallback_t1438585625;
// System.Net.IPEndPoint
struct IPEndPoint_t3791887218;
// System.Net.BindIPEndPoint
struct BindIPEndPoint_t1029027275;
// System.Net.EndPoint
struct EndPoint_t982345378;
// System.EventArgs
struct EventArgs_t3591816995;
// System.Collections.Specialized.HybridDictionary
struct HybridDictionary_t4070033136;
// System.Net.Configuration.ConnectionManagementData
struct ConnectionManagementData_t2003128658;
// System.Net.Configuration.ConnectionManagementSection
struct ConnectionManagementSection_t1603642748;
// System.Net.Configuration.ConnectionManagementElementCollection
struct ConnectionManagementElementCollection_t3860227195;
// System.Configuration.ConfigurationElementCollection
struct ConfigurationElementCollection_t446763386;
// System.Net.Configuration.ConnectionManagementElement
struct ConnectionManagementElement_t3857438253;
// System.Net.ICertificatePolicy
struct ICertificatePolicy_t2970473191;
// System.Net.DefaultCertificatePolicy
struct DefaultCertificatePolicy_t3607119947;
// System.Net.IWebProxy
struct IWebProxy_t688979836;
// System.Net.ServicePointManager/SPKey
struct SPKey_t3654231119;
// System.Net.SimpleAsyncCallback
struct SimpleAsyncCallback_t2966023072;
// System.Net.SimpleAsyncResult
struct SimpleAsyncResult_t3946017618;
// System.Net.SimpleAsyncResult/<>c__DisplayClass9_0
struct U3CU3Ec__DisplayClass9_0_t2879543744;
// System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>
struct Func_2_t2426439321;
// System.Func`2<System.Object,System.Boolean>
struct Func_2_t3759279471;
// System.Net.SimpleAsyncResult/<>c__DisplayClass11_0
struct U3CU3Ec__DisplayClass11_0_t377749183;
// System.Threading.EventWaitHandle
struct EventWaitHandle_t777845177;
// System.Threading.WaitHandle
struct WaitHandle_t1743403487;
// System.Threading.ManualResetEvent
struct ManualResetEvent_t451242010;
// System.Net.SocketAddress
struct SocketAddress_t3739769427;
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t1578797820;
// System.Net.Sockets.SocketException
struct SocketException_t3852068672;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Globalization.NumberFormatInfo
struct NumberFormatInfo_t435877138;
// System.IFormatProvider
struct IFormatProvider_t2518567562;
// System.Net.Sockets.LingerOption
struct LingerOption_t2688985448;
// System.Net.Sockets.NetworkStream
struct NetworkStream_t4071955934;
// System.IO.IOException
struct IOException_t4088381929;
// System.Object[]
struct ObjectU5BU5D_t2843939325;
// System.Net.Sockets.SafeSocketHandle
struct SafeSocketHandle_t610293888;
// Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
struct SafeHandleZeroOrMinusOneIsInvalid_t1182193648;
// System.Runtime.InteropServices.SafeHandle
struct SafeHandle_t3273388951;
// System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>
struct Dictionary_2_t922677896;
// System.Collections.Generic.List`1<System.Threading.Thread>
struct List_1_t3772910811;
// System.Threading.Thread
struct Thread_t2300836069;
// System.Diagnostics.StackTrace
struct StackTrace_t1598645457;
// System.Threading.SemaphoreSlim
struct SemaphoreSlim_t2974092902;
// System.Net.Configuration.SettingsSectionInternal
struct SettingsSectionInternal_t781171337;
// System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>
struct IList_1_t2098880770;
// System.Net.Sockets.SocketAsyncResult
struct SocketAsyncResult_t3523156467;
// System.IOAsyncResult
struct IOAsyncResult_t3640145766;
// System.IOSelectorJob
struct IOSelectorJob_t2199748873;
// System.IOAsyncCallback
struct IOAsyncCallback_t705871752;
// System.PlatformNotSupportedException
struct PlatformNotSupportedException_t3572244504;
// System.Net.Sockets.Socket/<>c__DisplayClass242_0
struct U3CU3Ec__DisplayClass242_0_t616583391;
// System.Net.Sockets.Socket/<>c__DisplayClass298_0
struct U3CU3Ec__DisplayClass298_0_t616190186;
// System.Action`1<System.Threading.Tasks.Task>
struct Action_1_t3359742907;
// System.Action`1<System.Object>
struct Action_1_t3252573759;
// System.Net.Sockets.Socket/<>c
struct U3CU3Ec_t240325972;
// System.Net.Sockets.SocketAsyncEventArgs
struct SocketAsyncEventArgs_t4146203020;
// System.EventHandler`1<System.Net.Sockets.SocketAsyncEventArgs>
struct EventHandler_1_t2070362453;
// System.EventHandler`1<System.Object>
struct EventHandler_1_t1004265597;
// System.Threading.WaitCallback
struct WaitCallback_t2448485498;
// System.Net.Sockets.SocketAsyncResult/<>c
struct U3CU3Ec_t3573335103;
// System.ComponentModel.Win32Exception
struct Win32Exception_t3234146298;
// System.Threading.Tasks.TaskFactory
struct TaskFactory_t2660013028;
// System.Func`5<System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object,System.IAsyncResult>
struct Func_5_t3425908549;
// System.Func`5<System.Object,System.Int32,System.Object,System.Object,System.Object>
struct Func_5_t1312946854;
// System.Action`1<System.IAsyncResult>
struct Action_1_t939472046;
// System.Func`5<System.Object,System.Int32,System.AsyncCallback,System.Object,System.IAsyncResult>
struct Func_5_t2291327587;
// System.Net.Sockets.SocketTaskExtensions/<>c
struct U3CU3Ec_t3618281371;
// System.Net.Sockets.TcpClient
struct TcpClient_t822906377;
// System.Net.SystemNetworkCredential
struct SystemNetworkCredential_t3685288932;
// System.Net.NetworkCredential
struct NetworkCredential_t3282608323;
// System.Collections.Generic.LinkedList`1<System.WeakReference>
struct LinkedList_1_t174532725;
// System.Collections.Generic.LinkedList`1<System.Object>
struct LinkedList_1_t1919752173;
// System.Threading.AutoResetEvent
struct AutoResetEvent_t1333520283;
// System.Collections.Hashtable
struct Hashtable_t1853889766;
// System.AppDomain
struct AppDomain_t1571427825;
// System.Net.TimerThread/Queue
struct Queue_t4148454536;
// System.Net.TimerThread/InfiniteTimerQueue
struct InfiniteTimerQueue_t1413340381;
// System.Net.TimerThread/TimerQueue
struct TimerQueue_t322928133;
// System.WeakReference
struct WeakReference_t1334886716;
// System.Collections.Generic.LinkedListNode`1<System.WeakReference>
struct LinkedListNode_1_t1080061819;
// System.Collections.Generic.LinkedListNode`1<System.Object>
struct LinkedListNode_1_t2825281267;
// System.Net.TimerThread/Callback
struct Callback_t184293096;
// System.Net.TimerThread/Timer
struct Timer_t4150598332;
// System.Net.TimerThread/TimerNode
struct TimerNode_t2186732230;
// System.Security.SecureString
struct SecureString_t3041467854;
// System.Net.WebAsyncResult
struct WebAsyncResult_t3421962937;
// System.Net.HttpWebResponse
struct HttpWebResponse_t3286585418;
// System.Net.IWebConnectionState
struct IWebConnectionState_t1223684576;
// System.Net.WebConnectionData
struct WebConnectionData_t3835660455;
// System.Collections.Queue
struct Queue_t3637523393;
// System.Net.WebConnection/AbortHelper
struct AbortHelper_t1490877826;
// System.Collections.Specialized.NameValueCollection
struct NameValueCollection_t407452768;
// System.Net.WebRequest
struct WebRequest_t1939381076;
// System.Net.Authorization
struct Authorization_t542416582;
// System.Net.ICredentials
struct ICredentials_t725721261;
// System.Text.Encoding
struct Encoding_t1523322056;
// System.Net.WebHeaderCollection
struct WebHeaderCollection_t1942268960;
// System.IO.MemoryStream
struct MemoryStream_t94973147;
// Mono.Net.Security.MonoTlsStream
struct MonoTlsStream_t1980138907;
// System.Net.WebConnectionStream
struct WebConnectionStream_t2170064850;
// System.Net.MonoChunkStream
struct MonoChunkStream_t2034754733;
// System.Collections.ArrayList
struct ArrayList_t2718874744;
// System.Net.CookieContainer
struct CookieContainer_t2331592909;
// System.Net.WebException
struct WebException_t3237156354;
// System.Net.WebResponse
struct WebResponse_t229922639;
// System.Security.Cryptography.X509Certificates.X509ChainImpl
struct X509ChainImpl_t2192100862;
// System.Collections.SortedList/KeyList
struct KeyList_t2666832342;
// System.Collections.SortedList/ValueList
struct ValueList_t3463191220;
// System.Runtime.Remoting.ServerIdentity
struct ServerIdentity_t2342208608;
// System.Type[]
struct TypeU5BU5D_t3940880105;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_t2736202052;
// System.Runtime.Serialization.IFormatterConverter
struct IFormatterConverter_t2171992254;
// System.Security.Cryptography.X509Certificates.X509CertificateImpl
struct X509CertificateImpl_t2851385038;
// System.Globalization.CodePageDataItem
struct CodePageDataItem_t2285235057;
// System.Text.EncoderFallback
struct EncoderFallback_t1188251036;
// System.Text.DecoderFallback
struct DecoderFallback_t3123823036;
// System.Net.HeaderVariantInfo[]
struct HeaderVariantInfoU5BU5D_t3295031164;
// System.Collections.IDictionary
struct IDictionary_t1363984059;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t2481557153;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t1169129676;
// System.Diagnostics.StackFrame[]
struct StackFrameU5BU5D_t1997726418;
// System.Threading.Thread[]
struct ThreadU5BU5D_t820565480;
// System.Int32[]
struct Int32U5BU5D_t385246372;
// System.Collections.Generic.Dictionary`2/Entry<System.Threading.Thread,System.Diagnostics.StackTrace>[]
struct EntryU5BU5D_t91575121;
// System.Collections.Generic.IEqualityComparer`1<System.Threading.Thread>
struct IEqualityComparer_1_t113200791;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Threading.Thread,System.Diagnostics.StackTrace>
struct KeyCollection_t1112353367;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Threading.Thread,System.Diagnostics.StackTrace>
struct ValueCollection_t2638722214;
// System.Net.WebConnectionGroup[]
struct WebConnectionGroupU5BU5D_t1800812509;
// System.Collections.Generic.LinkedList`1<System.Net.WebConnectionGroup/ConnectionState>
struct LinkedList_1_t491222822;
// System.Collections.Generic.Dictionary`2/Entry<System.String,System.Net.WebConnectionGroup>[]
struct EntryU5BU5D_t1404049758;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_t3954782707;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.String,System.Net.WebConnectionGroup>
struct KeyCollection_t1687311758;
// System.Collections.Specialized.ListDictionary
struct ListDictionary_t1624492310;
// System.Threading.WaitHandle[]
struct WaitHandleU5BU5D_t96772038;
// System.Collections.IEqualityComparer
struct IEqualityComparer_t1493878338;
// System.Collections.Specialized.NameObjectCollectionBase/NameObjectEntry
struct NameObjectEntry_t4224248211;
// System.Collections.Specialized.NameObjectCollectionBase/KeysCollection
struct KeysCollection_t1318642398;
// System.StringComparer
struct StringComparer_t3301955079;
// System.Text.RegularExpressions.Group[]
struct GroupU5BU5D_t1880820351;
// System.Configuration.ElementMap
struct ElementMap_t2160633803;
// System.Configuration.ConfigurationPropertyCollection
struct ConfigurationPropertyCollection_t2852175726;
// System.Configuration.ElementInformation
struct ElementInformation_t2651568025;
// System.Configuration.Configuration
struct Configuration_t2529364143;
// System.Configuration.ConfigurationLockCollection
struct ConfigurationLockCollection_t4066281341;
// System.Configuration.ConfigurationElement/SaveContext
struct SaveContext_t3075152201;
// System.Collections.ObjectModel.Collection`1<System.Net.IPAddress>
struct Collection_1_t3481100804;
// System.Collections.Generic.Dictionary`2/Entry<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>[]
struct EntryU5BU5D_t3624978604;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct KeyCollection_t3944212952;
// System.Configuration.ConfigurationProperty
struct ConfigurationProperty_t3590861854;
// System.Threading.Timer/Scheduler
struct Scheduler_t3215764947;
// System.IO.Stream/ReadWriteTask
struct ReadWriteTask_t156472862;
// System.Void
struct Void_t1185182177;
// System.Func`2<System.Object,System.String>
struct Func_2_t1214474899;
// System.Func`2<System.Object,System.Int32>
struct Func_2_t2317969963;
// System.Configuration.SectionInformation
struct SectionInformation_t2821611020;
// System.Configuration.IConfigurationSectionHandler
struct IConfigurationSectionHandler_t3614337894;
// System.LocalDataStoreMgr
struct LocalDataStoreMgr_t1707895399;
// System.LocalDataStoreHolder
struct LocalDataStoreHolder_t2567786569;
// System.Globalization.CultureInfo
struct CultureInfo_t4157843068;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo>
struct AsyncLocal_1_t2427220165;
// System.Threading.InternalThread
struct InternalThread_t95296544;
// System.Security.Principal.IPrincipal
struct IPrincipal_t2343618843;
// System.MulticastDelegate
struct MulticastDelegate_t;
// System.Threading.CancellationTokenSource
struct CancellationTokenSource_t540272775;
// System.Threading.SemaphoreSlim/TaskNode
struct TaskNode_t3317994743;
// System.Threading.Tasks.Task`1<System.Boolean>
struct Task_1_t1502828140;
// System.Threading.Tasks.Task`1<System.Int32>
struct Task_1_t61518632;
// System.Collections.Hashtable/bucket[]
struct bucketU5BU5D_t876121385;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.DelegateData
struct DelegateData_t1677132599;
// System.Threading.Tasks.StackGuard
struct StackGuard_t1472778820;
// System.Threading.Tasks.TaskScheduler
struct TaskScheduler_t1196198384;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>
struct Dictionary_2_t2075988643;
// System.Threading.Tasks.Task/ContingentProperties
struct ContingentProperties_t2170468915;
// System.Func`1<System.Threading.Tasks.Task/ContingentProperties>
struct Func_1_t1600215562;
// System.Predicate`1<System.Threading.Tasks.Task>
struct Predicate_1_t4012569436;
// System.Predicate`1<System.Object>
struct Predicate_1_t3905400288;
// System.Int32[][]
struct Int32U5BU5DU5BU5D_t3365920845;
// System.Text.Decoder
struct Decoder_t2204182725;
// Microsoft.Win32.SafeHandles.SafeWaitHandle
struct SafeWaitHandle_t1972936122;
// System.Delegate[]
struct DelegateU5BU5D_t1703627840;
// System.UInt32[]
struct UInt32U5BU5D_t2770800703;
// System.Reflection.MemberFilter
struct MemberFilter_t426314064;
// System.Reflection.Binder
struct Binder_t2999457153;
// System.UInt16[]
struct UInt16U5BU5D_t3326319531;
// System.Text.RegularExpressions.RegexRunnerFactory
struct RegexRunnerFactory_t51159052;
// System.Text.RegularExpressions.ExclusiveReference
struct ExclusiveReference_t1927754563;
// System.Text.RegularExpressions.SharedReference
struct SharedReference_t2916547576;
// System.Text.RegularExpressions.RegexCode
struct RegexCode_t4293407246;
// System.Collections.Generic.LinkedList`1<System.Text.RegularExpressions.CachedCodeEntry>
struct LinkedList_1_t3068621835;
// System.Threading.SynchronizationContext
struct SynchronizationContext_t2326897723;
// System.Runtime.Remoting.Messaging.LogicalCallContext
struct LogicalCallContext_t3342013719;
// System.Runtime.Remoting.Messaging.IllogicalCallContext
struct IllogicalCallContext_t515815706;
// System.Collections.Generic.Dictionary`2<System.Threading.IAsyncLocal,System.Object>
struct Dictionary_2_t1485349242;
// System.Collections.Generic.List`1<System.Threading.IAsyncLocal>
struct List_1_t2130129336;
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t2865362463;
// System.Security.Policy.Evidence
struct Evidence_t2008144148;
// System.Security.PermissionSet
struct PermissionSet_t223948603;
// System.AssemblyLoadEventHandler
struct AssemblyLoadEventHandler_t107971893;
// System.ResolveEventHandler
struct ResolveEventHandler_t2775508208;
// System.UnhandledExceptionEventHandler
struct UnhandledExceptionEventHandler_t3101989324;
// System.EventHandler`1<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs>
struct EventHandler_1_t3529417624;
// System.AppDomainManager
struct AppDomainManager_t1420869192;
// System.ActivationContext
struct ActivationContext_t976916018;
// System.ApplicationIdentity
struct ApplicationIdentity_t1917735356;
// System.Collections.Generic.List`1<System.String>
struct List_1_t3319525431;
// System.UriParser
struct UriParser_t3890150400;
// System.Uri/UriInfo
struct UriInfo_t1092684687;
// System.Net.Cache.RequestCachePolicy
struct RequestCachePolicy_t2923596909;
// System.Net.Cache.RequestCacheProtocol
struct RequestCacheProtocol_t3614465628;
// System.Net.Cache.RequestCacheBinding
struct RequestCacheBinding_t2614858269;
// System.Net.WebRequest/DesignerWebRequestCreate
struct DesignerWebRequestCreate_t1334098074;
// System.Collections.Generic.Dictionary`2<System.Int32,System.String>
struct Dictionary_2_t736164020;
// System.Net.HeaderInfoTable
struct HeaderInfoTable_t4023871255;
// System.SByte[]
struct SByteU5BU5D_t2651576203;
// System.Net.WebHeaderCollection/RfcChar[]
struct RfcCharU5BU5D_t240418063;
// System.Net.HttpContinueDelegate
struct HttpContinueDelegate_t3009151163;
// System.Action`1<System.IO.Stream>
struct Action_1_t1445490504;
// Mono.Security.Interface.CipherSuiteCode[]
struct CipherSuiteCodeU5BU5D_t3566916850;
// Mono.Security.Interface.ICertificateValidator
struct ICertificateValidator_t849923962;
extern const RuntimeType* ifaddrs_t2169824096_0_0_0_var;
extern const RuntimeType* sockaddr_t371844119_0_0_0_var;
extern const RuntimeType* sockaddr_in6_t2080844659_0_0_0_var;
extern const RuntimeType* sockaddr_in_t1317910171_0_0_0_var;
extern const RuntimeType* MacOsArpHardware_t4198534184_0_0_0_var;
extern RuntimeClass* Dictionary_2_t3754537481_il2cpp_TypeInfo_var;
extern RuntimeClass* SystemException_t176217640_il2cpp_TypeInfo_var;
extern RuntimeClass* Type_t_il2cpp_TypeInfo_var;
extern RuntimeClass* Marshal_t1757017490_il2cpp_TypeInfo_var;
extern RuntimeClass* ifaddrs_t2169824096_il2cpp_TypeInfo_var;
extern RuntimeClass* IPAddress_t241777590_il2cpp_TypeInfo_var;
extern RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
extern RuntimeClass* sockaddr_t371844119_il2cpp_TypeInfo_var;
extern RuntimeClass* sockaddr_in6_t2080844659_il2cpp_TypeInfo_var;
extern RuntimeClass* sockaddr_in_t1317910171_il2cpp_TypeInfo_var;
extern RuntimeClass* ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var;
extern RuntimeClass* Math_t1671470975_il2cpp_TypeInfo_var;
extern RuntimeClass* Int32_t2950945753_il2cpp_TypeInfo_var;
extern RuntimeClass* Enum_t4135868527_il2cpp_TypeInfo_var;
extern RuntimeClass* MacOsNetworkInterface_t3969281182_il2cpp_TypeInfo_var;
extern RuntimeClass* NetworkInterfaceU5BU5D_t3597716288_il2cpp_TypeInfo_var;
extern const RuntimeMethod* MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m310562627_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_TryGetValue_m3793869397_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Add_m753723603_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Count_m602751768_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Values_m2228828089_RuntimeMethod_var;
extern const RuntimeMethod* ValueCollection_GetEnumerator_m314112853_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m4064348663_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m2764203907_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m3848008877_RuntimeMethod_var;
extern String_t* _stringLiteral609276676;
extern const uint32_t MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937_MetadataUsageId;
extern const RuntimeMethod* MacOsNetworkInterfaceAPI__ctor_m2624048932_RuntimeMethod_var;
extern const uint32_t MacOsNetworkInterfaceAPI__ctor_m2624048932_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterfaceAPI_getifaddrs_m2431248539_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterfaceAPI_getifaddrs_m2431248539_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterfaceAPI_freeifaddrs_m4234587285_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterfaceAPI_freeifaddrs_m4234587285_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterfaceAPI__ctor_m1070154817_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterfaceAPI__ctor_m1070154817_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270_MetadataUsageId;
extern RuntimeClass* NetworkInformationException_t2303982063_il2cpp_TypeInfo_var;
extern RuntimeClass* List_1_t640633774_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m3895760431_RuntimeMethod_var;
extern const RuntimeMethod* Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m3991070075_RuntimeMethod_var;
extern const RuntimeMethod* List_1_ToArray_m650252620_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236_MetadataUsageId;
extern RuntimeClass* Win32NetworkInterface2_t2303857857_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32NetworkInterfaceAPI_GetAllNetworkInterfaces_m1936883101_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterfaceAPI_GetAllNetworkInterfaces_m1936883101_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterfaceAPI__ctor_m1459962338_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterfaceAPI__ctor_m1459962338_MetadataUsageId;
struct in6_addr_t3611791508_marshaled_pinvoke;
struct in6_addr_t3611791508;;
struct in6_addr_t3611791508_marshaled_pinvoke;;
struct in6_addr_t3611791508_marshaled_com;
struct in6_addr_t3611791508_marshaled_com;;
extern const uint32_t sockaddr_ll_t3978606313_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t sockaddr_ll_t3978606313_com_FromNativeMethodDefinition_MetadataUsageId;
extern RuntimeClass* SystemNetworkInterface_t699244148_il2cpp_TypeInfo_var;
extern RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SystemNetworkInterface_GetNetworkInterfaces_m1470478155_RuntimeMethod_var;
extern const uint32_t SystemNetworkInterface_GetNetworkInterfaces_m1470478155_MetadataUsageId;
extern const RuntimeMethod* SystemNetworkInterface__cctor_m2883236336_RuntimeMethod_var;
extern const uint32_t SystemNetworkInterface__cctor_m2883236336_MetadataUsageId;
extern const RuntimeMethod* UnixIPGlobalProperties__ctor_m131705248_RuntimeMethod_var;
extern const uint32_t UnixIPGlobalProperties__ctor_m131705248_MetadataUsageId;
extern const RuntimeMethod* UnixIPInterfaceProperties__ctor_m4289841366_RuntimeMethod_var;
extern const uint32_t UnixIPInterfaceProperties__ctor_m4289841366_MetadataUsageId;
extern RuntimeClass* DateTime_t3738529785_il2cpp_TypeInfo_var;
extern RuntimeClass* IPAddressCollection_t2315030214_il2cpp_TypeInfo_var;
extern RuntimeClass* StreamReader_t4009935899_il2cpp_TypeInfo_var;
extern RuntimeClass* UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var;
extern RuntimeClass* CharU5BU5D_t3528271667_il2cpp_TypeInfo_var;
extern RuntimeClass* IDisposable_t3640265483_il2cpp_TypeInfo_var;
extern const RuntimeMethod* UnixIPInterfaceProperties_ParseResolvConf_m1682475313_RuntimeMethod_var;
extern String_t* _stringLiteral1377102178;
extern String_t* _stringLiteral757602046;
extern String_t* _stringLiteral2350156779;
extern String_t* _stringLiteral3929789730;
extern const uint32_t UnixIPInterfaceProperties_ParseResolvConf_m1682475313_MetadataUsageId;
extern const RuntimeMethod* UnixIPInterfaceProperties_get_DnsAddresses_m3950094434_RuntimeMethod_var;
extern const uint32_t UnixIPInterfaceProperties_get_DnsAddresses_m3950094434_MetadataUsageId;
extern RuntimeClass* Regex_t3657309853_il2cpp_TypeInfo_var;
extern const RuntimeMethod* UnixIPInterfaceProperties__cctor_m2971563289_RuntimeMethod_var;
extern String_t* _stringLiteral1422690951;
extern String_t* _stringLiteral3068199316;
extern const uint32_t UnixIPInterfaceProperties__cctor_m2971563289_MetadataUsageId;
extern RuntimeClass* List_1_t1713852332_il2cpp_TypeInfo_var;
extern const RuntimeMethod* UnixNetworkInterface__ctor_m3875175445_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m3256145658_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterface__ctor_m3875175445_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterface_AddAddress_m32632039_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m141914884_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterface_AddAddress_m32632039_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterface_SetLinkLayerInfo_m2970882883_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterface_SetLinkLayerInfo_m2970882883_MetadataUsageId;
extern const RuntimeMethod* UnixNetworkInterface_get_NetworkInterfaceType_m4006398691_RuntimeMethod_var;
extern const uint32_t UnixNetworkInterface_get_NetworkInterfaceType_m4006398691_MetadataUsageId;
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke;
struct Win32_IP_ADDR_STRING_t1213417184;;
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke;;
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_com;
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_com;;
extern RuntimeClass* UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var;
extern const uint32_t Win32_IP_ADAPTER_ADDRESSES_t3463526328_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t Win32_IP_ADAPTER_ADDRESSES_t3463526328_com_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t Win32_MIB_IFROW_t851471770_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t Win32_MIB_IFROW_t851471770_com_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t Win32_SOCKADDR_t2504501424_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
extern const uint32_t Win32_SOCKADDR_t2504501424_com_FromNativeMethodDefinition_MetadataUsageId;
extern const RuntimeType* Win32_SOCKADDR_t2504501424_0_0_0_var;
extern RuntimeClass* Win32_SOCKADDR_t2504501424_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974_RuntimeMethod_var;
extern const uint32_t Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974_MetadataUsageId;
extern const RuntimeMethod* Win32IPAddressCollection__ctor_m2193866191_RuntimeMethod_var;
extern const uint32_t Win32IPAddressCollection__ctor_m2193866191_MetadataUsageId;
extern const RuntimeMethod* Win32IPAddressCollection__ctor_m2557507173_RuntimeMethod_var;
extern const uint32_t Win32IPAddressCollection__ctor_m2557507173_MetadataUsageId;
extern const RuntimeType* Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100_0_0_0_var;
extern RuntimeClass* Win32IPAddressCollection_t1156671415_il2cpp_TypeInfo_var;
extern RuntimeClass* Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32IPAddressCollection_FromDnsServer_m3970823291_RuntimeMethod_var;
extern const uint32_t Win32IPAddressCollection_FromDnsServer_m3970823291_MetadataUsageId;
extern const RuntimeType* Win32_IP_ADDR_STRING_t1213417184_0_0_0_var;
extern RuntimeClass* Win32_IP_ADDR_STRING_t1213417184_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32IPAddressCollection_AddSubsequentlyString_m1641297060_RuntimeMethod_var;
extern const uint32_t Win32IPAddressCollection_AddSubsequentlyString_m1641297060_MetadataUsageId;
extern RuntimeClass* IntPtrU5BU5D_t4013366056_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32IPAddressCollection__cctor_m1698907131_RuntimeMethod_var;
extern const uint32_t Win32IPAddressCollection__cctor_m1698907131_MetadataUsageId;
extern RuntimeClass* Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32IPGlobalProperties_get_DomainName_m3467829811_RuntimeMethod_var;
extern const uint32_t Win32IPGlobalProperties_get_DomainName_m3467829811_MetadataUsageId;
extern const RuntimeMethod* Win32IPGlobalProperties__ctor_m1772432178_RuntimeMethod_var;
extern const uint32_t Win32IPGlobalProperties__ctor_m1772432178_MetadataUsageId;
extern const RuntimeMethod* Win32IPInterfaceProperties2__ctor_m25771527_RuntimeMethod_var;
extern const uint32_t Win32IPInterfaceProperties2__ctor_m25771527_MetadataUsageId;
extern const RuntimeMethod* Win32IPInterfaceProperties2_get_DnsAddresses_m3756475339_RuntimeMethod_var;
extern const uint32_t Win32IPInterfaceProperties2_get_DnsAddresses_m3756475339_MetadataUsageId;
extern const RuntimeMethod* Win32IPv4InterfaceStatistics__ctor_m1977771501_RuntimeMethod_var;
extern const uint32_t Win32IPv4InterfaceStatistics__ctor_m1977771501_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface_GetNetworkParams_m2297365948_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface_GetNetworkParams_m2297365948_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface_get_FixedInfo_m3715854652_RuntimeMethod_var;
extern const RuntimeMethod* Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface_get_FixedInfo_m3715854652_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface__cctor_m1329161106_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface__cctor_m1329161106_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface2_GetIfEntry_m2343960915_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface2_GetIfEntry_m2343960915_MetadataUsageId;
struct Win32_MIB_IFROW_t851471770_marshaled_pinvoke;
struct Win32_MIB_IFROW_t851471770;;
struct Win32_MIB_IFROW_t851471770_marshaled_pinvoke;;
extern RuntimeClass* Win32IPv4InterfaceStatistics_t3096671123_il2cpp_TypeInfo_var;
extern RuntimeClass* Win32IPInterfaceProperties2_t4152818631_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Win32NetworkInterface2__ctor_m3652556675_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface2__ctor_m3652556675_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface2_GetIPProperties_m4029715813_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface2_GetIPProperties_m4029715813_MetadataUsageId;
extern const RuntimeMethod* Win32NetworkInterface2_get_NetworkInterfaceType_m1531412495_RuntimeMethod_var;
extern const uint32_t Win32NetworkInterface2_get_NetworkInterfaceType_m1531412495_MetadataUsageId;
extern RuntimeClass* PathListComparer_t1123825266_il2cpp_TypeInfo_var;
extern RuntimeClass* SortedList_t2427694641_il2cpp_TypeInfo_var;
extern const RuntimeMethod* PathList__ctor_m2594618257_RuntimeMethod_var;
extern const uint32_t PathList__ctor_m2594618257_MetadataUsageId;
extern const RuntimeMethod* PathList_get_Count_m669527148_RuntimeMethod_var;
extern const uint32_t PathList_get_Count_m669527148_MetadataUsageId;
extern RuntimeClass* IEnumerable_t1941168011_il2cpp_TypeInfo_var;
extern RuntimeClass* IEnumerator_t1853284238_il2cpp_TypeInfo_var;
extern RuntimeClass* CookieCollection_t3881042616_il2cpp_TypeInfo_var;
extern const RuntimeMethod* PathList_GetCookiesCount_m4012631531_RuntimeMethod_var;
extern const uint32_t PathList_GetCookiesCount_m4012631531_MetadataUsageId;
extern const RuntimeMethod* PathList_get_Values_m2441809375_RuntimeMethod_var;
extern const uint32_t PathList_get_Values_m2441809375_MetadataUsageId;
extern const RuntimeMethod* PathList_get_Item_m433719466_RuntimeMethod_var;
extern const uint32_t PathList_get_Item_m433719466_MetadataUsageId;
extern const RuntimeMethod* PathList_set_Item_m2496539297_RuntimeMethod_var;
extern const uint32_t PathList_set_Item_m2496539297_MetadataUsageId;
extern const RuntimeMethod* PathList_GetEnumerator_m3707745332_RuntimeMethod_var;
extern const uint32_t PathList_GetEnumerator_m3707745332_MetadataUsageId;
extern const RuntimeMethod* PathList_get_SyncRoot_m2516597328_RuntimeMethod_var;
extern const uint32_t PathList_get_SyncRoot_m2516597328_MetadataUsageId;
extern RuntimeClass* String_t_il2cpp_TypeInfo_var;
extern const RuntimeMethod* PathListComparer_System_Collections_IComparer_Compare_m3318255939_RuntimeMethod_var;
extern const uint32_t PathListComparer_System_Collections_IComparer_Compare_m3318255939_MetadataUsageId;
extern const RuntimeMethod* PathListComparer__ctor_m2457711856_RuntimeMethod_var;
extern const uint32_t PathListComparer__ctor_m2457711856_MetadataUsageId;
extern const RuntimeMethod* PathListComparer__cctor_m4159747597_RuntimeMethod_var;
extern const uint32_t PathListComparer__cctor_m4159747597_MetadataUsageId;
extern const RuntimeMethod* ProtocolViolationException__ctor_m3494069637_RuntimeMethod_var;
extern const uint32_t ProtocolViolationException__ctor_m3494069637_MetadataUsageId;
extern const RuntimeMethod* ProtocolViolationException__ctor_m1575418383_RuntimeMethod_var;
extern const uint32_t ProtocolViolationException__ctor_m1575418383_MetadataUsageId;
extern const RuntimeMethod* ProtocolViolationException__ctor_m1970521726_RuntimeMethod_var;
extern const uint32_t ProtocolViolationException__ctor_m1970521726_MetadataUsageId;
extern const RuntimeMethod* ProtocolViolationException_System_Runtime_Serialization_ISerializable_GetObjectData_m2045101867_RuntimeMethod_var;
extern const uint32_t ProtocolViolationException_System_Runtime_Serialization_ISerializable_GetObjectData_m2045101867_MetadataUsageId;
extern const RuntimeMethod* ProtocolViolationException_GetObjectData_m3244936269_RuntimeMethod_var;
extern const uint32_t ProtocolViolationException_GetObjectData_m3244936269_MetadataUsageId;
extern RuntimeClass* Stream_t1273022909_il2cpp_TypeInfo_var;
extern RuntimeClass* ArgumentNullException_t1615371798_il2cpp_TypeInfo_var;
extern RuntimeClass* ArgumentException_t132251570_il2cpp_TypeInfo_var;
extern const RuntimeMethod* AuthenticatedStream__ctor_m2546959456_RuntimeMethod_var;
extern String_t* _stringLiteral4156291023;
extern String_t* _stringLiteral1660013673;
extern const uint32_t AuthenticatedStream__ctor_m2546959456_MetadataUsageId;
extern const RuntimeMethod* AuthenticatedStream_get_InnerStream_m4066215780_RuntimeMethod_var;
extern const uint32_t AuthenticatedStream_get_InnerStream_m4066215780_MetadataUsageId;
extern const RuntimeMethod* AuthenticatedStream_Dispose_m2809320002_RuntimeMethod_var;
extern const uint32_t AuthenticatedStream_Dispose_m2809320002_MetadataUsageId;
extern const RuntimeMethod* LocalCertificateSelectionCallback__ctor_m717516594_RuntimeMethod_var;
extern const uint32_t LocalCertificateSelectionCallback__ctor_m717516594_MetadataUsageId;
extern const RuntimeMethod* LocalCertificateSelectionCallback_Invoke_m668452322_RuntimeMethod_var;
extern const uint32_t LocalCertificateSelectionCallback_Invoke_m668452322_MetadataUsageId;
extern const RuntimeMethod* LocalCertificateSelectionCallback_BeginInvoke_m3292356978_RuntimeMethod_var;
extern const uint32_t LocalCertificateSelectionCallback_BeginInvoke_m3292356978_MetadataUsageId;
extern const RuntimeMethod* LocalCertificateSelectionCallback_EndInvoke_m561573233_RuntimeMethod_var;
extern const uint32_t LocalCertificateSelectionCallback_EndInvoke_m561573233_MetadataUsageId;
extern const RuntimeMethod* LocalCertSelectionCallback__ctor_m386164261_RuntimeMethod_var;
extern const uint32_t LocalCertSelectionCallback__ctor_m386164261_MetadataUsageId;
extern const RuntimeMethod* LocalCertSelectionCallback_Invoke_m1692344453_RuntimeMethod_var;
extern const uint32_t LocalCertSelectionCallback_Invoke_m1692344453_MetadataUsageId;
extern const RuntimeMethod* LocalCertSelectionCallback_BeginInvoke_m553604038_RuntimeMethod_var;
extern const uint32_t LocalCertSelectionCallback_BeginInvoke_m553604038_MetadataUsageId;
extern const RuntimeMethod* LocalCertSelectionCallback_EndInvoke_m3613070888_RuntimeMethod_var;
extern const uint32_t LocalCertSelectionCallback_EndInvoke_m3613070888_MetadataUsageId;
extern const RuntimeMethod* RemoteCertificateValidationCallback__ctor_m1251969663_RuntimeMethod_var;
extern const uint32_t RemoteCertificateValidationCallback__ctor_m1251969663_MetadataUsageId;
extern const RuntimeMethod* RemoteCertificateValidationCallback_Invoke_m727898444_RuntimeMethod_var;
extern const uint32_t RemoteCertificateValidationCallback_Invoke_m727898444_MetadataUsageId;
extern RuntimeClass* SslPolicyErrors_t2205227823_il2cpp_TypeInfo_var;
extern const RuntimeMethod* RemoteCertificateValidationCallback_BeginInvoke_m1840268146_RuntimeMethod_var;
extern const uint32_t RemoteCertificateValidationCallback_BeginInvoke_m1840268146_MetadataUsageId;
extern const RuntimeMethod* RemoteCertificateValidationCallback_EndInvoke_m1360061860_RuntimeMethod_var;
extern const uint32_t RemoteCertificateValidationCallback_EndInvoke_m1360061860_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_Impl_m3149891854_RuntimeMethod_var;
extern const uint32_t SslStream_get_Impl_m3149891854_MetadataUsageId;
extern const RuntimeMethod* SslStream_GetProvider_m949158172_RuntimeMethod_var;
extern const uint32_t SslStream_GetProvider_m949158172_MetadataUsageId;
extern const RuntimeMethod* SslStream__ctor_m2194243907_RuntimeMethod_var;
extern const uint32_t SslStream__ctor_m2194243907_MetadataUsageId;
extern const RuntimeMethod* SslStream__ctor_m3370516085_RuntimeMethod_var;
extern const uint32_t SslStream__ctor_m3370516085_MetadataUsageId;
extern const RuntimeMethod* SslStream__ctor_m2028407324_RuntimeMethod_var;
extern const uint32_t SslStream__ctor_m2028407324_MetadataUsageId;
extern const RuntimeMethod* SslStream__ctor_m669531117_RuntimeMethod_var;
extern const uint32_t SslStream__ctor_m669531117_MetadataUsageId;
extern RuntimeClass* SslStream_t2700741536_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SslStream_CreateMonoSslStream_m3208885458_RuntimeMethod_var;
extern const uint32_t SslStream_CreateMonoSslStream_m3208885458_MetadataUsageId;
extern RuntimeClass* IMonoSslStream_t1819859871_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SslStream_AuthenticateAsClient_m2305196485_RuntimeMethod_var;
extern const uint32_t SslStream_AuthenticateAsClient_m2305196485_MetadataUsageId;
extern const RuntimeMethod* SslStream_AuthenticateAsClientAsync_m2103080311_RuntimeMethod_var;
extern const uint32_t SslStream_AuthenticateAsClientAsync_m2103080311_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_IsAuthenticated_m4088526788_RuntimeMethod_var;
extern const uint32_t SslStream_get_IsAuthenticated_m4088526788_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_CanSeek_m102894697_RuntimeMethod_var;
extern const uint32_t SslStream_get_CanSeek_m102894697_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_CanRead_m1708449590_RuntimeMethod_var;
extern const uint32_t SslStream_get_CanRead_m1708449590_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_CanWrite_m1287225252_RuntimeMethod_var;
extern const uint32_t SslStream_get_CanWrite_m1287225252_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_ReadTimeout_m583510994_RuntimeMethod_var;
extern const uint32_t SslStream_get_ReadTimeout_m583510994_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_WriteTimeout_m111948981_RuntimeMethod_var;
extern const uint32_t SslStream_get_WriteTimeout_m111948981_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_Length_m1403894209_RuntimeMethod_var;
extern const uint32_t SslStream_get_Length_m1403894209_MetadataUsageId;
extern const RuntimeMethod* SslStream_get_Position_m2568970827_RuntimeMethod_var;
extern const uint32_t SslStream_get_Position_m2568970827_MetadataUsageId;
extern RuntimeClass* NotSupportedException_t1314879016_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SslStream_set_Position_m2208958757_RuntimeMethod_var;
extern String_t* _stringLiteral125440369;
extern const uint32_t SslStream_set_Position_m2208958757_MetadataUsageId;
extern const RuntimeMethod* SslStream_SetLength_m3567378519_RuntimeMethod_var;
extern const uint32_t SslStream_SetLength_m3567378519_MetadataUsageId;
extern const RuntimeMethod* SslStream_Seek_m2499592124_RuntimeMethod_var;
extern const uint32_t SslStream_Seek_m2499592124_MetadataUsageId;
extern const RuntimeMethod* SslStream_Flush_m1522960015_RuntimeMethod_var;
extern const uint32_t SslStream_Flush_m1522960015_MetadataUsageId;
extern RuntimeClass* ObjectDisposedException_t21392786_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SslStream_CheckDisposed_m108984730_RuntimeMethod_var;
extern String_t* _stringLiteral3515861333;
extern const uint32_t SslStream_CheckDisposed_m108984730_MetadataUsageId;
extern const RuntimeMethod* SslStream_Dispose_m3651067425_RuntimeMethod_var;
extern const uint32_t SslStream_Dispose_m3651067425_MetadataUsageId;
extern const RuntimeMethod* SslStream_Read_m576235997_RuntimeMethod_var;
extern const uint32_t SslStream_Read_m576235997_MetadataUsageId;
extern const RuntimeMethod* SslStream_Write_m462410050_RuntimeMethod_var;
extern const uint32_t SslStream_Write_m462410050_MetadataUsageId;
extern const RuntimeMethod* SslStream_BeginRead_m2574812991_RuntimeMethod_var;
extern const uint32_t SslStream_BeginRead_m2574812991_MetadataUsageId;
extern const RuntimeMethod* SslStream_EndRead_m3563632709_RuntimeMethod_var;
extern const uint32_t SslStream_EndRead_m3563632709_MetadataUsageId;
extern const RuntimeMethod* SslStream_BeginWrite_m831482228_RuntimeMethod_var;
extern const uint32_t SslStream_BeginWrite_m831482228_MetadataUsageId;
extern const RuntimeMethod* SslStream_EndWrite_m4230550996_RuntimeMethod_var;
extern const uint32_t SslStream_EndWrite_m4230550996_MetadataUsageId;
extern RuntimeClass* ExecutionContext_t1748372627_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServerCertValidationCallback__ctor_m3702464936_RuntimeMethod_var;
extern const uint32_t ServerCertValidationCallback__ctor_m3702464936_MetadataUsageId;
extern const RuntimeMethod* ServerCertValidationCallback_get_ValidationCallback_m3775939199_RuntimeMethod_var;
extern const uint32_t ServerCertValidationCallback_get_ValidationCallback_m3775939199_MetadataUsageId;
extern RuntimeClass* CallbackContext_t314704580_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServerCertValidationCallback_Callback_m4094854916_RuntimeMethod_var;
extern const uint32_t ServerCertValidationCallback_Callback_m4094854916_MetadataUsageId;
extern RuntimeClass* ContextCallback_t3823316192_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServerCertValidationCallback_Invoke_m970680335_RuntimeMethod_var;
extern const uint32_t ServerCertValidationCallback_Invoke_m970680335_MetadataUsageId;
extern const RuntimeMethod* CallbackContext__ctor_m463300618_RuntimeMethod_var;
extern const uint32_t CallbackContext__ctor_m463300618_MetadataUsageId;
extern const RuntimeMethod* ServicePoint__ctor_m4022457269_RuntimeMethod_var;
extern const uint32_t ServicePoint__ctor_m4022457269_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_Address_m4189969258_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_Address_m4189969258_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_ConnectionLimit_m3279274329_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_ConnectionLimit_m3279274329_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_ProtocolVersion_m2707266366_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_ProtocolVersion_m2707266366_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_set_Expect100Continue_m1237635858_RuntimeMethod_var;
extern const uint32_t ServicePoint_set_Expect100Continue_m1237635858_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_UseNagleAlgorithm_m633218140_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_UseNagleAlgorithm_m633218140_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_set_UseNagleAlgorithm_m1374731041_RuntimeMethod_var;
extern const uint32_t ServicePoint_set_UseNagleAlgorithm_m1374731041_MetadataUsageId;
extern RuntimeClass* Version_t3456873960_il2cpp_TypeInfo_var;
extern RuntimeClass* HttpVersion_t346520293_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_get_SendContinue_m3018494224_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_SendContinue_m3018494224_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_set_SendContinue_m3004714502_RuntimeMethod_var;
extern const uint32_t ServicePoint_set_SendContinue_m3004714502_MetadataUsageId;
extern RuntimeClass* ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_SetTcpKeepAlive_m1397995104_RuntimeMethod_var;
extern String_t* _stringLiteral213775175;
extern String_t* _stringLiteral2276030409;
extern String_t* _stringLiteral2180416045;
extern const uint32_t ServicePoint_SetTcpKeepAlive_m1397995104_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_KeepAliveSetup_m1439766054_RuntimeMethod_var;
extern const uint32_t ServicePoint_KeepAliveSetup_m1439766054_MetadataUsageId;
extern RuntimeClass* BitConverter_t3118986983_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_PutBytes_m1954185421_RuntimeMethod_var;
extern const uint32_t ServicePoint_PutBytes_m1954185421_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_UsesProxy_m174711556_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_UsesProxy_m174711556_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_set_UsesProxy_m2758604003_RuntimeMethod_var;
extern const uint32_t ServicePoint_set_UsesProxy_m2758604003_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_get_UseConnect_m2085353846_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_UseConnect_m2085353846_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_set_UseConnect_m1377758489_RuntimeMethod_var;
extern const uint32_t ServicePoint_set_UseConnect_m1377758489_MetadataUsageId;
extern RuntimeClass* WebConnectionGroup_t1712379988_il2cpp_TypeInfo_var;
extern RuntimeClass* EventHandler_t1348719766_il2cpp_TypeInfo_var;
extern RuntimeClass* Dictionary_2_t1497636287_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_GetConnectionGroup_m2497020374_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_TryGetValue_m1280158263_RuntimeMethod_var;
extern const RuntimeMethod* ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m1434311162_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Add_m4174132196_RuntimeMethod_var;
extern const uint32_t ServicePoint_GetConnectionGroup_m2497020374_MetadataUsageId;
extern RuntimeClass* InvalidOperationException_t56020091_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_RemoveConnectionGroup_m1619826718_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Count_m872003180_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Remove_m2793562534_RuntimeMethod_var;
extern const uint32_t ServicePoint_RemoveConnectionGroup_m1619826718_MetadataUsageId;
extern RuntimeClass* TimeSpan_t881159249_il2cpp_TypeInfo_var;
extern RuntimeClass* List_1_t3184454730_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_CheckAvailableForRecycling_m2511650943_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Values_m1588207892_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m3955212303_RuntimeMethod_var;
extern const RuntimeMethod* List_1_GetEnumerator_m3502109974_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m1256489352_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m4249390948_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m3228098512_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m993890802_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m721246676_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_ContainsKey_m1518347499_RuntimeMethod_var;
extern const uint32_t ServicePoint_CheckAvailableForRecycling_m2511650943_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_IdleTimerCallback_m2062114730_RuntimeMethod_var;
extern const uint32_t ServicePoint_IdleTimerCallback_m2062114730_MetadataUsageId;
extern RuntimeClass* ServicePointManager_t170559685_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_get_HasTimedOut_m2870516460_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_HasTimedOut_m2870516460_MetadataUsageId;
extern RuntimeClass* IPHostEntry_t263743900_il2cpp_TypeInfo_var;
extern RuntimeClass* IPAddressU5BU5D_t596328627_il2cpp_TypeInfo_var;
extern RuntimeClass* Dns_t384099571_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_get_HostEntry_m1249515277_RuntimeMethod_var;
extern const uint32_t ServicePoint_get_HostEntry_m1249515277_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_SetVersion_m218713483_RuntimeMethod_var;
extern const uint32_t ServicePoint_SetVersion_m218713483_MetadataUsageId;
extern RuntimeClass* TimerCallback_t1438585625_il2cpp_TypeInfo_var;
extern RuntimeClass* Timer_t716671026_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_SendRequest_m1850173641_RuntimeMethod_var;
extern const uint32_t ServicePoint_SendRequest_m1850173641_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_UpdateServerCertificate_m400846069_RuntimeMethod_var;
extern const uint32_t ServicePoint_UpdateServerCertificate_m400846069_MetadataUsageId;
extern const RuntimeMethod* ServicePoint_UpdateClientCertificate_m3591076172_RuntimeMethod_var;
extern const uint32_t ServicePoint_UpdateClientCertificate_m3591076172_MetadataUsageId;
extern RuntimeClass* SocketException_t3852068672_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePoint_CallEndPointDelegate_m2947487287_RuntimeMethod_var;
extern const uint32_t ServicePoint_CallEndPointDelegate_m2947487287_MetadataUsageId;
extern const uint32_t ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977_MetadataUsageId;
extern RuntimeClass* HybridDictionary_t4070033136_il2cpp_TypeInfo_var;
extern RuntimeClass* ConfigurationManager_t386529156_il2cpp_TypeInfo_var;
extern RuntimeClass* ConnectionManagementSection_t1603642748_il2cpp_TypeInfo_var;
extern RuntimeClass* ConnectionManagementData_t2003128658_il2cpp_TypeInfo_var;
extern RuntimeClass* ConnectionManagementElement_t3857438253_il2cpp_TypeInfo_var;
extern RuntimeClass* ConfigurationSettings_t822951835_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePointManager__cctor_m3222177795_RuntimeMethod_var;
extern String_t* _stringLiteral2890506517;
extern String_t* _stringLiteral3452614534;
extern const uint32_t ServicePointManager__cctor_m3222177795_MetadataUsageId;
extern RuntimeClass* DefaultCertificatePolicy_t3607119947_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePointManager_get_CertificatePolicy_m1966679142_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_CertificatePolicy_m1966679142_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_GetLegacyCertificatePolicy_m1373482136_RuntimeMethod_var;
extern const uint32_t ServicePointManager_GetLegacyCertificatePolicy_m1373482136_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_get_CheckCertificateRevocationList_m1716454075_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_CheckCertificateRevocationList_m1716454075_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_get_DnsRefreshTimeout_m2777228149_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_DnsRefreshTimeout_m2777228149_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_get_SecurityProtocol_m4259357356_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_SecurityProtocol_m4259357356_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_get_ServerCertValidationCallback_m261155263_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_ServerCertValidationCallback_m261155263_MetadataUsageId;
extern const RuntimeMethod* ServicePointManager_get_ServerCertificateValidationCallback_m984921647_RuntimeMethod_var;
extern const uint32_t ServicePointManager_get_ServerCertificateValidationCallback_m984921647_MetadataUsageId;
extern RuntimeClass* Uri_t100236324_il2cpp_TypeInfo_var;
extern RuntimeClass* IWebProxy_t688979836_il2cpp_TypeInfo_var;
extern RuntimeClass* SPKey_t3654231119_il2cpp_TypeInfo_var;
extern RuntimeClass* ServicePoint_t2786966844_il2cpp_TypeInfo_var;
extern const RuntimeMethod* ServicePointManager_FindServicePoint_m4119451290_RuntimeMethod_var;
extern String_t* _stringLiteral1057238085;
extern String_t* _stringLiteral1973861653;
extern String_t* _stringLiteral3140485902;
extern String_t* _stringLiteral2054884799;
extern String_t* _stringLiteral4122273294;
extern const uint32_t ServicePointManager_FindServicePoint_m4119451290_MetadataUsageId;
extern const RuntimeMethod* SPKey__ctor_m2807051469_RuntimeMethod_var;
extern const uint32_t SPKey__ctor_m2807051469_MetadataUsageId;
extern const RuntimeMethod* SPKey_get_UsesProxy_m3161922308_RuntimeMethod_var;
extern const uint32_t SPKey_get_UsesProxy_m3161922308_MetadataUsageId;
extern const RuntimeMethod* SPKey_GetHashCode_m1832733826_RuntimeMethod_var;
extern const uint32_t SPKey_GetHashCode_m1832733826_MetadataUsageId;
extern const RuntimeMethod* SPKey_Equals_m4205549017_RuntimeMethod_var;
extern const uint32_t SPKey_Equals_m4205549017_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncCallback__ctor_m2647477404_RuntimeMethod_var;
extern const uint32_t SimpleAsyncCallback__ctor_m2647477404_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncCallback_Invoke_m1556536928_RuntimeMethod_var;
extern const uint32_t SimpleAsyncCallback_Invoke_m1556536928_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncCallback_BeginInvoke_m3748162143_RuntimeMethod_var;
extern const uint32_t SimpleAsyncCallback_BeginInvoke_m3748162143_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncCallback_EndInvoke_m843864638_RuntimeMethod_var;
extern const uint32_t SimpleAsyncCallback_EndInvoke_m843864638_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult__ctor_m2857079850_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult__ctor_m2857079850_MetadataUsageId;
extern RuntimeClass* U3CU3Ec__DisplayClass9_0_t2879543744_il2cpp_TypeInfo_var;
extern RuntimeClass* SimpleAsyncCallback_t2966023072_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SimpleAsyncResult__ctor_m302284371_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult__ctor_m302284371_MetadataUsageId;
extern RuntimeClass* SimpleAsyncResult_t3946017618_il2cpp_TypeInfo_var;
extern RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SimpleAsyncResult_Run_m2632813164_RuntimeMethod_var;
extern const RuntimeMethod* Func_2_Invoke_m3001332830_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_Run_m2632813164_MetadataUsageId;
extern RuntimeClass* U3CU3Ec__DisplayClass11_0_t377749183_il2cpp_TypeInfo_var;
extern RuntimeClass* Func_2_t2426439321_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SimpleAsyncResult_RunWithLock_m2419669062_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198_RuntimeMethod_var;
extern const RuntimeMethod* Func_2__ctor_m1373340260_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_RunWithLock_m2419669062_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_Reset_internal_m1051157640_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_Reset_internal_m1051157640_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_SetCompleted_m515399313_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_SetCompleted_m515399313_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_SetCompleted_m3748086251_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_SetCompleted_m3748086251_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_SetCompleted_internal_m1548663497_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_SetCompleted_internal_m1548663497_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_SetCompleted_internal_m3990539307_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_SetCompleted_internal_m3990539307_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_DoCallback_private_m3635007888_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_DoCallback_private_m3635007888_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_DoCallback_internal_m3054769675_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_DoCallback_internal_m3054769675_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_WaitUntilComplete_m1711352865_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_WaitUntilComplete_m1711352865_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_WaitUntilComplete_m562927459_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_WaitUntilComplete_m562927459_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_AsyncState_m1324575894_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_AsyncState_m1324575894_MetadataUsageId;
extern RuntimeClass* ManualResetEvent_t451242010_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SimpleAsyncResult_get_AsyncWaitHandle_m2590763727_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_AsyncWaitHandle_m2590763727_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_CompletedSynchronously_m1730313150_RuntimeMethod_var;
extern const RuntimeMethod* Nullable_1_get_HasValue_m1994351731_RuntimeMethod_var;
extern const RuntimeMethod* Nullable_1_get_Value_m2018837163_RuntimeMethod_var;
extern const RuntimeMethod* Nullable_1__ctor_m509459810_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_CompletedSynchronously_m1730313150_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_CompletedSynchronouslyPeek_m3681140797_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_CompletedSynchronouslyPeek_m3681140797_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_IsCompleted_m1032228256_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_IsCompleted_m1032228256_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_GotException_m3693335075_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_GotException_m3693335075_MetadataUsageId;
extern const RuntimeMethod* SimpleAsyncResult_get_Exception_m4130951627_RuntimeMethod_var;
extern const uint32_t SimpleAsyncResult_get_Exception_m4130951627_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__DisplayClass11_0__ctor_m3459980745_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__DisplayClass11_0__ctor_m3459980745_MetadataUsageId;
extern const uint32_t U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198_MetadataUsageId;
extern const uint32_t U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__DisplayClass9_0__ctor_m2402425430_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__DisplayClass9_0__ctor_m2402425430_MetadataUsageId;
extern const uint32_t U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517_MetadataUsageId;
extern const RuntimeMethod* SocketAddress_get_Family_m3641031639_RuntimeMethod_var;
extern const uint32_t SocketAddress_get_Family_m3641031639_MetadataUsageId;
extern const RuntimeMethod* SocketAddress_get_Size_m3420662108_RuntimeMethod_var;
extern const uint32_t SocketAddress_get_Size_m3420662108_MetadataUsageId;
extern RuntimeClass* IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketAddress_get_Item_m4142520260_RuntimeMethod_var;
extern const uint32_t SocketAddress_get_Item_m4142520260_MetadataUsageId;
extern const RuntimeMethod* SocketAddress__ctor_m487026317_RuntimeMethod_var;
extern String_t* _stringLiteral4049040645;
extern const uint32_t SocketAddress__ctor_m487026317_MetadataUsageId;
extern const RuntimeMethod* SocketAddress__ctor_m3121787210_RuntimeMethod_var;
extern const uint32_t SocketAddress__ctor_m3121787210_MetadataUsageId;
extern const RuntimeMethod* SocketAddress__ctor_m2840053504_RuntimeMethod_var;
extern const uint32_t SocketAddress__ctor_m2840053504_MetadataUsageId;
extern const RuntimeMethod* SocketAddress_GetIPAddress_m1387719498_RuntimeMethod_var;
extern const uint32_t SocketAddress_GetIPAddress_m1387719498_MetadataUsageId;
extern RuntimeClass* IPEndPoint_t3791887218_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketAddress_GetIPEndPoint_m836939424_RuntimeMethod_var;
extern const uint32_t SocketAddress_GetIPEndPoint_m836939424_MetadataUsageId;
extern RuntimeClass* SocketAddress_t3739769427_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketAddress_Equals_m1857492818_RuntimeMethod_var;
extern const uint32_t SocketAddress_Equals_m1857492818_MetadataUsageId;
extern const RuntimeMethod* SocketAddress_GetHashCode_m1436747884_RuntimeMethod_var;
extern const uint32_t SocketAddress_GetHashCode_m1436747884_MetadataUsageId;
extern RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
extern RuntimeClass* StringU5BU5D_t1281789340_il2cpp_TypeInfo_var;
extern RuntimeClass* AddressFamily_t2612549059_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketAddress_ToString_m797278434_RuntimeMethod_var;
extern String_t* _stringLiteral3452614532;
extern String_t* _stringLiteral3452614550;
extern String_t* _stringLiteral3456087958;
extern String_t* _stringLiteral3452614611;
extern const uint32_t SocketAddress_ToString_m797278434_MetadataUsageId;
extern const RuntimeMethod* LingerOption__ctor_m2538367620_RuntimeMethod_var;
extern const uint32_t LingerOption__ctor_m2538367620_MetadataUsageId;
extern const RuntimeMethod* LingerOption_set_Enabled_m1826728409_RuntimeMethod_var;
extern const uint32_t LingerOption_set_Enabled_m1826728409_MetadataUsageId;
extern const RuntimeMethod* LingerOption_set_LingerTime_m4070974897_RuntimeMethod_var;
extern const uint32_t LingerOption_set_LingerTime_m4070974897_MetadataUsageId;
extern const RuntimeMethod* NetworkStream__ctor_m1741284015_RuntimeMethod_var;
extern String_t* _stringLiteral4269838979;
extern const uint32_t NetworkStream__ctor_m1741284015_MetadataUsageId;
extern const RuntimeMethod* NetworkStream__ctor_m594102681_RuntimeMethod_var;
extern const uint32_t NetworkStream__ctor_m594102681_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_CanRead_m995827301_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_CanRead_m995827301_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_CanSeek_m2713257202_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_CanSeek_m2713257202_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_CanWrite_m3803109243_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_CanWrite_m3803109243_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_ReadTimeout_m266050210_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_ReadTimeout_m266050210_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_WriteTimeout_m936731250_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_WriteTimeout_m936731250_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_Length_m2134439603_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_Length_m2134439603_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_get_Position_m4060665641_RuntimeMethod_var;
extern const uint32_t NetworkStream_get_Position_m4060665641_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_set_Position_m4274646361_RuntimeMethod_var;
extern const uint32_t NetworkStream_set_Position_m4274646361_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_Seek_m873044447_RuntimeMethod_var;
extern const uint32_t NetworkStream_Seek_m873044447_MetadataUsageId;
extern RuntimeClass* IOException_t4088381929_il2cpp_TypeInfo_var;
extern const RuntimeMethod* NetworkStream_InitNetworkStream_m961292768_RuntimeMethod_var;
extern String_t* _stringLiteral1800292754;
extern String_t* _stringLiteral1614880162;
extern String_t* _stringLiteral383978969;
extern const uint32_t NetworkStream_InitNetworkStream_m961292768_MetadataUsageId;
extern RuntimeClass* ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var;
extern RuntimeClass* ThreadAbortException_t4074510458_il2cpp_TypeInfo_var;
extern RuntimeClass* StackOverflowException_t3629451388_il2cpp_TypeInfo_var;
extern RuntimeClass* OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var;
extern const RuntimeMethod* NetworkStream_Read_m89488240_RuntimeMethod_var;
extern String_t* _stringLiteral2593541830;
extern String_t* _stringLiteral3939495523;
extern String_t* _stringLiteral1082126080;
extern String_t* _stringLiteral2521776910;
extern String_t* _stringLiteral1054262580;
extern const uint32_t NetworkStream_Read_m89488240_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_Write_m172181053_RuntimeMethod_var;
extern String_t* _stringLiteral158230655;
extern String_t* _stringLiteral1903396256;
extern const uint32_t NetworkStream_Write_m172181053_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_Dispose_m4074776990_RuntimeMethod_var;
extern const uint32_t NetworkStream_Dispose_m4074776990_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_Finalize_m382940703_RuntimeMethod_var;
extern const uint32_t NetworkStream_Finalize_m382940703_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_BeginRead_m194067695_RuntimeMethod_var;
extern const uint32_t NetworkStream_BeginRead_m194067695_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_EndRead_m1637001035_RuntimeMethod_var;
extern String_t* _stringLiteral844061258;
extern const uint32_t NetworkStream_EndRead_m1637001035_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var;
extern const uint32_t NetworkStream_BeginWrite_m1919375747_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_EndWrite_m2616051554_RuntimeMethod_var;
extern const uint32_t NetworkStream_EndWrite_m2616051554_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_Flush_m1348361755_RuntimeMethod_var;
extern const uint32_t NetworkStream_Flush_m1348361755_MetadataUsageId;
extern const RuntimeMethod* NetworkStream_SetLength_m1368482808_RuntimeMethod_var;
extern const uint32_t NetworkStream_SetLength_m1368482808_MetadataUsageId;
extern RuntimeClass* SafeSocketHandle_t610293888_il2cpp_TypeInfo_var;
extern RuntimeClass* Dictionary_2_t922677896_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SafeSocketHandle__ctor_m339710951_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m1446229865_RuntimeMethod_var;
extern const uint32_t SafeSocketHandle__ctor_m339710951_MetadataUsageId;
extern RuntimeClass* Socket_t1119025450_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SafeSocketHandle_ReleaseHandle_m115824575_RuntimeMethod_var;
extern const RuntimeMethod* List_1_GetEnumerator_m179237162_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m953840108_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Item_m508500528_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m480169131_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m3364478653_RuntimeMethod_var;
extern const RuntimeMethod* List_1_get_Count_m3880499525_RuntimeMethod_var;
extern const RuntimeMethod* List_1_get_Item_m3301963937_RuntimeMethod_var;
extern String_t* _stringLiteral2930551027;
extern String_t* _stringLiteral2839682518;
extern const uint32_t SafeSocketHandle_ReleaseHandle_m115824575_MetadataUsageId;
extern RuntimeClass* List_1_t3772910811_il2cpp_TypeInfo_var;
extern RuntimeClass* StackTrace_t1598645457_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SafeSocketHandle_RegisterForBlockingSyscall_m2358257996_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m184824557_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m1133289729_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Add_m2169306730_RuntimeMethod_var;
extern const uint32_t SafeSocketHandle_RegisterForBlockingSyscall_m2358257996_MetadataUsageId;
extern const RuntimeMethod* SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Remove_m937484048_RuntimeMethod_var;
extern const RuntimeMethod* List_1_IndexOf_m1056369912_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Remove_m645676874_RuntimeMethod_var;
extern const uint32_t SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727_MetadataUsageId;
extern const RuntimeMethod* SafeSocketHandle__cctor_m564687165_RuntimeMethod_var;
extern String_t* _stringLiteral2988099792;
extern String_t* _stringLiteral4119301762;
extern const uint32_t SafeSocketHandle__cctor_m564687165_MetadataUsageId;
extern RuntimeClass* SemaphoreSlim_t2974092902_il2cpp_TypeInfo_var;
extern RuntimeClass* Logging_t3111638700_il2cpp_TypeInfo_var;
extern RuntimeClass* SettingsSectionInternal_t781171337_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket__ctor_m3479084642_RuntimeMethod_var;
extern const uint32_t Socket__ctor_m3479084642_MetadataUsageId;
extern const RuntimeMethod* Socket_get_SupportsIPv4_m1296530015_RuntimeMethod_var;
extern const uint32_t Socket_get_SupportsIPv4_m1296530015_MetadataUsageId;
extern const RuntimeMethod* Socket_get_OSSupportsIPv4_m1922873662_RuntimeMethod_var;
extern const uint32_t Socket_get_OSSupportsIPv4_m1922873662_MetadataUsageId;
extern const RuntimeMethod* Socket_get_SupportsIPv6_m1296530017_RuntimeMethod_var;
extern const uint32_t Socket_get_SupportsIPv6_m1296530017_MetadataUsageId;
extern const RuntimeMethod* Socket_get_OSSupportsIPv6_m760074248_RuntimeMethod_var;
extern const uint32_t Socket_get_OSSupportsIPv6_m760074248_MetadataUsageId;
extern const RuntimeMethod* Socket_get_Handle_m2249751627_RuntimeMethod_var;
extern const uint32_t Socket_get_Handle_m2249751627_MetadataUsageId;
extern const RuntimeMethod* Socket_get_AddressFamily_m51841532_RuntimeMethod_var;
extern const uint32_t Socket_get_AddressFamily_m51841532_MetadataUsageId;
extern const RuntimeMethod* Socket_get_SocketType_m1610605419_RuntimeMethod_var;
extern const uint32_t Socket_get_SocketType_m1610605419_MetadataUsageId;
extern const RuntimeMethod* Socket_get_ProtocolType_m1935110519_RuntimeMethod_var;
extern const uint32_t Socket_get_ProtocolType_m1935110519_MetadataUsageId;
extern const RuntimeMethod* Socket_set_DontFragment_m1311305537_RuntimeMethod_var;
extern String_t* _stringLiteral1407019311;
extern const uint32_t Socket_set_DontFragment_m1311305537_MetadataUsageId;
extern const RuntimeMethod* Socket_get_DualMode_m1709958258_RuntimeMethod_var;
extern const uint32_t Socket_get_DualMode_m1709958258_MetadataUsageId;
extern const RuntimeMethod* Socket_set_DualMode_m3338159327_RuntimeMethod_var;
extern const uint32_t Socket_set_DualMode_m3338159327_MetadataUsageId;
extern const RuntimeMethod* Socket_get_IsDualMode_m3276226869_RuntimeMethod_var;
extern const uint32_t Socket_get_IsDualMode_m3276226869_MetadataUsageId;
extern const RuntimeMethod* Socket_CanTryAddressFamily_m17219266_RuntimeMethod_var;
extern const uint32_t Socket_CanTryAddressFamily_m17219266_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_m1328269865_RuntimeMethod_var;
extern const uint32_t Socket_Send_m1328269865_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_m2509318470_RuntimeMethod_var;
extern const uint32_t Socket_Send_m2509318470_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_m3794758455_RuntimeMethod_var;
extern const uint32_t Socket_Receive_m3794758455_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_m2722177980_RuntimeMethod_var;
extern const uint32_t Socket_Receive_m2722177980_MetadataUsageId;
extern const RuntimeMethod* Socket_IOControl_m2060869247_RuntimeMethod_var;
extern const uint32_t Socket_IOControl_m2060869247_MetadataUsageId;
extern const RuntimeMethod* Socket_SetIPProtectionLevel_m702436415_RuntimeMethod_var;
extern String_t* _stringLiteral2048458121;
extern String_t* _stringLiteral1232840130;
extern const uint32_t Socket_SetIPProtectionLevel_m702436415_MetadataUsageId;
extern RuntimeClass* ValidationHelper_t3640249616_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_BeginConnect_m1384072037_RuntimeMethod_var;
extern String_t* _stringLiteral1212291552;
extern const uint32_t Socket_BeginConnect_m1384072037_MetadataUsageId;
extern const RuntimeMethod* Socket_BeginSend_m2697766330_RuntimeMethod_var;
extern const uint32_t Socket_BeginSend_m2697766330_MetadataUsageId;
extern const RuntimeMethod* Socket_EndSend_m2816431255_RuntimeMethod_var;
extern const uint32_t Socket_EndSend_m2816431255_MetadataUsageId;
extern const RuntimeMethod* Socket_BeginReceive_m2439065097_RuntimeMethod_var;
extern const uint32_t Socket_BeginReceive_m2439065097_MetadataUsageId;
extern const RuntimeMethod* Socket_EndReceive_m2385446150_RuntimeMethod_var;
extern const uint32_t Socket_EndReceive_m2385446150_MetadataUsageId;
extern const RuntimeMethod* Socket_get_InternalSyncObject_m390753244_RuntimeMethod_var;
extern const uint32_t Socket_get_InternalSyncObject_m390753244_MetadataUsageId;
extern const RuntimeMethod* Socket_get_CleanedUp_m691785454_RuntimeMethod_var;
extern const uint32_t Socket_get_CleanedUp_m691785454_MetadataUsageId;
extern const RuntimeMethod* Socket_InitializeSockets_m3417479393_RuntimeMethod_var;
extern const uint32_t Socket_InitializeSockets_m3417479393_MetadataUsageId;
extern RuntimeClass* GC_t959872083_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_Dispose_m614819465_RuntimeMethod_var;
extern const uint32_t Socket_Dispose_m614819465_MetadataUsageId;
extern const RuntimeMethod* Socket_Finalize_m1356936501_RuntimeMethod_var;
extern const uint32_t Socket_Finalize_m1356936501_MetadataUsageId;
extern const RuntimeMethod* Socket_InternalShutdown_m1075955397_RuntimeMethod_var;
extern const uint32_t Socket_InternalShutdown_m1075955397_MetadataUsageId;
extern const RuntimeMethod* Socket__ctor_m3891211138_RuntimeMethod_var;
extern const uint32_t Socket__ctor_m3891211138_MetadataUsageId;
extern const RuntimeMethod* Socket_SocketDefaults_m2103159556_RuntimeMethod_var;
extern const uint32_t Socket_SocketDefaults_m2103159556_MetadataUsageId;
extern const RuntimeMethod* Socket_Socket_internal_m1681190592_RuntimeMethod_var;
extern const uint32_t Socket_Socket_internal_m1681190592_MetadataUsageId;
extern const RuntimeMethod* Socket_get_LocalEndPoint_m456692531_RuntimeMethod_var;
extern const uint32_t Socket_get_LocalEndPoint_m456692531_MetadataUsageId;
extern const RuntimeMethod* Socket_LocalEndPoint_internal_m1475836735_RuntimeMethod_var;
extern const uint32_t Socket_LocalEndPoint_internal_m1475836735_MetadataUsageId;
extern const RuntimeMethod* Socket_LocalEndPoint_internal_m3061712115_RuntimeMethod_var;
extern const uint32_t Socket_LocalEndPoint_internal_m3061712115_MetadataUsageId;
extern const RuntimeMethod* Socket_get_Blocking_m140927673_RuntimeMethod_var;
extern const uint32_t Socket_get_Blocking_m140927673_MetadataUsageId;
extern const RuntimeMethod* Socket_set_Blocking_m2255852279_RuntimeMethod_var;
extern const uint32_t Socket_set_Blocking_m2255852279_MetadataUsageId;
extern const RuntimeMethod* Socket_Blocking_internal_m257811699_RuntimeMethod_var;
extern const uint32_t Socket_Blocking_internal_m257811699_MetadataUsageId;
extern const RuntimeMethod* Socket_Blocking_internal_m937501832_RuntimeMethod_var;
extern const uint32_t Socket_Blocking_internal_m937501832_MetadataUsageId;
extern const RuntimeMethod* Socket_get_Connected_m2875145796_RuntimeMethod_var;
extern const uint32_t Socket_get_Connected_m2875145796_MetadataUsageId;
extern const RuntimeMethod* Socket_set_NoDelay_m3209939872_RuntimeMethod_var;
extern const uint32_t Socket_set_NoDelay_m3209939872_MetadataUsageId;
extern const RuntimeMethod* Socket_get_RemoteEndPoint_m3755127488_RuntimeMethod_var;
extern const uint32_t Socket_get_RemoteEndPoint_m3755127488_MetadataUsageId;
extern const RuntimeMethod* Socket_RemoteEndPoint_internal_m586495991_RuntimeMethod_var;
extern const uint32_t Socket_RemoteEndPoint_internal_m586495991_MetadataUsageId;
extern const RuntimeMethod* Socket_RemoteEndPoint_internal_m3956013554_RuntimeMethod_var;
extern const uint32_t Socket_RemoteEndPoint_internal_m3956013554_MetadataUsageId;
extern const RuntimeMethod* Socket_Poll_m391414345_RuntimeMethod_var;
extern String_t* _stringLiteral3928579774;
extern const uint32_t Socket_Poll_m391414345_MetadataUsageId;
extern const RuntimeMethod* Socket_Poll_internal_m3148478813_RuntimeMethod_var;
extern const uint32_t Socket_Poll_internal_m3148478813_MetadataUsageId;
extern const RuntimeMethod* Socket_Poll_internal_m3742261368_RuntimeMethod_var;
extern const uint32_t Socket_Poll_internal_m3742261368_MetadataUsageId;
extern const RuntimeMethod* Socket_Accept_m4157022177_RuntimeMethod_var;
extern const uint32_t Socket_Accept_m4157022177_MetadataUsageId;
extern const RuntimeMethod* Socket_Accept_m789917158_RuntimeMethod_var;
extern const uint32_t Socket_Accept_m789917158_MetadataUsageId;
extern const RuntimeMethod* Socket_EndAccept_m2591091503_RuntimeMethod_var;
extern const uint32_t Socket_EndAccept_m2591091503_MetadataUsageId;
extern const RuntimeMethod* Socket_EndAccept_m1313896210_RuntimeMethod_var;
extern String_t* _stringLiteral947629192;
extern const uint32_t Socket_EndAccept_m1313896210_MetadataUsageId;
extern const RuntimeMethod* Socket_Accept_internal_m868353226_RuntimeMethod_var;
extern const uint32_t Socket_Accept_internal_m868353226_MetadataUsageId;
extern const RuntimeMethod* Socket_Accept_internal_m3246009452_RuntimeMethod_var;
extern const uint32_t Socket_Accept_internal_m3246009452_MetadataUsageId;
extern const RuntimeMethod* Socket_Bind_m1387808352_RuntimeMethod_var;
extern String_t* _stringLiteral68848927;
extern const uint32_t Socket_Bind_m1387808352_MetadataUsageId;
extern const RuntimeMethod* Socket_Bind_internal_m2670275492_RuntimeMethod_var;
extern const uint32_t Socket_Bind_internal_m2670275492_MetadataUsageId;
extern const RuntimeMethod* Socket_Bind_internal_m2004496361_RuntimeMethod_var;
extern const uint32_t Socket_Bind_internal_m2004496361_MetadataUsageId;
extern const RuntimeMethod* Socket_Listen_m3184049021_RuntimeMethod_var;
extern const uint32_t Socket_Listen_m3184049021_MetadataUsageId;
extern const RuntimeMethod* Socket_Listen_internal_m2767807186_RuntimeMethod_var;
extern const uint32_t Socket_Listen_internal_m2767807186_MetadataUsageId;
extern const RuntimeMethod* Socket_Listen_internal_m314292295_RuntimeMethod_var;
extern const uint32_t Socket_Listen_internal_m314292295_MetadataUsageId;
extern const RuntimeMethod* Socket_Connect_m1862028144_RuntimeMethod_var;
extern const uint32_t Socket_Connect_m1862028144_MetadataUsageId;
extern const RuntimeMethod* Socket_Connect_m798630981_RuntimeMethod_var;
extern String_t* _stringLiteral1060490584;
extern const uint32_t Socket_Connect_m798630981_MetadataUsageId;
extern RuntimeClass* SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_BeginConnect_m609780744_RuntimeMethod_var;
extern const uint32_t Socket_BeginConnect_m609780744_MetadataUsageId;
extern const RuntimeMethod* Socket_BeginMConnect_m4086520346_RuntimeMethod_var;
extern const uint32_t Socket_BeginMConnect_m4086520346_MetadataUsageId;
extern RuntimeClass* IOSelectorJob_t2199748873_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_BeginSConnect_m4212968585_RuntimeMethod_var;
extern const uint32_t Socket_BeginSConnect_m4212968585_MetadataUsageId;
extern const RuntimeMethod* Socket_EndConnect_m498417972_RuntimeMethod_var;
extern String_t* _stringLiteral489485050;
extern const uint32_t Socket_EndConnect_m498417972_MetadataUsageId;
extern const RuntimeMethod* Socket_Connect_internal_m3396660944_RuntimeMethod_var;
extern const uint32_t Socket_Connect_internal_m3396660944_MetadataUsageId;
extern const RuntimeMethod* Socket_Connect_internal_m1130612002_RuntimeMethod_var;
extern const uint32_t Socket_Connect_internal_m1130612002_MetadataUsageId;
extern RuntimeClass* PlatformNotSupportedException_t3572244504_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_Disconnect_m1621188342_RuntimeMethod_var;
extern const uint32_t Socket_Disconnect_m1621188342_MetadataUsageId;
extern const RuntimeMethod* Socket_EndDisconnect_m4234608499_RuntimeMethod_var;
extern String_t* _stringLiteral2283086544;
extern const uint32_t Socket_EndDisconnect_m4234608499_MetadataUsageId;
extern const RuntimeMethod* Socket_Disconnect_internal_m1225498763_RuntimeMethod_var;
extern const uint32_t Socket_Disconnect_internal_m1225498763_MetadataUsageId;
extern const RuntimeMethod* Socket_Disconnect_internal_m3671451617_RuntimeMethod_var;
extern const uint32_t Socket_Disconnect_internal_m3671451617_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_m840169338_RuntimeMethod_var;
extern const uint32_t Socket_Receive_m840169338_MetadataUsageId;
extern RuntimeClass* ICollection_1_t3111713221_il2cpp_TypeInfo_var;
extern RuntimeClass* GCHandleU5BU5D_t35668618_il2cpp_TypeInfo_var;
extern RuntimeClass* WSABUFU5BU5D_t2234152139_il2cpp_TypeInfo_var;
extern RuntimeClass* IList_1_t2098880770_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_Receive_m2053758874_RuntimeMethod_var;
extern const RuntimeMethod* ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var;
extern const RuntimeMethod* ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var;
extern const RuntimeMethod* ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var;
extern const RuntimeMethod* Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431_RuntimeMethod_var;
extern String_t* _stringLiteral4215716850;
extern String_t* _stringLiteral2716865465;
extern const uint32_t Socket_Receive_m2053758874_MetadataUsageId;
extern const RuntimeMethod* Socket_BeginReceive_m2742014887_RuntimeMethod_var;
extern const uint32_t Socket_BeginReceive_m2742014887_MetadataUsageId;
extern const RuntimeMethod* Socket_EndReceive_m3009256849_RuntimeMethod_var;
extern String_t* _stringLiteral2805378376;
extern const uint32_t Socket_EndReceive_m3009256849_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_internal_m1088206903_RuntimeMethod_var;
extern const uint32_t Socket_Receive_internal_m1088206903_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_internal_m1041794929_RuntimeMethod_var;
extern const uint32_t Socket_Receive_internal_m1041794929_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_internal_m3910046341_RuntimeMethod_var;
extern const uint32_t Socket_Receive_internal_m3910046341_MetadataUsageId;
extern const RuntimeMethod* Socket_Receive_internal_m1850300390_RuntimeMethod_var;
extern const uint32_t Socket_Receive_internal_m1850300390_MetadataUsageId;
extern const RuntimeMethod* Socket_ReceiveFrom_m4213975345_RuntimeMethod_var;
extern const uint32_t Socket_ReceiveFrom_m4213975345_MetadataUsageId;
extern const RuntimeMethod* Socket_EndReceiveFrom_m1036960845_RuntimeMethod_var;
extern String_t* _stringLiteral2117705610;
extern String_t* _stringLiteral2794513796;
extern const uint32_t Socket_EndReceiveFrom_m1036960845_MetadataUsageId;
extern const RuntimeMethod* Socket_ReceiveFrom_internal_m3020781080_RuntimeMethod_var;
extern const uint32_t Socket_ReceiveFrom_internal_m3020781080_MetadataUsageId;
extern const RuntimeMethod* Socket_ReceiveFrom_internal_m3325136542_RuntimeMethod_var;
extern const uint32_t Socket_ReceiveFrom_internal_m3325136542_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_m576183475_RuntimeMethod_var;
extern const uint32_t Socket_Send_m576183475_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_m4178278673_RuntimeMethod_var;
extern String_t* _stringLiteral1563814959;
extern const uint32_t Socket_Send_m4178278673_MetadataUsageId;
extern RuntimeClass* U3CU3Ec_t240325972_il2cpp_TypeInfo_var;
extern RuntimeClass* IOAsyncCallback_t705871752_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_BeginSend_m385981137_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321_RuntimeMethod_var;
extern const uint32_t Socket_BeginSend_m385981137_MetadataUsageId;
extern RuntimeClass* U3CU3Ec__DisplayClass242_0_t616583391_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_BeginSendCallback_m1460608609_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135_RuntimeMethod_var;
extern const uint32_t Socket_BeginSendCallback_m1460608609_MetadataUsageId;
extern const RuntimeMethod* Socket_EndSend_m1244041542_RuntimeMethod_var;
extern String_t* _stringLiteral2204559566;
extern const uint32_t Socket_EndSend_m1244041542_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_internal_m1960113657_RuntimeMethod_var;
extern const uint32_t Socket_Send_internal_m1960113657_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_internal_m3765077036_RuntimeMethod_var;
extern const uint32_t Socket_Send_internal_m3765077036_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_internal_m796698044_RuntimeMethod_var;
extern const uint32_t Socket_Send_internal_m796698044_MetadataUsageId;
extern const RuntimeMethod* Socket_Send_internal_m3843698549_RuntimeMethod_var;
extern const uint32_t Socket_Send_internal_m3843698549_MetadataUsageId;
extern const RuntimeMethod* Socket_EndSendTo_m3552536842_RuntimeMethod_var;
extern String_t* _stringLiteral777599126;
extern String_t* _stringLiteral405358763;
extern const uint32_t Socket_EndSendTo_m3552536842_MetadataUsageId;
extern RuntimeClass* LingerOption_t2688985448_il2cpp_TypeInfo_var;
extern RuntimeClass* MulticastOption_t3861143239_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_GetSocketOption_m419986124_RuntimeMethod_var;
extern const uint32_t Socket_GetSocketOption_m419986124_MetadataUsageId;
extern const RuntimeMethod* Socket_GetSocketOption_obj_internal_m533670452_RuntimeMethod_var;
extern const uint32_t Socket_GetSocketOption_obj_internal_m533670452_MetadataUsageId;
extern const RuntimeMethod* Socket_GetSocketOption_obj_internal_m3909434119_RuntimeMethod_var;
extern const uint32_t Socket_GetSocketOption_obj_internal_m3909434119_MetadataUsageId;
extern const RuntimeMethod* Socket_SetSocketOption_m483522974_RuntimeMethod_var;
extern const uint32_t Socket_SetSocketOption_m483522974_MetadataUsageId;
extern const RuntimeMethod* Socket_SetSocketOption_internal_m2968096094_RuntimeMethod_var;
extern const uint32_t Socket_SetSocketOption_internal_m2968096094_MetadataUsageId;
extern const RuntimeMethod* Socket_SetSocketOption_internal_m2890815837_RuntimeMethod_var;
extern const uint32_t Socket_SetSocketOption_internal_m2890815837_MetadataUsageId;
extern const RuntimeMethod* Socket_IOControl_m449145276_RuntimeMethod_var;
extern String_t* _stringLiteral3195816560;
extern const uint32_t Socket_IOControl_m449145276_MetadataUsageId;
extern const RuntimeMethod* Socket_IOControl_internal_m3809077560_RuntimeMethod_var;
extern const uint32_t Socket_IOControl_internal_m3809077560_MetadataUsageId;
extern const RuntimeMethod* Socket_IOControl_internal_m676748339_RuntimeMethod_var;
extern const uint32_t Socket_IOControl_internal_m676748339_MetadataUsageId;
extern const RuntimeMethod* Socket_Close_m3289097516_RuntimeMethod_var;
extern const uint32_t Socket_Close_m3289097516_MetadataUsageId;
extern const RuntimeMethod* Socket_Close_m2076598688_RuntimeMethod_var;
extern const uint32_t Socket_Close_m2076598688_MetadataUsageId;
extern const RuntimeMethod* Socket_Close_internal_m3541237784_RuntimeMethod_var;
extern const uint32_t Socket_Close_internal_m3541237784_MetadataUsageId;
extern const RuntimeMethod* Socket_Shutdown_internal_m3507063392_RuntimeMethod_var;
extern const uint32_t Socket_Shutdown_internal_m3507063392_MetadataUsageId;
extern const RuntimeMethod* Socket_Shutdown_internal_m4083092300_RuntimeMethod_var;
extern const uint32_t Socket_Shutdown_internal_m4083092300_MetadataUsageId;
extern const RuntimeMethod* Socket_Dispose_m3459017717_RuntimeMethod_var;
extern const uint32_t Socket_Dispose_m3459017717_MetadataUsageId;
extern const RuntimeMethod* Socket_Linger_m363798742_RuntimeMethod_var;
extern const uint32_t Socket_Linger_m363798742_MetadataUsageId;
extern const RuntimeMethod* Socket_ThrowIfDisposedAndClosed_m2521335859_RuntimeMethod_var;
extern const uint32_t Socket_ThrowIfDisposedAndClosed_m2521335859_MetadataUsageId;
extern const RuntimeMethod* Socket_ThrowIfBufferNull_m3748732293_RuntimeMethod_var;
extern const uint32_t Socket_ThrowIfBufferNull_m3748732293_MetadataUsageId;
extern const RuntimeMethod* Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var;
extern String_t* _stringLiteral658978110;
extern String_t* _stringLiteral3584739585;
extern String_t* _stringLiteral1486498953;
extern String_t* _stringLiteral913872410;
extern const uint32_t Socket_ThrowIfBufferOutOfRange_m1472522590_MetadataUsageId;
extern const RuntimeMethod* Socket_ThrowIfUdp_m3991967902_RuntimeMethod_var;
extern const uint32_t Socket_ThrowIfUdp_m3991967902_MetadataUsageId;
extern const RuntimeMethod* Socket_ValidateEndIAsyncResult_m3260976934_RuntimeMethod_var;
extern String_t* _stringLiteral1043874018;
extern String_t* _stringLiteral94377013;
extern const uint32_t Socket_ValidateEndIAsyncResult_m3260976934_MetadataUsageId;
extern RuntimeClass* U3CU3Ec__DisplayClass298_0_t616190186_il2cpp_TypeInfo_var;
extern RuntimeClass* Action_1_t3359742907_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket_QueueIOSelectorJob_m1532315495_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331_RuntimeMethod_var;
extern const RuntimeMethod* Action_1__ctor_m3608992093_RuntimeMethod_var;
extern const uint32_t Socket_QueueIOSelectorJob_m1532315495_MetadataUsageId;
extern const RuntimeMethod* Socket_RemapIPEndPoint_m3015939529_RuntimeMethod_var;
extern const uint32_t Socket_RemapIPEndPoint_m3015939529_MetadataUsageId;
extern const RuntimeMethod* Socket_cancel_blocking_socket_operation_m922726505_RuntimeMethod_var;
extern const uint32_t Socket_cancel_blocking_socket_operation_m922726505_MetadataUsageId;
extern const RuntimeMethod* Socket_get_FamilyHint_m2256720159_RuntimeMethod_var;
extern const uint32_t Socket_get_FamilyHint_m2256720159_MetadataUsageId;
extern const RuntimeMethod* Socket_IsProtocolSupported_internal_m3759258780_RuntimeMethod_var;
extern const uint32_t Socket_IsProtocolSupported_internal_m3759258780_MetadataUsageId;
extern const RuntimeMethod* Socket_IsProtocolSupported_m2744406924_RuntimeMethod_var;
extern const uint32_t Socket_IsProtocolSupported_m2744406924_MetadataUsageId;
extern RuntimeClass* AsyncCallback_t3962456242_il2cpp_TypeInfo_var;
extern const RuntimeMethod* Socket__cctor_m857260626_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_RuntimeMethod_var;
extern const uint32_t Socket__cctor_m857260626_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__cctor_m532654084_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__cctor_m532654084_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__ctor_m2896289733_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__ctor_m2896289733_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321_MetadataUsageId;
extern RuntimeClass* SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var;
extern String_t* _stringLiteral184344996;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__DisplayClass242_0__ctor_m571730096_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__DisplayClass242_0__ctor_m571730096_MetadataUsageId;
extern const uint32_t U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__DisplayClass298_0__ctor_m3200109011_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__DisplayClass298_0__ctor_m3200109011_MetadataUsageId;
extern const uint32_t U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_get_AcceptSocket_m2976413550_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_get_AcceptSocket_m2976413550_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_set_AcceptSocket_m803500985_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_set_AcceptSocket_m803500985_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_set_BytesTransferred_m3887301794_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_set_BytesTransferred_m3887301794_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_set_SocketError_m2833015933_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_set_SocketError_m2833015933_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_Finalize_m2742700199_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_Finalize_m2742700199_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_Dispose_m1052872840_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_Dispose_m1052872840_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_Dispose_m75246699_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_Dispose_m75246699_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_Complete_m640063065_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_Complete_m640063065_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncEventArgs_OnCompleted_m377032193_RuntimeMethod_var;
extern const RuntimeMethod* EventHandler_1_Invoke_m4083598229_RuntimeMethod_var;
extern const uint32_t SocketAsyncEventArgs_OnCompleted_m377032193_MetadataUsageId;
struct Exception_t_marshaled_pinvoke;
struct Exception_t;;
struct Exception_t_marshaled_pinvoke;;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_com;;
extern const RuntimeMethod* SocketAsyncResult_get_Handle_m3169920889_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_get_Handle_m3169920889_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult__ctor_m2222378430_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult__ctor_m2222378430_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_get_ErrorCode_m3197843861_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_get_ErrorCode_m3197843861_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_CompleteDisposed_m3648698353_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_CompleteDisposed_m3648698353_MetadataUsageId;
extern RuntimeClass* U3CU3Ec_t3573335103_il2cpp_TypeInfo_var;
extern RuntimeClass* WaitCallback_t2448485498_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketAsyncResult_Complete_m2139287463_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m2139287463_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m4036770188_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m4036770188_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m2013919124_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m2013919124_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m1649959738_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m1649959738_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m772415312_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m772415312_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m4080713924_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m4080713924_MetadataUsageId;
extern const RuntimeMethod* SocketAsyncResult_Complete_m3033430476_RuntimeMethod_var;
extern const uint32_t SocketAsyncResult_Complete_m3033430476_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__cctor_m2809933815_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__cctor_m2809933815_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__ctor_m944601489_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__ctor_m944601489_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825_MetadataUsageId;
extern const RuntimeMethod* SocketException_WSAGetLastError_internal_m1236276956_RuntimeMethod_var;
extern const uint32_t SocketException_WSAGetLastError_internal_m1236276956_MetadataUsageId;
extern RuntimeClass* Win32Exception_t3234146298_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketException__ctor_m480722159_RuntimeMethod_var;
extern const uint32_t SocketException__ctor_m480722159_MetadataUsageId;
extern const RuntimeMethod* SocketException__ctor_m3042788307_RuntimeMethod_var;
extern const uint32_t SocketException__ctor_m3042788307_MetadataUsageId;
extern const RuntimeMethod* SocketException__ctor_m1369613389_RuntimeMethod_var;
extern const uint32_t SocketException__ctor_m1369613389_MetadataUsageId;
extern const RuntimeMethod* SocketException__ctor_m985972657_RuntimeMethod_var;
extern const uint32_t SocketException__ctor_m985972657_MetadataUsageId;
extern const RuntimeMethod* SocketException__ctor_m3558609746_RuntimeMethod_var;
extern const uint32_t SocketException__ctor_m3558609746_MetadataUsageId;
extern const RuntimeMethod* SocketException_get_Message_m1742236578_RuntimeMethod_var;
extern String_t* _stringLiteral3452614528;
extern const uint32_t SocketException_get_Message_m1742236578_MetadataUsageId;
extern const RuntimeMethod* SocketException_get_SocketErrorCode_m2767669540_RuntimeMethod_var;
extern const uint32_t SocketException_get_SocketErrorCode_m2767669540_MetadataUsageId;
extern RuntimeClass* Task_t3187275312_il2cpp_TypeInfo_var;
extern RuntimeClass* U3CU3Ec_t3618281371_il2cpp_TypeInfo_var;
extern RuntimeClass* Func_5_t3425908549_il2cpp_TypeInfo_var;
extern RuntimeClass* Action_1_t939472046_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SocketTaskExtensions_ConnectAsync_m3459361233_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485_RuntimeMethod_var;
extern const RuntimeMethod* Func_5__ctor_m2195064123_RuntimeMethod_var;
extern const RuntimeMethod* U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259_RuntimeMethod_var;
extern const RuntimeMethod* Action_1__ctor_m65104179_RuntimeMethod_var;
extern const RuntimeMethod* TaskFactory_FromAsync_TisIPAddress_t241777590_TisInt32_t2950945753_m1783330966_RuntimeMethod_var;
extern const uint32_t SocketTaskExtensions_ConnectAsync_m3459361233_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__cctor_m2779459158_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__cctor_m2779459158_MetadataUsageId;
extern const RuntimeMethod* U3CU3Ec__ctor_m3225629985_RuntimeMethod_var;
extern const uint32_t U3CU3Ec__ctor_m3225629985_MetadataUsageId;
extern const uint32_t U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485_MetadataUsageId;
extern RuntimeClass* IAsyncResult_t767004451_il2cpp_TypeInfo_var;
extern const uint32_t U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259_MetadataUsageId;
extern const RuntimeMethod* TcpClient__ctor_m2606367680_RuntimeMethod_var;
extern String_t* _stringLiteral734190638;
extern const uint32_t TcpClient__ctor_m2606367680_MetadataUsageId;
extern const RuntimeMethod* TcpClient_get_Client_m139203108_RuntimeMethod_var;
extern const uint32_t TcpClient_get_Client_m139203108_MetadataUsageId;
extern const RuntimeMethod* TcpClient_set_Client_m713463720_RuntimeMethod_var;
extern const uint32_t TcpClient_set_Client_m713463720_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Connect_m3508995652_RuntimeMethod_var;
extern const uint32_t TcpClient_Connect_m3508995652_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Connect_m3565396920_RuntimeMethod_var;
extern const uint32_t TcpClient_Connect_m3565396920_MetadataUsageId;
extern RuntimeClass* NetworkStream_t4071955934_il2cpp_TypeInfo_var;
extern const RuntimeMethod* TcpClient_GetStream_m960745678_RuntimeMethod_var;
extern const uint32_t TcpClient_GetStream_m960745678_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Close_m3817529922_RuntimeMethod_var;
extern const uint32_t TcpClient_Close_m3817529922_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Dispose_m929096288_RuntimeMethod_var;
extern const uint32_t TcpClient_Dispose_m929096288_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Dispose_m1914083401_RuntimeMethod_var;
extern const uint32_t TcpClient_Dispose_m1914083401_MetadataUsageId;
extern const RuntimeMethod* TcpClient_Finalize_m2248115439_RuntimeMethod_var;
extern const uint32_t TcpClient_Finalize_m2248115439_MetadataUsageId;
extern const RuntimeMethod* SystemNetworkCredential__ctor_m3792767285_RuntimeMethod_var;
extern const uint32_t SystemNetworkCredential__ctor_m3792767285_MetadataUsageId;
extern RuntimeClass* SystemNetworkCredential_t3685288932_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SystemNetworkCredential__cctor_m559915852_RuntimeMethod_var;
extern const uint32_t SystemNetworkCredential__cctor_m559915852_MetadataUsageId;
extern RuntimeClass* LinkedList_1_t174532725_il2cpp_TypeInfo_var;
extern RuntimeClass* TimerThread_t2067025694_il2cpp_TypeInfo_var;
extern RuntimeClass* AutoResetEvent_t1333520283_il2cpp_TypeInfo_var;
extern RuntimeClass* Hashtable_t1853889766_il2cpp_TypeInfo_var;
extern RuntimeClass* WaitHandleU5BU5D_t96772038_il2cpp_TypeInfo_var;
extern const RuntimeMethod* TimerThread__cctor_m4183456827_RuntimeMethod_var;
extern const RuntimeMethod* LinkedList_1__ctor_m3208008944_RuntimeMethod_var;
extern const RuntimeMethod* TimerThread_OnDomainUnload_m112035087_RuntimeMethod_var;
extern const uint32_t TimerThread__cctor_m4183456827_MetadataUsageId;
extern RuntimeClass* InfiniteTimerQueue_t1413340381_il2cpp_TypeInfo_var;
extern RuntimeClass* TimerQueue_t322928133_il2cpp_TypeInfo_var;
extern RuntimeClass* WeakReference_t1334886716_il2cpp_TypeInfo_var;
extern const RuntimeMethod* TimerThread_CreateQueue_m2900821011_RuntimeMethod_var;
extern const RuntimeMethod* LinkedList_1_AddLast_m2995625390_RuntimeMethod_var;
extern String_t* _stringLiteral155214984;
extern const uint32_t TimerThread_CreateQueue_m2900821011_MetadataUsageId;
extern const RuntimeMethod* TimerThread_StopTimerThread_m1476219093_RuntimeMethod_var;
extern const uint32_t TimerThread_StopTimerThread_m1476219093_MetadataUsageId;
extern const uint32_t TimerThread_OnDomainUnload_m112035087_MetadataUsageId;
extern const RuntimeMethod* Callback__ctor_m2918749280_RuntimeMethod_var;
extern const uint32_t Callback__ctor_m2918749280_MetadataUsageId;
extern const RuntimeMethod* Callback_Invoke_m4185709191_RuntimeMethod_var;
extern const uint32_t Callback_Invoke_m4185709191_MetadataUsageId;
extern const RuntimeMethod* Callback_BeginInvoke_m2961554617_RuntimeMethod_var;
extern const uint32_t Callback_BeginInvoke_m2961554617_MetadataUsageId;
extern const RuntimeMethod* Callback_EndInvoke_m405768436_RuntimeMethod_var;
extern const uint32_t Callback_EndInvoke_m405768436_MetadataUsageId;
extern const RuntimeMethod* InfiniteTimerQueue__ctor_m1392887597_RuntimeMethod_var;
extern const uint32_t InfiniteTimerQueue__ctor_m1392887597_MetadataUsageId;
extern const RuntimeMethod* Queue__ctor_m1094493313_RuntimeMethod_var;
extern const uint32_t Queue__ctor_m1094493313_MetadataUsageId;
extern const RuntimeMethod* Timer__ctor_m3542848881_RuntimeMethod_var;
extern const uint32_t Timer__ctor_m3542848881_MetadataUsageId;
extern const RuntimeMethod* Timer_Dispose_m2370742773_RuntimeMethod_var;
extern const uint32_t Timer_Dispose_m2370742773_MetadataUsageId;
extern const RuntimeMethod* TimerNode__ctor_m1623469998_RuntimeMethod_var;
extern const uint32_t TimerNode__ctor_m1623469998_MetadataUsageId;
extern const RuntimeMethod* TimerNode_get_Next_m1150785631_RuntimeMethod_var;
extern const uint32_t TimerNode_get_Next_m1150785631_MetadataUsageId;
extern const RuntimeMethod* TimerNode_set_Next_m162860594_RuntimeMethod_var;
extern const uint32_t TimerNode_set_Next_m162860594_MetadataUsageId;
extern const RuntimeMethod* TimerNode_get_Prev_m2370560326_RuntimeMethod_var;
extern const uint32_t TimerNode_get_Prev_m2370560326_MetadataUsageId;
extern const RuntimeMethod* TimerNode_set_Prev_m1257715160_RuntimeMethod_var;
extern const uint32_t TimerNode_set_Prev_m1257715160_MetadataUsageId;
extern const RuntimeMethod* TimerNode_Cancel_m688563000_RuntimeMethod_var;
extern const uint32_t TimerNode_Cancel_m688563000_MetadataUsageId;
extern RuntimeClass* TimerNode_t2186732230_il2cpp_TypeInfo_var;
extern const RuntimeMethod* TimerQueue__ctor_m68967505_RuntimeMethod_var;
extern const uint32_t TimerQueue__ctor_m68967505_MetadataUsageId;
extern RuntimeClass* HttpApi_t910269930_il2cpp_TypeInfo_var;
extern const RuntimeMethod* HttpApi__cctor_m514859596_RuntimeMethod_var;
extern String_t* _stringLiteral3913581450;
extern String_t* _stringLiteral2744925370;
extern String_t* _stringLiteral1272578850;
extern String_t* _stringLiteral40989870;
extern String_t* _stringLiteral850898366;
extern String_t* _stringLiteral985627051;
extern String_t* _stringLiteral3911150437;
extern String_t* _stringLiteral2134595976;
extern String_t* _stringLiteral3669749519;
extern String_t* _stringLiteral1461070923;
extern String_t* _stringLiteral1592747266;
extern String_t* _stringLiteral1348707855;
extern String_t* _stringLiteral2263792357;
extern String_t* _stringLiteral2675979736;
extern String_t* _stringLiteral3849244802;
extern String_t* _stringLiteral2227808410;
extern String_t* _stringLiteral1852015549;
extern String_t* _stringLiteral1350543894;
extern String_t* _stringLiteral3297870848;
extern String_t* _stringLiteral3383819871;
extern String_t* _stringLiteral1285951612;
extern String_t* _stringLiteral1699463536;
extern String_t* _stringLiteral2008936192;
extern String_t* _stringLiteral803283390;
extern String_t* _stringLiteral2239610844;
extern String_t* _stringLiteral1781567967;
extern String_t* _stringLiteral3927627800;
extern String_t* _stringLiteral3804645085;
extern String_t* _stringLiteral1167530490;
extern String_t* _stringLiteral3204819111;
extern const uint32_t HttpApi__cctor_m514859596_MetadataUsageId;
extern RuntimeClass* HTTP_REQUEST_HEADER_ID_t968578449_il2cpp_TypeInfo_var;
extern const RuntimeMethod* HTTP_REQUEST_HEADER_ID_ToString_m285473541_RuntimeMethod_var;
extern const uint32_t HTTP_REQUEST_HEADER_ID_ToString_m285473541_MetadataUsageId;
extern const RuntimeMethod* HTTP_REQUEST_HEADER_ID__cctor_m2555245410_RuntimeMethod_var;
extern String_t* _stringLiteral2350028096;
extern String_t* _stringLiteral2051565536;
extern String_t* _stringLiteral992245501;
extern String_t* _stringLiteral1885458058;
extern String_t* _stringLiteral1574691733;
extern String_t* _stringLiteral1945223707;
extern String_t* _stringLiteral2098720078;
extern String_t* _stringLiteral2755855817;
extern String_t* _stringLiteral3941174931;
extern String_t* _stringLiteral3601101588;
extern String_t* _stringLiteral3741776746;
extern String_t* _stringLiteral2382241748;
extern String_t* _stringLiteral3492847784;
extern String_t* _stringLiteral3075643379;
extern String_t* _stringLiteral2184447013;
extern String_t* _stringLiteral635763858;
extern String_t* _stringLiteral1321553426;
extern String_t* _stringLiteral1215385659;
extern String_t* _stringLiteral3454384108;
extern String_t* _stringLiteral547368030;
extern String_t* _stringLiteral827492760;
extern const uint32_t HTTP_REQUEST_HEADER_ID__cctor_m2555245410_MetadataUsageId;
extern const RuntimeMethod* SecureStringHelper_CreateString_m2819186690_RuntimeMethod_var;
extern const uint32_t SecureStringHelper_CreateString_m2819186690_MetadataUsageId;
extern RuntimeClass* SecureString_t3041467854_il2cpp_TypeInfo_var;
extern const RuntimeMethod* SecureStringHelper_CreateSecureString_m111498626_RuntimeMethod_var;
extern const uint32_t SecureStringHelper_CreateSecureString_m111498626_MetadataUsageId;
extern const RuntimeMethod* ValidationHelper_ExceptionMessage_m1265427269_RuntimeMethod_var;
extern String_t* _stringLiteral3451041664;
extern String_t* _stringLiteral3452614535;
extern const uint32_t ValidationHelper_ExceptionMessage_m1265427269_MetadataUsageId;
extern const RuntimeMethod* ValidationHelper_ToString_m3637526118_RuntimeMethod_var;
extern String_t* _stringLiteral2389780707;
extern String_t* _stringLiteral348018992;
extern String_t* _stringLiteral3456284560;
extern String_t* _stringLiteral3452614616;
extern const uint32_t ValidationHelper_ToString_m3637526118_MetadataUsageId;
extern const RuntimeMethod* ValidationHelper_IsBlankString_m3811430027_RuntimeMethod_var;
extern const uint32_t ValidationHelper_IsBlankString_m3811430027_MetadataUsageId;
extern const RuntimeMethod* ValidationHelper_ValidateTcpPort_m2411968702_RuntimeMethod_var;
extern const uint32_t ValidationHelper_ValidateTcpPort_m2411968702_MetadataUsageId;
extern const RuntimeMethod* ValidationHelper__cctor_m2059238382_RuntimeMethod_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255362____03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255362____8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11_FieldInfo_var;
extern const uint32_t ValidationHelper__cctor_m2059238382_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult__ctor_m2054281158_RuntimeMethod_var;
extern const uint32_t WebAsyncResult__ctor_m2054281158_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult__ctor_m3529977349_RuntimeMethod_var;
extern const uint32_t WebAsyncResult__ctor_m3529977349_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult__ctor_m4245223108_RuntimeMethod_var;
extern const uint32_t WebAsyncResult__ctor_m4245223108_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_Reset_m208950746_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_Reset_m208950746_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_SetCompleted_m2879962625_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_SetCompleted_m2879962625_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_SetCompleted_m471828713_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_SetCompleted_m471828713_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_SetCompleted_m1095618586_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_SetCompleted_m1095618586_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_DoCallback_m1336537550_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_DoCallback_m1336537550_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_NBytes_m1181398750_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_NBytes_m1181398750_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_set_NBytes_m2701756818_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_set_NBytes_m2701756818_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_InnerAsyncResult_m4134833752_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_InnerAsyncResult_m4134833752_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_set_InnerAsyncResult_m4260877195_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_set_InnerAsyncResult_m4260877195_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_Response_m931788217_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_Response_m931788217_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_Buffer_m1662146309_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_Buffer_m1662146309_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_Offset_m368370234_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_Offset_m368370234_MetadataUsageId;
extern const RuntimeMethod* WebAsyncResult_get_Size_m4148452880_RuntimeMethod_var;
extern const uint32_t WebAsyncResult_get_Size_m4148452880_MetadataUsageId;
extern RuntimeClass* WebConnectionData_t3835660455_il2cpp_TypeInfo_var;
extern RuntimeClass* IWebConnectionState_t1223684576_il2cpp_TypeInfo_var;
extern RuntimeClass* AbortHelper_t1490877826_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection__ctor_m4229643654_RuntimeMethod_var;
extern const RuntimeMethod* AbortHelper_Abort_m1162957833_RuntimeMethod_var;
extern const uint32_t WebConnection__ctor_m4229643654_MetadataUsageId;
extern const RuntimeMethod* WebConnection_CanReuse_m2827124740_RuntimeMethod_var;
extern const uint32_t WebConnection_CanReuse_m2827124740_MetadataUsageId;
extern const RuntimeMethod* WebConnection_Connect_m2850066444_RuntimeMethod_var;
extern const uint32_t WebConnection_Connect_m2850066444_MetadataUsageId;
extern RuntimeClass* WebRequest_t1939381076_il2cpp_TypeInfo_var;
extern RuntimeClass* HttpWebRequest_t1669436515_il2cpp_TypeInfo_var;
extern RuntimeClass* AuthenticationManager_t2084001809_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_CreateTunnel_m94461872_RuntimeMethod_var;
extern String_t* _stringLiteral2582939798;
extern String_t* _stringLiteral1665343468;
extern String_t* _stringLiteral1507642308;
extern String_t* _stringLiteral3073726249;
extern String_t* _stringLiteral1820107566;
extern String_t* _stringLiteral3459079235;
extern String_t* _stringLiteral3558610080;
extern String_t* _stringLiteral3452614529;
extern String_t* _stringLiteral110397590;
extern String_t* _stringLiteral2179774525;
extern String_t* _stringLiteral3913920444;
extern String_t* _stringLiteral3483483719;
extern const uint32_t WebConnection_CreateTunnel_m94461872_MetadataUsageId;
extern RuntimeClass* MemoryStream_t94973147_il2cpp_TypeInfo_var;
extern RuntimeClass* WebHeaderCollection_t1942268960_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_ReadHeaders_m1556875581_RuntimeMethod_var;
extern String_t* _stringLiteral2105548370;
extern String_t* _stringLiteral3724156498;
extern String_t* _stringLiteral1394625933;
extern String_t* _stringLiteral3350941069;
extern const uint32_t WebConnection_ReadHeaders_m1556875581_MetadataUsageId;
extern const RuntimeMethod* WebConnection_FlushContents_m3149390488_RuntimeMethod_var;
extern const uint32_t WebConnection_FlushContents_m3149390488_MetadataUsageId;
extern RuntimeClass* MonoTlsStream_t1980138907_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_CreateStream_m3387195587_RuntimeMethod_var;
extern const uint32_t WebConnection_CreateStream_m3387195587_MetadataUsageId;
extern const RuntimeMethod* WebConnection_HandleError_m738788885_RuntimeMethod_var;
extern const uint32_t WebConnection_HandleError_m738788885_MetadataUsageId;
extern RuntimeClass* WebConnectionStream_t2170064850_il2cpp_TypeInfo_var;
extern RuntimeClass* MonoChunkStream_t2034754733_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_ReadDone_m4265791416_RuntimeMethod_var;
extern String_t* _stringLiteral4192158119;
extern String_t* _stringLiteral4192158120;
extern String_t* _stringLiteral4192158121;
extern String_t* _stringLiteral4192158114;
extern String_t* _stringLiteral722511849;
extern String_t* _stringLiteral1492806893;
extern String_t* _stringLiteral4192158117;
extern String_t* _stringLiteral4192158115;
extern String_t* _stringLiteral4192158116;
extern const uint32_t WebConnection_ReadDone_m4265791416_MetadataUsageId;
extern const RuntimeMethod* WebConnection_ExpectContent_m3637777693_RuntimeMethod_var;
extern String_t* _stringLiteral831347629;
extern const uint32_t WebConnection_ExpectContent_m3637777693_MetadataUsageId;
extern const RuntimeMethod* WebConnection_InitRead_m3547797554_RuntimeMethod_var;
extern String_t* _stringLiteral2419126351;
extern const uint32_t WebConnection_InitRead_m3547797554_MetadataUsageId;
extern RuntimeClass* ArrayList_t2718874744_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_GetResponse_m3731018748_RuntimeMethod_var;
extern String_t* _stringLiteral3093097083;
extern String_t* _stringLiteral3529812190;
extern const uint32_t WebConnection_GetResponse_m3731018748_MetadataUsageId;
extern RuntimeClass* HttpWebResponse_t3286585418_il2cpp_TypeInfo_var;
extern RuntimeClass* WebException_t3237156354_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_InitConnection_m1346209371_RuntimeMethod_var;
extern String_t* _stringLiteral2030688321;
extern String_t* _stringLiteral523355159;
extern const uint32_t WebConnection_InitConnection_m1346209371_MetadataUsageId;
extern const RuntimeMethod* WebConnection_SendRequest_m4284869211_RuntimeMethod_var;
extern const RuntimeMethod* WebConnection_U3CSendRequestU3Eb__41_0_m3242074501_RuntimeMethod_var;
extern const uint32_t WebConnection_SendRequest_m4284869211_MetadataUsageId;
extern const RuntimeMethod* WebConnection_SendNext_m1567013439_RuntimeMethod_var;
extern const uint32_t WebConnection_SendNext_m1567013439_MetadataUsageId;
extern const RuntimeMethod* WebConnection_NextRead_m3275930655_RuntimeMethod_var;
extern String_t* _stringLiteral1113504260;
extern String_t* _stringLiteral122745998;
extern const uint32_t WebConnection_NextRead_m3275930655_MetadataUsageId;
extern const RuntimeMethod* WebConnection_ReadLine_m1318917240_RuntimeMethod_var;
extern const uint32_t WebConnection_ReadLine_m1318917240_MetadataUsageId;
extern const RuntimeType* NetworkStream_t4071955934_0_0_0_var;
extern RuntimeClass* WebAsyncResult_t3421962937_il2cpp_TypeInfo_var;
extern const RuntimeMethod* WebConnection_BeginRead_m2950707033_RuntimeMethod_var;
extern String_t* _stringLiteral4159479073;
extern const uint32_t WebConnection_BeginRead_m2950707033_MetadataUsageId;
extern const RuntimeMethod* WebConnection_EndRead_m3553040041_RuntimeMethod_var;
extern String_t* _stringLiteral2069147700;
extern String_t* _stringLiteral3494384225;
extern String_t* _stringLiteral562865041;
extern String_t* _stringLiteral4288548861;
extern const uint32_t WebConnection_EndRead_m3553040041_MetadataUsageId;
extern const RuntimeMethod* WebConnection_EnsureRead_m1250887662_RuntimeMethod_var;
extern const uint32_t WebConnection_EnsureRead_m1250887662_MetadataUsageId;
extern const RuntimeMethod* WebConnection_CompleteChunkedRead_m618073306_RuntimeMethod_var;
extern const uint32_t WebConnection_CompleteChunkedRead_m618073306_MetadataUsageId;
extern const RuntimeMethod* WebConnection_BeginWrite_m3795141727_RuntimeMethod_var;
extern const uint32_t WebConnection_BeginWrite_m3795141727_MetadataUsageId;
extern const RuntimeMethod* WebConnection_EndWrite_m1985976895_RuntimeMethod_var;
extern const uint32_t WebConnection_EndWrite_m1985976895_MetadataUsageId;
extern const RuntimeMethod* WebConnection_Read_m1054701704_RuntimeMethod_var;
extern String_t* _stringLiteral2781893249;
extern String_t* _stringLiteral2781893250;
extern String_t* _stringLiteral431746835;
extern const uint32_t WebConnection_Read_m1054701704_MetadataUsageId;
extern const RuntimeMethod* WebConnection_Write_m3744361765_RuntimeMethod_var;
extern String_t* _stringLiteral487754551;
extern const uint32_t WebConnection_Write_m3744361765_MetadataUsageId;
extern const RuntimeMethod* WebConnection_Close_m1464903054_RuntimeMethod_var;
extern const uint32_t WebConnection_Close_m1464903054_MetadataUsageId;
extern const RuntimeMethod* WebConnection_Abort_m20739763_RuntimeMethod_var;
extern String_t* _stringLiteral1766284293;
extern const uint32_t WebConnection_Abort_m20739763_MetadataUsageId;
extern const RuntimeMethod* WebConnection_ResetNtlm_m1997409512_RuntimeMethod_var;
extern const uint32_t WebConnection_ResetNtlm_m1997409512_MetadataUsageId;
extern const RuntimeMethod* WebConnection_set_PriorityRequest_m1465137853_RuntimeMethod_var;
extern const uint32_t WebConnection_set_PriorityRequest_m1465137853_MetadataUsageId;
extern const RuntimeMethod* WebConnection_get_NtlmAuthenticated_m2082355413_RuntimeMethod_var;
extern const uint32_t WebConnection_get_NtlmAuthenticated_m2082355413_MetadataUsageId;
extern const RuntimeMethod* WebConnection_set_NtlmAuthenticated_m3388586408_RuntimeMethod_var;
extern const uint32_t WebConnection_set_NtlmAuthenticated_m3388586408_MetadataUsageId;
extern const RuntimeMethod* WebConnection_get_NtlmCredential_m2384740598_RuntimeMethod_var;
extern const uint32_t WebConnection_get_NtlmCredential_m2384740598_MetadataUsageId;
extern const RuntimeMethod* WebConnection_set_NtlmCredential_m4103205352_RuntimeMethod_var;
extern const uint32_t WebConnection_set_NtlmCredential_m4103205352_MetadataUsageId;
extern const RuntimeMethod* WebConnection_get_UnsafeAuthenticatedConnectionSharing_m453020971_RuntimeMethod_var;
extern const uint32_t WebConnection_get_UnsafeAuthenticatedConnectionSharing_m453020971_MetadataUsageId;
extern const RuntimeMethod* WebConnection_set_UnsafeAuthenticatedConnectionSharing_m987184906_RuntimeMethod_var;
extern const uint32_t WebConnection_set_UnsafeAuthenticatedConnectionSharing_m987184906_MetadataUsageId;
extern const uint32_t WebConnection_U3CSendRequestU3Eb__41_0_m3242074501_MetadataUsageId;
struct IOAsyncResult_t3640145766_marshaled_pinvoke;
struct IOAsyncResult_t3640145766_marshaled_com;
struct NetworkInterfaceU5BU5D_t3597716288;
struct ByteU5BU5D_t4116647657;
struct Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057;
struct StringU5BU5D_t1281789340;
struct CharU5BU5D_t3528271667;
struct UInt32U5BU5D_t2770800703;
struct IntPtrU5BU5D_t4013366056;
struct DelegateU5BU5D_t1703627840;
struct IPAddressU5BU5D_t596328627;
struct ObjectU5BU5D_t2843939325;
struct GCHandleU5BU5D_t35668618;
struct WSABUFU5BU5D_t2234152139;
struct WaitHandleU5BU5D_t96772038;
#ifndef RUNTIMEOBJECT_H
#define RUNTIMEOBJECT_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEOBJECT_H
#ifndef SECURESTRING_T3041467854_H
#define SECURESTRING_T3041467854_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.SecureString
struct SecureString_t3041467854 : public RuntimeObject
{
public:
// System.Int32 System.Security.SecureString::length
int32_t ___length_0;
// System.Boolean System.Security.SecureString::disposed
bool ___disposed_1;
// System.Byte[] System.Security.SecureString::data
ByteU5BU5D_t4116647657* ___data_2;
public:
inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(SecureString_t3041467854, ___length_0)); }
inline int32_t get_length_0() const { return ___length_0; }
inline int32_t* get_address_of_length_0() { return &___length_0; }
inline void set_length_0(int32_t value)
{
___length_0 = value;
}
inline static int32_t get_offset_of_disposed_1() { return static_cast<int32_t>(offsetof(SecureString_t3041467854, ___disposed_1)); }
inline bool get_disposed_1() const { return ___disposed_1; }
inline bool* get_address_of_disposed_1() { return &___disposed_1; }
inline void set_disposed_1(bool value)
{
___disposed_1 = value;
}
inline static int32_t get_offset_of_data_2() { return static_cast<int32_t>(offsetof(SecureString_t3041467854, ___data_2)); }
inline ByteU5BU5D_t4116647657* get_data_2() const { return ___data_2; }
inline ByteU5BU5D_t4116647657** get_address_of_data_2() { return &___data_2; }
inline void set_data_2(ByteU5BU5D_t4116647657* value)
{
___data_2 = value;
Il2CppCodeGenWriteBarrier((&___data_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURESTRING_T3041467854_H
#ifndef SECURESTRINGHELPER_T4164472233_H
#define SECURESTRINGHELPER_T4164472233_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.UnsafeNclNativeMethods/SecureStringHelper
struct SecureStringHelper_t4164472233 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURESTRINGHELPER_T4164472233_H
#ifndef AUTHORIZATION_T542416582_H
#define AUTHORIZATION_T542416582_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Authorization
struct Authorization_t542416582 : public RuntimeObject
{
public:
// System.String System.Net.Authorization::m_Message
String_t* ___m_Message_0;
// System.Boolean System.Net.Authorization::m_Complete
bool ___m_Complete_1;
// System.String System.Net.Authorization::ModuleAuthenticationType
String_t* ___ModuleAuthenticationType_2;
public:
inline static int32_t get_offset_of_m_Message_0() { return static_cast<int32_t>(offsetof(Authorization_t542416582, ___m_Message_0)); }
inline String_t* get_m_Message_0() const { return ___m_Message_0; }
inline String_t** get_address_of_m_Message_0() { return &___m_Message_0; }
inline void set_m_Message_0(String_t* value)
{
___m_Message_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Message_0), value);
}
inline static int32_t get_offset_of_m_Complete_1() { return static_cast<int32_t>(offsetof(Authorization_t542416582, ___m_Complete_1)); }
inline bool get_m_Complete_1() const { return ___m_Complete_1; }
inline bool* get_address_of_m_Complete_1() { return &___m_Complete_1; }
inline void set_m_Complete_1(bool value)
{
___m_Complete_1 = value;
}
inline static int32_t get_offset_of_ModuleAuthenticationType_2() { return static_cast<int32_t>(offsetof(Authorization_t542416582, ___ModuleAuthenticationType_2)); }
inline String_t* get_ModuleAuthenticationType_2() const { return ___ModuleAuthenticationType_2; }
inline String_t** get_address_of_ModuleAuthenticationType_2() { return &___ModuleAuthenticationType_2; }
inline void set_ModuleAuthenticationType_2(String_t* value)
{
___ModuleAuthenticationType_2 = value;
Il2CppCodeGenWriteBarrier((&___ModuleAuthenticationType_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHORIZATION_T542416582_H
#ifndef VALIDATIONHELPER_T3640249616_H
#define VALIDATIONHELPER_T3640249616_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ValidationHelper
struct ValidationHelper_t3640249616 : public RuntimeObject
{
public:
public:
};
struct ValidationHelper_t3640249616_StaticFields
{
public:
// System.String[] System.Net.ValidationHelper::EmptyArray
StringU5BU5D_t1281789340* ___EmptyArray_0;
// System.Char[] System.Net.ValidationHelper::InvalidMethodChars
CharU5BU5D_t3528271667* ___InvalidMethodChars_1;
// System.Char[] System.Net.ValidationHelper::InvalidParamChars
CharU5BU5D_t3528271667* ___InvalidParamChars_2;
public:
inline static int32_t get_offset_of_EmptyArray_0() { return static_cast<int32_t>(offsetof(ValidationHelper_t3640249616_StaticFields, ___EmptyArray_0)); }
inline StringU5BU5D_t1281789340* get_EmptyArray_0() const { return ___EmptyArray_0; }
inline StringU5BU5D_t1281789340** get_address_of_EmptyArray_0() { return &___EmptyArray_0; }
inline void set_EmptyArray_0(StringU5BU5D_t1281789340* value)
{
___EmptyArray_0 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_0), value);
}
inline static int32_t get_offset_of_InvalidMethodChars_1() { return static_cast<int32_t>(offsetof(ValidationHelper_t3640249616_StaticFields, ___InvalidMethodChars_1)); }
inline CharU5BU5D_t3528271667* get_InvalidMethodChars_1() const { return ___InvalidMethodChars_1; }
inline CharU5BU5D_t3528271667** get_address_of_InvalidMethodChars_1() { return &___InvalidMethodChars_1; }
inline void set_InvalidMethodChars_1(CharU5BU5D_t3528271667* value)
{
___InvalidMethodChars_1 = value;
Il2CppCodeGenWriteBarrier((&___InvalidMethodChars_1), value);
}
inline static int32_t get_offset_of_InvalidParamChars_2() { return static_cast<int32_t>(offsetof(ValidationHelper_t3640249616_StaticFields, ___InvalidParamChars_2)); }
inline CharU5BU5D_t3528271667* get_InvalidParamChars_2() const { return ___InvalidParamChars_2; }
inline CharU5BU5D_t3528271667** get_address_of_InvalidParamChars_2() { return &___InvalidParamChars_2; }
inline void set_InvalidParamChars_2(CharU5BU5D_t3528271667* value)
{
___InvalidParamChars_2 = value;
Il2CppCodeGenWriteBarrier((&___InvalidParamChars_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VALIDATIONHELPER_T3640249616_H
#ifndef MONOTLSPROVIDER_T3152003291_H
#define MONOTLSPROVIDER_T3152003291_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.MonoTlsProvider
struct MonoTlsProvider_t3152003291 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOTLSPROVIDER_T3152003291_H
#ifndef ABORTHELPER_T1490877826_H
#define ABORTHELPER_T1490877826_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnection/AbortHelper
struct AbortHelper_t1490877826 : public RuntimeObject
{
public:
// System.Net.WebConnection System.Net.WebConnection/AbortHelper::Connection
WebConnection_t3982808322 * ___Connection_0;
public:
inline static int32_t get_offset_of_Connection_0() { return static_cast<int32_t>(offsetof(AbortHelper_t1490877826, ___Connection_0)); }
inline WebConnection_t3982808322 * get_Connection_0() const { return ___Connection_0; }
inline WebConnection_t3982808322 ** get_address_of_Connection_0() { return &___Connection_0; }
inline void set_Connection_0(WebConnection_t3982808322 * value)
{
___Connection_0 = value;
Il2CppCodeGenWriteBarrier((&___Connection_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ABORTHELPER_T1490877826_H
#ifndef QUEUE_T3637523393_H
#define QUEUE_T3637523393_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Queue
struct Queue_t3637523393 : public RuntimeObject
{
public:
// System.Object[] System.Collections.Queue::_array
ObjectU5BU5D_t2843939325* ____array_0;
// System.Int32 System.Collections.Queue::_head
int32_t ____head_1;
// System.Int32 System.Collections.Queue::_tail
int32_t ____tail_2;
// System.Int32 System.Collections.Queue::_size
int32_t ____size_3;
// System.Int32 System.Collections.Queue::_growFactor
int32_t ____growFactor_4;
// System.Int32 System.Collections.Queue::_version
int32_t ____version_5;
// System.Object System.Collections.Queue::_syncRoot
RuntimeObject * ____syncRoot_6;
public:
inline static int32_t get_offset_of__array_0() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____array_0)); }
inline ObjectU5BU5D_t2843939325* get__array_0() const { return ____array_0; }
inline ObjectU5BU5D_t2843939325** get_address_of__array_0() { return &____array_0; }
inline void set__array_0(ObjectU5BU5D_t2843939325* value)
{
____array_0 = value;
Il2CppCodeGenWriteBarrier((&____array_0), value);
}
inline static int32_t get_offset_of__head_1() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____head_1)); }
inline int32_t get__head_1() const { return ____head_1; }
inline int32_t* get_address_of__head_1() { return &____head_1; }
inline void set__head_1(int32_t value)
{
____head_1 = value;
}
inline static int32_t get_offset_of__tail_2() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____tail_2)); }
inline int32_t get__tail_2() const { return ____tail_2; }
inline int32_t* get_address_of__tail_2() { return &____tail_2; }
inline void set__tail_2(int32_t value)
{
____tail_2 = value;
}
inline static int32_t get_offset_of__size_3() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____size_3)); }
inline int32_t get__size_3() const { return ____size_3; }
inline int32_t* get_address_of__size_3() { return &____size_3; }
inline void set__size_3(int32_t value)
{
____size_3 = value;
}
inline static int32_t get_offset_of__growFactor_4() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____growFactor_4)); }
inline int32_t get__growFactor_4() const { return ____growFactor_4; }
inline int32_t* get_address_of__growFactor_4() { return &____growFactor_4; }
inline void set__growFactor_4(int32_t value)
{
____growFactor_4 = value;
}
inline static int32_t get_offset_of__version_5() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____version_5)); }
inline int32_t get__version_5() const { return ____version_5; }
inline int32_t* get_address_of__version_5() { return &____version_5; }
inline void set__version_5(int32_t value)
{
____version_5 = value;
}
inline static int32_t get_offset_of__syncRoot_6() { return static_cast<int32_t>(offsetof(Queue_t3637523393, ____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((&____syncRoot_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // QUEUE_T3637523393_H
#ifndef VERSION_T3456873960_H
#define VERSION_T3456873960_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Version
struct Version_t3456873960 : public RuntimeObject
{
public:
// System.Int32 System.Version::_Major
int32_t ____Major_0;
// System.Int32 System.Version::_Minor
int32_t ____Minor_1;
// System.Int32 System.Version::_Build
int32_t ____Build_2;
// System.Int32 System.Version::_Revision
int32_t ____Revision_3;
public:
inline static int32_t get_offset_of__Major_0() { return static_cast<int32_t>(offsetof(Version_t3456873960, ____Major_0)); }
inline int32_t get__Major_0() const { return ____Major_0; }
inline int32_t* get_address_of__Major_0() { return &____Major_0; }
inline void set__Major_0(int32_t value)
{
____Major_0 = value;
}
inline static int32_t get_offset_of__Minor_1() { return static_cast<int32_t>(offsetof(Version_t3456873960, ____Minor_1)); }
inline int32_t get__Minor_1() const { return ____Minor_1; }
inline int32_t* get_address_of__Minor_1() { return &____Minor_1; }
inline void set__Minor_1(int32_t value)
{
____Minor_1 = value;
}
inline static int32_t get_offset_of__Build_2() { return static_cast<int32_t>(offsetof(Version_t3456873960, ____Build_2)); }
inline int32_t get__Build_2() const { return ____Build_2; }
inline int32_t* get_address_of__Build_2() { return &____Build_2; }
inline void set__Build_2(int32_t value)
{
____Build_2 = value;
}
inline static int32_t get_offset_of__Revision_3() { return static_cast<int32_t>(offsetof(Version_t3456873960, ____Revision_3)); }
inline int32_t get__Revision_3() const { return ____Revision_3; }
inline int32_t* get_address_of__Revision_3() { return &____Revision_3; }
inline void set__Revision_3(int32_t value)
{
____Revision_3 = value;
}
};
struct Version_t3456873960_StaticFields
{
public:
// System.Char[] System.Version::SeparatorsArray
CharU5BU5D_t3528271667* ___SeparatorsArray_4;
public:
inline static int32_t get_offset_of_SeparatorsArray_4() { return static_cast<int32_t>(offsetof(Version_t3456873960_StaticFields, ___SeparatorsArray_4)); }
inline CharU5BU5D_t3528271667* get_SeparatorsArray_4() const { return ___SeparatorsArray_4; }
inline CharU5BU5D_t3528271667** get_address_of_SeparatorsArray_4() { return &___SeparatorsArray_4; }
inline void set_SeparatorsArray_4(CharU5BU5D_t3528271667* value)
{
___SeparatorsArray_4 = value;
Il2CppCodeGenWriteBarrier((&___SeparatorsArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VERSION_T3456873960_H
#ifndef TIMER_T4150598332_H
#define TIMER_T4150598332_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/Timer
struct Timer_t4150598332 : public RuntimeObject
{
public:
// System.Int32 System.Net.TimerThread/Timer::m_StartTimeMilliseconds
int32_t ___m_StartTimeMilliseconds_0;
// System.Int32 System.Net.TimerThread/Timer::m_DurationMilliseconds
int32_t ___m_DurationMilliseconds_1;
public:
inline static int32_t get_offset_of_m_StartTimeMilliseconds_0() { return static_cast<int32_t>(offsetof(Timer_t4150598332, ___m_StartTimeMilliseconds_0)); }
inline int32_t get_m_StartTimeMilliseconds_0() const { return ___m_StartTimeMilliseconds_0; }
inline int32_t* get_address_of_m_StartTimeMilliseconds_0() { return &___m_StartTimeMilliseconds_0; }
inline void set_m_StartTimeMilliseconds_0(int32_t value)
{
___m_StartTimeMilliseconds_0 = value;
}
inline static int32_t get_offset_of_m_DurationMilliseconds_1() { return static_cast<int32_t>(offsetof(Timer_t4150598332, ___m_DurationMilliseconds_1)); }
inline int32_t get_m_DurationMilliseconds_1() const { return ___m_DurationMilliseconds_1; }
inline int32_t* get_address_of_m_DurationMilliseconds_1() { return &___m_DurationMilliseconds_1; }
inline void set_m_DurationMilliseconds_1(int32_t value)
{
___m_DurationMilliseconds_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMER_T4150598332_H
#ifndef LINKEDLISTNODE_1_T1080061819_H
#define LINKEDLISTNODE_1_T1080061819_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.LinkedListNode`1<System.WeakReference>
struct LinkedListNode_1_t1080061819 : public RuntimeObject
{
public:
// System.Collections.Generic.LinkedList`1<T> System.Collections.Generic.LinkedListNode`1::list
LinkedList_1_t174532725 * ___list_0;
// System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedListNode`1::next
LinkedListNode_1_t1080061819 * ___next_1;
// System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedListNode`1::prev
LinkedListNode_1_t1080061819 * ___prev_2;
// T System.Collections.Generic.LinkedListNode`1::item
WeakReference_t1334886716 * ___item_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(LinkedListNode_1_t1080061819, ___list_0)); }
inline LinkedList_1_t174532725 * get_list_0() const { return ___list_0; }
inline LinkedList_1_t174532725 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(LinkedList_1_t174532725 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(LinkedListNode_1_t1080061819, ___next_1)); }
inline LinkedListNode_1_t1080061819 * get_next_1() const { return ___next_1; }
inline LinkedListNode_1_t1080061819 ** get_address_of_next_1() { return &___next_1; }
inline void set_next_1(LinkedListNode_1_t1080061819 * value)
{
___next_1 = value;
Il2CppCodeGenWriteBarrier((&___next_1), value);
}
inline static int32_t get_offset_of_prev_2() { return static_cast<int32_t>(offsetof(LinkedListNode_1_t1080061819, ___prev_2)); }
inline LinkedListNode_1_t1080061819 * get_prev_2() const { return ___prev_2; }
inline LinkedListNode_1_t1080061819 ** get_address_of_prev_2() { return &___prev_2; }
inline void set_prev_2(LinkedListNode_1_t1080061819 * value)
{
___prev_2 = value;
Il2CppCodeGenWriteBarrier((&___prev_2), value);
}
inline static int32_t get_offset_of_item_3() { return static_cast<int32_t>(offsetof(LinkedListNode_1_t1080061819, ___item_3)); }
inline WeakReference_t1334886716 * get_item_3() const { return ___item_3; }
inline WeakReference_t1334886716 ** get_address_of_item_3() { return &___item_3; }
inline void set_item_3(WeakReference_t1334886716 * value)
{
___item_3 = value;
Il2CppCodeGenWriteBarrier((&___item_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LINKEDLISTNODE_1_T1080061819_H
#ifndef HTTPVERSION_T346520293_H
#define HTTPVERSION_T346520293_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpVersion
struct HttpVersion_t346520293 : public RuntimeObject
{
public:
public:
};
struct HttpVersion_t346520293_StaticFields
{
public:
// System.Version System.Net.HttpVersion::Version10
Version_t3456873960 * ___Version10_0;
// System.Version System.Net.HttpVersion::Version11
Version_t3456873960 * ___Version11_1;
public:
inline static int32_t get_offset_of_Version10_0() { return static_cast<int32_t>(offsetof(HttpVersion_t346520293_StaticFields, ___Version10_0)); }
inline Version_t3456873960 * get_Version10_0() const { return ___Version10_0; }
inline Version_t3456873960 ** get_address_of_Version10_0() { return &___Version10_0; }
inline void set_Version10_0(Version_t3456873960 * value)
{
___Version10_0 = value;
Il2CppCodeGenWriteBarrier((&___Version10_0), value);
}
inline static int32_t get_offset_of_Version11_1() { return static_cast<int32_t>(offsetof(HttpVersion_t346520293_StaticFields, ___Version11_1)); }
inline Version_t3456873960 * get_Version11_1() const { return ___Version11_1; }
inline Version_t3456873960 ** get_address_of_Version11_1() { return &___Version11_1; }
inline void set_Version11_1(Version_t3456873960 * value)
{
___Version11_1 = value;
Il2CppCodeGenWriteBarrier((&___Version11_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPVERSION_T346520293_H
#ifndef HTTP_REQUEST_HEADER_ID_T968578449_H
#define HTTP_REQUEST_HEADER_ID_T968578449_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.UnsafeNclNativeMethods/HttpApi/HTTP_REQUEST_HEADER_ID
struct HTTP_REQUEST_HEADER_ID_t968578449 : public RuntimeObject
{
public:
public:
};
struct HTTP_REQUEST_HEADER_ID_t968578449_StaticFields
{
public:
// System.String[] System.Net.UnsafeNclNativeMethods/HttpApi/HTTP_REQUEST_HEADER_ID::m_Strings
StringU5BU5D_t1281789340* ___m_Strings_0;
public:
inline static int32_t get_offset_of_m_Strings_0() { return static_cast<int32_t>(offsetof(HTTP_REQUEST_HEADER_ID_t968578449_StaticFields, ___m_Strings_0)); }
inline StringU5BU5D_t1281789340* get_m_Strings_0() const { return ___m_Strings_0; }
inline StringU5BU5D_t1281789340** get_address_of_m_Strings_0() { return &___m_Strings_0; }
inline void set_m_Strings_0(StringU5BU5D_t1281789340* value)
{
___m_Strings_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Strings_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTP_REQUEST_HEADER_ID_T968578449_H
#ifndef SERVERCERTVALIDATIONCALLBACK_T1488468298_H
#define SERVERCERTVALIDATIONCALLBACK_T1488468298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServerCertValidationCallback
struct ServerCertValidationCallback_t1488468298 : public RuntimeObject
{
public:
// System.Net.Security.RemoteCertificateValidationCallback System.Net.ServerCertValidationCallback::m_ValidationCallback
RemoteCertificateValidationCallback_t3014364904 * ___m_ValidationCallback_0;
// System.Threading.ExecutionContext System.Net.ServerCertValidationCallback::m_Context
ExecutionContext_t1748372627 * ___m_Context_1;
public:
inline static int32_t get_offset_of_m_ValidationCallback_0() { return static_cast<int32_t>(offsetof(ServerCertValidationCallback_t1488468298, ___m_ValidationCallback_0)); }
inline RemoteCertificateValidationCallback_t3014364904 * get_m_ValidationCallback_0() const { return ___m_ValidationCallback_0; }
inline RemoteCertificateValidationCallback_t3014364904 ** get_address_of_m_ValidationCallback_0() { return &___m_ValidationCallback_0; }
inline void set_m_ValidationCallback_0(RemoteCertificateValidationCallback_t3014364904 * value)
{
___m_ValidationCallback_0 = value;
Il2CppCodeGenWriteBarrier((&___m_ValidationCallback_0), value);
}
inline static int32_t get_offset_of_m_Context_1() { return static_cast<int32_t>(offsetof(ServerCertValidationCallback_t1488468298, ___m_Context_1)); }
inline ExecutionContext_t1748372627 * get_m_Context_1() const { return ___m_Context_1; }
inline ExecutionContext_t1748372627 ** get_address_of_m_Context_1() { return &___m_Context_1; }
inline void set_m_Context_1(ExecutionContext_t1748372627 * value)
{
___m_Context_1 = value;
Il2CppCodeGenWriteBarrier((&___m_Context_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVERCERTVALIDATIONCALLBACK_T1488468298_H
#ifndef UNSAFENCLNATIVEMETHODS_T1991040829_H
#define UNSAFENCLNATIVEMETHODS_T1991040829_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.UnsafeNclNativeMethods
struct UnsafeNclNativeMethods_t1991040829 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNSAFENCLNATIVEMETHODS_T1991040829_H
#ifndef HTTPAPI_T910269930_H
#define HTTPAPI_T910269930_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.UnsafeNclNativeMethods/HttpApi
struct HttpApi_t910269930 : public RuntimeObject
{
public:
public:
};
struct HttpApi_t910269930_StaticFields
{
public:
// System.String[] System.Net.UnsafeNclNativeMethods/HttpApi::m_Strings
StringU5BU5D_t1281789340* ___m_Strings_0;
public:
inline static int32_t get_offset_of_m_Strings_0() { return static_cast<int32_t>(offsetof(HttpApi_t910269930_StaticFields, ___m_Strings_0)); }
inline StringU5BU5D_t1281789340* get_m_Strings_0() const { return ___m_Strings_0; }
inline StringU5BU5D_t1281789340** get_address_of_m_Strings_0() { return &___m_Strings_0; }
inline void set_m_Strings_0(StringU5BU5D_t1281789340* value)
{
___m_Strings_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Strings_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPAPI_T910269930_H
#ifndef X509CHAIN_T194917408_H
#define X509CHAIN_T194917408_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t194917408 : public RuntimeObject
{
public:
// System.Security.Cryptography.X509Certificates.X509ChainImpl System.Security.Cryptography.X509Certificates.X509Chain::impl
X509ChainImpl_t2192100862 * ___impl_0;
public:
inline static int32_t get_offset_of_impl_0() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___impl_0)); }
inline X509ChainImpl_t2192100862 * get_impl_0() const { return ___impl_0; }
inline X509ChainImpl_t2192100862 ** get_address_of_impl_0() { return &___impl_0; }
inline void set_impl_0(X509ChainImpl_t2192100862 * value)
{
___impl_0 = value;
Il2CppCodeGenWriteBarrier((&___impl_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CHAIN_T194917408_H
#ifndef SORTEDLIST_T2427694641_H
#define SORTEDLIST_T2427694641_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.SortedList
struct SortedList_t2427694641 : public RuntimeObject
{
public:
// System.Object[] System.Collections.SortedList::keys
ObjectU5BU5D_t2843939325* ___keys_0;
// System.Object[] System.Collections.SortedList::values
ObjectU5BU5D_t2843939325* ___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/KeyList System.Collections.SortedList::keyList
KeyList_t2666832342 * ___keyList_5;
// System.Collections.SortedList/ValueList System.Collections.SortedList::valueList
ValueList_t3463191220 * ___valueList_6;
// System.Object System.Collections.SortedList::_syncRoot
RuntimeObject * ____syncRoot_7;
public:
inline static int32_t get_offset_of_keys_0() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ___keys_0)); }
inline ObjectU5BU5D_t2843939325* get_keys_0() const { return ___keys_0; }
inline ObjectU5BU5D_t2843939325** get_address_of_keys_0() { return &___keys_0; }
inline void set_keys_0(ObjectU5BU5D_t2843939325* value)
{
___keys_0 = value;
Il2CppCodeGenWriteBarrier((&___keys_0), value);
}
inline static int32_t get_offset_of_values_1() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ___values_1)); }
inline ObjectU5BU5D_t2843939325* get_values_1() const { return ___values_1; }
inline ObjectU5BU5D_t2843939325** get_address_of_values_1() { return &___values_1; }
inline void set_values_1(ObjectU5BU5D_t2843939325* value)
{
___values_1 = value;
Il2CppCodeGenWriteBarrier((&___values_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ____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_t2427694641, ___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_t2427694641, ___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((&___comparer_4), value);
}
inline static int32_t get_offset_of_keyList_5() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ___keyList_5)); }
inline KeyList_t2666832342 * get_keyList_5() const { return ___keyList_5; }
inline KeyList_t2666832342 ** get_address_of_keyList_5() { return &___keyList_5; }
inline void set_keyList_5(KeyList_t2666832342 * value)
{
___keyList_5 = value;
Il2CppCodeGenWriteBarrier((&___keyList_5), value);
}
inline static int32_t get_offset_of_valueList_6() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ___valueList_6)); }
inline ValueList_t3463191220 * get_valueList_6() const { return ___valueList_6; }
inline ValueList_t3463191220 ** get_address_of_valueList_6() { return &___valueList_6; }
inline void set_valueList_6(ValueList_t3463191220 * value)
{
___valueList_6 = value;
Il2CppCodeGenWriteBarrier((&___valueList_6), value);
}
inline static int32_t get_offset_of__syncRoot_7() { return static_cast<int32_t>(offsetof(SortedList_t2427694641, ____syncRoot_7)); }
inline RuntimeObject * get__syncRoot_7() const { return ____syncRoot_7; }
inline RuntimeObject ** get_address_of__syncRoot_7() { return &____syncRoot_7; }
inline void set__syncRoot_7(RuntimeObject * value)
{
____syncRoot_7 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_7), value);
}
};
struct SortedList_t2427694641_StaticFields
{
public:
// System.Object[] System.Collections.SortedList::emptyArray
ObjectU5BU5D_t2843939325* ___emptyArray_8;
public:
inline static int32_t get_offset_of_emptyArray_8() { return static_cast<int32_t>(offsetof(SortedList_t2427694641_StaticFields, ___emptyArray_8)); }
inline ObjectU5BU5D_t2843939325* get_emptyArray_8() const { return ___emptyArray_8; }
inline ObjectU5BU5D_t2843939325** get_address_of_emptyArray_8() { return &___emptyArray_8; }
inline void set_emptyArray_8(ObjectU5BU5D_t2843939325* value)
{
___emptyArray_8 = value;
Il2CppCodeGenWriteBarrier((&___emptyArray_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SORTEDLIST_T2427694641_H
#ifndef PATHLISTCOMPARER_T1123825266_H
#define PATHLISTCOMPARER_T1123825266_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.PathList/PathListComparer
struct PathListComparer_t1123825266 : public RuntimeObject
{
public:
public:
};
struct PathListComparer_t1123825266_StaticFields
{
public:
// System.Net.PathList/PathListComparer System.Net.PathList/PathListComparer::StaticInstance
PathListComparer_t1123825266 * ___StaticInstance_0;
public:
inline static int32_t get_offset_of_StaticInstance_0() { return static_cast<int32_t>(offsetof(PathListComparer_t1123825266_StaticFields, ___StaticInstance_0)); }
inline PathListComparer_t1123825266 * get_StaticInstance_0() const { return ___StaticInstance_0; }
inline PathListComparer_t1123825266 ** get_address_of_StaticInstance_0() { return &___StaticInstance_0; }
inline void set_StaticInstance_0(PathListComparer_t1123825266 * value)
{
___StaticInstance_0 = value;
Il2CppCodeGenWriteBarrier((&___StaticInstance_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PATHLISTCOMPARER_T1123825266_H
#ifndef MARSHALBYREFOBJECT_T2760389100_H
#define MARSHALBYREFOBJECT_T2760389100_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MarshalByRefObject
struct MarshalByRefObject_t2760389100 : public RuntimeObject
{
public:
// System.Runtime.Remoting.ServerIdentity System.MarshalByRefObject::_identity
ServerIdentity_t2342208608 * ____identity_0;
public:
inline static int32_t get_offset_of__identity_0() { return static_cast<int32_t>(offsetof(MarshalByRefObject_t2760389100, ____identity_0)); }
inline ServerIdentity_t2342208608 * get__identity_0() const { return ____identity_0; }
inline ServerIdentity_t2342208608 ** get_address_of__identity_0() { return &____identity_0; }
inline void set__identity_0(ServerIdentity_t2342208608 * value)
{
____identity_0 = value;
Il2CppCodeGenWriteBarrier((&____identity_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.MarshalByRefObject
struct MarshalByRefObject_t2760389100_marshaled_pinvoke
{
ServerIdentity_t2342208608 * ____identity_0;
};
// Native definition for COM marshalling of System.MarshalByRefObject
struct MarshalByRefObject_t2760389100_marshaled_com
{
ServerIdentity_t2342208608 * ____identity_0;
};
#endif // MARSHALBYREFOBJECT_T2760389100_H
#ifndef PATHLIST_T2806410337_H
#define PATHLIST_T2806410337_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.PathList
struct PathList_t2806410337 : public RuntimeObject
{
public:
// System.Collections.SortedList System.Net.PathList::m_list
SortedList_t2427694641 * ___m_list_0;
public:
inline static int32_t get_offset_of_m_list_0() { return static_cast<int32_t>(offsetof(PathList_t2806410337, ___m_list_0)); }
inline SortedList_t2427694641 * get_m_list_0() const { return ___m_list_0; }
inline SortedList_t2427694641 ** get_address_of_m_list_0() { return &___m_list_0; }
inline void set_m_list_0(SortedList_t2427694641 * value)
{
___m_list_0 = value;
Il2CppCodeGenWriteBarrier((&___m_list_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PATHLIST_T2806410337_H
#ifndef IPGLOBALPROPERTIES_T3113415935_H
#define IPGLOBALPROPERTIES_T3113415935_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.IPGlobalProperties
struct IPGlobalProperties_t3113415935 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPGLOBALPROPERTIES_T3113415935_H
#ifndef COLLECTIONBASE_T2727926298_H
#define COLLECTIONBASE_T2727926298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.CollectionBase
struct CollectionBase_t2727926298 : public RuntimeObject
{
public:
// System.Collections.ArrayList System.Collections.CollectionBase::list
ArrayList_t2718874744 * ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(CollectionBase_t2727926298, ___list_0)); }
inline ArrayList_t2718874744 * get_list_0() const { return ___list_0; }
inline ArrayList_t2718874744 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(ArrayList_t2718874744 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLLECTIONBASE_T2727926298_H
#ifndef IPV4INTERFACESTATISTICS_T3249312820_H
#define IPV4INTERFACESTATISTICS_T3249312820_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.IPv4InterfaceStatistics
struct IPv4InterfaceStatistics_t3249312820 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPV4INTERFACESTATISTICS_T3249312820_H
#ifndef SERIALIZATIONINFO_T950877179_H
#define SERIALIZATIONINFO_T950877179_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t950877179 : public RuntimeObject
{
public:
// System.String[] System.Runtime.Serialization.SerializationInfo::m_members
StringU5BU5D_t1281789340* ___m_members_3;
// System.Object[] System.Runtime.Serialization.SerializationInfo::m_data
ObjectU5BU5D_t2843939325* ___m_data_4;
// System.Type[] System.Runtime.Serialization.SerializationInfo::m_types
TypeU5BU5D_t3940880105* ___m_types_5;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Runtime.Serialization.SerializationInfo::m_nameToIndex
Dictionary_2_t2736202052 * ___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_t950877179, ___m_members_3)); }
inline StringU5BU5D_t1281789340* get_m_members_3() const { return ___m_members_3; }
inline StringU5BU5D_t1281789340** get_address_of_m_members_3() { return &___m_members_3; }
inline void set_m_members_3(StringU5BU5D_t1281789340* value)
{
___m_members_3 = value;
Il2CppCodeGenWriteBarrier((&___m_members_3), value);
}
inline static int32_t get_offset_of_m_data_4() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___m_data_4)); }
inline ObjectU5BU5D_t2843939325* get_m_data_4() const { return ___m_data_4; }
inline ObjectU5BU5D_t2843939325** get_address_of_m_data_4() { return &___m_data_4; }
inline void set_m_data_4(ObjectU5BU5D_t2843939325* value)
{
___m_data_4 = value;
Il2CppCodeGenWriteBarrier((&___m_data_4), value);
}
inline static int32_t get_offset_of_m_types_5() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___m_types_5)); }
inline TypeU5BU5D_t3940880105* get_m_types_5() const { return ___m_types_5; }
inline TypeU5BU5D_t3940880105** get_address_of_m_types_5() { return &___m_types_5; }
inline void set_m_types_5(TypeU5BU5D_t3940880105* value)
{
___m_types_5 = value;
Il2CppCodeGenWriteBarrier((&___m_types_5), value);
}
inline static int32_t get_offset_of_m_nameToIndex_6() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___m_nameToIndex_6)); }
inline Dictionary_2_t2736202052 * get_m_nameToIndex_6() const { return ___m_nameToIndex_6; }
inline Dictionary_2_t2736202052 ** get_address_of_m_nameToIndex_6() { return &___m_nameToIndex_6; }
inline void set_m_nameToIndex_6(Dictionary_2_t2736202052 * value)
{
___m_nameToIndex_6 = value;
Il2CppCodeGenWriteBarrier((&___m_nameToIndex_6), value);
}
inline static int32_t get_offset_of_m_currMember_7() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___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_t950877179, ___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((&___m_converter_8), value);
}
inline static int32_t get_offset_of_m_fullTypeName_9() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___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((&___m_fullTypeName_9), value);
}
inline static int32_t get_offset_of_m_assemName_10() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___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((&___m_assemName_10), value);
}
inline static int32_t get_offset_of_objectType_11() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___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((&___objectType_11), value);
}
inline static int32_t get_offset_of_isFullTypeNameSetExplicit_12() { return static_cast<int32_t>(offsetof(SerializationInfo_t950877179, ___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_t950877179, ___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_t950877179, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERIALIZATIONINFO_T950877179_H
#ifndef ARRAYLIST_T2718874744_H
#define ARRAYLIST_T2718874744_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ArrayList
struct ArrayList_t2718874744 : public RuntimeObject
{
public:
// System.Object[] System.Collections.ArrayList::_items
ObjectU5BU5D_t2843939325* ____items_0;
// System.Int32 System.Collections.ArrayList::_size
int32_t ____size_1;
// System.Int32 System.Collections.ArrayList::_version
int32_t ____version_2;
// System.Object System.Collections.ArrayList::_syncRoot
RuntimeObject * ____syncRoot_3;
public:
inline static int32_t get_offset_of__items_0() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____items_0)); }
inline ObjectU5BU5D_t2843939325* get__items_0() const { return ____items_0; }
inline ObjectU5BU5D_t2843939325** get_address_of__items_0() { return &____items_0; }
inline void set__items_0(ObjectU5BU5D_t2843939325* value)
{
____items_0 = value;
Il2CppCodeGenWriteBarrier((&____items_0), value);
}
inline static int32_t get_offset_of__size_1() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____size_1)); }
inline int32_t get__size_1() const { return ____size_1; }
inline int32_t* get_address_of__size_1() { return &____size_1; }
inline void set__size_1(int32_t value)
{
____size_1 = value;
}
inline static int32_t get_offset_of__version_2() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____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__syncRoot_3() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____syncRoot_3)); }
inline RuntimeObject * get__syncRoot_3() const { return ____syncRoot_3; }
inline RuntimeObject ** get_address_of__syncRoot_3() { return &____syncRoot_3; }
inline void set__syncRoot_3(RuntimeObject * value)
{
____syncRoot_3 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_3), value);
}
};
struct ArrayList_t2718874744_StaticFields
{
public:
// System.Object[] System.Collections.ArrayList::emptyArray
ObjectU5BU5D_t2843939325* ___emptyArray_5;
public:
inline static int32_t get_offset_of_emptyArray_5() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744_StaticFields, ___emptyArray_5)); }
inline ObjectU5BU5D_t2843939325* get_emptyArray_5() const { return ___emptyArray_5; }
inline ObjectU5BU5D_t2843939325** get_address_of_emptyArray_5() { return &___emptyArray_5; }
inline void set_emptyArray_5(ObjectU5BU5D_t2843939325* value)
{
___emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&___emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARRAYLIST_T2718874744_H
#ifndef X509CERTIFICATE_T713131622_H
#define X509CERTIFICATE_T713131622_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t713131622 : public RuntimeObject
{
public:
// System.Security.Cryptography.X509Certificates.X509CertificateImpl System.Security.Cryptography.X509Certificates.X509Certificate::impl
X509CertificateImpl_t2851385038 * ___impl_0;
// System.Boolean System.Security.Cryptography.X509Certificates.X509Certificate::hideDates
bool ___hideDates_1;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::issuer_name
String_t* ___issuer_name_2;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::subject_name
String_t* ___subject_name_3;
public:
inline static int32_t get_offset_of_impl_0() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___impl_0)); }
inline X509CertificateImpl_t2851385038 * get_impl_0() const { return ___impl_0; }
inline X509CertificateImpl_t2851385038 ** get_address_of_impl_0() { return &___impl_0; }
inline void set_impl_0(X509CertificateImpl_t2851385038 * value)
{
___impl_0 = value;
Il2CppCodeGenWriteBarrier((&___impl_0), value);
}
inline static int32_t get_offset_of_hideDates_1() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___hideDates_1)); }
inline bool get_hideDates_1() const { return ___hideDates_1; }
inline bool* get_address_of_hideDates_1() { return &___hideDates_1; }
inline void set_hideDates_1(bool value)
{
___hideDates_1 = value;
}
inline static int32_t get_offset_of_issuer_name_2() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___issuer_name_2)); }
inline String_t* get_issuer_name_2() const { return ___issuer_name_2; }
inline String_t** get_address_of_issuer_name_2() { return &___issuer_name_2; }
inline void set_issuer_name_2(String_t* value)
{
___issuer_name_2 = value;
Il2CppCodeGenWriteBarrier((&___issuer_name_2), value);
}
inline static int32_t get_offset_of_subject_name_3() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___subject_name_3)); }
inline String_t* get_subject_name_3() const { return ___subject_name_3; }
inline String_t** get_address_of_subject_name_3() { return &___subject_name_3; }
inline void set_subject_name_3(String_t* value)
{
___subject_name_3 = value;
Il2CppCodeGenWriteBarrier((&___subject_name_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATE_T713131622_H
#ifndef ENCODING_T1523322056_H
#define ENCODING_T1523322056_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.Encoding
struct Encoding_t1523322056 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::m_codePage
int32_t ___m_codePage_9;
// System.Globalization.CodePageDataItem System.Text.Encoding::dataItem
CodePageDataItem_t2285235057 * ___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_t1188251036 * ___encoderFallback_13;
// System.Text.DecoderFallback System.Text.Encoding::decoderFallback
DecoderFallback_t3123823036 * ___decoderFallback_14;
public:
inline static int32_t get_offset_of_m_codePage_9() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___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_t1523322056, ___dataItem_10)); }
inline CodePageDataItem_t2285235057 * get_dataItem_10() const { return ___dataItem_10; }
inline CodePageDataItem_t2285235057 ** get_address_of_dataItem_10() { return &___dataItem_10; }
inline void set_dataItem_10(CodePageDataItem_t2285235057 * value)
{
___dataItem_10 = value;
Il2CppCodeGenWriteBarrier((&___dataItem_10), value);
}
inline static int32_t get_offset_of_m_deserializedFromEverett_11() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___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_t1523322056, ___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_t1523322056, ___encoderFallback_13)); }
inline EncoderFallback_t1188251036 * get_encoderFallback_13() const { return ___encoderFallback_13; }
inline EncoderFallback_t1188251036 ** get_address_of_encoderFallback_13() { return &___encoderFallback_13; }
inline void set_encoderFallback_13(EncoderFallback_t1188251036 * value)
{
___encoderFallback_13 = value;
Il2CppCodeGenWriteBarrier((&___encoderFallback_13), value);
}
inline static int32_t get_offset_of_decoderFallback_14() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___decoderFallback_14)); }
inline DecoderFallback_t3123823036 * get_decoderFallback_14() const { return ___decoderFallback_14; }
inline DecoderFallback_t3123823036 ** get_address_of_decoderFallback_14() { return &___decoderFallback_14; }
inline void set_decoderFallback_14(DecoderFallback_t3123823036 * value)
{
___decoderFallback_14 = value;
Il2CppCodeGenWriteBarrier((&___decoderFallback_14), value);
}
};
struct Encoding_t1523322056_StaticFields
{
public:
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_t1523322056 * ___defaultEncoding_0;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_t1523322056 * ___unicodeEncoding_1;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUnicode
Encoding_t1523322056 * ___bigEndianUnicode_2;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_t1523322056 * ___utf7Encoding_3;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8Encoding
Encoding_t1523322056 * ___utf8Encoding_4;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_t1523322056 * ___utf32Encoding_5;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_t1523322056 * ___asciiEncoding_6;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::latin1Encoding
Encoding_t1523322056 * ___latin1Encoding_7;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::encodings
Hashtable_t1853889766 * ___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_t1523322056_StaticFields, ___defaultEncoding_0)); }
inline Encoding_t1523322056 * get_defaultEncoding_0() const { return ___defaultEncoding_0; }
inline Encoding_t1523322056 ** get_address_of_defaultEncoding_0() { return &___defaultEncoding_0; }
inline void set_defaultEncoding_0(Encoding_t1523322056 * value)
{
___defaultEncoding_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultEncoding_0), value);
}
inline static int32_t get_offset_of_unicodeEncoding_1() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___unicodeEncoding_1)); }
inline Encoding_t1523322056 * get_unicodeEncoding_1() const { return ___unicodeEncoding_1; }
inline Encoding_t1523322056 ** get_address_of_unicodeEncoding_1() { return &___unicodeEncoding_1; }
inline void set_unicodeEncoding_1(Encoding_t1523322056 * value)
{
___unicodeEncoding_1 = value;
Il2CppCodeGenWriteBarrier((&___unicodeEncoding_1), value);
}
inline static int32_t get_offset_of_bigEndianUnicode_2() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___bigEndianUnicode_2)); }
inline Encoding_t1523322056 * get_bigEndianUnicode_2() const { return ___bigEndianUnicode_2; }
inline Encoding_t1523322056 ** get_address_of_bigEndianUnicode_2() { return &___bigEndianUnicode_2; }
inline void set_bigEndianUnicode_2(Encoding_t1523322056 * value)
{
___bigEndianUnicode_2 = value;
Il2CppCodeGenWriteBarrier((&___bigEndianUnicode_2), value);
}
inline static int32_t get_offset_of_utf7Encoding_3() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf7Encoding_3)); }
inline Encoding_t1523322056 * get_utf7Encoding_3() const { return ___utf7Encoding_3; }
inline Encoding_t1523322056 ** get_address_of_utf7Encoding_3() { return &___utf7Encoding_3; }
inline void set_utf7Encoding_3(Encoding_t1523322056 * value)
{
___utf7Encoding_3 = value;
Il2CppCodeGenWriteBarrier((&___utf7Encoding_3), value);
}
inline static int32_t get_offset_of_utf8Encoding_4() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf8Encoding_4)); }
inline Encoding_t1523322056 * get_utf8Encoding_4() const { return ___utf8Encoding_4; }
inline Encoding_t1523322056 ** get_address_of_utf8Encoding_4() { return &___utf8Encoding_4; }
inline void set_utf8Encoding_4(Encoding_t1523322056 * value)
{
___utf8Encoding_4 = value;
Il2CppCodeGenWriteBarrier((&___utf8Encoding_4), value);
}
inline static int32_t get_offset_of_utf32Encoding_5() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf32Encoding_5)); }
inline Encoding_t1523322056 * get_utf32Encoding_5() const { return ___utf32Encoding_5; }
inline Encoding_t1523322056 ** get_address_of_utf32Encoding_5() { return &___utf32Encoding_5; }
inline void set_utf32Encoding_5(Encoding_t1523322056 * value)
{
___utf32Encoding_5 = value;
Il2CppCodeGenWriteBarrier((&___utf32Encoding_5), value);
}
inline static int32_t get_offset_of_asciiEncoding_6() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___asciiEncoding_6)); }
inline Encoding_t1523322056 * get_asciiEncoding_6() const { return ___asciiEncoding_6; }
inline Encoding_t1523322056 ** get_address_of_asciiEncoding_6() { return &___asciiEncoding_6; }
inline void set_asciiEncoding_6(Encoding_t1523322056 * value)
{
___asciiEncoding_6 = value;
Il2CppCodeGenWriteBarrier((&___asciiEncoding_6), value);
}
inline static int32_t get_offset_of_latin1Encoding_7() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___latin1Encoding_7)); }
inline Encoding_t1523322056 * get_latin1Encoding_7() const { return ___latin1Encoding_7; }
inline Encoding_t1523322056 ** get_address_of_latin1Encoding_7() { return &___latin1Encoding_7; }
inline void set_latin1Encoding_7(Encoding_t1523322056 * value)
{
___latin1Encoding_7 = value;
Il2CppCodeGenWriteBarrier((&___latin1Encoding_7), value);
}
inline static int32_t get_offset_of_encodings_8() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___encodings_8)); }
inline Hashtable_t1853889766 * get_encodings_8() const { return ___encodings_8; }
inline Hashtable_t1853889766 ** get_address_of_encodings_8() { return &___encodings_8; }
inline void set_encodings_8(Hashtable_t1853889766 * value)
{
___encodings_8 = value;
Il2CppCodeGenWriteBarrier((&___encodings_8), value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_15() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_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((&___s_InternalSyncObject_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCODING_T1523322056_H
#ifndef COOKIECONTAINER_T2331592909_H
#define COOKIECONTAINER_T2331592909_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.CookieContainer
struct CookieContainer_t2331592909 : public RuntimeObject
{
public:
// System.Collections.Hashtable System.Net.CookieContainer::m_domainTable
Hashtable_t1853889766 * ___m_domainTable_1;
// System.Int32 System.Net.CookieContainer::m_maxCookieSize
int32_t ___m_maxCookieSize_2;
// System.Int32 System.Net.CookieContainer::m_maxCookies
int32_t ___m_maxCookies_3;
// System.Int32 System.Net.CookieContainer::m_maxCookiesPerDomain
int32_t ___m_maxCookiesPerDomain_4;
// System.Int32 System.Net.CookieContainer::m_count
int32_t ___m_count_5;
// System.String System.Net.CookieContainer::m_fqdnMyDomain
String_t* ___m_fqdnMyDomain_6;
public:
inline static int32_t get_offset_of_m_domainTable_1() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_domainTable_1)); }
inline Hashtable_t1853889766 * get_m_domainTable_1() const { return ___m_domainTable_1; }
inline Hashtable_t1853889766 ** get_address_of_m_domainTable_1() { return &___m_domainTable_1; }
inline void set_m_domainTable_1(Hashtable_t1853889766 * value)
{
___m_domainTable_1 = value;
Il2CppCodeGenWriteBarrier((&___m_domainTable_1), value);
}
inline static int32_t get_offset_of_m_maxCookieSize_2() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_maxCookieSize_2)); }
inline int32_t get_m_maxCookieSize_2() const { return ___m_maxCookieSize_2; }
inline int32_t* get_address_of_m_maxCookieSize_2() { return &___m_maxCookieSize_2; }
inline void set_m_maxCookieSize_2(int32_t value)
{
___m_maxCookieSize_2 = value;
}
inline static int32_t get_offset_of_m_maxCookies_3() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_maxCookies_3)); }
inline int32_t get_m_maxCookies_3() const { return ___m_maxCookies_3; }
inline int32_t* get_address_of_m_maxCookies_3() { return &___m_maxCookies_3; }
inline void set_m_maxCookies_3(int32_t value)
{
___m_maxCookies_3 = value;
}
inline static int32_t get_offset_of_m_maxCookiesPerDomain_4() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_maxCookiesPerDomain_4)); }
inline int32_t get_m_maxCookiesPerDomain_4() const { return ___m_maxCookiesPerDomain_4; }
inline int32_t* get_address_of_m_maxCookiesPerDomain_4() { return &___m_maxCookiesPerDomain_4; }
inline void set_m_maxCookiesPerDomain_4(int32_t value)
{
___m_maxCookiesPerDomain_4 = value;
}
inline static int32_t get_offset_of_m_count_5() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_count_5)); }
inline int32_t get_m_count_5() const { return ___m_count_5; }
inline int32_t* get_address_of_m_count_5() { return &___m_count_5; }
inline void set_m_count_5(int32_t value)
{
___m_count_5 = value;
}
inline static int32_t get_offset_of_m_fqdnMyDomain_6() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909, ___m_fqdnMyDomain_6)); }
inline String_t* get_m_fqdnMyDomain_6() const { return ___m_fqdnMyDomain_6; }
inline String_t** get_address_of_m_fqdnMyDomain_6() { return &___m_fqdnMyDomain_6; }
inline void set_m_fqdnMyDomain_6(String_t* value)
{
___m_fqdnMyDomain_6 = value;
Il2CppCodeGenWriteBarrier((&___m_fqdnMyDomain_6), value);
}
};
struct CookieContainer_t2331592909_StaticFields
{
public:
// System.Net.HeaderVariantInfo[] System.Net.CookieContainer::HeaderInfo
HeaderVariantInfoU5BU5D_t3295031164* ___HeaderInfo_0;
public:
inline static int32_t get_offset_of_HeaderInfo_0() { return static_cast<int32_t>(offsetof(CookieContainer_t2331592909_StaticFields, ___HeaderInfo_0)); }
inline HeaderVariantInfoU5BU5D_t3295031164* get_HeaderInfo_0() const { return ___HeaderInfo_0; }
inline HeaderVariantInfoU5BU5D_t3295031164** get_address_of_HeaderInfo_0() { return &___HeaderInfo_0; }
inline void set_HeaderInfo_0(HeaderVariantInfoU5BU5D_t3295031164* value)
{
___HeaderInfo_0 = value;
Il2CppCodeGenWriteBarrier((&___HeaderInfo_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COOKIECONTAINER_T2331592909_H
#ifndef EXCEPTION_T_H
#define EXCEPTION_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// 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_t2481557153 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4013366056* ___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((&____className_1), 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((&____message_2), 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((&____data_3), 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((&____innerException_4), 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((&____helpURL_5), 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((&____stackTrace_6), 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((&____stackTraceString_7), 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((&____remoteStackTraceString_8), 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((&____dynamicMethods_10), 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((&____source_12), value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t2481557153 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t2481557153 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t2481557153 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((&____safeSerializationManager_13), value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t1169129676* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t1169129676** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t1169129676* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((&___captured_traces_14), 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_t4013366056* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4013366056** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4013366056* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((&___native_trace_ips_15), 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((&___s_EDILock_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// 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_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___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_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___native_trace_ips_15;
};
#endif // EXCEPTION_T_H
#ifndef MEMBERINFO_T_H
#define MEMBERINFO_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MEMBERINFO_T_H
#ifndef VALUETYPE_T3640485471_H
#define VALUETYPE_T3640485471_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ValueType
struct ValueType_t3640485471 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_com
{
};
#endif // VALUETYPE_T3640485471_H
#ifndef BITCONVERTER_T3118986983_H
#define BITCONVERTER_T3118986983_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.BitConverter
struct BitConverter_t3118986983 : public RuntimeObject
{
public:
public:
};
struct BitConverter_t3118986983_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_t3118986983_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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BITCONVERTER_T3118986983_H
#ifndef U3CU3EC__DISPLAYCLASS9_0_T2879543744_H
#define U3CU3EC__DISPLAYCLASS9_0_T2879543744_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SimpleAsyncResult/<>c__DisplayClass9_0
struct U3CU3Ec__DisplayClass9_0_t2879543744 : public RuntimeObject
{
public:
// System.AsyncCallback System.Net.SimpleAsyncResult/<>c__DisplayClass9_0::cb
AsyncCallback_t3962456242 * ___cb_0;
// System.Net.SimpleAsyncResult System.Net.SimpleAsyncResult/<>c__DisplayClass9_0::<>4__this
SimpleAsyncResult_t3946017618 * ___U3CU3E4__this_1;
public:
inline static int32_t get_offset_of_cb_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass9_0_t2879543744, ___cb_0)); }
inline AsyncCallback_t3962456242 * get_cb_0() const { return ___cb_0; }
inline AsyncCallback_t3962456242 ** get_address_of_cb_0() { return &___cb_0; }
inline void set_cb_0(AsyncCallback_t3962456242 * value)
{
___cb_0 = value;
Il2CppCodeGenWriteBarrier((&___cb_0), value);
}
inline static int32_t get_offset_of_U3CU3E4__this_1() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass9_0_t2879543744, ___U3CU3E4__this_1)); }
inline SimpleAsyncResult_t3946017618 * get_U3CU3E4__this_1() const { return ___U3CU3E4__this_1; }
inline SimpleAsyncResult_t3946017618 ** get_address_of_U3CU3E4__this_1() { return &___U3CU3E4__this_1; }
inline void set_U3CU3E4__this_1(SimpleAsyncResult_t3946017618 * value)
{
___U3CU3E4__this_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E4__this_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC__DISPLAYCLASS9_0_T2879543744_H
#ifndef U3CU3EC__DISPLAYCLASS11_0_T377749183_H
#define U3CU3EC__DISPLAYCLASS11_0_T377749183_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SimpleAsyncResult/<>c__DisplayClass11_0
struct U3CU3Ec__DisplayClass11_0_t377749183 : public RuntimeObject
{
public:
// System.Func`2<System.Net.SimpleAsyncResult,System.Boolean> System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::func
Func_2_t2426439321 * ___func_0;
// System.Object System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::locker
RuntimeObject * ___locker_1;
// System.Net.SimpleAsyncCallback System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::callback
SimpleAsyncCallback_t2966023072 * ___callback_2;
public:
inline static int32_t get_offset_of_func_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass11_0_t377749183, ___func_0)); }
inline Func_2_t2426439321 * get_func_0() const { return ___func_0; }
inline Func_2_t2426439321 ** get_address_of_func_0() { return &___func_0; }
inline void set_func_0(Func_2_t2426439321 * value)
{
___func_0 = value;
Il2CppCodeGenWriteBarrier((&___func_0), value);
}
inline static int32_t get_offset_of_locker_1() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass11_0_t377749183, ___locker_1)); }
inline RuntimeObject * get_locker_1() const { return ___locker_1; }
inline RuntimeObject ** get_address_of_locker_1() { return &___locker_1; }
inline void set_locker_1(RuntimeObject * value)
{
___locker_1 = value;
Il2CppCodeGenWriteBarrier((&___locker_1), value);
}
inline static int32_t get_offset_of_callback_2() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass11_0_t377749183, ___callback_2)); }
inline SimpleAsyncCallback_t2966023072 * get_callback_2() const { return ___callback_2; }
inline SimpleAsyncCallback_t2966023072 ** get_address_of_callback_2() { return &___callback_2; }
inline void set_callback_2(SimpleAsyncCallback_t2966023072 * value)
{
___callback_2 = value;
Il2CppCodeGenWriteBarrier((&___callback_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC__DISPLAYCLASS11_0_T377749183_H
#ifndef SOCKETADDRESS_T3739769427_H
#define SOCKETADDRESS_T3739769427_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SocketAddress
struct SocketAddress_t3739769427 : public RuntimeObject
{
public:
// System.Int32 System.Net.SocketAddress::m_Size
int32_t ___m_Size_0;
// System.Byte[] System.Net.SocketAddress::m_Buffer
ByteU5BU5D_t4116647657* ___m_Buffer_1;
// System.Boolean System.Net.SocketAddress::m_changed
bool ___m_changed_2;
// System.Int32 System.Net.SocketAddress::m_hash
int32_t ___m_hash_3;
public:
inline static int32_t get_offset_of_m_Size_0() { return static_cast<int32_t>(offsetof(SocketAddress_t3739769427, ___m_Size_0)); }
inline int32_t get_m_Size_0() const { return ___m_Size_0; }
inline int32_t* get_address_of_m_Size_0() { return &___m_Size_0; }
inline void set_m_Size_0(int32_t value)
{
___m_Size_0 = value;
}
inline static int32_t get_offset_of_m_Buffer_1() { return static_cast<int32_t>(offsetof(SocketAddress_t3739769427, ___m_Buffer_1)); }
inline ByteU5BU5D_t4116647657* get_m_Buffer_1() const { return ___m_Buffer_1; }
inline ByteU5BU5D_t4116647657** get_address_of_m_Buffer_1() { return &___m_Buffer_1; }
inline void set_m_Buffer_1(ByteU5BU5D_t4116647657* value)
{
___m_Buffer_1 = value;
Il2CppCodeGenWriteBarrier((&___m_Buffer_1), value);
}
inline static int32_t get_offset_of_m_changed_2() { return static_cast<int32_t>(offsetof(SocketAddress_t3739769427, ___m_changed_2)); }
inline bool get_m_changed_2() const { return ___m_changed_2; }
inline bool* get_address_of_m_changed_2() { return &___m_changed_2; }
inline void set_m_changed_2(bool value)
{
___m_changed_2 = value;
}
inline static int32_t get_offset_of_m_hash_3() { return static_cast<int32_t>(offsetof(SocketAddress_t3739769427, ___m_hash_3)); }
inline int32_t get_m_hash_3() const { return ___m_hash_3; }
inline int32_t* get_address_of_m_hash_3() { return &___m_hash_3; }
inline void set_m_hash_3(int32_t value)
{
___m_hash_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETADDRESS_T3739769427_H
#ifndef U3CU3EC_T240325972_H
#define U3CU3EC_T240325972_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.Socket/<>c
struct U3CU3Ec_t240325972 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t240325972_StaticFields
{
public:
// System.Net.Sockets.Socket/<>c System.Net.Sockets.Socket/<>c::<>9
U3CU3Ec_t240325972 * ___U3CU3E9_0;
// System.IOAsyncCallback System.Net.Sockets.Socket/<>c::<>9__241_0
IOAsyncCallback_t705871752 * ___U3CU3E9__241_0_1;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t240325972_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t240325972 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t240325972 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t240325972 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9_0), value);
}
inline static int32_t get_offset_of_U3CU3E9__241_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t240325972_StaticFields, ___U3CU3E9__241_0_1)); }
inline IOAsyncCallback_t705871752 * get_U3CU3E9__241_0_1() const { return ___U3CU3E9__241_0_1; }
inline IOAsyncCallback_t705871752 ** get_address_of_U3CU3E9__241_0_1() { return &___U3CU3E9__241_0_1; }
inline void set_U3CU3E9__241_0_1(IOAsyncCallback_t705871752 * value)
{
___U3CU3E9__241_0_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9__241_0_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC_T240325972_H
#ifndef DEFAULTCERTIFICATEPOLICY_T3607119947_H
#define DEFAULTCERTIFICATEPOLICY_T3607119947_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.DefaultCertificatePolicy
struct DefaultCertificatePolicy_t3607119947 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DEFAULTCERTIFICATEPOLICY_T3607119947_H
#ifndef SPKEY_T3654231119_H
#define SPKEY_T3654231119_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServicePointManager/SPKey
struct SPKey_t3654231119 : public RuntimeObject
{
public:
// System.Uri System.Net.ServicePointManager/SPKey::uri
Uri_t100236324 * ___uri_0;
// System.Uri System.Net.ServicePointManager/SPKey::proxy
Uri_t100236324 * ___proxy_1;
// System.Boolean System.Net.ServicePointManager/SPKey::use_connect
bool ___use_connect_2;
public:
inline static int32_t get_offset_of_uri_0() { return static_cast<int32_t>(offsetof(SPKey_t3654231119, ___uri_0)); }
inline Uri_t100236324 * get_uri_0() const { return ___uri_0; }
inline Uri_t100236324 ** get_address_of_uri_0() { return &___uri_0; }
inline void set_uri_0(Uri_t100236324 * value)
{
___uri_0 = value;
Il2CppCodeGenWriteBarrier((&___uri_0), value);
}
inline static int32_t get_offset_of_proxy_1() { return static_cast<int32_t>(offsetof(SPKey_t3654231119, ___proxy_1)); }
inline Uri_t100236324 * get_proxy_1() const { return ___proxy_1; }
inline Uri_t100236324 ** get_address_of_proxy_1() { return &___proxy_1; }
inline void set_proxy_1(Uri_t100236324 * value)
{
___proxy_1 = value;
Il2CppCodeGenWriteBarrier((&___proxy_1), value);
}
inline static int32_t get_offset_of_use_connect_2() { return static_cast<int32_t>(offsetof(SPKey_t3654231119, ___use_connect_2)); }
inline bool get_use_connect_2() const { return ___use_connect_2; }
inline bool* get_address_of_use_connect_2() { return &___use_connect_2; }
inline void set_use_connect_2(bool value)
{
___use_connect_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SPKEY_T3654231119_H
#ifndef U3CU3EC__DISPLAYCLASS242_0_T616583391_H
#define U3CU3EC__DISPLAYCLASS242_0_T616583391_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.Socket/<>c__DisplayClass242_0
struct U3CU3Ec__DisplayClass242_0_t616583391 : public RuntimeObject
{
public:
// System.Int32 System.Net.Sockets.Socket/<>c__DisplayClass242_0::sent_so_far
int32_t ___sent_so_far_0;
public:
inline static int32_t get_offset_of_sent_so_far_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass242_0_t616583391, ___sent_so_far_0)); }
inline int32_t get_sent_so_far_0() const { return ___sent_so_far_0; }
inline int32_t* get_address_of_sent_so_far_0() { return &___sent_so_far_0; }
inline void set_sent_so_far_0(int32_t value)
{
___sent_so_far_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC__DISPLAYCLASS242_0_T616583391_H
#ifndef IOASYNCRESULT_T3640145766_H
#define IOASYNCRESULT_T3640145766_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IOAsyncResult
struct IOAsyncResult_t3640145766 : public RuntimeObject
{
public:
// System.AsyncCallback System.IOAsyncResult::async_callback
AsyncCallback_t3962456242 * ___async_callback_0;
// System.Object System.IOAsyncResult::async_state
RuntimeObject * ___async_state_1;
// System.Threading.ManualResetEvent System.IOAsyncResult::wait_handle
ManualResetEvent_t451242010 * ___wait_handle_2;
// System.Boolean System.IOAsyncResult::completed_synchronously
bool ___completed_synchronously_3;
// System.Boolean System.IOAsyncResult::completed
bool ___completed_4;
public:
inline static int32_t get_offset_of_async_callback_0() { return static_cast<int32_t>(offsetof(IOAsyncResult_t3640145766, ___async_callback_0)); }
inline AsyncCallback_t3962456242 * get_async_callback_0() const { return ___async_callback_0; }
inline AsyncCallback_t3962456242 ** get_address_of_async_callback_0() { return &___async_callback_0; }
inline void set_async_callback_0(AsyncCallback_t3962456242 * value)
{
___async_callback_0 = value;
Il2CppCodeGenWriteBarrier((&___async_callback_0), value);
}
inline static int32_t get_offset_of_async_state_1() { return static_cast<int32_t>(offsetof(IOAsyncResult_t3640145766, ___async_state_1)); }
inline RuntimeObject * get_async_state_1() const { return ___async_state_1; }
inline RuntimeObject ** get_address_of_async_state_1() { return &___async_state_1; }
inline void set_async_state_1(RuntimeObject * value)
{
___async_state_1 = value;
Il2CppCodeGenWriteBarrier((&___async_state_1), value);
}
inline static int32_t get_offset_of_wait_handle_2() { return static_cast<int32_t>(offsetof(IOAsyncResult_t3640145766, ___wait_handle_2)); }
inline ManualResetEvent_t451242010 * get_wait_handle_2() const { return ___wait_handle_2; }
inline ManualResetEvent_t451242010 ** get_address_of_wait_handle_2() { return &___wait_handle_2; }
inline void set_wait_handle_2(ManualResetEvent_t451242010 * value)
{
___wait_handle_2 = value;
Il2CppCodeGenWriteBarrier((&___wait_handle_2), value);
}
inline static int32_t get_offset_of_completed_synchronously_3() { return static_cast<int32_t>(offsetof(IOAsyncResult_t3640145766, ___completed_synchronously_3)); }
inline bool get_completed_synchronously_3() const { return ___completed_synchronously_3; }
inline bool* get_address_of_completed_synchronously_3() { return &___completed_synchronously_3; }
inline void set_completed_synchronously_3(bool value)
{
___completed_synchronously_3 = value;
}
inline static int32_t get_offset_of_completed_4() { return static_cast<int32_t>(offsetof(IOAsyncResult_t3640145766, ___completed_4)); }
inline bool get_completed_4() const { return ___completed_4; }
inline bool* get_address_of_completed_4() { return &___completed_4; }
inline void set_completed_4(bool value)
{
___completed_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.IOAsyncResult
struct IOAsyncResult_t3640145766_marshaled_pinvoke
{
Il2CppMethodPointer ___async_callback_0;
Il2CppIUnknown* ___async_state_1;
ManualResetEvent_t451242010 * ___wait_handle_2;
int32_t ___completed_synchronously_3;
int32_t ___completed_4;
};
// Native definition for COM marshalling of System.IOAsyncResult
struct IOAsyncResult_t3640145766_marshaled_com
{
Il2CppMethodPointer ___async_callback_0;
Il2CppIUnknown* ___async_state_1;
ManualResetEvent_t451242010 * ___wait_handle_2;
int32_t ___completed_synchronously_3;
int32_t ___completed_4;
};
#endif // IOASYNCRESULT_T3640145766_H
#ifndef STACKTRACE_T1598645457_H
#define STACKTRACE_T1598645457_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Diagnostics.StackTrace
struct StackTrace_t1598645457 : public RuntimeObject
{
public:
// System.Diagnostics.StackFrame[] System.Diagnostics.StackTrace::frames
StackFrameU5BU5D_t1997726418* ___frames_1;
// System.Diagnostics.StackTrace[] System.Diagnostics.StackTrace::captured_traces
StackTraceU5BU5D_t1169129676* ___captured_traces_2;
// System.Boolean System.Diagnostics.StackTrace::debug_info
bool ___debug_info_3;
public:
inline static int32_t get_offset_of_frames_1() { return static_cast<int32_t>(offsetof(StackTrace_t1598645457, ___frames_1)); }
inline StackFrameU5BU5D_t1997726418* get_frames_1() const { return ___frames_1; }
inline StackFrameU5BU5D_t1997726418** get_address_of_frames_1() { return &___frames_1; }
inline void set_frames_1(StackFrameU5BU5D_t1997726418* value)
{
___frames_1 = value;
Il2CppCodeGenWriteBarrier((&___frames_1), value);
}
inline static int32_t get_offset_of_captured_traces_2() { return static_cast<int32_t>(offsetof(StackTrace_t1598645457, ___captured_traces_2)); }
inline StackTraceU5BU5D_t1169129676* get_captured_traces_2() const { return ___captured_traces_2; }
inline StackTraceU5BU5D_t1169129676** get_address_of_captured_traces_2() { return &___captured_traces_2; }
inline void set_captured_traces_2(StackTraceU5BU5D_t1169129676* value)
{
___captured_traces_2 = value;
Il2CppCodeGenWriteBarrier((&___captured_traces_2), value);
}
inline static int32_t get_offset_of_debug_info_3() { return static_cast<int32_t>(offsetof(StackTrace_t1598645457, ___debug_info_3)); }
inline bool get_debug_info_3() const { return ___debug_info_3; }
inline bool* get_address_of_debug_info_3() { return &___debug_info_3; }
inline void set_debug_info_3(bool value)
{
___debug_info_3 = value;
}
};
struct StackTrace_t1598645457_StaticFields
{
public:
// System.Boolean System.Diagnostics.StackTrace::isAotidSet
bool ___isAotidSet_4;
// System.String System.Diagnostics.StackTrace::aotid
String_t* ___aotid_5;
public:
inline static int32_t get_offset_of_isAotidSet_4() { return static_cast<int32_t>(offsetof(StackTrace_t1598645457_StaticFields, ___isAotidSet_4)); }
inline bool get_isAotidSet_4() const { return ___isAotidSet_4; }
inline bool* get_address_of_isAotidSet_4() { return &___isAotidSet_4; }
inline void set_isAotidSet_4(bool value)
{
___isAotidSet_4 = value;
}
inline static int32_t get_offset_of_aotid_5() { return static_cast<int32_t>(offsetof(StackTrace_t1598645457_StaticFields, ___aotid_5)); }
inline String_t* get_aotid_5() const { return ___aotid_5; }
inline String_t** get_address_of_aotid_5() { return &___aotid_5; }
inline void set_aotid_5(String_t* value)
{
___aotid_5 = value;
Il2CppCodeGenWriteBarrier((&___aotid_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STACKTRACE_T1598645457_H
#ifndef LIST_1_T3772910811_H
#define LIST_1_T3772910811_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<System.Threading.Thread>
struct List_1_t3772910811 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ThreadU5BU5D_t820565480* ____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_t3772910811, ____items_1)); }
inline ThreadU5BU5D_t820565480* get__items_1() const { return ____items_1; }
inline ThreadU5BU5D_t820565480** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ThreadU5BU5D_t820565480* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3772910811, ____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_t3772910811, ____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_t3772910811, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3772910811_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ThreadU5BU5D_t820565480* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3772910811_StaticFields, ____emptyArray_5)); }
inline ThreadU5BU5D_t820565480* get__emptyArray_5() const { return ____emptyArray_5; }
inline ThreadU5BU5D_t820565480** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ThreadU5BU5D_t820565480* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3772910811_H
#ifndef DICTIONARY_2_T922677896_H
#define DICTIONARY_2_T922677896_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>
struct Dictionary_2_t922677896 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t385246372* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t91575121* ___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_t1112353367 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t2638722214 * ___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_t922677896, ___buckets_0)); }
inline Int32U5BU5D_t385246372* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t385246372** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t385246372* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((&___buckets_0), value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t922677896, ___entries_1)); }
inline EntryU5BU5D_t91575121* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t91575121** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t91575121* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((&___entries_1), value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t922677896, ___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_t922677896, ___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_t922677896, ___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_t922677896, ___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_t922677896, ___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((&___comparer_6), value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t922677896, ___keys_7)); }
inline KeyCollection_t1112353367 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t1112353367 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t1112353367 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((&___keys_7), value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t922677896, ___values_8)); }
inline ValueCollection_t2638722214 * get_values_8() const { return ___values_8; }
inline ValueCollection_t2638722214 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t2638722214 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((&___values_8), value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t922677896, ____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((&____syncRoot_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T922677896_H
#ifndef MULTICASTOPTION_T3861143239_H
#define MULTICASTOPTION_T3861143239_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.MulticastOption
struct MulticastOption_t3861143239 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MULTICASTOPTION_T3861143239_H
#ifndef STRINGBUILDER_T_H
#define STRINGBUILDER_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t3528271667* ___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_t3528271667* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t3528271667** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t3528271667* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((&___m_ChunkChars_0), 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((&___m_ChunkPrevious_1), 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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRINGBUILDER_T_H
#ifndef LOGGING_T3111638700_H
#define LOGGING_T3111638700_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Logging
struct Logging_t3111638700 : public RuntimeObject
{
public:
public:
};
struct Logging_t3111638700_StaticFields
{
public:
// System.Boolean System.Net.Logging::On
bool ___On_0;
public:
inline static int32_t get_offset_of_On_0() { return static_cast<int32_t>(offsetof(Logging_t3111638700_StaticFields, ___On_0)); }
inline bool get_On_0() const { return ___On_0; }
inline bool* get_address_of_On_0() { return &___On_0; }
inline void set_On_0(bool value)
{
___On_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOGGING_T3111638700_H
#ifndef LINGEROPTION_T2688985448_H
#define LINGEROPTION_T2688985448_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.LingerOption
struct LingerOption_t2688985448 : public RuntimeObject
{
public:
// System.Boolean System.Net.Sockets.LingerOption::enabled
bool ___enabled_0;
// System.Int32 System.Net.Sockets.LingerOption::lingerTime
int32_t ___lingerTime_1;
public:
inline static int32_t get_offset_of_enabled_0() { return static_cast<int32_t>(offsetof(LingerOption_t2688985448, ___enabled_0)); }
inline bool get_enabled_0() const { return ___enabled_0; }
inline bool* get_address_of_enabled_0() { return &___enabled_0; }
inline void set_enabled_0(bool value)
{
___enabled_0 = value;
}
inline static int32_t get_offset_of_lingerTime_1() { return static_cast<int32_t>(offsetof(LingerOption_t2688985448, ___lingerTime_1)); }
inline int32_t get_lingerTime_1() const { return ___lingerTime_1; }
inline int32_t* get_address_of_lingerTime_1() { return &___lingerTime_1; }
inline void set_lingerTime_1(int32_t value)
{
___lingerTime_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LINGEROPTION_T2688985448_H
#ifndef CONNECTIONMANAGEMENTDATA_T2003128658_H
#define CONNECTIONMANAGEMENTDATA_T2003128658_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Configuration.ConnectionManagementData
struct ConnectionManagementData_t2003128658 : public RuntimeObject
{
public:
// System.Collections.Hashtable System.Net.Configuration.ConnectionManagementData::data
Hashtable_t1853889766 * ___data_0;
public:
inline static int32_t get_offset_of_data_0() { return static_cast<int32_t>(offsetof(ConnectionManagementData_t2003128658, ___data_0)); }
inline Hashtable_t1853889766 * get_data_0() const { return ___data_0; }
inline Hashtable_t1853889766 ** get_address_of_data_0() { return &___data_0; }
inline void set_data_0(Hashtable_t1853889766 * value)
{
___data_0 = value;
Il2CppCodeGenWriteBarrier((&___data_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTIONMANAGEMENTDATA_T2003128658_H
#ifndef LIST_1_T3184454730_H
#define LIST_1_T3184454730_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<System.Net.WebConnectionGroup>
struct List_1_t3184454730 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
WebConnectionGroupU5BU5D_t1800812509* ____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_t3184454730, ____items_1)); }
inline WebConnectionGroupU5BU5D_t1800812509* get__items_1() const { return ____items_1; }
inline WebConnectionGroupU5BU5D_t1800812509** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(WebConnectionGroupU5BU5D_t1800812509* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3184454730, ____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_t3184454730, ____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_t3184454730, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3184454730_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
WebConnectionGroupU5BU5D_t1800812509* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3184454730_StaticFields, ____emptyArray_5)); }
inline WebConnectionGroupU5BU5D_t1800812509* get__emptyArray_5() const { return ____emptyArray_5; }
inline WebConnectionGroupU5BU5D_t1800812509** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(WebConnectionGroupU5BU5D_t1800812509* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3184454730_H
#ifndef VALUECOLLECTION_T3213680605_H
#define VALUECOLLECTION_T3213680605_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Net.WebConnectionGroup>
struct ValueCollection_t3213680605 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/ValueCollection::dictionary
Dictionary_2_t1497636287 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(ValueCollection_t3213680605, ___dictionary_0)); }
inline Dictionary_2_t1497636287 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t1497636287 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t1497636287 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((&___dictionary_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VALUECOLLECTION_T3213680605_H
#ifndef IPHOSTENTRY_T263743900_H
#define IPHOSTENTRY_T263743900_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.IPHostEntry
struct IPHostEntry_t263743900 : public RuntimeObject
{
public:
// System.String System.Net.IPHostEntry::hostName
String_t* ___hostName_0;
// System.String[] System.Net.IPHostEntry::aliases
StringU5BU5D_t1281789340* ___aliases_1;
// System.Net.IPAddress[] System.Net.IPHostEntry::addressList
IPAddressU5BU5D_t596328627* ___addressList_2;
// System.Boolean System.Net.IPHostEntry::isTrustedHost
bool ___isTrustedHost_3;
public:
inline static int32_t get_offset_of_hostName_0() { return static_cast<int32_t>(offsetof(IPHostEntry_t263743900, ___hostName_0)); }
inline String_t* get_hostName_0() const { return ___hostName_0; }
inline String_t** get_address_of_hostName_0() { return &___hostName_0; }
inline void set_hostName_0(String_t* value)
{
___hostName_0 = value;
Il2CppCodeGenWriteBarrier((&___hostName_0), value);
}
inline static int32_t get_offset_of_aliases_1() { return static_cast<int32_t>(offsetof(IPHostEntry_t263743900, ___aliases_1)); }
inline StringU5BU5D_t1281789340* get_aliases_1() const { return ___aliases_1; }
inline StringU5BU5D_t1281789340** get_address_of_aliases_1() { return &___aliases_1; }
inline void set_aliases_1(StringU5BU5D_t1281789340* value)
{
___aliases_1 = value;
Il2CppCodeGenWriteBarrier((&___aliases_1), value);
}
inline static int32_t get_offset_of_addressList_2() { return static_cast<int32_t>(offsetof(IPHostEntry_t263743900, ___addressList_2)); }
inline IPAddressU5BU5D_t596328627* get_addressList_2() const { return ___addressList_2; }
inline IPAddressU5BU5D_t596328627** get_address_of_addressList_2() { return &___addressList_2; }
inline void set_addressList_2(IPAddressU5BU5D_t596328627* value)
{
___addressList_2 = value;
Il2CppCodeGenWriteBarrier((&___addressList_2), value);
}
inline static int32_t get_offset_of_isTrustedHost_3() { return static_cast<int32_t>(offsetof(IPHostEntry_t263743900, ___isTrustedHost_3)); }
inline bool get_isTrustedHost_3() const { return ___isTrustedHost_3; }
inline bool* get_address_of_isTrustedHost_3() { return &___isTrustedHost_3; }
inline void set_isTrustedHost_3(bool value)
{
___isTrustedHost_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPHOSTENTRY_T263743900_H
#ifndef QUEUE_T4148454536_H
#define QUEUE_T4148454536_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/Queue
struct Queue_t4148454536 : public RuntimeObject
{
public:
// System.Int32 System.Net.TimerThread/Queue::m_DurationMilliseconds
int32_t ___m_DurationMilliseconds_0;
public:
inline static int32_t get_offset_of_m_DurationMilliseconds_0() { return static_cast<int32_t>(offsetof(Queue_t4148454536, ___m_DurationMilliseconds_0)); }
inline int32_t get_m_DurationMilliseconds_0() const { return ___m_DurationMilliseconds_0; }
inline int32_t* get_address_of_m_DurationMilliseconds_0() { return &___m_DurationMilliseconds_0; }
inline void set_m_DurationMilliseconds_0(int32_t value)
{
___m_DurationMilliseconds_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // QUEUE_T4148454536_H
#ifndef WEBCONNECTIONGROUP_T1712379988_H
#define WEBCONNECTIONGROUP_T1712379988_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnectionGroup
struct WebConnectionGroup_t1712379988 : public RuntimeObject
{
public:
// System.Net.ServicePoint System.Net.WebConnectionGroup::sPoint
ServicePoint_t2786966844 * ___sPoint_0;
// System.String System.Net.WebConnectionGroup::name
String_t* ___name_1;
// System.Collections.Generic.LinkedList`1<System.Net.WebConnectionGroup/ConnectionState> System.Net.WebConnectionGroup::connections
LinkedList_1_t491222822 * ___connections_2;
// System.Collections.Queue System.Net.WebConnectionGroup::queue
Queue_t3637523393 * ___queue_3;
// System.Boolean System.Net.WebConnectionGroup::closing
bool ___closing_4;
// System.EventHandler System.Net.WebConnectionGroup::ConnectionClosed
EventHandler_t1348719766 * ___ConnectionClosed_5;
public:
inline static int32_t get_offset_of_sPoint_0() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___sPoint_0)); }
inline ServicePoint_t2786966844 * get_sPoint_0() const { return ___sPoint_0; }
inline ServicePoint_t2786966844 ** get_address_of_sPoint_0() { return &___sPoint_0; }
inline void set_sPoint_0(ServicePoint_t2786966844 * value)
{
___sPoint_0 = value;
Il2CppCodeGenWriteBarrier((&___sPoint_0), value);
}
inline static int32_t get_offset_of_name_1() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___name_1)); }
inline String_t* get_name_1() const { return ___name_1; }
inline String_t** get_address_of_name_1() { return &___name_1; }
inline void set_name_1(String_t* value)
{
___name_1 = value;
Il2CppCodeGenWriteBarrier((&___name_1), value);
}
inline static int32_t get_offset_of_connections_2() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___connections_2)); }
inline LinkedList_1_t491222822 * get_connections_2() const { return ___connections_2; }
inline LinkedList_1_t491222822 ** get_address_of_connections_2() { return &___connections_2; }
inline void set_connections_2(LinkedList_1_t491222822 * value)
{
___connections_2 = value;
Il2CppCodeGenWriteBarrier((&___connections_2), value);
}
inline static int32_t get_offset_of_queue_3() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___queue_3)); }
inline Queue_t3637523393 * get_queue_3() const { return ___queue_3; }
inline Queue_t3637523393 ** get_address_of_queue_3() { return &___queue_3; }
inline void set_queue_3(Queue_t3637523393 * value)
{
___queue_3 = value;
Il2CppCodeGenWriteBarrier((&___queue_3), value);
}
inline static int32_t get_offset_of_closing_4() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___closing_4)); }
inline bool get_closing_4() const { return ___closing_4; }
inline bool* get_address_of_closing_4() { return &___closing_4; }
inline void set_closing_4(bool value)
{
___closing_4 = value;
}
inline static int32_t get_offset_of_ConnectionClosed_5() { return static_cast<int32_t>(offsetof(WebConnectionGroup_t1712379988, ___ConnectionClosed_5)); }
inline EventHandler_t1348719766 * get_ConnectionClosed_5() const { return ___ConnectionClosed_5; }
inline EventHandler_t1348719766 ** get_address_of_ConnectionClosed_5() { return &___ConnectionClosed_5; }
inline void set_ConnectionClosed_5(EventHandler_t1348719766 * value)
{
___ConnectionClosed_5 = value;
Il2CppCodeGenWriteBarrier((&___ConnectionClosed_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBCONNECTIONGROUP_T1712379988_H
#ifndef DICTIONARY_2_T1497636287_H
#define DICTIONARY_2_T1497636287_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>
struct Dictionary_2_t1497636287 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t385246372* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t1404049758* ___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_t1687311758 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t3213680605 * ___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_t1497636287, ___buckets_0)); }
inline Int32U5BU5D_t385246372* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t385246372** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t385246372* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((&___buckets_0), value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t1497636287, ___entries_1)); }
inline EntryU5BU5D_t1404049758* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t1404049758** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t1404049758* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((&___entries_1), value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t1497636287, ___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_t1497636287, ___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_t1497636287, ___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_t1497636287, ___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_t1497636287, ___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((&___comparer_6), value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t1497636287, ___keys_7)); }
inline KeyCollection_t1687311758 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t1687311758 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t1687311758 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((&___keys_7), value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t1497636287, ___values_8)); }
inline ValueCollection_t3213680605 * get_values_8() const { return ___values_8; }
inline ValueCollection_t3213680605 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t3213680605 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((&___values_8), value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t1497636287, ____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((&____syncRoot_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T1497636287_H
#ifndef EVENTARGS_T3591816995_H
#define EVENTARGS_T3591816995_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.EventArgs
struct EventArgs_t3591816995 : public RuntimeObject
{
public:
public:
};
struct EventArgs_t3591816995_StaticFields
{
public:
// System.EventArgs System.EventArgs::Empty
EventArgs_t3591816995 * ___Empty_0;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(EventArgs_t3591816995_StaticFields, ___Empty_0)); }
inline EventArgs_t3591816995 * get_Empty_0() const { return ___Empty_0; }
inline EventArgs_t3591816995 ** get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(EventArgs_t3591816995 * value)
{
___Empty_0 = value;
Il2CppCodeGenWriteBarrier((&___Empty_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTARGS_T3591816995_H
#ifndef LINKEDLIST_1_T174532725_H
#define LINKEDLIST_1_T174532725_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.LinkedList`1<System.WeakReference>
struct LinkedList_1_t174532725 : public RuntimeObject
{
public:
// System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1::head
LinkedListNode_1_t1080061819 * ___head_0;
// System.Int32 System.Collections.Generic.LinkedList`1::count
int32_t ___count_1;
// System.Int32 System.Collections.Generic.LinkedList`1::version
int32_t ___version_2;
// System.Object System.Collections.Generic.LinkedList`1::_syncRoot
RuntimeObject * ____syncRoot_3;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.LinkedList`1::_siInfo
SerializationInfo_t950877179 * ____siInfo_4;
public:
inline static int32_t get_offset_of_head_0() { return static_cast<int32_t>(offsetof(LinkedList_1_t174532725, ___head_0)); }
inline LinkedListNode_1_t1080061819 * get_head_0() const { return ___head_0; }
inline LinkedListNode_1_t1080061819 ** get_address_of_head_0() { return &___head_0; }
inline void set_head_0(LinkedListNode_1_t1080061819 * value)
{
___head_0 = value;
Il2CppCodeGenWriteBarrier((&___head_0), value);
}
inline static int32_t get_offset_of_count_1() { return static_cast<int32_t>(offsetof(LinkedList_1_t174532725, ___count_1)); }
inline int32_t get_count_1() const { return ___count_1; }
inline int32_t* get_address_of_count_1() { return &___count_1; }
inline void set_count_1(int32_t value)
{
___count_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(LinkedList_1_t174532725, ___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__syncRoot_3() { return static_cast<int32_t>(offsetof(LinkedList_1_t174532725, ____syncRoot_3)); }
inline RuntimeObject * get__syncRoot_3() const { return ____syncRoot_3; }
inline RuntimeObject ** get_address_of__syncRoot_3() { return &____syncRoot_3; }
inline void set__syncRoot_3(RuntimeObject * value)
{
____syncRoot_3 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_3), value);
}
inline static int32_t get_offset_of__siInfo_4() { return static_cast<int32_t>(offsetof(LinkedList_1_t174532725, ____siInfo_4)); }
inline SerializationInfo_t950877179 * get__siInfo_4() const { return ____siInfo_4; }
inline SerializationInfo_t950877179 ** get_address_of__siInfo_4() { return &____siInfo_4; }
inline void set__siInfo_4(SerializationInfo_t950877179 * value)
{
____siInfo_4 = value;
Il2CppCodeGenWriteBarrier((&____siInfo_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LINKEDLIST_1_T174532725_H
#ifndef SOCKETTASKEXTENSIONS_T3088551067_H
#define SOCKETTASKEXTENSIONS_T3088551067_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketTaskExtensions
struct SocketTaskExtensions_t3088551067 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETTASKEXTENSIONS_T3088551067_H
#ifndef U3CU3EC_T3573335103_H
#define U3CU3EC_T3573335103_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketAsyncResult/<>c
struct U3CU3Ec_t3573335103 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t3573335103_StaticFields
{
public:
// System.Net.Sockets.SocketAsyncResult/<>c System.Net.Sockets.SocketAsyncResult/<>c::<>9
U3CU3Ec_t3573335103 * ___U3CU3E9_0;
// System.Threading.WaitCallback System.Net.Sockets.SocketAsyncResult/<>c::<>9__27_0
WaitCallback_t2448485498 * ___U3CU3E9__27_0_1;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t3573335103_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t3573335103 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t3573335103 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t3573335103 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9_0), value);
}
inline static int32_t get_offset_of_U3CU3E9__27_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t3573335103_StaticFields, ___U3CU3E9__27_0_1)); }
inline WaitCallback_t2448485498 * get_U3CU3E9__27_0_1() const { return ___U3CU3E9__27_0_1; }
inline WaitCallback_t2448485498 ** get_address_of_U3CU3E9__27_0_1() { return &___U3CU3E9__27_0_1; }
inline void set_U3CU3E9__27_0_1(WaitCallback_t2448485498 * value)
{
___U3CU3E9__27_0_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9__27_0_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC_T3573335103_H
#ifndef HYBRIDDICTIONARY_T4070033136_H
#define HYBRIDDICTIONARY_T4070033136_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Specialized.HybridDictionary
struct HybridDictionary_t4070033136 : public RuntimeObject
{
public:
// System.Collections.Specialized.ListDictionary System.Collections.Specialized.HybridDictionary::list
ListDictionary_t1624492310 * ___list_0;
// System.Collections.Hashtable System.Collections.Specialized.HybridDictionary::hashtable
Hashtable_t1853889766 * ___hashtable_1;
// System.Boolean System.Collections.Specialized.HybridDictionary::caseInsensitive
bool ___caseInsensitive_2;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(HybridDictionary_t4070033136, ___list_0)); }
inline ListDictionary_t1624492310 * get_list_0() const { return ___list_0; }
inline ListDictionary_t1624492310 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(ListDictionary_t1624492310 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_hashtable_1() { return static_cast<int32_t>(offsetof(HybridDictionary_t4070033136, ___hashtable_1)); }
inline Hashtable_t1853889766 * get_hashtable_1() const { return ___hashtable_1; }
inline Hashtable_t1853889766 ** get_address_of_hashtable_1() { return &___hashtable_1; }
inline void set_hashtable_1(Hashtable_t1853889766 * value)
{
___hashtable_1 = value;
Il2CppCodeGenWriteBarrier((&___hashtable_1), value);
}
inline static int32_t get_offset_of_caseInsensitive_2() { return static_cast<int32_t>(offsetof(HybridDictionary_t4070033136, ___caseInsensitive_2)); }
inline bool get_caseInsensitive_2() const { return ___caseInsensitive_2; }
inline bool* get_address_of_caseInsensitive_2() { return &___caseInsensitive_2; }
inline void set_caseInsensitive_2(bool value)
{
___caseInsensitive_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HYBRIDDICTIONARY_T4070033136_H
#ifndef U3CU3EC_T3618281371_H
#define U3CU3EC_T3618281371_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketTaskExtensions/<>c
struct U3CU3Ec_t3618281371 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t3618281371_StaticFields
{
public:
// System.Net.Sockets.SocketTaskExtensions/<>c System.Net.Sockets.SocketTaskExtensions/<>c::<>9
U3CU3Ec_t3618281371 * ___U3CU3E9_0;
// System.Func`5<System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object,System.IAsyncResult> System.Net.Sockets.SocketTaskExtensions/<>c::<>9__3_0
Func_5_t3425908549 * ___U3CU3E9__3_0_1;
// System.Action`1<System.IAsyncResult> System.Net.Sockets.SocketTaskExtensions/<>c::<>9__3_1
Action_1_t939472046 * ___U3CU3E9__3_1_2;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t3618281371_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t3618281371 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t3618281371 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t3618281371 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9_0), value);
}
inline static int32_t get_offset_of_U3CU3E9__3_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t3618281371_StaticFields, ___U3CU3E9__3_0_1)); }
inline Func_5_t3425908549 * get_U3CU3E9__3_0_1() const { return ___U3CU3E9__3_0_1; }
inline Func_5_t3425908549 ** get_address_of_U3CU3E9__3_0_1() { return &___U3CU3E9__3_0_1; }
inline void set_U3CU3E9__3_0_1(Func_5_t3425908549 * value)
{
___U3CU3E9__3_0_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9__3_0_1), value);
}
inline static int32_t get_offset_of_U3CU3E9__3_1_2() { return static_cast<int32_t>(offsetof(U3CU3Ec_t3618281371_StaticFields, ___U3CU3E9__3_1_2)); }
inline Action_1_t939472046 * get_U3CU3E9__3_1_2() const { return ___U3CU3E9__3_1_2; }
inline Action_1_t939472046 ** get_address_of_U3CU3E9__3_1_2() { return &___U3CU3E9__3_1_2; }
inline void set_U3CU3E9__3_1_2(Action_1_t939472046 * value)
{
___U3CU3E9__3_1_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E9__3_1_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC_T3618281371_H
#ifndef TIMERTHREAD_T2067025694_H
#define TIMERTHREAD_T2067025694_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread
struct TimerThread_t2067025694 : public RuntimeObject
{
public:
public:
};
struct TimerThread_t2067025694_StaticFields
{
public:
// System.Collections.Generic.LinkedList`1<System.WeakReference> System.Net.TimerThread::s_Queues
LinkedList_1_t174532725 * ___s_Queues_0;
// System.Collections.Generic.LinkedList`1<System.WeakReference> System.Net.TimerThread::s_NewQueues
LinkedList_1_t174532725 * ___s_NewQueues_1;
// System.Int32 System.Net.TimerThread::s_ThreadState
int32_t ___s_ThreadState_2;
// System.Threading.AutoResetEvent System.Net.TimerThread::s_ThreadReadyEvent
AutoResetEvent_t1333520283 * ___s_ThreadReadyEvent_3;
// System.Threading.ManualResetEvent System.Net.TimerThread::s_ThreadShutdownEvent
ManualResetEvent_t451242010 * ___s_ThreadShutdownEvent_4;
// System.Threading.WaitHandle[] System.Net.TimerThread::s_ThreadEvents
WaitHandleU5BU5D_t96772038* ___s_ThreadEvents_5;
// System.Collections.Hashtable System.Net.TimerThread::s_QueuesCache
Hashtable_t1853889766 * ___s_QueuesCache_6;
public:
inline static int32_t get_offset_of_s_Queues_0() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_Queues_0)); }
inline LinkedList_1_t174532725 * get_s_Queues_0() const { return ___s_Queues_0; }
inline LinkedList_1_t174532725 ** get_address_of_s_Queues_0() { return &___s_Queues_0; }
inline void set_s_Queues_0(LinkedList_1_t174532725 * value)
{
___s_Queues_0 = value;
Il2CppCodeGenWriteBarrier((&___s_Queues_0), value);
}
inline static int32_t get_offset_of_s_NewQueues_1() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_NewQueues_1)); }
inline LinkedList_1_t174532725 * get_s_NewQueues_1() const { return ___s_NewQueues_1; }
inline LinkedList_1_t174532725 ** get_address_of_s_NewQueues_1() { return &___s_NewQueues_1; }
inline void set_s_NewQueues_1(LinkedList_1_t174532725 * value)
{
___s_NewQueues_1 = value;
Il2CppCodeGenWriteBarrier((&___s_NewQueues_1), value);
}
inline static int32_t get_offset_of_s_ThreadState_2() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_ThreadState_2)); }
inline int32_t get_s_ThreadState_2() const { return ___s_ThreadState_2; }
inline int32_t* get_address_of_s_ThreadState_2() { return &___s_ThreadState_2; }
inline void set_s_ThreadState_2(int32_t value)
{
___s_ThreadState_2 = value;
}
inline static int32_t get_offset_of_s_ThreadReadyEvent_3() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_ThreadReadyEvent_3)); }
inline AutoResetEvent_t1333520283 * get_s_ThreadReadyEvent_3() const { return ___s_ThreadReadyEvent_3; }
inline AutoResetEvent_t1333520283 ** get_address_of_s_ThreadReadyEvent_3() { return &___s_ThreadReadyEvent_3; }
inline void set_s_ThreadReadyEvent_3(AutoResetEvent_t1333520283 * value)
{
___s_ThreadReadyEvent_3 = value;
Il2CppCodeGenWriteBarrier((&___s_ThreadReadyEvent_3), value);
}
inline static int32_t get_offset_of_s_ThreadShutdownEvent_4() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_ThreadShutdownEvent_4)); }
inline ManualResetEvent_t451242010 * get_s_ThreadShutdownEvent_4() const { return ___s_ThreadShutdownEvent_4; }
inline ManualResetEvent_t451242010 ** get_address_of_s_ThreadShutdownEvent_4() { return &___s_ThreadShutdownEvent_4; }
inline void set_s_ThreadShutdownEvent_4(ManualResetEvent_t451242010 * value)
{
___s_ThreadShutdownEvent_4 = value;
Il2CppCodeGenWriteBarrier((&___s_ThreadShutdownEvent_4), value);
}
inline static int32_t get_offset_of_s_ThreadEvents_5() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_ThreadEvents_5)); }
inline WaitHandleU5BU5D_t96772038* get_s_ThreadEvents_5() const { return ___s_ThreadEvents_5; }
inline WaitHandleU5BU5D_t96772038** get_address_of_s_ThreadEvents_5() { return &___s_ThreadEvents_5; }
inline void set_s_ThreadEvents_5(WaitHandleU5BU5D_t96772038* value)
{
___s_ThreadEvents_5 = value;
Il2CppCodeGenWriteBarrier((&___s_ThreadEvents_5), value);
}
inline static int32_t get_offset_of_s_QueuesCache_6() { return static_cast<int32_t>(offsetof(TimerThread_t2067025694_StaticFields, ___s_QueuesCache_6)); }
inline Hashtable_t1853889766 * get_s_QueuesCache_6() const { return ___s_QueuesCache_6; }
inline Hashtable_t1853889766 ** get_address_of_s_QueuesCache_6() { return &___s_QueuesCache_6; }
inline void set_s_QueuesCache_6(Hashtable_t1853889766 * value)
{
___s_QueuesCache_6 = value;
Il2CppCodeGenWriteBarrier((&___s_QueuesCache_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERTHREAD_T2067025694_H
#ifndef NETWORKCREDENTIAL_T3282608323_H
#define NETWORKCREDENTIAL_T3282608323_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkCredential
struct NetworkCredential_t3282608323 : public RuntimeObject
{
public:
// System.String System.Net.NetworkCredential::m_domain
String_t* ___m_domain_0;
// System.String System.Net.NetworkCredential::m_userName
String_t* ___m_userName_1;
// System.Security.SecureString System.Net.NetworkCredential::m_password
SecureString_t3041467854 * ___m_password_2;
public:
inline static int32_t get_offset_of_m_domain_0() { return static_cast<int32_t>(offsetof(NetworkCredential_t3282608323, ___m_domain_0)); }
inline String_t* get_m_domain_0() const { return ___m_domain_0; }
inline String_t** get_address_of_m_domain_0() { return &___m_domain_0; }
inline void set_m_domain_0(String_t* value)
{
___m_domain_0 = value;
Il2CppCodeGenWriteBarrier((&___m_domain_0), value);
}
inline static int32_t get_offset_of_m_userName_1() { return static_cast<int32_t>(offsetof(NetworkCredential_t3282608323, ___m_userName_1)); }
inline String_t* get_m_userName_1() const { return ___m_userName_1; }
inline String_t** get_address_of_m_userName_1() { return &___m_userName_1; }
inline void set_m_userName_1(String_t* value)
{
___m_userName_1 = value;
Il2CppCodeGenWriteBarrier((&___m_userName_1), value);
}
inline static int32_t get_offset_of_m_password_2() { return static_cast<int32_t>(offsetof(NetworkCredential_t3282608323, ___m_password_2)); }
inline SecureString_t3041467854 * get_m_password_2() const { return ___m_password_2; }
inline SecureString_t3041467854 ** get_address_of_m_password_2() { return &___m_password_2; }
inline void set_m_password_2(SecureString_t3041467854 * value)
{
___m_password_2 = value;
Il2CppCodeGenWriteBarrier((&___m_password_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKCREDENTIAL_T3282608323_H
#ifndef ENDPOINT_T982345378_H
#define ENDPOINT_T982345378_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.EndPoint
struct EndPoint_t982345378 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENDPOINT_T982345378_H
#ifndef NAMEOBJECTCOLLECTIONBASE_T2091847364_H
#define NAMEOBJECTCOLLECTIONBASE_T2091847364_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Specialized.NameObjectCollectionBase
struct NameObjectCollectionBase_t2091847364 : public RuntimeObject
{
public:
// System.Boolean System.Collections.Specialized.NameObjectCollectionBase::_readOnly
bool ____readOnly_0;
// System.Collections.ArrayList System.Collections.Specialized.NameObjectCollectionBase::_entriesArray
ArrayList_t2718874744 * ____entriesArray_1;
// System.Collections.IEqualityComparer System.Collections.Specialized.NameObjectCollectionBase::_keyComparer
RuntimeObject* ____keyComparer_2;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Specialized.NameObjectCollectionBase::_entriesTable
Hashtable_t1853889766 * ____entriesTable_3;
// System.Collections.Specialized.NameObjectCollectionBase/NameObjectEntry modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Specialized.NameObjectCollectionBase::_nullKeyEntry
NameObjectEntry_t4224248211 * ____nullKeyEntry_4;
// System.Collections.Specialized.NameObjectCollectionBase/KeysCollection System.Collections.Specialized.NameObjectCollectionBase::_keys
KeysCollection_t1318642398 * ____keys_5;
// System.Runtime.Serialization.SerializationInfo System.Collections.Specialized.NameObjectCollectionBase::_serializationInfo
SerializationInfo_t950877179 * ____serializationInfo_6;
// System.Int32 System.Collections.Specialized.NameObjectCollectionBase::_version
int32_t ____version_7;
// System.Object System.Collections.Specialized.NameObjectCollectionBase::_syncRoot
RuntimeObject * ____syncRoot_8;
public:
inline static int32_t get_offset_of__readOnly_0() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____readOnly_0)); }
inline bool get__readOnly_0() const { return ____readOnly_0; }
inline bool* get_address_of__readOnly_0() { return &____readOnly_0; }
inline void set__readOnly_0(bool value)
{
____readOnly_0 = value;
}
inline static int32_t get_offset_of__entriesArray_1() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____entriesArray_1)); }
inline ArrayList_t2718874744 * get__entriesArray_1() const { return ____entriesArray_1; }
inline ArrayList_t2718874744 ** get_address_of__entriesArray_1() { return &____entriesArray_1; }
inline void set__entriesArray_1(ArrayList_t2718874744 * value)
{
____entriesArray_1 = value;
Il2CppCodeGenWriteBarrier((&____entriesArray_1), value);
}
inline static int32_t get_offset_of__keyComparer_2() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____keyComparer_2)); }
inline RuntimeObject* get__keyComparer_2() const { return ____keyComparer_2; }
inline RuntimeObject** get_address_of__keyComparer_2() { return &____keyComparer_2; }
inline void set__keyComparer_2(RuntimeObject* value)
{
____keyComparer_2 = value;
Il2CppCodeGenWriteBarrier((&____keyComparer_2), value);
}
inline static int32_t get_offset_of__entriesTable_3() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____entriesTable_3)); }
inline Hashtable_t1853889766 * get__entriesTable_3() const { return ____entriesTable_3; }
inline Hashtable_t1853889766 ** get_address_of__entriesTable_3() { return &____entriesTable_3; }
inline void set__entriesTable_3(Hashtable_t1853889766 * value)
{
____entriesTable_3 = value;
Il2CppCodeGenWriteBarrier((&____entriesTable_3), value);
}
inline static int32_t get_offset_of__nullKeyEntry_4() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____nullKeyEntry_4)); }
inline NameObjectEntry_t4224248211 * get__nullKeyEntry_4() const { return ____nullKeyEntry_4; }
inline NameObjectEntry_t4224248211 ** get_address_of__nullKeyEntry_4() { return &____nullKeyEntry_4; }
inline void set__nullKeyEntry_4(NameObjectEntry_t4224248211 * value)
{
____nullKeyEntry_4 = value;
Il2CppCodeGenWriteBarrier((&____nullKeyEntry_4), value);
}
inline static int32_t get_offset_of__keys_5() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____keys_5)); }
inline KeysCollection_t1318642398 * get__keys_5() const { return ____keys_5; }
inline KeysCollection_t1318642398 ** get_address_of__keys_5() { return &____keys_5; }
inline void set__keys_5(KeysCollection_t1318642398 * value)
{
____keys_5 = value;
Il2CppCodeGenWriteBarrier((&____keys_5), value);
}
inline static int32_t get_offset_of__serializationInfo_6() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____serializationInfo_6)); }
inline SerializationInfo_t950877179 * get__serializationInfo_6() const { return ____serializationInfo_6; }
inline SerializationInfo_t950877179 ** get_address_of__serializationInfo_6() { return &____serializationInfo_6; }
inline void set__serializationInfo_6(SerializationInfo_t950877179 * value)
{
____serializationInfo_6 = value;
Il2CppCodeGenWriteBarrier((&____serializationInfo_6), value);
}
inline static int32_t get_offset_of__version_7() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____version_7)); }
inline int32_t get__version_7() const { return ____version_7; }
inline int32_t* get_address_of__version_7() { return &____version_7; }
inline void set__version_7(int32_t value)
{
____version_7 = value;
}
inline static int32_t get_offset_of__syncRoot_8() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364, ____syncRoot_8)); }
inline RuntimeObject * get__syncRoot_8() const { return ____syncRoot_8; }
inline RuntimeObject ** get_address_of__syncRoot_8() { return &____syncRoot_8; }
inline void set__syncRoot_8(RuntimeObject * value)
{
____syncRoot_8 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_8), value);
}
};
struct NameObjectCollectionBase_t2091847364_StaticFields
{
public:
// System.StringComparer System.Collections.Specialized.NameObjectCollectionBase::defaultComparer
StringComparer_t3301955079 * ___defaultComparer_9;
public:
inline static int32_t get_offset_of_defaultComparer_9() { return static_cast<int32_t>(offsetof(NameObjectCollectionBase_t2091847364_StaticFields, ___defaultComparer_9)); }
inline StringComparer_t3301955079 * get_defaultComparer_9() const { return ___defaultComparer_9; }
inline StringComparer_t3301955079 ** get_address_of_defaultComparer_9() { return &___defaultComparer_9; }
inline void set_defaultComparer_9(StringComparer_t3301955079 * value)
{
___defaultComparer_9 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NAMEOBJECTCOLLECTIONBASE_T2091847364_H
#ifndef GROUPCOLLECTION_T69770484_H
#define GROUPCOLLECTION_T69770484_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.GroupCollection
struct GroupCollection_t69770484 : public RuntimeObject
{
public:
// System.Text.RegularExpressions.Match System.Text.RegularExpressions.GroupCollection::_match
Match_t3408321083 * ____match_0;
// System.Collections.Hashtable System.Text.RegularExpressions.GroupCollection::_captureMap
Hashtable_t1853889766 * ____captureMap_1;
// System.Text.RegularExpressions.Group[] System.Text.RegularExpressions.GroupCollection::_groups
GroupU5BU5D_t1880820351* ____groups_2;
public:
inline static int32_t get_offset_of__match_0() { return static_cast<int32_t>(offsetof(GroupCollection_t69770484, ____match_0)); }
inline Match_t3408321083 * get__match_0() const { return ____match_0; }
inline Match_t3408321083 ** get_address_of__match_0() { return &____match_0; }
inline void set__match_0(Match_t3408321083 * value)
{
____match_0 = value;
Il2CppCodeGenWriteBarrier((&____match_0), value);
}
inline static int32_t get_offset_of__captureMap_1() { return static_cast<int32_t>(offsetof(GroupCollection_t69770484, ____captureMap_1)); }
inline Hashtable_t1853889766 * get__captureMap_1() const { return ____captureMap_1; }
inline Hashtable_t1853889766 ** get_address_of__captureMap_1() { return &____captureMap_1; }
inline void set__captureMap_1(Hashtable_t1853889766 * value)
{
____captureMap_1 = value;
Il2CppCodeGenWriteBarrier((&____captureMap_1), value);
}
inline static int32_t get_offset_of__groups_2() { return static_cast<int32_t>(offsetof(GroupCollection_t69770484, ____groups_2)); }
inline GroupU5BU5D_t1880820351* get__groups_2() const { return ____groups_2; }
inline GroupU5BU5D_t1880820351** get_address_of__groups_2() { return &____groups_2; }
inline void set__groups_2(GroupU5BU5D_t1880820351* value)
{
____groups_2 = value;
Il2CppCodeGenWriteBarrier((&____groups_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GROUPCOLLECTION_T69770484_H
#ifndef CAPTURE_T2232016050_H
#define CAPTURE_T2232016050_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Capture
struct Capture_t2232016050 : public RuntimeObject
{
public:
// System.String System.Text.RegularExpressions.Capture::_text
String_t* ____text_0;
// System.Int32 System.Text.RegularExpressions.Capture::_index
int32_t ____index_1;
// System.Int32 System.Text.RegularExpressions.Capture::_length
int32_t ____length_2;
public:
inline static int32_t get_offset_of__text_0() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ____text_0)); }
inline String_t* get__text_0() const { return ____text_0; }
inline String_t** get_address_of__text_0() { return &____text_0; }
inline void set__text_0(String_t* value)
{
____text_0 = value;
Il2CppCodeGenWriteBarrier((&____text_0), value);
}
inline static int32_t get_offset_of__index_1() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ____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__length_2() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ____length_2)); }
inline int32_t get__length_2() const { return ____length_2; }
inline int32_t* get_address_of__length_2() { return &____length_2; }
inline void set__length_2(int32_t value)
{
____length_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAPTURE_T2232016050_H
#ifndef CONFIGURATIONELEMENT_T3318566633_H
#define CONFIGURATIONELEMENT_T3318566633_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Configuration.ConfigurationElement
struct ConfigurationElement_t3318566633 : public RuntimeObject
{
public:
// System.String System.Configuration.ConfigurationElement::rawXml
String_t* ___rawXml_0;
// System.Boolean System.Configuration.ConfigurationElement::modified
bool ___modified_1;
// System.Configuration.ElementMap System.Configuration.ConfigurationElement::map
ElementMap_t2160633803 * ___map_2;
// System.Configuration.ConfigurationPropertyCollection System.Configuration.ConfigurationElement::keyProps
ConfigurationPropertyCollection_t2852175726 * ___keyProps_3;
// System.Configuration.ConfigurationElementCollection System.Configuration.ConfigurationElement::defaultCollection
ConfigurationElementCollection_t446763386 * ___defaultCollection_4;
// System.Boolean System.Configuration.ConfigurationElement::readOnly
bool ___readOnly_5;
// System.Configuration.ElementInformation System.Configuration.ConfigurationElement::elementInfo
ElementInformation_t2651568025 * ___elementInfo_6;
// System.Configuration.Configuration System.Configuration.ConfigurationElement::_configuration
Configuration_t2529364143 * ____configuration_7;
// System.Boolean System.Configuration.ConfigurationElement::elementPresent
bool ___elementPresent_8;
// System.Configuration.ConfigurationLockCollection System.Configuration.ConfigurationElement::lockAllAttributesExcept
ConfigurationLockCollection_t4066281341 * ___lockAllAttributesExcept_9;
// System.Configuration.ConfigurationLockCollection System.Configuration.ConfigurationElement::lockAllElementsExcept
ConfigurationLockCollection_t4066281341 * ___lockAllElementsExcept_10;
// System.Configuration.ConfigurationLockCollection System.Configuration.ConfigurationElement::lockAttributes
ConfigurationLockCollection_t4066281341 * ___lockAttributes_11;
// System.Configuration.ConfigurationLockCollection System.Configuration.ConfigurationElement::lockElements
ConfigurationLockCollection_t4066281341 * ___lockElements_12;
// System.Boolean System.Configuration.ConfigurationElement::lockItem
bool ___lockItem_13;
// System.Configuration.ConfigurationElement/SaveContext System.Configuration.ConfigurationElement::saveContext
SaveContext_t3075152201 * ___saveContext_14;
public:
inline static int32_t get_offset_of_rawXml_0() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___rawXml_0)); }
inline String_t* get_rawXml_0() const { return ___rawXml_0; }
inline String_t** get_address_of_rawXml_0() { return &___rawXml_0; }
inline void set_rawXml_0(String_t* value)
{
___rawXml_0 = value;
Il2CppCodeGenWriteBarrier((&___rawXml_0), value);
}
inline static int32_t get_offset_of_modified_1() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___modified_1)); }
inline bool get_modified_1() const { return ___modified_1; }
inline bool* get_address_of_modified_1() { return &___modified_1; }
inline void set_modified_1(bool value)
{
___modified_1 = value;
}
inline static int32_t get_offset_of_map_2() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___map_2)); }
inline ElementMap_t2160633803 * get_map_2() const { return ___map_2; }
inline ElementMap_t2160633803 ** get_address_of_map_2() { return &___map_2; }
inline void set_map_2(ElementMap_t2160633803 * value)
{
___map_2 = value;
Il2CppCodeGenWriteBarrier((&___map_2), value);
}
inline static int32_t get_offset_of_keyProps_3() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___keyProps_3)); }
inline ConfigurationPropertyCollection_t2852175726 * get_keyProps_3() const { return ___keyProps_3; }
inline ConfigurationPropertyCollection_t2852175726 ** get_address_of_keyProps_3() { return &___keyProps_3; }
inline void set_keyProps_3(ConfigurationPropertyCollection_t2852175726 * value)
{
___keyProps_3 = value;
Il2CppCodeGenWriteBarrier((&___keyProps_3), value);
}
inline static int32_t get_offset_of_defaultCollection_4() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___defaultCollection_4)); }
inline ConfigurationElementCollection_t446763386 * get_defaultCollection_4() const { return ___defaultCollection_4; }
inline ConfigurationElementCollection_t446763386 ** get_address_of_defaultCollection_4() { return &___defaultCollection_4; }
inline void set_defaultCollection_4(ConfigurationElementCollection_t446763386 * value)
{
___defaultCollection_4 = value;
Il2CppCodeGenWriteBarrier((&___defaultCollection_4), value);
}
inline static int32_t get_offset_of_readOnly_5() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___readOnly_5)); }
inline bool get_readOnly_5() const { return ___readOnly_5; }
inline bool* get_address_of_readOnly_5() { return &___readOnly_5; }
inline void set_readOnly_5(bool value)
{
___readOnly_5 = value;
}
inline static int32_t get_offset_of_elementInfo_6() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___elementInfo_6)); }
inline ElementInformation_t2651568025 * get_elementInfo_6() const { return ___elementInfo_6; }
inline ElementInformation_t2651568025 ** get_address_of_elementInfo_6() { return &___elementInfo_6; }
inline void set_elementInfo_6(ElementInformation_t2651568025 * value)
{
___elementInfo_6 = value;
Il2CppCodeGenWriteBarrier((&___elementInfo_6), value);
}
inline static int32_t get_offset_of__configuration_7() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ____configuration_7)); }
inline Configuration_t2529364143 * get__configuration_7() const { return ____configuration_7; }
inline Configuration_t2529364143 ** get_address_of__configuration_7() { return &____configuration_7; }
inline void set__configuration_7(Configuration_t2529364143 * value)
{
____configuration_7 = value;
Il2CppCodeGenWriteBarrier((&____configuration_7), value);
}
inline static int32_t get_offset_of_elementPresent_8() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___elementPresent_8)); }
inline bool get_elementPresent_8() const { return ___elementPresent_8; }
inline bool* get_address_of_elementPresent_8() { return &___elementPresent_8; }
inline void set_elementPresent_8(bool value)
{
___elementPresent_8 = value;
}
inline static int32_t get_offset_of_lockAllAttributesExcept_9() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___lockAllAttributesExcept_9)); }
inline ConfigurationLockCollection_t4066281341 * get_lockAllAttributesExcept_9() const { return ___lockAllAttributesExcept_9; }
inline ConfigurationLockCollection_t4066281341 ** get_address_of_lockAllAttributesExcept_9() { return &___lockAllAttributesExcept_9; }
inline void set_lockAllAttributesExcept_9(ConfigurationLockCollection_t4066281341 * value)
{
___lockAllAttributesExcept_9 = value;
Il2CppCodeGenWriteBarrier((&___lockAllAttributesExcept_9), value);
}
inline static int32_t get_offset_of_lockAllElementsExcept_10() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___lockAllElementsExcept_10)); }
inline ConfigurationLockCollection_t4066281341 * get_lockAllElementsExcept_10() const { return ___lockAllElementsExcept_10; }
inline ConfigurationLockCollection_t4066281341 ** get_address_of_lockAllElementsExcept_10() { return &___lockAllElementsExcept_10; }
inline void set_lockAllElementsExcept_10(ConfigurationLockCollection_t4066281341 * value)
{
___lockAllElementsExcept_10 = value;
Il2CppCodeGenWriteBarrier((&___lockAllElementsExcept_10), value);
}
inline static int32_t get_offset_of_lockAttributes_11() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___lockAttributes_11)); }
inline ConfigurationLockCollection_t4066281341 * get_lockAttributes_11() const { return ___lockAttributes_11; }
inline ConfigurationLockCollection_t4066281341 ** get_address_of_lockAttributes_11() { return &___lockAttributes_11; }
inline void set_lockAttributes_11(ConfigurationLockCollection_t4066281341 * value)
{
___lockAttributes_11 = value;
Il2CppCodeGenWriteBarrier((&___lockAttributes_11), value);
}
inline static int32_t get_offset_of_lockElements_12() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___lockElements_12)); }
inline ConfigurationLockCollection_t4066281341 * get_lockElements_12() const { return ___lockElements_12; }
inline ConfigurationLockCollection_t4066281341 ** get_address_of_lockElements_12() { return &___lockElements_12; }
inline void set_lockElements_12(ConfigurationLockCollection_t4066281341 * value)
{
___lockElements_12 = value;
Il2CppCodeGenWriteBarrier((&___lockElements_12), value);
}
inline static int32_t get_offset_of_lockItem_13() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___lockItem_13)); }
inline bool get_lockItem_13() const { return ___lockItem_13; }
inline bool* get_address_of_lockItem_13() { return &___lockItem_13; }
inline void set_lockItem_13(bool value)
{
___lockItem_13 = value;
}
inline static int32_t get_offset_of_saveContext_14() { return static_cast<int32_t>(offsetof(ConfigurationElement_t3318566633, ___saveContext_14)); }
inline SaveContext_t3075152201 * get_saveContext_14() const { return ___saveContext_14; }
inline SaveContext_t3075152201 ** get_address_of_saveContext_14() { return &___saveContext_14; }
inline void set_saveContext_14(SaveContext_t3075152201 * value)
{
___saveContext_14 = value;
Il2CppCodeGenWriteBarrier((&___saveContext_14), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONFIGURATIONELEMENT_T3318566633_H
#ifndef STRING_T_H
#define STRING_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// 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((&___Empty_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRING_T_H
#ifndef NETWORKINTERFACE_T271883373_H
#define NETWORKINTERFACE_T271883373_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterface
struct NetworkInterface_t271883373 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKINTERFACE_T271883373_H
#ifndef IPADDRESSCOLLECTION_T2315030214_H
#define IPADDRESSCOLLECTION_T2315030214_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.IPAddressCollection
struct IPAddressCollection_t2315030214 : public RuntimeObject
{
public:
// System.Collections.ObjectModel.Collection`1<System.Net.IPAddress> System.Net.NetworkInformation.IPAddressCollection::addresses
Collection_1_t3481100804 * ___addresses_0;
public:
inline static int32_t get_offset_of_addresses_0() { return static_cast<int32_t>(offsetof(IPAddressCollection_t2315030214, ___addresses_0)); }
inline Collection_1_t3481100804 * get_addresses_0() const { return ___addresses_0; }
inline Collection_1_t3481100804 ** get_address_of_addresses_0() { return &___addresses_0; }
inline void set_addresses_0(Collection_1_t3481100804 * value)
{
___addresses_0 = value;
Il2CppCodeGenWriteBarrier((&___addresses_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPADDRESSCOLLECTION_T2315030214_H
#ifndef CRITICALFINALIZEROBJECT_T701527852_H
#define CRITICALFINALIZEROBJECT_T701527852_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.ConstrainedExecution.CriticalFinalizerObject
struct CriticalFinalizerObject_t701527852 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CRITICALFINALIZEROBJECT_T701527852_H
#ifndef IPINTERFACEPROPERTIES_T3964383369_H
#define IPINTERFACEPROPERTIES_T3964383369_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.IPInterfaceProperties
struct IPInterfaceProperties_t3964383369 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPINTERFACEPROPERTIES_T3964383369_H
#ifndef LIST_1_T1713852332_H
#define LIST_1_T1713852332_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<System.Net.IPAddress>
struct List_1_t1713852332 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
IPAddressU5BU5D_t596328627* ____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_t1713852332, ____items_1)); }
inline IPAddressU5BU5D_t596328627* get__items_1() const { return ____items_1; }
inline IPAddressU5BU5D_t596328627** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(IPAddressU5BU5D_t596328627* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1713852332, ____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_t1713852332, ____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_t1713852332, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1713852332_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
IPAddressU5BU5D_t596328627* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1713852332_StaticFields, ____emptyArray_5)); }
inline IPAddressU5BU5D_t596328627* get__emptyArray_5() const { return ____emptyArray_5; }
inline IPAddressU5BU5D_t596328627** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(IPAddressU5BU5D_t596328627* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1713852332_H
#ifndef VALUECOLLECTION_T1175614503_H
#define VALUECOLLECTION_T1175614503_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct ValueCollection_t1175614503 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/ValueCollection::dictionary
Dictionary_2_t3754537481 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(ValueCollection_t1175614503, ___dictionary_0)); }
inline Dictionary_2_t3754537481 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t3754537481 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t3754537481 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((&___dictionary_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VALUECOLLECTION_T1175614503_H
#ifndef DICTIONARY_2_T3754537481_H
#define DICTIONARY_2_T3754537481_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct Dictionary_2_t3754537481 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t385246372* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t3624978604* ___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_t3944212952 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t1175614503 * ___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_t3754537481, ___buckets_0)); }
inline Int32U5BU5D_t385246372* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t385246372** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t385246372* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((&___buckets_0), value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t3754537481, ___entries_1)); }
inline EntryU5BU5D_t3624978604* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t3624978604** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t3624978604* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((&___entries_1), value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t3754537481, ___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_t3754537481, ___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_t3754537481, ___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_t3754537481, ___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_t3754537481, ___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((&___comparer_6), value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t3754537481, ___keys_7)); }
inline KeyCollection_t3944212952 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t3944212952 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t3944212952 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((&___keys_7), value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t3754537481, ___values_8)); }
inline ValueCollection_t1175614503 * get_values_8() const { return ___values_8; }
inline ValueCollection_t1175614503 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t1175614503 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((&___values_8), value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t3754537481, ____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((&____syncRoot_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T3754537481_H
struct Il2CppArrayBounds;
#ifndef RUNTIMEARRAY_H
#define RUNTIMEARRAY_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Array
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEARRAY_H
#ifndef LIST_1_T640633774_H
#define LIST_1_T640633774_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>
struct List_1_t640633774 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* ____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_t640633774, ____items_1)); }
inline Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* get__items_1() const { return ____items_1; }
inline Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t640633774, ____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_t640633774, ____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_t640633774, ____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((&____syncRoot_4), value);
}
};
struct List_1_t640633774_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t640633774_StaticFields, ____emptyArray_5)); }
inline Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* get__emptyArray_5() const { return ____emptyArray_5; }
inline Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T640633774_H
#ifndef SYSTEMNETWORKINTERFACE_T699244148_H
#define SYSTEMNETWORKINTERFACE_T699244148_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.SystemNetworkInterface
struct SystemNetworkInterface_t699244148 : public RuntimeObject
{
public:
public:
};
struct SystemNetworkInterface_t699244148_StaticFields
{
public:
// System.Net.NetworkInformation.NetworkInterfaceFactory System.Net.NetworkInformation.SystemNetworkInterface::nif
NetworkInterfaceFactory_t1756522298 * ___nif_0;
public:
inline static int32_t get_offset_of_nif_0() { return static_cast<int32_t>(offsetof(SystemNetworkInterface_t699244148_StaticFields, ___nif_0)); }
inline NetworkInterfaceFactory_t1756522298 * get_nif_0() const { return ___nif_0; }
inline NetworkInterfaceFactory_t1756522298 ** get_address_of_nif_0() { return &___nif_0; }
inline void set_nif_0(NetworkInterfaceFactory_t1756522298 * value)
{
___nif_0 = value;
Il2CppCodeGenWriteBarrier((&___nif_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMNETWORKINTERFACE_T699244148_H
#ifndef NETWORKINTERFACEFACTORY_T1756522298_H
#define NETWORKINTERFACEFACTORY_T1756522298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceFactory
struct NetworkInterfaceFactory_t1756522298 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKINTERFACEFACTORY_T1756522298_H
#ifndef GCHANDLE_T3351438187_H
#define GCHANDLE_T3351438187_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.InteropServices.GCHandle
struct GCHandle_t3351438187
{
public:
// System.Int32 System.Runtime.InteropServices.GCHandle::handle
int32_t ___handle_0;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(GCHandle_t3351438187, ___handle_0)); }
inline int32_t get_handle_0() const { return ___handle_0; }
inline int32_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(int32_t value)
{
___handle_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GCHANDLE_T3351438187_H
#ifndef __STATICARRAYINITTYPESIZEU3D32_T2711125390_H
#define __STATICARRAYINITTYPESIZEU3D32_T2711125390_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32
struct __StaticArrayInitTypeSizeU3D32_t2711125390
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D32_t2711125390__padding[32];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D32_T2711125390_H
#ifndef __STATICARRAYINITTYPESIZEU3D3_T3217885683_H
#define __STATICARRAYINITTYPESIZEU3D3_T3217885683_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=3
struct __StaticArrayInitTypeSizeU3D3_t3217885683
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D3_t3217885683__padding[3];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D3_T3217885683_H
#ifndef UINT16_T2177724958_H
#define UINT16_T2177724958_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt16
struct UInt16_t2177724958
{
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_t2177724958, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UINT16_T2177724958_H
#ifndef ENUMERATOR_T778731311_H
#define ENUMERATOR_T778731311_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<System.Net.WebConnectionGroup>
struct Enumerator_t778731311
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3184454730 * ___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
WebConnectionGroup_t1712379988 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t778731311, ___list_0)); }
inline List_1_t3184454730 * get_list_0() const { return ___list_0; }
inline List_1_t3184454730 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3184454730 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t778731311, ___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_t778731311, ___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_t778731311, ___current_3)); }
inline WebConnectionGroup_t1712379988 * get_current_3() const { return ___current_3; }
inline WebConnectionGroup_t1712379988 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(WebConnectionGroup_t1712379988 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T778731311_H
#ifndef WIN32NETWORKINTERFACEAPI_T912414909_H
#define WIN32NETWORKINTERFACEAPI_T912414909_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI
struct Win32NetworkInterfaceAPI_t912414909 : public NetworkInterfaceFactory_t1756522298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32NETWORKINTERFACEAPI_T912414909_H
#ifndef INFINITETIMERQUEUE_T1413340381_H
#define INFINITETIMERQUEUE_T1413340381_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/InfiniteTimerQueue
struct InfiniteTimerQueue_t1413340381 : public Queue_t4148454536
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INFINITETIMERQUEUE_T1413340381_H
#ifndef TIMERQUEUE_T322928133_H
#define TIMERQUEUE_T322928133_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/TimerQueue
struct TimerQueue_t322928133 : public Queue_t4148454536
{
public:
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerQueue::m_Timers
TimerNode_t2186732230 * ___m_Timers_1;
public:
inline static int32_t get_offset_of_m_Timers_1() { return static_cast<int32_t>(offsetof(TimerQueue_t322928133, ___m_Timers_1)); }
inline TimerNode_t2186732230 * get_m_Timers_1() const { return ___m_Timers_1; }
inline TimerNode_t2186732230 ** get_address_of_m_Timers_1() { return &___m_Timers_1; }
inline void set_m_Timers_1(TimerNode_t2186732230 * value)
{
___m_Timers_1 = value;
Il2CppCodeGenWriteBarrier((&___m_Timers_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERQUEUE_T322928133_H
#ifndef __STATICARRAYINITTYPESIZEU3D10_T1548194904_H
#define __STATICARRAYINITTYPESIZEU3D10_T1548194904_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=10
struct __StaticArrayInitTypeSizeU3D10_t1548194904
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D10_t1548194904__padding[10];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D10_T1548194904_H
#ifndef ARRAYSEGMENT_1_T283560987_H
#define ARRAYSEGMENT_1_T283560987_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArraySegment`1<System.Byte>
struct ArraySegment_1_t283560987
{
public:
// T[] System.ArraySegment`1::_array
ByteU5BU5D_t4116647657* ____array_0;
// System.Int32 System.ArraySegment`1::_offset
int32_t ____offset_1;
// System.Int32 System.ArraySegment`1::_count
int32_t ____count_2;
public:
inline static int32_t get_offset_of__array_0() { return static_cast<int32_t>(offsetof(ArraySegment_1_t283560987, ____array_0)); }
inline ByteU5BU5D_t4116647657* get__array_0() const { return ____array_0; }
inline ByteU5BU5D_t4116647657** get_address_of__array_0() { return &____array_0; }
inline void set__array_0(ByteU5BU5D_t4116647657* value)
{
____array_0 = value;
Il2CppCodeGenWriteBarrier((&____array_0), value);
}
inline static int32_t get_offset_of__offset_1() { return static_cast<int32_t>(offsetof(ArraySegment_1_t283560987, ____offset_1)); }
inline int32_t get__offset_1() const { return ____offset_1; }
inline int32_t* get_address_of__offset_1() { return &____offset_1; }
inline void set__offset_1(int32_t value)
{
____offset_1 = value;
}
inline static int32_t get_offset_of__count_2() { return static_cast<int32_t>(offsetof(ArraySegment_1_t283560987, ____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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARRAYSEGMENT_1_T283560987_H
#ifndef __STATICARRAYINITTYPESIZEU3D12_T2710994318_H
#define __STATICARRAYINITTYPESIZEU3D12_T2710994318_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=12
struct __StaticArrayInitTypeSizeU3D12_t2710994318
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D12_t2710994318__padding[12];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D12_T2710994318_H
#ifndef UNIXNETWORKINTERFACEAPI_T1061423219_H
#define UNIXNETWORKINTERFACEAPI_T1061423219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI
struct UnixNetworkInterfaceAPI_t1061423219 : public NetworkInterfaceFactory_t1756522298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNIXNETWORKINTERFACEAPI_T1061423219_H
#ifndef ENUMERATOR_T2146457487_H
#define ENUMERATOR_T2146457487_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<System.Object>
struct Enumerator_t2146457487
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t257213610 * ___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_t2146457487, ___list_0)); }
inline List_1_t257213610 * get_list_0() const { return ___list_0; }
inline List_1_t257213610 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t257213610 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2146457487, ___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_t2146457487, ___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_t2146457487, ___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((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2146457487_H
#ifndef __STATICARRAYINITTYPESIZEU3D256_T1757367633_H
#define __STATICARRAYINITTYPESIZEU3D256_T1757367633_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
struct __StaticArrayInitTypeSizeU3D256_t1757367633
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D256_t1757367633__padding[256];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D256_T1757367633_H
#ifndef SOCKADDR_T371844119_H
#define SOCKADDR_T371844119_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.sockaddr
struct sockaddr_t371844119
{
public:
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr::sa_len
uint8_t ___sa_len_0;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr::sa_family
uint8_t ___sa_family_1;
public:
inline static int32_t get_offset_of_sa_len_0() { return static_cast<int32_t>(offsetof(sockaddr_t371844119, ___sa_len_0)); }
inline uint8_t get_sa_len_0() const { return ___sa_len_0; }
inline uint8_t* get_address_of_sa_len_0() { return &___sa_len_0; }
inline void set_sa_len_0(uint8_t value)
{
___sa_len_0 = value;
}
inline static int32_t get_offset_of_sa_family_1() { return static_cast<int32_t>(offsetof(sockaddr_t371844119, ___sa_family_1)); }
inline uint8_t get_sa_family_1() const { return ___sa_family_1; }
inline uint8_t* get_address_of_sa_family_1() { return &___sa_family_1; }
inline void set_sa_family_1(uint8_t value)
{
___sa_family_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKADDR_T371844119_H
#ifndef SYSTEMNETWORKCREDENTIAL_T3685288932_H
#define SYSTEMNETWORKCREDENTIAL_T3685288932_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SystemNetworkCredential
struct SystemNetworkCredential_t3685288932 : public NetworkCredential_t3282608323
{
public:
public:
};
struct SystemNetworkCredential_t3685288932_StaticFields
{
public:
// System.Net.SystemNetworkCredential System.Net.SystemNetworkCredential::defaultCredential
SystemNetworkCredential_t3685288932 * ___defaultCredential_3;
public:
inline static int32_t get_offset_of_defaultCredential_3() { return static_cast<int32_t>(offsetof(SystemNetworkCredential_t3685288932_StaticFields, ___defaultCredential_3)); }
inline SystemNetworkCredential_t3685288932 * get_defaultCredential_3() const { return ___defaultCredential_3; }
inline SystemNetworkCredential_t3685288932 ** get_address_of_defaultCredential_3() { return &___defaultCredential_3; }
inline void set_defaultCredential_3(SystemNetworkCredential_t3685288932 * value)
{
___defaultCredential_3 = value;
Il2CppCodeGenWriteBarrier((&___defaultCredential_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMNETWORKCREDENTIAL_T3685288932_H
#ifndef __STATICARRAYINITTYPESIZEU3D128_T531529102_H
#define __STATICARRAYINITTYPESIZEU3D128_T531529102_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=128
struct __StaticArrayInitTypeSizeU3D128_t531529102
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D128_t531529102__padding[128];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D128_T531529102_H
#ifndef CONNECTIONMANAGEMENTELEMENT_T3857438253_H
#define CONNECTIONMANAGEMENTELEMENT_T3857438253_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Configuration.ConnectionManagementElement
struct ConnectionManagementElement_t3857438253 : public ConfigurationElement_t3318566633
{
public:
public:
};
struct ConnectionManagementElement_t3857438253_StaticFields
{
public:
// System.Configuration.ConfigurationPropertyCollection System.Net.Configuration.ConnectionManagementElement::properties
ConfigurationPropertyCollection_t2852175726 * ___properties_15;
// System.Configuration.ConfigurationProperty System.Net.Configuration.ConnectionManagementElement::addressProp
ConfigurationProperty_t3590861854 * ___addressProp_16;
// System.Configuration.ConfigurationProperty System.Net.Configuration.ConnectionManagementElement::maxConnectionProp
ConfigurationProperty_t3590861854 * ___maxConnectionProp_17;
public:
inline static int32_t get_offset_of_properties_15() { return static_cast<int32_t>(offsetof(ConnectionManagementElement_t3857438253_StaticFields, ___properties_15)); }
inline ConfigurationPropertyCollection_t2852175726 * get_properties_15() const { return ___properties_15; }
inline ConfigurationPropertyCollection_t2852175726 ** get_address_of_properties_15() { return &___properties_15; }
inline void set_properties_15(ConfigurationPropertyCollection_t2852175726 * value)
{
___properties_15 = value;
Il2CppCodeGenWriteBarrier((&___properties_15), value);
}
inline static int32_t get_offset_of_addressProp_16() { return static_cast<int32_t>(offsetof(ConnectionManagementElement_t3857438253_StaticFields, ___addressProp_16)); }
inline ConfigurationProperty_t3590861854 * get_addressProp_16() const { return ___addressProp_16; }
inline ConfigurationProperty_t3590861854 ** get_address_of_addressProp_16() { return &___addressProp_16; }
inline void set_addressProp_16(ConfigurationProperty_t3590861854 * value)
{
___addressProp_16 = value;
Il2CppCodeGenWriteBarrier((&___addressProp_16), value);
}
inline static int32_t get_offset_of_maxConnectionProp_17() { return static_cast<int32_t>(offsetof(ConnectionManagementElement_t3857438253_StaticFields, ___maxConnectionProp_17)); }
inline ConfigurationProperty_t3590861854 * get_maxConnectionProp_17() const { return ___maxConnectionProp_17; }
inline ConfigurationProperty_t3590861854 ** get_address_of_maxConnectionProp_17() { return &___maxConnectionProp_17; }
inline void set_maxConnectionProp_17(ConfigurationProperty_t3590861854 * value)
{
___maxConnectionProp_17 = value;
Il2CppCodeGenWriteBarrier((&___maxConnectionProp_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTIONMANAGEMENTELEMENT_T3857438253_H
#ifndef INT32_T2950945753_H
#define INT32_T2950945753_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32
struct Int32_t2950945753
{
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_t2950945753, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT32_T2950945753_H
#ifndef ENUMERATOR_T701438809_H
#define ENUMERATOR_T701438809_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.Object,System.Object>
struct Enumerator_t701438809
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::dictionary
Dictionary_2_t132545152 * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::version
int32_t ___version_2;
// TValue System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::currentValue
RuntimeObject * ___currentValue_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_t701438809, ___dictionary_0)); }
inline Dictionary_2_t132545152 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t132545152 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t132545152 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((&___dictionary_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t701438809, ___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_t701438809, ___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_currentValue_3() { return static_cast<int32_t>(offsetof(Enumerator_t701438809, ___currentValue_3)); }
inline RuntimeObject * get_currentValue_3() const { return ___currentValue_3; }
inline RuntimeObject ** get_address_of_currentValue_3() { return &___currentValue_3; }
inline void set_currentValue_3(RuntimeObject * value)
{
___currentValue_3 = value;
Il2CppCodeGenWriteBarrier((&___currentValue_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T701438809_H
#ifndef BYTE_T1134296376_H
#define BYTE_T1134296376_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Byte
struct Byte_t1134296376
{
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_t1134296376, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BYTE_T1134296376_H
#ifndef CONFIGURATIONELEMENTCOLLECTION_T446763386_H
#define CONFIGURATIONELEMENTCOLLECTION_T446763386_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Configuration.ConfigurationElementCollection
struct ConfigurationElementCollection_t446763386 : public ConfigurationElement_t3318566633
{
public:
// System.Collections.ArrayList System.Configuration.ConfigurationElementCollection::list
ArrayList_t2718874744 * ___list_15;
// System.Collections.ArrayList System.Configuration.ConfigurationElementCollection::removed
ArrayList_t2718874744 * ___removed_16;
// System.Collections.ArrayList System.Configuration.ConfigurationElementCollection::inherited
ArrayList_t2718874744 * ___inherited_17;
// System.Boolean System.Configuration.ConfigurationElementCollection::emitClear
bool ___emitClear_18;
// System.Boolean System.Configuration.ConfigurationElementCollection::modified
bool ___modified_19;
// System.Collections.IComparer System.Configuration.ConfigurationElementCollection::comparer
RuntimeObject* ___comparer_20;
// System.Int32 System.Configuration.ConfigurationElementCollection::inheritedLimitIndex
int32_t ___inheritedLimitIndex_21;
// System.String System.Configuration.ConfigurationElementCollection::addElementName
String_t* ___addElementName_22;
// System.String System.Configuration.ConfigurationElementCollection::clearElementName
String_t* ___clearElementName_23;
// System.String System.Configuration.ConfigurationElementCollection::removeElementName
String_t* ___removeElementName_24;
public:
inline static int32_t get_offset_of_list_15() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___list_15)); }
inline ArrayList_t2718874744 * get_list_15() const { return ___list_15; }
inline ArrayList_t2718874744 ** get_address_of_list_15() { return &___list_15; }
inline void set_list_15(ArrayList_t2718874744 * value)
{
___list_15 = value;
Il2CppCodeGenWriteBarrier((&___list_15), value);
}
inline static int32_t get_offset_of_removed_16() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___removed_16)); }
inline ArrayList_t2718874744 * get_removed_16() const { return ___removed_16; }
inline ArrayList_t2718874744 ** get_address_of_removed_16() { return &___removed_16; }
inline void set_removed_16(ArrayList_t2718874744 * value)
{
___removed_16 = value;
Il2CppCodeGenWriteBarrier((&___removed_16), value);
}
inline static int32_t get_offset_of_inherited_17() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___inherited_17)); }
inline ArrayList_t2718874744 * get_inherited_17() const { return ___inherited_17; }
inline ArrayList_t2718874744 ** get_address_of_inherited_17() { return &___inherited_17; }
inline void set_inherited_17(ArrayList_t2718874744 * value)
{
___inherited_17 = value;
Il2CppCodeGenWriteBarrier((&___inherited_17), value);
}
inline static int32_t get_offset_of_emitClear_18() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___emitClear_18)); }
inline bool get_emitClear_18() const { return ___emitClear_18; }
inline bool* get_address_of_emitClear_18() { return &___emitClear_18; }
inline void set_emitClear_18(bool value)
{
___emitClear_18 = value;
}
inline static int32_t get_offset_of_modified_19() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___modified_19)); }
inline bool get_modified_19() const { return ___modified_19; }
inline bool* get_address_of_modified_19() { return &___modified_19; }
inline void set_modified_19(bool value)
{
___modified_19 = value;
}
inline static int32_t get_offset_of_comparer_20() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___comparer_20)); }
inline RuntimeObject* get_comparer_20() const { return ___comparer_20; }
inline RuntimeObject** get_address_of_comparer_20() { return &___comparer_20; }
inline void set_comparer_20(RuntimeObject* value)
{
___comparer_20 = value;
Il2CppCodeGenWriteBarrier((&___comparer_20), value);
}
inline static int32_t get_offset_of_inheritedLimitIndex_21() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___inheritedLimitIndex_21)); }
inline int32_t get_inheritedLimitIndex_21() const { return ___inheritedLimitIndex_21; }
inline int32_t* get_address_of_inheritedLimitIndex_21() { return &___inheritedLimitIndex_21; }
inline void set_inheritedLimitIndex_21(int32_t value)
{
___inheritedLimitIndex_21 = value;
}
inline static int32_t get_offset_of_addElementName_22() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___addElementName_22)); }
inline String_t* get_addElementName_22() const { return ___addElementName_22; }
inline String_t** get_address_of_addElementName_22() { return &___addElementName_22; }
inline void set_addElementName_22(String_t* value)
{
___addElementName_22 = value;
Il2CppCodeGenWriteBarrier((&___addElementName_22), value);
}
inline static int32_t get_offset_of_clearElementName_23() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___clearElementName_23)); }
inline String_t* get_clearElementName_23() const { return ___clearElementName_23; }
inline String_t** get_address_of_clearElementName_23() { return &___clearElementName_23; }
inline void set_clearElementName_23(String_t* value)
{
___clearElementName_23 = value;
Il2CppCodeGenWriteBarrier((&___clearElementName_23), value);
}
inline static int32_t get_offset_of_removeElementName_24() { return static_cast<int32_t>(offsetof(ConfigurationElementCollection_t446763386, ___removeElementName_24)); }
inline String_t* get_removeElementName_24() const { return ___removeElementName_24; }
inline String_t** get_address_of_removeElementName_24() { return &___removeElementName_24; }
inline void set_removeElementName_24(String_t* value)
{
___removeElementName_24 = value;
Il2CppCodeGenWriteBarrier((&___removeElementName_24), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONFIGURATIONELEMENTCOLLECTION_T446763386_H
#ifndef VOID_T1185182177_H
#define VOID_T1185182177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void
struct Void_t1185182177
{
public:
union
{
struct
{
};
uint8_t Void_t1185182177__padding[1];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T1185182177_H
#ifndef INT64_T3736567304_H
#define INT64_T3736567304_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int64
struct Int64_t3736567304
{
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_t3736567304, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT64_T3736567304_H
#ifndef TIMER_T716671026_H
#define TIMER_T716671026_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Timer
struct Timer_t716671026 : public MarshalByRefObject_t2760389100
{
public:
// System.Threading.TimerCallback System.Threading.Timer::callback
TimerCallback_t1438585625 * ___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_t716671026, ___callback_2)); }
inline TimerCallback_t1438585625 * get_callback_2() const { return ___callback_2; }
inline TimerCallback_t1438585625 ** get_address_of_callback_2() { return &___callback_2; }
inline void set_callback_2(TimerCallback_t1438585625 * value)
{
___callback_2 = value;
Il2CppCodeGenWriteBarrier((&___callback_2), value);
}
inline static int32_t get_offset_of_state_3() { return static_cast<int32_t>(offsetof(Timer_t716671026, ___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((&___state_3), value);
}
inline static int32_t get_offset_of_due_time_ms_4() { return static_cast<int32_t>(offsetof(Timer_t716671026, ___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_t716671026, ___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_t716671026, ___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_t716671026, ___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_t716671026_StaticFields
{
public:
// System.Threading.Timer/Scheduler System.Threading.Timer::scheduler
Scheduler_t3215764947 * ___scheduler_1;
public:
inline static int32_t get_offset_of_scheduler_1() { return static_cast<int32_t>(offsetof(Timer_t716671026_StaticFields, ___scheduler_1)); }
inline Scheduler_t3215764947 * get_scheduler_1() const { return ___scheduler_1; }
inline Scheduler_t3215764947 ** get_address_of_scheduler_1() { return &___scheduler_1; }
inline void set_scheduler_1(Scheduler_t3215764947 * value)
{
___scheduler_1 = value;
Il2CppCodeGenWriteBarrier((&___scheduler_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMER_T716671026_H
#ifndef SOCKADDR_IN_T1317910171_H
#define SOCKADDR_IN_T1317910171_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.sockaddr_in
struct sockaddr_in_t1317910171
{
public:
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_in::sin_len
uint8_t ___sin_len_0;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_in::sin_family
uint8_t ___sin_family_1;
// System.UInt16 System.Net.NetworkInformation.MacOsStructs.sockaddr_in::sin_port
uint16_t ___sin_port_2;
// System.UInt32 System.Net.NetworkInformation.MacOsStructs.sockaddr_in::sin_addr
uint32_t ___sin_addr_3;
public:
inline static int32_t get_offset_of_sin_len_0() { return static_cast<int32_t>(offsetof(sockaddr_in_t1317910171, ___sin_len_0)); }
inline uint8_t get_sin_len_0() const { return ___sin_len_0; }
inline uint8_t* get_address_of_sin_len_0() { return &___sin_len_0; }
inline void set_sin_len_0(uint8_t value)
{
___sin_len_0 = value;
}
inline static int32_t get_offset_of_sin_family_1() { return static_cast<int32_t>(offsetof(sockaddr_in_t1317910171, ___sin_family_1)); }
inline uint8_t get_sin_family_1() const { return ___sin_family_1; }
inline uint8_t* get_address_of_sin_family_1() { return &___sin_family_1; }
inline void set_sin_family_1(uint8_t value)
{
___sin_family_1 = value;
}
inline static int32_t get_offset_of_sin_port_2() { return static_cast<int32_t>(offsetof(sockaddr_in_t1317910171, ___sin_port_2)); }
inline uint16_t get_sin_port_2() const { return ___sin_port_2; }
inline uint16_t* get_address_of_sin_port_2() { return &___sin_port_2; }
inline void set_sin_port_2(uint16_t value)
{
___sin_port_2 = value;
}
inline static int32_t get_offset_of_sin_addr_3() { return static_cast<int32_t>(offsetof(sockaddr_in_t1317910171, ___sin_addr_3)); }
inline uint32_t get_sin_addr_3() const { return ___sin_addr_3; }
inline uint32_t* get_address_of_sin_addr_3() { return &___sin_addr_3; }
inline void set_sin_addr_3(uint32_t value)
{
___sin_addr_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKADDR_IN_T1317910171_H
#ifndef DOUBLE_T594665363_H
#define DOUBLE_T594665363_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Double
struct Double_t594665363
{
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_t594665363, ___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_t594665363_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_t594665363_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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DOUBLE_T594665363_H
#ifndef UINT32_T2560061978_H
#define UINT32_T2560061978_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt32
struct UInt32_t2560061978
{
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_t2560061978, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UINT32_T2560061978_H
#ifndef SYSTEMEXCEPTION_T176217640_H
#define SYSTEMEXCEPTION_T176217640_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.SystemException
struct SystemException_t176217640 : public Exception_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMEXCEPTION_T176217640_H
#ifndef IPENDPOINT_T3791887218_H
#define IPENDPOINT_T3791887218_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.IPEndPoint
struct IPEndPoint_t3791887218 : public EndPoint_t982345378
{
public:
// System.Net.IPAddress System.Net.IPEndPoint::m_Address
IPAddress_t241777590 * ___m_Address_0;
// System.Int32 System.Net.IPEndPoint::m_Port
int32_t ___m_Port_1;
public:
inline static int32_t get_offset_of_m_Address_0() { return static_cast<int32_t>(offsetof(IPEndPoint_t3791887218, ___m_Address_0)); }
inline IPAddress_t241777590 * get_m_Address_0() const { return ___m_Address_0; }
inline IPAddress_t241777590 ** get_address_of_m_Address_0() { return &___m_Address_0; }
inline void set_m_Address_0(IPAddress_t241777590 * value)
{
___m_Address_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Address_0), value);
}
inline static int32_t get_offset_of_m_Port_1() { return static_cast<int32_t>(offsetof(IPEndPoint_t3791887218, ___m_Port_1)); }
inline int32_t get_m_Port_1() const { return ___m_Port_1; }
inline int32_t* get_address_of_m_Port_1() { return &___m_Port_1; }
inline void set_m_Port_1(int32_t value)
{
___m_Port_1 = value;
}
};
struct IPEndPoint_t3791887218_StaticFields
{
public:
// System.Net.IPEndPoint System.Net.IPEndPoint::Any
IPEndPoint_t3791887218 * ___Any_2;
// System.Net.IPEndPoint System.Net.IPEndPoint::IPv6Any
IPEndPoint_t3791887218 * ___IPv6Any_3;
public:
inline static int32_t get_offset_of_Any_2() { return static_cast<int32_t>(offsetof(IPEndPoint_t3791887218_StaticFields, ___Any_2)); }
inline IPEndPoint_t3791887218 * get_Any_2() const { return ___Any_2; }
inline IPEndPoint_t3791887218 ** get_address_of_Any_2() { return &___Any_2; }
inline void set_Any_2(IPEndPoint_t3791887218 * value)
{
___Any_2 = value;
Il2CppCodeGenWriteBarrier((&___Any_2), value);
}
inline static int32_t get_offset_of_IPv6Any_3() { return static_cast<int32_t>(offsetof(IPEndPoint_t3791887218_StaticFields, ___IPv6Any_3)); }
inline IPEndPoint_t3791887218 * get_IPv6Any_3() const { return ___IPv6Any_3; }
inline IPEndPoint_t3791887218 ** get_address_of_IPv6Any_3() { return &___IPv6Any_3; }
inline void set_IPv6Any_3(IPEndPoint_t3791887218 * value)
{
___IPv6Any_3 = value;
Il2CppCodeGenWriteBarrier((&___IPv6Any_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPENDPOINT_T3791887218_H
#ifndef __STATICARRAYINITTYPESIZEU3D6_T3217689075_H
#define __STATICARRAYINITTYPESIZEU3D6_T3217689075_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=6
struct __StaticArrayInitTypeSizeU3D6_t3217689075
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D6_t3217689075__padding[6];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D6_T3217689075_H
#ifndef BOOLEAN_T97287965_H
#define BOOLEAN_T97287965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean
struct Boolean_t97287965
{
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_t97287965, ___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_t97287965_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_t97287965_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((&___TrueString_5), value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t97287965_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((&___FalseString_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOLEAN_T97287965_H
#ifndef __STATICARRAYINITTYPESIZEU3D9_T3218278899_H
#define __STATICARRAYINITTYPESIZEU3D9_T3218278899_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=9
struct __StaticArrayInitTypeSizeU3D9_t3218278899
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D9_t3218278899__padding[9];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D9_T3218278899_H
#ifndef CHAR_T3634460470_H
#define CHAR_T3634460470_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Char
struct Char_t3634460470
{
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_t3634460470, ___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_t3634460470_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_t4116647657* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_t4116647657* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_t4116647657** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_t4116647657* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((&___categoryForLatin1_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CHAR_T3634460470_H
#ifndef GROUP_T2468205786_H
#define GROUP_T2468205786_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Group
struct Group_t2468205786 : public Capture_t2232016050
{
public:
// System.Int32[] System.Text.RegularExpressions.Group::_caps
Int32U5BU5D_t385246372* ____caps_4;
// System.Int32 System.Text.RegularExpressions.Group::_capcount
int32_t ____capcount_5;
// System.String System.Text.RegularExpressions.Group::_name
String_t* ____name_6;
public:
inline static int32_t get_offset_of__caps_4() { return static_cast<int32_t>(offsetof(Group_t2468205786, ____caps_4)); }
inline Int32U5BU5D_t385246372* get__caps_4() const { return ____caps_4; }
inline Int32U5BU5D_t385246372** get_address_of__caps_4() { return &____caps_4; }
inline void set__caps_4(Int32U5BU5D_t385246372* value)
{
____caps_4 = value;
Il2CppCodeGenWriteBarrier((&____caps_4), value);
}
inline static int32_t get_offset_of__capcount_5() { return static_cast<int32_t>(offsetof(Group_t2468205786, ____capcount_5)); }
inline int32_t get__capcount_5() const { return ____capcount_5; }
inline int32_t* get_address_of__capcount_5() { return &____capcount_5; }
inline void set__capcount_5(int32_t value)
{
____capcount_5 = value;
}
inline static int32_t get_offset_of__name_6() { return static_cast<int32_t>(offsetof(Group_t2468205786, ____name_6)); }
inline String_t* get__name_6() const { return ____name_6; }
inline String_t** get_address_of__name_6() { return &____name_6; }
inline void set__name_6(String_t* value)
{
____name_6 = value;
Il2CppCodeGenWriteBarrier((&____name_6), value);
}
};
struct Group_t2468205786_StaticFields
{
public:
// System.Text.RegularExpressions.Group System.Text.RegularExpressions.Group::_emptygroup
Group_t2468205786 * ____emptygroup_3;
public:
inline static int32_t get_offset_of__emptygroup_3() { return static_cast<int32_t>(offsetof(Group_t2468205786_StaticFields, ____emptygroup_3)); }
inline Group_t2468205786 * get__emptygroup_3() const { return ____emptygroup_3; }
inline Group_t2468205786 ** get_address_of__emptygroup_3() { return &____emptygroup_3; }
inline void set__emptygroup_3(Group_t2468205786 * value)
{
____emptygroup_3 = value;
Il2CppCodeGenWriteBarrier((&____emptygroup_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GROUP_T2468205786_H
#ifndef ENUM_T4135868527_H
#define ENUM_T4135868527_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Enum
struct Enum_t4135868527 : public ValueType_t3640485471
{
public:
public:
};
struct Enum_t4135868527_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t3528271667* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t3528271667* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t3528271667** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t3528271667* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((&___enumSeperatorCharArray_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t4135868527_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t4135868527_marshaled_com
{
};
#endif // ENUM_T4135868527_H
#ifndef STREAM_T1273022909_H
#define STREAM_T1273022909_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.Stream
struct Stream_t1273022909 : public MarshalByRefObject_t2760389100
{
public:
// System.IO.Stream/ReadWriteTask System.IO.Stream::_activeReadWriteTask
ReadWriteTask_t156472862 * ____activeReadWriteTask_2;
// System.Threading.SemaphoreSlim System.IO.Stream::_asyncActiveSemaphore
SemaphoreSlim_t2974092902 * ____asyncActiveSemaphore_3;
public:
inline static int32_t get_offset_of__activeReadWriteTask_2() { return static_cast<int32_t>(offsetof(Stream_t1273022909, ____activeReadWriteTask_2)); }
inline ReadWriteTask_t156472862 * get__activeReadWriteTask_2() const { return ____activeReadWriteTask_2; }
inline ReadWriteTask_t156472862 ** get_address_of__activeReadWriteTask_2() { return &____activeReadWriteTask_2; }
inline void set__activeReadWriteTask_2(ReadWriteTask_t156472862 * value)
{
____activeReadWriteTask_2 = value;
Il2CppCodeGenWriteBarrier((&____activeReadWriteTask_2), value);
}
inline static int32_t get_offset_of__asyncActiveSemaphore_3() { return static_cast<int32_t>(offsetof(Stream_t1273022909, ____asyncActiveSemaphore_3)); }
inline SemaphoreSlim_t2974092902 * get__asyncActiveSemaphore_3() const { return ____asyncActiveSemaphore_3; }
inline SemaphoreSlim_t2974092902 ** get_address_of__asyncActiveSemaphore_3() { return &____asyncActiveSemaphore_3; }
inline void set__asyncActiveSemaphore_3(SemaphoreSlim_t2974092902 * value)
{
____asyncActiveSemaphore_3 = value;
Il2CppCodeGenWriteBarrier((&____asyncActiveSemaphore_3), value);
}
};
struct Stream_t1273022909_StaticFields
{
public:
// System.IO.Stream System.IO.Stream::Null
Stream_t1273022909 * ___Null_1;
public:
inline static int32_t get_offset_of_Null_1() { return static_cast<int32_t>(offsetof(Stream_t1273022909_StaticFields, ___Null_1)); }
inline Stream_t1273022909 * get_Null_1() const { return ___Null_1; }
inline Stream_t1273022909 ** get_address_of_Null_1() { return &___Null_1; }
inline void set_Null_1(Stream_t1273022909 * value)
{
___Null_1 = value;
Il2CppCodeGenWriteBarrier((&___Null_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STREAM_T1273022909_H
#ifndef INTPTR_T_H
#define INTPTR_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// 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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INTPTR_T_H
#ifndef X509CERTIFICATECOLLECTION_T3399372417_H
#define X509CERTIFICATECOLLECTION_T3399372417_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t3399372417 : public CollectionBase_t2727926298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATECOLLECTION_T3399372417_H
#ifndef WEBRESPONSE_T229922639_H
#define WEBRESPONSE_T229922639_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebResponse
struct WebResponse_t229922639 : public MarshalByRefObject_t2760389100
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBRESPONSE_T229922639_H
#ifndef TEXTREADER_T283511965_H
#define TEXTREADER_T283511965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.TextReader
struct TextReader_t283511965 : public MarshalByRefObject_t2760389100
{
public:
public:
};
struct TextReader_t283511965_StaticFields
{
public:
// System.Func`2<System.Object,System.String> System.IO.TextReader::_ReadLineDelegate
Func_2_t1214474899 * ____ReadLineDelegate_1;
// System.Func`2<System.Object,System.Int32> System.IO.TextReader::_ReadDelegate
Func_2_t2317969963 * ____ReadDelegate_2;
// System.IO.TextReader System.IO.TextReader::Null
TextReader_t283511965 * ___Null_3;
public:
inline static int32_t get_offset_of__ReadLineDelegate_1() { return static_cast<int32_t>(offsetof(TextReader_t283511965_StaticFields, ____ReadLineDelegate_1)); }
inline Func_2_t1214474899 * get__ReadLineDelegate_1() const { return ____ReadLineDelegate_1; }
inline Func_2_t1214474899 ** get_address_of__ReadLineDelegate_1() { return &____ReadLineDelegate_1; }
inline void set__ReadLineDelegate_1(Func_2_t1214474899 * value)
{
____ReadLineDelegate_1 = value;
Il2CppCodeGenWriteBarrier((&____ReadLineDelegate_1), value);
}
inline static int32_t get_offset_of__ReadDelegate_2() { return static_cast<int32_t>(offsetof(TextReader_t283511965_StaticFields, ____ReadDelegate_2)); }
inline Func_2_t2317969963 * get__ReadDelegate_2() const { return ____ReadDelegate_2; }
inline Func_2_t2317969963 ** get_address_of__ReadDelegate_2() { return &____ReadDelegate_2; }
inline void set__ReadDelegate_2(Func_2_t2317969963 * value)
{
____ReadDelegate_2 = value;
Il2CppCodeGenWriteBarrier((&____ReadDelegate_2), value);
}
inline static int32_t get_offset_of_Null_3() { return static_cast<int32_t>(offsetof(TextReader_t283511965_StaticFields, ___Null_3)); }
inline TextReader_t283511965 * get_Null_3() const { return ___Null_3; }
inline TextReader_t283511965 ** get_address_of_Null_3() { return &___Null_3; }
inline void set_Null_3(TextReader_t283511965 * value)
{
___Null_3 = value;
Il2CppCodeGenWriteBarrier((&___Null_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTREADER_T283511965_H
#ifndef ALIGNMENTUNION_T208902285_H
#define ALIGNMENTUNION_T208902285_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.AlignmentUnion
struct AlignmentUnion_t208902285
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.UInt64 System.Net.NetworkInformation.AlignmentUnion::Alignment
uint64_t ___Alignment_0;
};
#pragma pack(pop, tp)
struct
{
uint64_t ___Alignment_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Int32 System.Net.NetworkInformation.AlignmentUnion::Length
int32_t ___Length_1;
};
#pragma pack(pop, tp)
struct
{
int32_t ___Length_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___IfIndex_2_OffsetPadding[4];
// System.Int32 System.Net.NetworkInformation.AlignmentUnion::IfIndex
int32_t ___IfIndex_2;
};
#pragma pack(pop, tp)
struct
{
char ___IfIndex_2_OffsetPadding_forAlignmentOnly[4];
int32_t ___IfIndex_2_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_Alignment_0() { return static_cast<int32_t>(offsetof(AlignmentUnion_t208902285, ___Alignment_0)); }
inline uint64_t get_Alignment_0() const { return ___Alignment_0; }
inline uint64_t* get_address_of_Alignment_0() { return &___Alignment_0; }
inline void set_Alignment_0(uint64_t value)
{
___Alignment_0 = value;
}
inline static int32_t get_offset_of_Length_1() { return static_cast<int32_t>(offsetof(AlignmentUnion_t208902285, ___Length_1)); }
inline int32_t get_Length_1() const { return ___Length_1; }
inline int32_t* get_address_of_Length_1() { return &___Length_1; }
inline void set_Length_1(int32_t value)
{
___Length_1 = value;
}
inline static int32_t get_offset_of_IfIndex_2() { return static_cast<int32_t>(offsetof(AlignmentUnion_t208902285, ___IfIndex_2)); }
inline int32_t get_IfIndex_2() const { return ___IfIndex_2; }
inline int32_t* get_address_of_IfIndex_2() { return &___IfIndex_2; }
inline void set_IfIndex_2(int32_t value)
{
___IfIndex_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ALIGNMENTUNION_T208902285_H
#ifndef WIN32IPGLOBALPROPERTIES_T3375126358_H
#define WIN32IPGLOBALPROPERTIES_T3375126358_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32IPGlobalProperties
struct Win32IPGlobalProperties_t3375126358 : public IPGlobalProperties_t3113415935
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32IPGLOBALPROPERTIES_T3375126358_H
#ifndef WIN32IPADDRESSCOLLECTION_T1156671415_H
#define WIN32IPADDRESSCOLLECTION_T1156671415_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32IPAddressCollection
struct Win32IPAddressCollection_t1156671415 : public IPAddressCollection_t2315030214
{
public:
public:
};
struct Win32IPAddressCollection_t1156671415_StaticFields
{
public:
// System.Net.NetworkInformation.Win32IPAddressCollection System.Net.NetworkInformation.Win32IPAddressCollection::Empty
Win32IPAddressCollection_t1156671415 * ___Empty_1;
public:
inline static int32_t get_offset_of_Empty_1() { return static_cast<int32_t>(offsetof(Win32IPAddressCollection_t1156671415_StaticFields, ___Empty_1)); }
inline Win32IPAddressCollection_t1156671415 * get_Empty_1() const { return ___Empty_1; }
inline Win32IPAddressCollection_t1156671415 ** get_address_of_Empty_1() { return &___Empty_1; }
inline void set_Empty_1(Win32IPAddressCollection_t1156671415 * value)
{
___Empty_1 = value;
Il2CppCodeGenWriteBarrier((&___Empty_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32IPADDRESSCOLLECTION_T1156671415_H
#ifndef ENUMERATOR_T1367187392_H
#define ENUMERATOR_T1367187392_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<System.Threading.Thread>
struct Enumerator_t1367187392
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3772910811 * ___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
Thread_t2300836069 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1367187392, ___list_0)); }
inline List_1_t3772910811 * get_list_0() const { return ___list_0; }
inline List_1_t3772910811 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3772910811 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1367187392, ___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_t1367187392, ___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_t1367187392, ___current_3)); }
inline Thread_t2300836069 * get_current_3() const { return ___current_3; }
inline Thread_t2300836069 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Thread_t2300836069 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1367187392_H
#ifndef CONFIGURATIONSECTION_T3156163955_H
#define CONFIGURATIONSECTION_T3156163955_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Configuration.ConfigurationSection
struct ConfigurationSection_t3156163955 : public ConfigurationElement_t3318566633
{
public:
// System.Configuration.SectionInformation System.Configuration.ConfigurationSection::sectionInformation
SectionInformation_t2821611020 * ___sectionInformation_15;
// System.Configuration.IConfigurationSectionHandler System.Configuration.ConfigurationSection::section_handler
RuntimeObject* ___section_handler_16;
// System.String System.Configuration.ConfigurationSection::externalDataXml
String_t* ___externalDataXml_17;
// System.Object System.Configuration.ConfigurationSection::_configContext
RuntimeObject * ____configContext_18;
public:
inline static int32_t get_offset_of_sectionInformation_15() { return static_cast<int32_t>(offsetof(ConfigurationSection_t3156163955, ___sectionInformation_15)); }
inline SectionInformation_t2821611020 * get_sectionInformation_15() const { return ___sectionInformation_15; }
inline SectionInformation_t2821611020 ** get_address_of_sectionInformation_15() { return &___sectionInformation_15; }
inline void set_sectionInformation_15(SectionInformation_t2821611020 * value)
{
___sectionInformation_15 = value;
Il2CppCodeGenWriteBarrier((&___sectionInformation_15), value);
}
inline static int32_t get_offset_of_section_handler_16() { return static_cast<int32_t>(offsetof(ConfigurationSection_t3156163955, ___section_handler_16)); }
inline RuntimeObject* get_section_handler_16() const { return ___section_handler_16; }
inline RuntimeObject** get_address_of_section_handler_16() { return &___section_handler_16; }
inline void set_section_handler_16(RuntimeObject* value)
{
___section_handler_16 = value;
Il2CppCodeGenWriteBarrier((&___section_handler_16), value);
}
inline static int32_t get_offset_of_externalDataXml_17() { return static_cast<int32_t>(offsetof(ConfigurationSection_t3156163955, ___externalDataXml_17)); }
inline String_t* get_externalDataXml_17() const { return ___externalDataXml_17; }
inline String_t** get_address_of_externalDataXml_17() { return &___externalDataXml_17; }
inline void set_externalDataXml_17(String_t* value)
{
___externalDataXml_17 = value;
Il2CppCodeGenWriteBarrier((&___externalDataXml_17), value);
}
inline static int32_t get_offset_of__configContext_18() { return static_cast<int32_t>(offsetof(ConfigurationSection_t3156163955, ____configContext_18)); }
inline RuntimeObject * get__configContext_18() const { return ____configContext_18; }
inline RuntimeObject ** get_address_of__configContext_18() { return &____configContext_18; }
inline void set__configContext_18(RuntimeObject * value)
{
____configContext_18 = value;
Il2CppCodeGenWriteBarrier((&____configContext_18), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONFIGURATIONSECTION_T3156163955_H
#ifndef THREAD_T2300836069_H
#define THREAD_T2300836069_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Thread
struct Thread_t2300836069 : public CriticalFinalizerObject_t701527852
{
public:
// System.Threading.InternalThread System.Threading.Thread::internal_thread
InternalThread_t95296544 * ___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_t1748372627 * ___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_t2300836069, ___internal_thread_6)); }
inline InternalThread_t95296544 * get_internal_thread_6() const { return ___internal_thread_6; }
inline InternalThread_t95296544 ** get_address_of_internal_thread_6() { return &___internal_thread_6; }
inline void set_internal_thread_6(InternalThread_t95296544 * value)
{
___internal_thread_6 = value;
Il2CppCodeGenWriteBarrier((&___internal_thread_6), value);
}
inline static int32_t get_offset_of_m_ThreadStartArg_7() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___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((&___m_ThreadStartArg_7), value);
}
inline static int32_t get_offset_of_pending_exception_8() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___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((&___pending_exception_8), value);
}
inline static int32_t get_offset_of_principal_9() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___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((&___principal_9), value);
}
inline static int32_t get_offset_of_principal_version_10() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___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_t2300836069, ___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((&___m_Delegate_12), value);
}
inline static int32_t get_offset_of_m_ExecutionContext_13() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___m_ExecutionContext_13)); }
inline ExecutionContext_t1748372627 * get_m_ExecutionContext_13() const { return ___m_ExecutionContext_13; }
inline ExecutionContext_t1748372627 ** get_address_of_m_ExecutionContext_13() { return &___m_ExecutionContext_13; }
inline void set_m_ExecutionContext_13(ExecutionContext_t1748372627 * value)
{
___m_ExecutionContext_13 = value;
Il2CppCodeGenWriteBarrier((&___m_ExecutionContext_13), value);
}
inline static int32_t get_offset_of_m_ExecutionContextBelongsToOuterScope_14() { return static_cast<int32_t>(offsetof(Thread_t2300836069, ___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_t2300836069_StaticFields
{
public:
// System.LocalDataStoreMgr System.Threading.Thread::s_LocalDataStoreMgr
LocalDataStoreMgr_t1707895399 * ___s_LocalDataStoreMgr_0;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentCulture
AsyncLocal_1_t2427220165 * ___s_asyncLocalCurrentCulture_4;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentUICulture
AsyncLocal_1_t2427220165 * ___s_asyncLocalCurrentUICulture_5;
public:
inline static int32_t get_offset_of_s_LocalDataStoreMgr_0() { return static_cast<int32_t>(offsetof(Thread_t2300836069_StaticFields, ___s_LocalDataStoreMgr_0)); }
inline LocalDataStoreMgr_t1707895399 * get_s_LocalDataStoreMgr_0() const { return ___s_LocalDataStoreMgr_0; }
inline LocalDataStoreMgr_t1707895399 ** get_address_of_s_LocalDataStoreMgr_0() { return &___s_LocalDataStoreMgr_0; }
inline void set_s_LocalDataStoreMgr_0(LocalDataStoreMgr_t1707895399 * value)
{
___s_LocalDataStoreMgr_0 = value;
Il2CppCodeGenWriteBarrier((&___s_LocalDataStoreMgr_0), value);
}
inline static int32_t get_offset_of_s_asyncLocalCurrentCulture_4() { return static_cast<int32_t>(offsetof(Thread_t2300836069_StaticFields, ___s_asyncLocalCurrentCulture_4)); }
inline AsyncLocal_1_t2427220165 * get_s_asyncLocalCurrentCulture_4() const { return ___s_asyncLocalCurrentCulture_4; }
inline AsyncLocal_1_t2427220165 ** get_address_of_s_asyncLocalCurrentCulture_4() { return &___s_asyncLocalCurrentCulture_4; }
inline void set_s_asyncLocalCurrentCulture_4(AsyncLocal_1_t2427220165 * value)
{
___s_asyncLocalCurrentCulture_4 = value;
Il2CppCodeGenWriteBarrier((&___s_asyncLocalCurrentCulture_4), value);
}
inline static int32_t get_offset_of_s_asyncLocalCurrentUICulture_5() { return static_cast<int32_t>(offsetof(Thread_t2300836069_StaticFields, ___s_asyncLocalCurrentUICulture_5)); }
inline AsyncLocal_1_t2427220165 * get_s_asyncLocalCurrentUICulture_5() const { return ___s_asyncLocalCurrentUICulture_5; }
inline AsyncLocal_1_t2427220165 ** get_address_of_s_asyncLocalCurrentUICulture_5() { return &___s_asyncLocalCurrentUICulture_5; }
inline void set_s_asyncLocalCurrentUICulture_5(AsyncLocal_1_t2427220165 * value)
{
___s_asyncLocalCurrentUICulture_5 = value;
Il2CppCodeGenWriteBarrier((&___s_asyncLocalCurrentUICulture_5), value);
}
};
struct Thread_t2300836069_ThreadStaticFields
{
public:
// System.LocalDataStoreHolder System.Threading.Thread::s_LocalDataStore
LocalDataStoreHolder_t2567786569 * ___s_LocalDataStore_1;
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentCulture
CultureInfo_t4157843068 * ___m_CurrentCulture_2;
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentUICulture
CultureInfo_t4157843068 * ___m_CurrentUICulture_3;
// System.Threading.Thread System.Threading.Thread::current_thread
Thread_t2300836069 * ___current_thread_11;
public:
inline static int32_t get_offset_of_s_LocalDataStore_1() { return static_cast<int32_t>(offsetof(Thread_t2300836069_ThreadStaticFields, ___s_LocalDataStore_1)); }
inline LocalDataStoreHolder_t2567786569 * get_s_LocalDataStore_1() const { return ___s_LocalDataStore_1; }
inline LocalDataStoreHolder_t2567786569 ** get_address_of_s_LocalDataStore_1() { return &___s_LocalDataStore_1; }
inline void set_s_LocalDataStore_1(LocalDataStoreHolder_t2567786569 * value)
{
___s_LocalDataStore_1 = value;
Il2CppCodeGenWriteBarrier((&___s_LocalDataStore_1), value);
}
inline static int32_t get_offset_of_m_CurrentCulture_2() { return static_cast<int32_t>(offsetof(Thread_t2300836069_ThreadStaticFields, ___m_CurrentCulture_2)); }
inline CultureInfo_t4157843068 * get_m_CurrentCulture_2() const { return ___m_CurrentCulture_2; }
inline CultureInfo_t4157843068 ** get_address_of_m_CurrentCulture_2() { return &___m_CurrentCulture_2; }
inline void set_m_CurrentCulture_2(CultureInfo_t4157843068 * value)
{
___m_CurrentCulture_2 = value;
Il2CppCodeGenWriteBarrier((&___m_CurrentCulture_2), value);
}
inline static int32_t get_offset_of_m_CurrentUICulture_3() { return static_cast<int32_t>(offsetof(Thread_t2300836069_ThreadStaticFields, ___m_CurrentUICulture_3)); }
inline CultureInfo_t4157843068 * get_m_CurrentUICulture_3() const { return ___m_CurrentUICulture_3; }
inline CultureInfo_t4157843068 ** get_address_of_m_CurrentUICulture_3() { return &___m_CurrentUICulture_3; }
inline void set_m_CurrentUICulture_3(CultureInfo_t4157843068 * value)
{
___m_CurrentUICulture_3 = value;
Il2CppCodeGenWriteBarrier((&___m_CurrentUICulture_3), value);
}
inline static int32_t get_offset_of_current_thread_11() { return static_cast<int32_t>(offsetof(Thread_t2300836069_ThreadStaticFields, ___current_thread_11)); }
inline Thread_t2300836069 * get_current_thread_11() const { return ___current_thread_11; }
inline Thread_t2300836069 ** get_address_of_current_thread_11() { return &___current_thread_11; }
inline void set_current_thread_11(Thread_t2300836069 * value)
{
___current_thread_11 = value;
Il2CppCodeGenWriteBarrier((&___current_thread_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // THREAD_T2300836069_H
#ifndef WIN32LENGTHFLAGSUNION_T1383639798_H
#define WIN32LENGTHFLAGSUNION_T1383639798_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32LengthFlagsUnion
struct Win32LengthFlagsUnion_t1383639798
{
public:
// System.UInt32 System.Net.NetworkInformation.Win32LengthFlagsUnion::Length
uint32_t ___Length_0;
// System.UInt32 System.Net.NetworkInformation.Win32LengthFlagsUnion::Flags
uint32_t ___Flags_1;
public:
inline static int32_t get_offset_of_Length_0() { return static_cast<int32_t>(offsetof(Win32LengthFlagsUnion_t1383639798, ___Length_0)); }
inline uint32_t get_Length_0() const { return ___Length_0; }
inline uint32_t* get_address_of_Length_0() { return &___Length_0; }
inline void set_Length_0(uint32_t value)
{
___Length_0 = value;
}
inline static int32_t get_offset_of_Flags_1() { return static_cast<int32_t>(offsetof(Win32LengthFlagsUnion_t1383639798, ___Flags_1)); }
inline uint32_t get_Flags_1() const { return ___Flags_1; }
inline uint32_t* get_address_of_Flags_1() { return &___Flags_1; }
inline void set_Flags_1(uint32_t value)
{
___Flags_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32LENGTHFLAGSUNION_T1383639798_H
#ifndef COMMONUNIXIPGLOBALPROPERTIES_T1338606518_H
#define COMMONUNIXIPGLOBALPROPERTIES_T1338606518_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.CommonUnixIPGlobalProperties
struct CommonUnixIPGlobalProperties_t1338606518 : public IPGlobalProperties_t3113415935
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMMONUNIXIPGLOBALPROPERTIES_T1338606518_H
#ifndef CANCELLATIONTOKEN_T784455623_H
#define CANCELLATIONTOKEN_T784455623_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.CancellationToken
struct CancellationToken_t784455623
{
public:
// System.Threading.CancellationTokenSource System.Threading.CancellationToken::m_source
CancellationTokenSource_t540272775 * ___m_source_0;
public:
inline static int32_t get_offset_of_m_source_0() { return static_cast<int32_t>(offsetof(CancellationToken_t784455623, ___m_source_0)); }
inline CancellationTokenSource_t540272775 * get_m_source_0() const { return ___m_source_0; }
inline CancellationTokenSource_t540272775 ** get_address_of_m_source_0() { return &___m_source_0; }
inline void set_m_source_0(CancellationTokenSource_t540272775 * value)
{
___m_source_0 = value;
Il2CppCodeGenWriteBarrier((&___m_source_0), value);
}
};
struct CancellationToken_t784455623_StaticFields
{
public:
// System.Action`1<System.Object> System.Threading.CancellationToken::s_ActionToActionObjShunt
Action_1_t3252573759 * ___s_ActionToActionObjShunt_1;
public:
inline static int32_t get_offset_of_s_ActionToActionObjShunt_1() { return static_cast<int32_t>(offsetof(CancellationToken_t784455623_StaticFields, ___s_ActionToActionObjShunt_1)); }
inline Action_1_t3252573759 * get_s_ActionToActionObjShunt_1() const { return ___s_ActionToActionObjShunt_1; }
inline Action_1_t3252573759 ** get_address_of_s_ActionToActionObjShunt_1() { return &___s_ActionToActionObjShunt_1; }
inline void set_s_ActionToActionObjShunt_1(Action_1_t3252573759 * value)
{
___s_ActionToActionObjShunt_1 = value;
Il2CppCodeGenWriteBarrier((&___s_ActionToActionObjShunt_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Threading.CancellationToken
struct CancellationToken_t784455623_marshaled_pinvoke
{
CancellationTokenSource_t540272775 * ___m_source_0;
};
// Native definition for COM marshalling of System.Threading.CancellationToken
struct CancellationToken_t784455623_marshaled_com
{
CancellationTokenSource_t540272775 * ___m_source_0;
};
#endif // CANCELLATIONTOKEN_T784455623_H
#ifndef __STATICARRAYINITTYPESIZEU3D14_T3517563372_H
#define __STATICARRAYINITTYPESIZEU3D14_T3517563372_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=14
struct __StaticArrayInitTypeSizeU3D14_t3517563372
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D14_t3517563372__padding[14];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D14_T3517563372_H
#ifndef ENUMERATOR_T28463842_H
#define ENUMERATOR_T28463842_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
struct Enumerator_t28463842
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::dictionary
Dictionary_2_t3754537481 * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::version
int32_t ___version_2;
// TValue System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator::currentValue
MacOsNetworkInterface_t3969281182 * ___currentValue_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_t28463842, ___dictionary_0)); }
inline Dictionary_2_t3754537481 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t3754537481 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t3754537481 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((&___dictionary_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t28463842, ___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_t28463842, ___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_currentValue_3() { return static_cast<int32_t>(offsetof(Enumerator_t28463842, ___currentValue_3)); }
inline MacOsNetworkInterface_t3969281182 * get_currentValue_3() const { return ___currentValue_3; }
inline MacOsNetworkInterface_t3969281182 ** get_address_of_currentValue_3() { return &___currentValue_3; }
inline void set_currentValue_3(MacOsNetworkInterface_t3969281182 * value)
{
___currentValue_3 = value;
Il2CppCodeGenWriteBarrier((&___currentValue_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T28463842_H
#ifndef NULLABLE_1_T1819850047_H
#define NULLABLE_1_T1819850047_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Nullable`1<System.Boolean>
struct Nullable_1_t1819850047
{
public:
// T System.Nullable`1::value
bool ___value_0;
// System.Boolean System.Nullable`1::has_value
bool ___has_value_1;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(Nullable_1_t1819850047, ___value_0)); }
inline bool get_value_0() const { return ___value_0; }
inline bool* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(bool value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t1819850047, ___has_value_1)); }
inline bool get_has_value_1() const { return ___has_value_1; }
inline bool* get_address_of_has_value_1() { return &___has_value_1; }
inline void set_has_value_1(bool value)
{
___has_value_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NULLABLE_1_T1819850047_H
#ifndef SOCKADDR_DL_T1317779094_H
#define SOCKADDR_DL_T1317779094_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.sockaddr_dl
struct sockaddr_dl_t1317779094
{
public:
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_len
uint8_t ___sdl_len_0;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_family
uint8_t ___sdl_family_1;
// System.UInt16 System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_index
uint16_t ___sdl_index_2;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_type
uint8_t ___sdl_type_3;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_nlen
uint8_t ___sdl_nlen_4;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_alen
uint8_t ___sdl_alen_5;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_slen
uint8_t ___sdl_slen_6;
// System.Byte[] System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::sdl_data
ByteU5BU5D_t4116647657* ___sdl_data_7;
public:
inline static int32_t get_offset_of_sdl_len_0() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_len_0)); }
inline uint8_t get_sdl_len_0() const { return ___sdl_len_0; }
inline uint8_t* get_address_of_sdl_len_0() { return &___sdl_len_0; }
inline void set_sdl_len_0(uint8_t value)
{
___sdl_len_0 = value;
}
inline static int32_t get_offset_of_sdl_family_1() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_family_1)); }
inline uint8_t get_sdl_family_1() const { return ___sdl_family_1; }
inline uint8_t* get_address_of_sdl_family_1() { return &___sdl_family_1; }
inline void set_sdl_family_1(uint8_t value)
{
___sdl_family_1 = value;
}
inline static int32_t get_offset_of_sdl_index_2() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_index_2)); }
inline uint16_t get_sdl_index_2() const { return ___sdl_index_2; }
inline uint16_t* get_address_of_sdl_index_2() { return &___sdl_index_2; }
inline void set_sdl_index_2(uint16_t value)
{
___sdl_index_2 = value;
}
inline static int32_t get_offset_of_sdl_type_3() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_type_3)); }
inline uint8_t get_sdl_type_3() const { return ___sdl_type_3; }
inline uint8_t* get_address_of_sdl_type_3() { return &___sdl_type_3; }
inline void set_sdl_type_3(uint8_t value)
{
___sdl_type_3 = value;
}
inline static int32_t get_offset_of_sdl_nlen_4() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_nlen_4)); }
inline uint8_t get_sdl_nlen_4() const { return ___sdl_nlen_4; }
inline uint8_t* get_address_of_sdl_nlen_4() { return &___sdl_nlen_4; }
inline void set_sdl_nlen_4(uint8_t value)
{
___sdl_nlen_4 = value;
}
inline static int32_t get_offset_of_sdl_alen_5() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_alen_5)); }
inline uint8_t get_sdl_alen_5() const { return ___sdl_alen_5; }
inline uint8_t* get_address_of_sdl_alen_5() { return &___sdl_alen_5; }
inline void set_sdl_alen_5(uint8_t value)
{
___sdl_alen_5 = value;
}
inline static int32_t get_offset_of_sdl_slen_6() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_slen_6)); }
inline uint8_t get_sdl_slen_6() const { return ___sdl_slen_6; }
inline uint8_t* get_address_of_sdl_slen_6() { return &___sdl_slen_6; }
inline void set_sdl_slen_6(uint8_t value)
{
___sdl_slen_6 = value;
}
inline static int32_t get_offset_of_sdl_data_7() { return static_cast<int32_t>(offsetof(sockaddr_dl_t1317779094, ___sdl_data_7)); }
inline ByteU5BU5D_t4116647657* get_sdl_data_7() const { return ___sdl_data_7; }
inline ByteU5BU5D_t4116647657** get_address_of_sdl_data_7() { return &___sdl_data_7; }
inline void set_sdl_data_7(ByteU5BU5D_t4116647657* value)
{
___sdl_data_7 = value;
Il2CppCodeGenWriteBarrier((&___sdl_data_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.MacOsStructs.sockaddr_dl
struct sockaddr_dl_t1317779094_marshaled_pinvoke
{
uint8_t ___sdl_len_0;
uint8_t ___sdl_family_1;
uint16_t ___sdl_index_2;
uint8_t ___sdl_type_3;
uint8_t ___sdl_nlen_4;
uint8_t ___sdl_alen_5;
uint8_t ___sdl_slen_6;
uint8_t* ___sdl_data_7;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.MacOsStructs.sockaddr_dl
struct sockaddr_dl_t1317779094_marshaled_com
{
uint8_t ___sdl_len_0;
uint8_t ___sdl_family_1;
uint16_t ___sdl_index_2;
uint8_t ___sdl_type_3;
uint8_t ___sdl_nlen_4;
uint8_t ___sdl_alen_5;
uint8_t ___sdl_slen_6;
uint8_t* ___sdl_data_7;
};
#endif // SOCKADDR_DL_T1317779094_H
#ifndef SOCKADDR_IN_T2786965223_H
#define SOCKADDR_IN_T2786965223_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.sockaddr_in
struct sockaddr_in_t2786965223
{
public:
// System.UInt16 System.Net.NetworkInformation.sockaddr_in::sin_family
uint16_t ___sin_family_0;
// System.UInt16 System.Net.NetworkInformation.sockaddr_in::sin_port
uint16_t ___sin_port_1;
// System.UInt32 System.Net.NetworkInformation.sockaddr_in::sin_addr
uint32_t ___sin_addr_2;
public:
inline static int32_t get_offset_of_sin_family_0() { return static_cast<int32_t>(offsetof(sockaddr_in_t2786965223, ___sin_family_0)); }
inline uint16_t get_sin_family_0() const { return ___sin_family_0; }
inline uint16_t* get_address_of_sin_family_0() { return &___sin_family_0; }
inline void set_sin_family_0(uint16_t value)
{
___sin_family_0 = value;
}
inline static int32_t get_offset_of_sin_port_1() { return static_cast<int32_t>(offsetof(sockaddr_in_t2786965223, ___sin_port_1)); }
inline uint16_t get_sin_port_1() const { return ___sin_port_1; }
inline uint16_t* get_address_of_sin_port_1() { return &___sin_port_1; }
inline void set_sin_port_1(uint16_t value)
{
___sin_port_1 = value;
}
inline static int32_t get_offset_of_sin_addr_2() { return static_cast<int32_t>(offsetof(sockaddr_in_t2786965223, ___sin_addr_2)); }
inline uint32_t get_sin_addr_2() const { return ___sin_addr_2; }
inline uint32_t* get_address_of_sin_addr_2() { return &___sin_addr_2; }
inline void set_sin_addr_2(uint32_t value)
{
___sin_addr_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKADDR_IN_T2786965223_H
#ifndef DATETIME_T3738529785_H
#define DATETIME_T3738529785_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.DateTime
struct DateTime_t3738529785
{
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_t3738529785, ___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_t3738529785_StaticFields
{
public:
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t385246372* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t385246372* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t3738529785 ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t3738529785 ___MaxValue_32;
public:
inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___DaysToMonth365_29)); }
inline Int32U5BU5D_t385246372* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
inline Int32U5BU5D_t385246372** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
inline void set_DaysToMonth365_29(Int32U5BU5D_t385246372* value)
{
___DaysToMonth365_29 = value;
Il2CppCodeGenWriteBarrier((&___DaysToMonth365_29), value);
}
inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___DaysToMonth366_30)); }
inline Int32U5BU5D_t385246372* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
inline Int32U5BU5D_t385246372** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
inline void set_DaysToMonth366_30(Int32U5BU5D_t385246372* value)
{
___DaysToMonth366_30 = value;
Il2CppCodeGenWriteBarrier((&___DaysToMonth366_30), value);
}
inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___MinValue_31)); }
inline DateTime_t3738529785 get_MinValue_31() const { return ___MinValue_31; }
inline DateTime_t3738529785 * get_address_of_MinValue_31() { return &___MinValue_31; }
inline void set_MinValue_31(DateTime_t3738529785 value)
{
___MinValue_31 = value;
}
inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___MaxValue_32)); }
inline DateTime_t3738529785 get_MaxValue_32() const { return ___MaxValue_32; }
inline DateTime_t3738529785 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
inline void set_MaxValue_32(DateTime_t3738529785 value)
{
___MaxValue_32 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DATETIME_T3738529785_H
#ifndef NAMEVALUECOLLECTION_T407452768_H
#define NAMEVALUECOLLECTION_T407452768_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Specialized.NameValueCollection
struct NameValueCollection_t407452768 : public NameObjectCollectionBase_t2091847364
{
public:
// System.String[] System.Collections.Specialized.NameValueCollection::_all
StringU5BU5D_t1281789340* ____all_10;
// System.String[] System.Collections.Specialized.NameValueCollection::_allKeys
StringU5BU5D_t1281789340* ____allKeys_11;
public:
inline static int32_t get_offset_of__all_10() { return static_cast<int32_t>(offsetof(NameValueCollection_t407452768, ____all_10)); }
inline StringU5BU5D_t1281789340* get__all_10() const { return ____all_10; }
inline StringU5BU5D_t1281789340** get_address_of__all_10() { return &____all_10; }
inline void set__all_10(StringU5BU5D_t1281789340* value)
{
____all_10 = value;
Il2CppCodeGenWriteBarrier((&____all_10), value);
}
inline static int32_t get_offset_of__allKeys_11() { return static_cast<int32_t>(offsetof(NameValueCollection_t407452768, ____allKeys_11)); }
inline StringU5BU5D_t1281789340* get__allKeys_11() const { return ____allKeys_11; }
inline StringU5BU5D_t1281789340** get_address_of__allKeys_11() { return &____allKeys_11; }
inline void set__allKeys_11(StringU5BU5D_t1281789340* value)
{
____allKeys_11 = value;
Il2CppCodeGenWriteBarrier((&____allKeys_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NAMEVALUECOLLECTION_T407452768_H
#ifndef __STATICARRAYINITTYPESIZEU3D44_T3517366764_H
#define __STATICARRAYINITTYPESIZEU3D44_T3517366764_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=44
struct __StaticArrayInitTypeSizeU3D44_t3517366764
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D44_t3517366764__padding[44];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // __STATICARRAYINITTYPESIZEU3D44_T3517366764_H
#ifndef SAFEHANDLE_T3273388951_H
#define SAFEHANDLE_T3273388951_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.InteropServices.SafeHandle
struct SafeHandle_t3273388951 : public CriticalFinalizerObject_t701527852
{
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_t3273388951, ___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_t3273388951, ____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_t3273388951, ____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_t3273388951, ____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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SAFEHANDLE_T3273388951_H
#ifndef PROTOCOLTYPE_T303635025_H
#define PROTOCOLTYPE_T303635025_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.ProtocolType
struct ProtocolType_t303635025
{
public:
// System.Int32 System.Net.Sockets.ProtocolType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ProtocolType_t303635025, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PROTOCOLTYPE_T303635025_H
#ifndef WSABUF_T1998059390_H
#define WSABUF_T1998059390_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.Socket/WSABUF
struct WSABUF_t1998059390
{
public:
// System.Int32 System.Net.Sockets.Socket/WSABUF::len
int32_t ___len_0;
// System.IntPtr System.Net.Sockets.Socket/WSABUF::buf
intptr_t ___buf_1;
public:
inline static int32_t get_offset_of_len_0() { return static_cast<int32_t>(offsetof(WSABUF_t1998059390, ___len_0)); }
inline int32_t get_len_0() const { return ___len_0; }
inline int32_t* get_address_of_len_0() { return &___len_0; }
inline void set_len_0(int32_t value)
{
___len_0 = value;
}
inline static int32_t get_offset_of_buf_1() { return static_cast<int32_t>(offsetof(WSABUF_t1998059390, ___buf_1)); }
inline intptr_t get_buf_1() const { return ___buf_1; }
inline intptr_t* get_address_of_buf_1() { return &___buf_1; }
inline void set_buf_1(intptr_t value)
{
___buf_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WSABUF_T1998059390_H
#ifndef SOCKETSHUTDOWN_T2687738148_H
#define SOCKETSHUTDOWN_T2687738148_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketShutdown
struct SocketShutdown_t2687738148
{
public:
// System.Int32 System.Net.Sockets.SocketShutdown::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketShutdown_t2687738148, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETSHUTDOWN_T2687738148_H
#ifndef STATE_T1512905777_H
#define STATE_T1512905777_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.MonoChunkStream/State
struct State_t1512905777
{
public:
// System.Int32 System.Net.MonoChunkStream/State::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(State_t1512905777, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STATE_T1512905777_H
#ifndef WEBHEADERCOLLECTIONTYPE_T2870121391_H
#define WEBHEADERCOLLECTIONTYPE_T2870121391_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebHeaderCollectionType
struct WebHeaderCollectionType_t2870121391
{
public:
// System.UInt16 System.Net.WebHeaderCollectionType::value__
uint16_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(WebHeaderCollectionType_t2870121391, ___value___2)); }
inline uint16_t get_value___2() const { return ___value___2; }
inline uint16_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint16_t value)
{
___value___2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBHEADERCOLLECTIONTYPE_T2870121391_H
#ifndef GCHANDLETYPE_T3432586689_H
#define GCHANDLETYPE_T3432586689_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.InteropServices.GCHandleType
struct GCHandleType_t3432586689
{
public:
// System.Int32 System.Runtime.InteropServices.GCHandleType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(GCHandleType_t3432586689, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GCHANDLETYPE_T3432586689_H
#ifndef TOKENIMPERSONATIONLEVEL_T3773270939_H
#define TOKENIMPERSONATIONLEVEL_T3773270939_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Principal.TokenImpersonationLevel
struct TokenImpersonationLevel_t3773270939
{
public:
// System.Int32 System.Security.Principal.TokenImpersonationLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TokenImpersonationLevel_t3773270939, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TOKENIMPERSONATIONLEVEL_T3773270939_H
#ifndef SEMAPHORESLIM_T2974092902_H
#define SEMAPHORESLIM_T2974092902_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.SemaphoreSlim
struct SemaphoreSlim_t2974092902 : public RuntimeObject
{
public:
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.SemaphoreSlim::m_currentCount
int32_t ___m_currentCount_0;
// System.Int32 System.Threading.SemaphoreSlim::m_maxCount
int32_t ___m_maxCount_1;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.SemaphoreSlim::m_waitCount
int32_t ___m_waitCount_2;
// System.Object System.Threading.SemaphoreSlim::m_lockObj
RuntimeObject * ___m_lockObj_3;
// System.Threading.ManualResetEvent modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.SemaphoreSlim::m_waitHandle
ManualResetEvent_t451242010 * ___m_waitHandle_4;
// System.Threading.SemaphoreSlim/TaskNode System.Threading.SemaphoreSlim::m_asyncHead
TaskNode_t3317994743 * ___m_asyncHead_5;
// System.Threading.SemaphoreSlim/TaskNode System.Threading.SemaphoreSlim::m_asyncTail
TaskNode_t3317994743 * ___m_asyncTail_6;
public:
inline static int32_t get_offset_of_m_currentCount_0() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_currentCount_0)); }
inline int32_t get_m_currentCount_0() const { return ___m_currentCount_0; }
inline int32_t* get_address_of_m_currentCount_0() { return &___m_currentCount_0; }
inline void set_m_currentCount_0(int32_t value)
{
___m_currentCount_0 = value;
}
inline static int32_t get_offset_of_m_maxCount_1() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_maxCount_1)); }
inline int32_t get_m_maxCount_1() const { return ___m_maxCount_1; }
inline int32_t* get_address_of_m_maxCount_1() { return &___m_maxCount_1; }
inline void set_m_maxCount_1(int32_t value)
{
___m_maxCount_1 = value;
}
inline static int32_t get_offset_of_m_waitCount_2() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_waitCount_2)); }
inline int32_t get_m_waitCount_2() const { return ___m_waitCount_2; }
inline int32_t* get_address_of_m_waitCount_2() { return &___m_waitCount_2; }
inline void set_m_waitCount_2(int32_t value)
{
___m_waitCount_2 = value;
}
inline static int32_t get_offset_of_m_lockObj_3() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_lockObj_3)); }
inline RuntimeObject * get_m_lockObj_3() const { return ___m_lockObj_3; }
inline RuntimeObject ** get_address_of_m_lockObj_3() { return &___m_lockObj_3; }
inline void set_m_lockObj_3(RuntimeObject * value)
{
___m_lockObj_3 = value;
Il2CppCodeGenWriteBarrier((&___m_lockObj_3), value);
}
inline static int32_t get_offset_of_m_waitHandle_4() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_waitHandle_4)); }
inline ManualResetEvent_t451242010 * get_m_waitHandle_4() const { return ___m_waitHandle_4; }
inline ManualResetEvent_t451242010 ** get_address_of_m_waitHandle_4() { return &___m_waitHandle_4; }
inline void set_m_waitHandle_4(ManualResetEvent_t451242010 * value)
{
___m_waitHandle_4 = value;
Il2CppCodeGenWriteBarrier((&___m_waitHandle_4), value);
}
inline static int32_t get_offset_of_m_asyncHead_5() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_asyncHead_5)); }
inline TaskNode_t3317994743 * get_m_asyncHead_5() const { return ___m_asyncHead_5; }
inline TaskNode_t3317994743 ** get_address_of_m_asyncHead_5() { return &___m_asyncHead_5; }
inline void set_m_asyncHead_5(TaskNode_t3317994743 * value)
{
___m_asyncHead_5 = value;
Il2CppCodeGenWriteBarrier((&___m_asyncHead_5), value);
}
inline static int32_t get_offset_of_m_asyncTail_6() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902, ___m_asyncTail_6)); }
inline TaskNode_t3317994743 * get_m_asyncTail_6() const { return ___m_asyncTail_6; }
inline TaskNode_t3317994743 ** get_address_of_m_asyncTail_6() { return &___m_asyncTail_6; }
inline void set_m_asyncTail_6(TaskNode_t3317994743 * value)
{
___m_asyncTail_6 = value;
Il2CppCodeGenWriteBarrier((&___m_asyncTail_6), value);
}
};
struct SemaphoreSlim_t2974092902_StaticFields
{
public:
// System.Threading.Tasks.Task`1<System.Boolean> System.Threading.SemaphoreSlim::s_trueTask
Task_1_t1502828140 * ___s_trueTask_7;
// System.Action`1<System.Object> System.Threading.SemaphoreSlim::s_cancellationTokenCanceledEventHandler
Action_1_t3252573759 * ___s_cancellationTokenCanceledEventHandler_8;
public:
inline static int32_t get_offset_of_s_trueTask_7() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902_StaticFields, ___s_trueTask_7)); }
inline Task_1_t1502828140 * get_s_trueTask_7() const { return ___s_trueTask_7; }
inline Task_1_t1502828140 ** get_address_of_s_trueTask_7() { return &___s_trueTask_7; }
inline void set_s_trueTask_7(Task_1_t1502828140 * value)
{
___s_trueTask_7 = value;
Il2CppCodeGenWriteBarrier((&___s_trueTask_7), value);
}
inline static int32_t get_offset_of_s_cancellationTokenCanceledEventHandler_8() { return static_cast<int32_t>(offsetof(SemaphoreSlim_t2974092902_StaticFields, ___s_cancellationTokenCanceledEventHandler_8)); }
inline Action_1_t3252573759 * get_s_cancellationTokenCanceledEventHandler_8() const { return ___s_cancellationTokenCanceledEventHandler_8; }
inline Action_1_t3252573759 ** get_address_of_s_cancellationTokenCanceledEventHandler_8() { return &___s_cancellationTokenCanceledEventHandler_8; }
inline void set_s_cancellationTokenCanceledEventHandler_8(Action_1_t3252573759 * value)
{
___s_cancellationTokenCanceledEventHandler_8 = value;
Il2CppCodeGenWriteBarrier((&___s_cancellationTokenCanceledEventHandler_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SEMAPHORESLIM_T2974092902_H
#ifndef NETWORKINTERFACECOMPONENT_T1400510776_H
#define NETWORKINTERFACECOMPONENT_T1400510776_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceComponent
struct NetworkInterfaceComponent_t1400510776
{
public:
// System.Int32 System.Net.NetworkInformation.NetworkInterfaceComponent::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NetworkInterfaceComponent_t1400510776, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKINTERFACECOMPONENT_T1400510776_H
#ifndef SELECTMODE_T1123767949_H
#define SELECTMODE_T1123767949_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SelectMode
struct SelectMode_t1123767949
{
public:
// System.Int32 System.Net.Sockets.SelectMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SelectMode_t1123767949, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SELECTMODE_T1123767949_H
#ifndef SOCKETOPERATION_T2303010090_H
#define SOCKETOPERATION_T2303010090_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketOperation
struct SocketOperation_t2303010090
{
public:
// System.Int32 System.Net.Sockets.SocketOperation::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketOperation_t2303010090, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETOPERATION_T2303010090_H
#ifndef IOOPERATION_T344984103_H
#define IOOPERATION_T344984103_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IOOperation
struct IOOperation_t344984103
{
public:
// System.Int32 System.IOOperation::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(IOOperation_t344984103, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IOOPERATION_T344984103_H
#ifndef TLSPROTOCOLS_T3756552591_H
#define TLSPROTOCOLS_T3756552591_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.TlsProtocols
struct TlsProtocols_t3756552591
{
public:
// System.Int32 Mono.Security.Interface.TlsProtocols::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TlsProtocols_t3756552591, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSPROTOCOLS_T3756552591_H
#ifndef WEBEXCEPTIONINTERNALSTATUS_T1967166411_H
#define WEBEXCEPTIONINTERNALSTATUS_T1967166411_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebExceptionInternalStatus
struct WebExceptionInternalStatus_t1967166411
{
public:
// System.Int32 System.Net.WebExceptionInternalStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(WebExceptionInternalStatus_t1967166411, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBEXCEPTIONINTERNALSTATUS_T1967166411_H
#ifndef WEBCONNECTIONSTREAM_T2170064850_H
#define WEBCONNECTIONSTREAM_T2170064850_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnectionStream
struct WebConnectionStream_t2170064850 : public Stream_t1273022909
{
public:
// System.Boolean System.Net.WebConnectionStream::isRead
bool ___isRead_5;
// System.Net.WebConnection System.Net.WebConnectionStream::cnc
WebConnection_t3982808322 * ___cnc_6;
// System.Net.HttpWebRequest System.Net.WebConnectionStream::request
HttpWebRequest_t1669436515 * ___request_7;
// System.Byte[] System.Net.WebConnectionStream::readBuffer
ByteU5BU5D_t4116647657* ___readBuffer_8;
// System.Int32 System.Net.WebConnectionStream::readBufferOffset
int32_t ___readBufferOffset_9;
// System.Int32 System.Net.WebConnectionStream::readBufferSize
int32_t ___readBufferSize_10;
// System.Int32 System.Net.WebConnectionStream::stream_length
int32_t ___stream_length_11;
// System.Int64 System.Net.WebConnectionStream::contentLength
int64_t ___contentLength_12;
// System.Int64 System.Net.WebConnectionStream::totalRead
int64_t ___totalRead_13;
// System.Int64 System.Net.WebConnectionStream::totalWritten
int64_t ___totalWritten_14;
// System.Boolean System.Net.WebConnectionStream::nextReadCalled
bool ___nextReadCalled_15;
// System.Int32 System.Net.WebConnectionStream::pendingReads
int32_t ___pendingReads_16;
// System.Int32 System.Net.WebConnectionStream::pendingWrites
int32_t ___pendingWrites_17;
// System.Threading.ManualResetEvent System.Net.WebConnectionStream::pending
ManualResetEvent_t451242010 * ___pending_18;
// System.Boolean System.Net.WebConnectionStream::allowBuffering
bool ___allowBuffering_19;
// System.Boolean System.Net.WebConnectionStream::sendChunked
bool ___sendChunked_20;
// System.IO.MemoryStream System.Net.WebConnectionStream::writeBuffer
MemoryStream_t94973147 * ___writeBuffer_21;
// System.Boolean System.Net.WebConnectionStream::requestWritten
bool ___requestWritten_22;
// System.Byte[] System.Net.WebConnectionStream::headers
ByteU5BU5D_t4116647657* ___headers_23;
// System.Boolean System.Net.WebConnectionStream::disposed
bool ___disposed_24;
// System.Boolean System.Net.WebConnectionStream::headersSent
bool ___headersSent_25;
// System.Object System.Net.WebConnectionStream::locker
RuntimeObject * ___locker_26;
// System.Boolean System.Net.WebConnectionStream::initRead
bool ___initRead_27;
// System.Boolean System.Net.WebConnectionStream::read_eof
bool ___read_eof_28;
// System.Boolean System.Net.WebConnectionStream::complete_request_written
bool ___complete_request_written_29;
// System.Int32 System.Net.WebConnectionStream::read_timeout
int32_t ___read_timeout_30;
// System.Int32 System.Net.WebConnectionStream::write_timeout
int32_t ___write_timeout_31;
// System.AsyncCallback System.Net.WebConnectionStream::cb_wrapper
AsyncCallback_t3962456242 * ___cb_wrapper_32;
// System.Boolean System.Net.WebConnectionStream::IgnoreIOErrors
bool ___IgnoreIOErrors_33;
// System.Boolean System.Net.WebConnectionStream::<GetResponseOnClose>k__BackingField
bool ___U3CGetResponseOnCloseU3Ek__BackingField_34;
public:
inline static int32_t get_offset_of_isRead_5() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___isRead_5)); }
inline bool get_isRead_5() const { return ___isRead_5; }
inline bool* get_address_of_isRead_5() { return &___isRead_5; }
inline void set_isRead_5(bool value)
{
___isRead_5 = value;
}
inline static int32_t get_offset_of_cnc_6() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___cnc_6)); }
inline WebConnection_t3982808322 * get_cnc_6() const { return ___cnc_6; }
inline WebConnection_t3982808322 ** get_address_of_cnc_6() { return &___cnc_6; }
inline void set_cnc_6(WebConnection_t3982808322 * value)
{
___cnc_6 = value;
Il2CppCodeGenWriteBarrier((&___cnc_6), value);
}
inline static int32_t get_offset_of_request_7() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___request_7)); }
inline HttpWebRequest_t1669436515 * get_request_7() const { return ___request_7; }
inline HttpWebRequest_t1669436515 ** get_address_of_request_7() { return &___request_7; }
inline void set_request_7(HttpWebRequest_t1669436515 * value)
{
___request_7 = value;
Il2CppCodeGenWriteBarrier((&___request_7), value);
}
inline static int32_t get_offset_of_readBuffer_8() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___readBuffer_8)); }
inline ByteU5BU5D_t4116647657* get_readBuffer_8() const { return ___readBuffer_8; }
inline ByteU5BU5D_t4116647657** get_address_of_readBuffer_8() { return &___readBuffer_8; }
inline void set_readBuffer_8(ByteU5BU5D_t4116647657* value)
{
___readBuffer_8 = value;
Il2CppCodeGenWriteBarrier((&___readBuffer_8), value);
}
inline static int32_t get_offset_of_readBufferOffset_9() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___readBufferOffset_9)); }
inline int32_t get_readBufferOffset_9() const { return ___readBufferOffset_9; }
inline int32_t* get_address_of_readBufferOffset_9() { return &___readBufferOffset_9; }
inline void set_readBufferOffset_9(int32_t value)
{
___readBufferOffset_9 = value;
}
inline static int32_t get_offset_of_readBufferSize_10() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___readBufferSize_10)); }
inline int32_t get_readBufferSize_10() const { return ___readBufferSize_10; }
inline int32_t* get_address_of_readBufferSize_10() { return &___readBufferSize_10; }
inline void set_readBufferSize_10(int32_t value)
{
___readBufferSize_10 = value;
}
inline static int32_t get_offset_of_stream_length_11() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___stream_length_11)); }
inline int32_t get_stream_length_11() const { return ___stream_length_11; }
inline int32_t* get_address_of_stream_length_11() { return &___stream_length_11; }
inline void set_stream_length_11(int32_t value)
{
___stream_length_11 = value;
}
inline static int32_t get_offset_of_contentLength_12() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___contentLength_12)); }
inline int64_t get_contentLength_12() const { return ___contentLength_12; }
inline int64_t* get_address_of_contentLength_12() { return &___contentLength_12; }
inline void set_contentLength_12(int64_t value)
{
___contentLength_12 = value;
}
inline static int32_t get_offset_of_totalRead_13() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___totalRead_13)); }
inline int64_t get_totalRead_13() const { return ___totalRead_13; }
inline int64_t* get_address_of_totalRead_13() { return &___totalRead_13; }
inline void set_totalRead_13(int64_t value)
{
___totalRead_13 = value;
}
inline static int32_t get_offset_of_totalWritten_14() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___totalWritten_14)); }
inline int64_t get_totalWritten_14() const { return ___totalWritten_14; }
inline int64_t* get_address_of_totalWritten_14() { return &___totalWritten_14; }
inline void set_totalWritten_14(int64_t value)
{
___totalWritten_14 = value;
}
inline static int32_t get_offset_of_nextReadCalled_15() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___nextReadCalled_15)); }
inline bool get_nextReadCalled_15() const { return ___nextReadCalled_15; }
inline bool* get_address_of_nextReadCalled_15() { return &___nextReadCalled_15; }
inline void set_nextReadCalled_15(bool value)
{
___nextReadCalled_15 = value;
}
inline static int32_t get_offset_of_pendingReads_16() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___pendingReads_16)); }
inline int32_t get_pendingReads_16() const { return ___pendingReads_16; }
inline int32_t* get_address_of_pendingReads_16() { return &___pendingReads_16; }
inline void set_pendingReads_16(int32_t value)
{
___pendingReads_16 = value;
}
inline static int32_t get_offset_of_pendingWrites_17() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___pendingWrites_17)); }
inline int32_t get_pendingWrites_17() const { return ___pendingWrites_17; }
inline int32_t* get_address_of_pendingWrites_17() { return &___pendingWrites_17; }
inline void set_pendingWrites_17(int32_t value)
{
___pendingWrites_17 = value;
}
inline static int32_t get_offset_of_pending_18() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___pending_18)); }
inline ManualResetEvent_t451242010 * get_pending_18() const { return ___pending_18; }
inline ManualResetEvent_t451242010 ** get_address_of_pending_18() { return &___pending_18; }
inline void set_pending_18(ManualResetEvent_t451242010 * value)
{
___pending_18 = value;
Il2CppCodeGenWriteBarrier((&___pending_18), value);
}
inline static int32_t get_offset_of_allowBuffering_19() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___allowBuffering_19)); }
inline bool get_allowBuffering_19() const { return ___allowBuffering_19; }
inline bool* get_address_of_allowBuffering_19() { return &___allowBuffering_19; }
inline void set_allowBuffering_19(bool value)
{
___allowBuffering_19 = value;
}
inline static int32_t get_offset_of_sendChunked_20() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___sendChunked_20)); }
inline bool get_sendChunked_20() const { return ___sendChunked_20; }
inline bool* get_address_of_sendChunked_20() { return &___sendChunked_20; }
inline void set_sendChunked_20(bool value)
{
___sendChunked_20 = value;
}
inline static int32_t get_offset_of_writeBuffer_21() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___writeBuffer_21)); }
inline MemoryStream_t94973147 * get_writeBuffer_21() const { return ___writeBuffer_21; }
inline MemoryStream_t94973147 ** get_address_of_writeBuffer_21() { return &___writeBuffer_21; }
inline void set_writeBuffer_21(MemoryStream_t94973147 * value)
{
___writeBuffer_21 = value;
Il2CppCodeGenWriteBarrier((&___writeBuffer_21), value);
}
inline static int32_t get_offset_of_requestWritten_22() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___requestWritten_22)); }
inline bool get_requestWritten_22() const { return ___requestWritten_22; }
inline bool* get_address_of_requestWritten_22() { return &___requestWritten_22; }
inline void set_requestWritten_22(bool value)
{
___requestWritten_22 = value;
}
inline static int32_t get_offset_of_headers_23() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___headers_23)); }
inline ByteU5BU5D_t4116647657* get_headers_23() const { return ___headers_23; }
inline ByteU5BU5D_t4116647657** get_address_of_headers_23() { return &___headers_23; }
inline void set_headers_23(ByteU5BU5D_t4116647657* value)
{
___headers_23 = value;
Il2CppCodeGenWriteBarrier((&___headers_23), value);
}
inline static int32_t get_offset_of_disposed_24() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___disposed_24)); }
inline bool get_disposed_24() const { return ___disposed_24; }
inline bool* get_address_of_disposed_24() { return &___disposed_24; }
inline void set_disposed_24(bool value)
{
___disposed_24 = value;
}
inline static int32_t get_offset_of_headersSent_25() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___headersSent_25)); }
inline bool get_headersSent_25() const { return ___headersSent_25; }
inline bool* get_address_of_headersSent_25() { return &___headersSent_25; }
inline void set_headersSent_25(bool value)
{
___headersSent_25 = value;
}
inline static int32_t get_offset_of_locker_26() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___locker_26)); }
inline RuntimeObject * get_locker_26() const { return ___locker_26; }
inline RuntimeObject ** get_address_of_locker_26() { return &___locker_26; }
inline void set_locker_26(RuntimeObject * value)
{
___locker_26 = value;
Il2CppCodeGenWriteBarrier((&___locker_26), value);
}
inline static int32_t get_offset_of_initRead_27() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___initRead_27)); }
inline bool get_initRead_27() const { return ___initRead_27; }
inline bool* get_address_of_initRead_27() { return &___initRead_27; }
inline void set_initRead_27(bool value)
{
___initRead_27 = value;
}
inline static int32_t get_offset_of_read_eof_28() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___read_eof_28)); }
inline bool get_read_eof_28() const { return ___read_eof_28; }
inline bool* get_address_of_read_eof_28() { return &___read_eof_28; }
inline void set_read_eof_28(bool value)
{
___read_eof_28 = value;
}
inline static int32_t get_offset_of_complete_request_written_29() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___complete_request_written_29)); }
inline bool get_complete_request_written_29() const { return ___complete_request_written_29; }
inline bool* get_address_of_complete_request_written_29() { return &___complete_request_written_29; }
inline void set_complete_request_written_29(bool value)
{
___complete_request_written_29 = value;
}
inline static int32_t get_offset_of_read_timeout_30() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___read_timeout_30)); }
inline int32_t get_read_timeout_30() const { return ___read_timeout_30; }
inline int32_t* get_address_of_read_timeout_30() { return &___read_timeout_30; }
inline void set_read_timeout_30(int32_t value)
{
___read_timeout_30 = value;
}
inline static int32_t get_offset_of_write_timeout_31() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___write_timeout_31)); }
inline int32_t get_write_timeout_31() const { return ___write_timeout_31; }
inline int32_t* get_address_of_write_timeout_31() { return &___write_timeout_31; }
inline void set_write_timeout_31(int32_t value)
{
___write_timeout_31 = value;
}
inline static int32_t get_offset_of_cb_wrapper_32() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___cb_wrapper_32)); }
inline AsyncCallback_t3962456242 * get_cb_wrapper_32() const { return ___cb_wrapper_32; }
inline AsyncCallback_t3962456242 ** get_address_of_cb_wrapper_32() { return &___cb_wrapper_32; }
inline void set_cb_wrapper_32(AsyncCallback_t3962456242 * value)
{
___cb_wrapper_32 = value;
Il2CppCodeGenWriteBarrier((&___cb_wrapper_32), value);
}
inline static int32_t get_offset_of_IgnoreIOErrors_33() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___IgnoreIOErrors_33)); }
inline bool get_IgnoreIOErrors_33() const { return ___IgnoreIOErrors_33; }
inline bool* get_address_of_IgnoreIOErrors_33() { return &___IgnoreIOErrors_33; }
inline void set_IgnoreIOErrors_33(bool value)
{
___IgnoreIOErrors_33 = value;
}
inline static int32_t get_offset_of_U3CGetResponseOnCloseU3Ek__BackingField_34() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850, ___U3CGetResponseOnCloseU3Ek__BackingField_34)); }
inline bool get_U3CGetResponseOnCloseU3Ek__BackingField_34() const { return ___U3CGetResponseOnCloseU3Ek__BackingField_34; }
inline bool* get_address_of_U3CGetResponseOnCloseU3Ek__BackingField_34() { return &___U3CGetResponseOnCloseU3Ek__BackingField_34; }
inline void set_U3CGetResponseOnCloseU3Ek__BackingField_34(bool value)
{
___U3CGetResponseOnCloseU3Ek__BackingField_34 = value;
}
};
struct WebConnectionStream_t2170064850_StaticFields
{
public:
// System.Byte[] System.Net.WebConnectionStream::crlf
ByteU5BU5D_t4116647657* ___crlf_4;
public:
inline static int32_t get_offset_of_crlf_4() { return static_cast<int32_t>(offsetof(WebConnectionStream_t2170064850_StaticFields, ___crlf_4)); }
inline ByteU5BU5D_t4116647657* get_crlf_4() const { return ___crlf_4; }
inline ByteU5BU5D_t4116647657** get_address_of_crlf_4() { return &___crlf_4; }
inline void set_crlf_4(ByteU5BU5D_t4116647657* value)
{
___crlf_4 = value;
Il2CppCodeGenWriteBarrier((&___crlf_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBCONNECTIONSTREAM_T2170064850_H
#ifndef NUMBERSTYLES_T617258130_H
#define NUMBERSTYLES_T617258130_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.NumberStyles
struct NumberStyles_t617258130
{
public:
// System.Int32 System.Globalization.NumberStyles::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NumberStyles_t617258130, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NUMBERSTYLES_T617258130_H
#ifndef BINDINGFLAGS_T2721792723_H
#define BINDINGFLAGS_T2721792723_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.BindingFlags
struct BindingFlags_t2721792723
{
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_t2721792723, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINDINGFLAGS_T2721792723_H
#ifndef MEMORYSTREAM_T94973147_H
#define MEMORYSTREAM_T94973147_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.MemoryStream
struct MemoryStream_t94973147 : public Stream_t1273022909
{
public:
// System.Byte[] System.IO.MemoryStream::_buffer
ByteU5BU5D_t4116647657* ____buffer_4;
// System.Int32 System.IO.MemoryStream::_origin
int32_t ____origin_5;
// System.Int32 System.IO.MemoryStream::_position
int32_t ____position_6;
// System.Int32 System.IO.MemoryStream::_length
int32_t ____length_7;
// System.Int32 System.IO.MemoryStream::_capacity
int32_t ____capacity_8;
// System.Boolean System.IO.MemoryStream::_expandable
bool ____expandable_9;
// System.Boolean System.IO.MemoryStream::_writable
bool ____writable_10;
// System.Boolean System.IO.MemoryStream::_exposable
bool ____exposable_11;
// System.Boolean System.IO.MemoryStream::_isOpen
bool ____isOpen_12;
// System.Threading.Tasks.Task`1<System.Int32> System.IO.MemoryStream::_lastReadTask
Task_1_t61518632 * ____lastReadTask_13;
public:
inline static int32_t get_offset_of__buffer_4() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____buffer_4)); }
inline ByteU5BU5D_t4116647657* get__buffer_4() const { return ____buffer_4; }
inline ByteU5BU5D_t4116647657** get_address_of__buffer_4() { return &____buffer_4; }
inline void set__buffer_4(ByteU5BU5D_t4116647657* value)
{
____buffer_4 = value;
Il2CppCodeGenWriteBarrier((&____buffer_4), value);
}
inline static int32_t get_offset_of__origin_5() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____origin_5)); }
inline int32_t get__origin_5() const { return ____origin_5; }
inline int32_t* get_address_of__origin_5() { return &____origin_5; }
inline void set__origin_5(int32_t value)
{
____origin_5 = value;
}
inline static int32_t get_offset_of__position_6() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____position_6)); }
inline int32_t get__position_6() const { return ____position_6; }
inline int32_t* get_address_of__position_6() { return &____position_6; }
inline void set__position_6(int32_t value)
{
____position_6 = value;
}
inline static int32_t get_offset_of__length_7() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____length_7)); }
inline int32_t get__length_7() const { return ____length_7; }
inline int32_t* get_address_of__length_7() { return &____length_7; }
inline void set__length_7(int32_t value)
{
____length_7 = value;
}
inline static int32_t get_offset_of__capacity_8() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____capacity_8)); }
inline int32_t get__capacity_8() const { return ____capacity_8; }
inline int32_t* get_address_of__capacity_8() { return &____capacity_8; }
inline void set__capacity_8(int32_t value)
{
____capacity_8 = value;
}
inline static int32_t get_offset_of__expandable_9() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____expandable_9)); }
inline bool get__expandable_9() const { return ____expandable_9; }
inline bool* get_address_of__expandable_9() { return &____expandable_9; }
inline void set__expandable_9(bool value)
{
____expandable_9 = value;
}
inline static int32_t get_offset_of__writable_10() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____writable_10)); }
inline bool get__writable_10() const { return ____writable_10; }
inline bool* get_address_of__writable_10() { return &____writable_10; }
inline void set__writable_10(bool value)
{
____writable_10 = value;
}
inline static int32_t get_offset_of__exposable_11() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____exposable_11)); }
inline bool get__exposable_11() const { return ____exposable_11; }
inline bool* get_address_of__exposable_11() { return &____exposable_11; }
inline void set__exposable_11(bool value)
{
____exposable_11 = value;
}
inline static int32_t get_offset_of__isOpen_12() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____isOpen_12)); }
inline bool get__isOpen_12() const { return ____isOpen_12; }
inline bool* get_address_of__isOpen_12() { return &____isOpen_12; }
inline void set__isOpen_12(bool value)
{
____isOpen_12 = value;
}
inline static int32_t get_offset_of__lastReadTask_13() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ____lastReadTask_13)); }
inline Task_1_t61518632 * get__lastReadTask_13() const { return ____lastReadTask_13; }
inline Task_1_t61518632 ** get_address_of__lastReadTask_13() { return &____lastReadTask_13; }
inline void set__lastReadTask_13(Task_1_t61518632 * value)
{
____lastReadTask_13 = value;
Il2CppCodeGenWriteBarrier((&____lastReadTask_13), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MEMORYSTREAM_T94973147_H
#ifndef STRINGCOMPARISON_T3657712135_H
#define STRINGCOMPARISON_T3657712135_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.StringComparison
struct StringComparison_t3657712135
{
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_t3657712135, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRINGCOMPARISON_T3657712135_H
#ifndef EXTERNALEXCEPTION_T3544951457_H
#define EXTERNALEXCEPTION_T3544951457_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.InteropServices.ExternalException
struct ExternalException_t3544951457 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXTERNALEXCEPTION_T3544951457_H
#ifndef REGEXOPTIONS_T92845595_H
#define REGEXOPTIONS_T92845595_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.RegexOptions
struct RegexOptions_t92845595
{
public:
// System.Int32 System.Text.RegularExpressions.RegexOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RegexOptions_t92845595, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REGEXOPTIONS_T92845595_H
#ifndef URIIDNSCOPE_T1847433844_H
#define URIIDNSCOPE_T1847433844_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UriIdnScope
struct UriIdnScope_t1847433844
{
public:
// System.Int32 System.UriIdnScope::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriIdnScope_t1847433844, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // URIIDNSCOPE_T1847433844_H
#ifndef MONOSSLPOLICYERRORS_T2590217945_H
#define MONOSSLPOLICYERRORS_T2590217945_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.MonoSslPolicyErrors
struct MonoSslPolicyErrors_t2590217945
{
public:
// System.Int32 Mono.Security.Interface.MonoSslPolicyErrors::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MonoSslPolicyErrors_t2590217945, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOSSLPOLICYERRORS_T2590217945_H
#ifndef FLAGS_T3313540662_H
#define FLAGS_T3313540662_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ExecutionContext/Flags
struct Flags_t3313540662
{
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_t3313540662, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FLAGS_T3313540662_H
#ifndef STREAMINGCONTEXTSTATES_T3580100459_H
#define STREAMINGCONTEXTSTATES_T3580100459_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.Serialization.StreamingContextStates
struct StreamingContextStates_t3580100459
{
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_t3580100459, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STREAMINGCONTEXTSTATES_T3580100459_H
#ifndef DECOMPRESSIONMETHODS_T1612219745_H
#define DECOMPRESSIONMETHODS_T1612219745_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.DecompressionMethods
struct DecompressionMethods_t1612219745
{
public:
// System.Int32 System.Net.DecompressionMethods::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DecompressionMethods_t1612219745, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DECOMPRESSIONMETHODS_T1612219745_H
#ifndef NULLABLE_1_T1166124571_H
#define NULLABLE_1_T1166124571_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Nullable`1<System.DateTime>
struct Nullable_1_t1166124571
{
public:
// T System.Nullable`1::value
DateTime_t3738529785 ___value_0;
// System.Boolean System.Nullable`1::has_value
bool ___has_value_1;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(Nullable_1_t1166124571, ___value_0)); }
inline DateTime_t3738529785 get_value_0() const { return ___value_0; }
inline DateTime_t3738529785 * get_address_of_value_0() { return &___value_0; }
inline void set_value_0(DateTime_t3738529785 value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t1166124571, ___has_value_1)); }
inline bool get_has_value_1() const { return ___has_value_1; }
inline bool* get_address_of_has_value_1() { return &___has_value_1; }
inline void set_has_value_1(bool value)
{
___has_value_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NULLABLE_1_T1166124571_H
#ifndef WEAKREFERENCE_T1334886716_H
#define WEAKREFERENCE_T1334886716_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.WeakReference
struct WeakReference_t1334886716 : public RuntimeObject
{
public:
// System.Boolean System.WeakReference::isLongReference
bool ___isLongReference_0;
// System.Runtime.InteropServices.GCHandle System.WeakReference::gcHandle
GCHandle_t3351438187 ___gcHandle_1;
public:
inline static int32_t get_offset_of_isLongReference_0() { return static_cast<int32_t>(offsetof(WeakReference_t1334886716, ___isLongReference_0)); }
inline bool get_isLongReference_0() const { return ___isLongReference_0; }
inline bool* get_address_of_isLongReference_0() { return &___isLongReference_0; }
inline void set_isLongReference_0(bool value)
{
___isLongReference_0 = value;
}
inline static int32_t get_offset_of_gcHandle_1() { return static_cast<int32_t>(offsetof(WeakReference_t1334886716, ___gcHandle_1)); }
inline GCHandle_t3351438187 get_gcHandle_1() const { return ___gcHandle_1; }
inline GCHandle_t3351438187 * get_address_of_gcHandle_1() { return &___gcHandle_1; }
inline void set_gcHandle_1(GCHandle_t3351438187 value)
{
___gcHandle_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEAKREFERENCE_T1334886716_H
#ifndef FLAGS_T2372798318_H
#define FLAGS_T2372798318_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Uri/Flags
struct Flags_t2372798318
{
public:
// System.UInt64 System.Uri/Flags::value__
uint64_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Flags_t2372798318, ___value___2)); }
inline uint64_t get_value___2() const { return ___value___2; }
inline uint64_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint64_t value)
{
___value___2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FLAGS_T2372798318_H
#ifndef TIMERSTATE_T69819406_H
#define TIMERSTATE_T69819406_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/TimerNode/TimerState
struct TimerState_t69819406
{
public:
// System.Int32 System.Net.TimerThread/TimerNode/TimerState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TimerState_t69819406, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERSTATE_T69819406_H
#ifndef U3CU3EC__DISPLAYCLASS298_0_T616190186_H
#define U3CU3EC__DISPLAYCLASS298_0_T616190186_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.Socket/<>c__DisplayClass298_0
struct U3CU3Ec__DisplayClass298_0_t616190186 : public RuntimeObject
{
public:
// System.Net.Sockets.Socket System.Net.Sockets.Socket/<>c__DisplayClass298_0::<>4__this
Socket_t1119025450 * ___U3CU3E4__this_0;
// System.IOSelectorJob System.Net.Sockets.Socket/<>c__DisplayClass298_0::job
IOSelectorJob_t2199748873 * ___job_1;
// System.IntPtr System.Net.Sockets.Socket/<>c__DisplayClass298_0::handle
intptr_t ___handle_2;
public:
inline static int32_t get_offset_of_U3CU3E4__this_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass298_0_t616190186, ___U3CU3E4__this_0)); }
inline Socket_t1119025450 * get_U3CU3E4__this_0() const { return ___U3CU3E4__this_0; }
inline Socket_t1119025450 ** get_address_of_U3CU3E4__this_0() { return &___U3CU3E4__this_0; }
inline void set_U3CU3E4__this_0(Socket_t1119025450 * value)
{
___U3CU3E4__this_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3E4__this_0), value);
}
inline static int32_t get_offset_of_job_1() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass298_0_t616190186, ___job_1)); }
inline IOSelectorJob_t2199748873 * get_job_1() const { return ___job_1; }
inline IOSelectorJob_t2199748873 ** get_address_of_job_1() { return &___job_1; }
inline void set_job_1(IOSelectorJob_t2199748873 * value)
{
___job_1 = value;
Il2CppCodeGenWriteBarrier((&___job_1), value);
}
inline static int32_t get_offset_of_handle_2() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass298_0_t616190186, ___handle_2)); }
inline intptr_t get_handle_2() const { return ___handle_2; }
inline intptr_t* get_address_of_handle_2() { return &___handle_2; }
inline void set_handle_2(intptr_t value)
{
___handle_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CU3EC__DISPLAYCLASS298_0_T616190186_H
#ifndef HTTPSTATUSCODE_T3035121829_H
#define HTTPSTATUSCODE_T3035121829_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpStatusCode
struct HttpStatusCode_t3035121829
{
public:
// System.Int32 System.Net.HttpStatusCode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HttpStatusCode_t3035121829, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPSTATUSCODE_T3035121829_H
#ifndef HASHTABLE_T1853889766_H
#define HASHTABLE_T1853889766_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Hashtable
struct Hashtable_t1853889766 : public RuntimeObject
{
public:
// System.Collections.Hashtable/bucket[] System.Collections.Hashtable::buckets
bucketU5BU5D_t876121385* ___buckets_10;
// System.Int32 System.Collections.Hashtable::count
int32_t ___count_11;
// System.Int32 System.Collections.Hashtable::occupancy
int32_t ___occupancy_12;
// System.Int32 System.Collections.Hashtable::loadsize
int32_t ___loadsize_13;
// System.Single System.Collections.Hashtable::loadFactor
float ___loadFactor_14;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Hashtable::version
int32_t ___version_15;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Hashtable::isWriterInProgress
bool ___isWriterInProgress_16;
// System.Collections.ICollection System.Collections.Hashtable::keys
RuntimeObject* ___keys_17;
// System.Collections.ICollection System.Collections.Hashtable::values
RuntimeObject* ___values_18;
// System.Collections.IEqualityComparer System.Collections.Hashtable::_keycomparer
RuntimeObject* ____keycomparer_19;
// System.Object System.Collections.Hashtable::_syncRoot
RuntimeObject * ____syncRoot_20;
public:
inline static int32_t get_offset_of_buckets_10() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___buckets_10)); }
inline bucketU5BU5D_t876121385* get_buckets_10() const { return ___buckets_10; }
inline bucketU5BU5D_t876121385** get_address_of_buckets_10() { return &___buckets_10; }
inline void set_buckets_10(bucketU5BU5D_t876121385* value)
{
___buckets_10 = value;
Il2CppCodeGenWriteBarrier((&___buckets_10), value);
}
inline static int32_t get_offset_of_count_11() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___count_11)); }
inline int32_t get_count_11() const { return ___count_11; }
inline int32_t* get_address_of_count_11() { return &___count_11; }
inline void set_count_11(int32_t value)
{
___count_11 = value;
}
inline static int32_t get_offset_of_occupancy_12() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___occupancy_12)); }
inline int32_t get_occupancy_12() const { return ___occupancy_12; }
inline int32_t* get_address_of_occupancy_12() { return &___occupancy_12; }
inline void set_occupancy_12(int32_t value)
{
___occupancy_12 = value;
}
inline static int32_t get_offset_of_loadsize_13() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___loadsize_13)); }
inline int32_t get_loadsize_13() const { return ___loadsize_13; }
inline int32_t* get_address_of_loadsize_13() { return &___loadsize_13; }
inline void set_loadsize_13(int32_t value)
{
___loadsize_13 = value;
}
inline static int32_t get_offset_of_loadFactor_14() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___loadFactor_14)); }
inline float get_loadFactor_14() const { return ___loadFactor_14; }
inline float* get_address_of_loadFactor_14() { return &___loadFactor_14; }
inline void set_loadFactor_14(float value)
{
___loadFactor_14 = value;
}
inline static int32_t get_offset_of_version_15() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___version_15)); }
inline int32_t get_version_15() const { return ___version_15; }
inline int32_t* get_address_of_version_15() { return &___version_15; }
inline void set_version_15(int32_t value)
{
___version_15 = value;
}
inline static int32_t get_offset_of_isWriterInProgress_16() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___isWriterInProgress_16)); }
inline bool get_isWriterInProgress_16() const { return ___isWriterInProgress_16; }
inline bool* get_address_of_isWriterInProgress_16() { return &___isWriterInProgress_16; }
inline void set_isWriterInProgress_16(bool value)
{
___isWriterInProgress_16 = value;
}
inline static int32_t get_offset_of_keys_17() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___keys_17)); }
inline RuntimeObject* get_keys_17() const { return ___keys_17; }
inline RuntimeObject** get_address_of_keys_17() { return &___keys_17; }
inline void set_keys_17(RuntimeObject* value)
{
___keys_17 = value;
Il2CppCodeGenWriteBarrier((&___keys_17), value);
}
inline static int32_t get_offset_of_values_18() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___values_18)); }
inline RuntimeObject* get_values_18() const { return ___values_18; }
inline RuntimeObject** get_address_of_values_18() { return &___values_18; }
inline void set_values_18(RuntimeObject* value)
{
___values_18 = value;
Il2CppCodeGenWriteBarrier((&___values_18), value);
}
inline static int32_t get_offset_of__keycomparer_19() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ____keycomparer_19)); }
inline RuntimeObject* get__keycomparer_19() const { return ____keycomparer_19; }
inline RuntimeObject** get_address_of__keycomparer_19() { return &____keycomparer_19; }
inline void set__keycomparer_19(RuntimeObject* value)
{
____keycomparer_19 = value;
Il2CppCodeGenWriteBarrier((&____keycomparer_19), value);
}
inline static int32_t get_offset_of__syncRoot_20() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ____syncRoot_20)); }
inline RuntimeObject * get__syncRoot_20() const { return ____syncRoot_20; }
inline RuntimeObject ** get_address_of__syncRoot_20() { return &____syncRoot_20; }
inline void set__syncRoot_20(RuntimeObject * value)
{
____syncRoot_20 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_20), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHTABLE_T1853889766_H
#ifndef PRINCIPALPOLICY_T1761212333_H
#define PRINCIPALPOLICY_T1761212333_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Principal.PrincipalPolicy
struct PrincipalPolicy_t1761212333
{
public:
// System.Int32 System.Security.Principal.PrincipalPolicy::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(PrincipalPolicy_t1761212333, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRINCIPALPOLICY_T1761212333_H
#ifndef TASKCREATIONOPTIONS_T173757611_H
#define TASKCREATIONOPTIONS_T173757611_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Tasks.TaskCreationOptions
struct TaskCreationOptions_t173757611
{
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_t173757611, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TASKCREATIONOPTIONS_T173757611_H
#ifndef WEBEXCEPTIONSTATUS_T1731416715_H
#define WEBEXCEPTIONSTATUS_T1731416715_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebExceptionStatus
struct WebExceptionStatus_t1731416715
{
public:
// System.Int32 System.Net.WebExceptionStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(WebExceptionStatus_t1731416715, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBEXCEPTIONSTATUS_T1731416715_H
#ifndef NTLMAUTHSTATE_T2130360192_H
#define NTLMAUTHSTATE_T2130360192_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnection/NtlmAuthState
struct NtlmAuthState_t2130360192
{
public:
// System.Int32 System.Net.WebConnection/NtlmAuthState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NtlmAuthState_t2130360192, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NTLMAUTHSTATE_T2130360192_H
#ifndef TASKCONTINUATIONOPTIONS_T875378736_H
#define TASKCONTINUATIONOPTIONS_T875378736_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Tasks.TaskContinuationOptions
struct TaskContinuationOptions_t875378736
{
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_t875378736, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TASKCONTINUATIONOPTIONS_T875378736_H
#ifndef RUNTIMEFIELDHANDLE_T1871169219_H
#define RUNTIMEFIELDHANDLE_T1871169219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t1871169219
{
public:
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeFieldHandle_t1871169219, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEFIELDHANDLE_T1871169219_H
#ifndef U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255362_H
#define U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255362_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t3057255362 : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields
{
public:
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=14 <PrivateImplementationDetails>::0283A6AF88802AB45989B29549915BEA0F6CD515
__StaticArrayInitTypeSizeU3D14_t3517563372 ___0283A6AF88802AB45989B29549915BEA0F6CD515_0;
// System.Int64 <PrivateImplementationDetails>::03F4297FCC30D0FD5E420E5D26E7FA711167C7EF
int64_t ___03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=9 <PrivateImplementationDetails>::1A39764B112685485A5BA7B2880D878B858C1A7A
__StaticArrayInitTypeSizeU3D9_t3218278899 ___1A39764B112685485A5BA7B2880D878B858C1A7A_2;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=3 <PrivateImplementationDetails>::1A84029C80CB5518379F199F53FF08A7B764F8FD
__StaticArrayInitTypeSizeU3D3_t3217885683 ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=12 <PrivateImplementationDetails>::3AF058944BC1070D164143C7635654884348D0E1
__StaticArrayInitTypeSizeU3D12_t2710994318 ___3AF058944BC1070D164143C7635654884348D0E1_4;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=12 <PrivateImplementationDetails>::3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC
__StaticArrayInitTypeSizeU3D12_t2710994318 ___3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=10 <PrivateImplementationDetails>::53437C3B2572EDB9B8640C3195DF3BC2729C5EA1
__StaticArrayInitTypeSizeU3D10_t1548194904 ___53437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32 <PrivateImplementationDetails>::59F5BD34B6C013DEACC784F69C67E95150033A84
__StaticArrayInitTypeSizeU3D32_t2711125390 ___59F5BD34B6C013DEACC784F69C67E95150033A84_7;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=6 <PrivateImplementationDetails>::5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C
__StaticArrayInitTypeSizeU3D6_t3217689075 ___5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=9 <PrivateImplementationDetails>::6D49C9D487D7AD3491ECE08732D68A593CC2038D
__StaticArrayInitTypeSizeU3D9_t3218278899 ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_9;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=128 <PrivateImplementationDetails>::6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E
__StaticArrayInitTypeSizeU3D128_t531529102 ___6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=44 <PrivateImplementationDetails>::8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3
__StaticArrayInitTypeSizeU3D44_t3517366764 ___8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11;
// System.Int64 <PrivateImplementationDetails>::98A44A6F8606AE6F23FE230286C1D6FBCC407226
int64_t ___98A44A6F8606AE6F23FE230286C1D6FBCC407226_12;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=12 <PrivateImplementationDetails>::ADDB8526F472C1C6D36DBD5A6E509D973CC34C92
__StaticArrayInitTypeSizeU3D12_t2710994318 ___ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32 <PrivateImplementationDetails>::C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536
__StaticArrayInitTypeSizeU3D32_t2711125390 ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=128 <PrivateImplementationDetails>::CCEEADA43268372341F81AE0C9208C6856441C04
__StaticArrayInitTypeSizeU3D128_t531529102 ___CCEEADA43268372341F81AE0C9208C6856441C04_15;
// System.Int64 <PrivateImplementationDetails>::E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78
int64_t ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32 <PrivateImplementationDetails>::EC5842B3154E1AF94500B57220EB9F684BCCC42A
__StaticArrayInitTypeSizeU3D32_t2711125390 ___EC5842B3154E1AF94500B57220EB9F684BCCC42A_17;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256 <PrivateImplementationDetails>::EEAFE8C6E1AB017237567305EE925C976CDB6458
__StaticArrayInitTypeSizeU3D256_t1757367633 ___EEAFE8C6E1AB017237567305EE925C976CDB6458_18;
public:
inline static int32_t get_offset_of_U30283A6AF88802AB45989B29549915BEA0F6CD515_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___0283A6AF88802AB45989B29549915BEA0F6CD515_0)); }
inline __StaticArrayInitTypeSizeU3D14_t3517563372 get_U30283A6AF88802AB45989B29549915BEA0F6CD515_0() const { return ___0283A6AF88802AB45989B29549915BEA0F6CD515_0; }
inline __StaticArrayInitTypeSizeU3D14_t3517563372 * get_address_of_U30283A6AF88802AB45989B29549915BEA0F6CD515_0() { return &___0283A6AF88802AB45989B29549915BEA0F6CD515_0; }
inline void set_U30283A6AF88802AB45989B29549915BEA0F6CD515_0(__StaticArrayInitTypeSizeU3D14_t3517563372 value)
{
___0283A6AF88802AB45989B29549915BEA0F6CD515_0 = value;
}
inline static int32_t get_offset_of_U303F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1)); }
inline int64_t get_U303F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1() const { return ___03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1; }
inline int64_t* get_address_of_U303F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1() { return &___03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1; }
inline void set_U303F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1(int64_t value)
{
___03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1 = value;
}
inline static int32_t get_offset_of_U31A39764B112685485A5BA7B2880D878B858C1A7A_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___1A39764B112685485A5BA7B2880D878B858C1A7A_2)); }
inline __StaticArrayInitTypeSizeU3D9_t3218278899 get_U31A39764B112685485A5BA7B2880D878B858C1A7A_2() const { return ___1A39764B112685485A5BA7B2880D878B858C1A7A_2; }
inline __StaticArrayInitTypeSizeU3D9_t3218278899 * get_address_of_U31A39764B112685485A5BA7B2880D878B858C1A7A_2() { return &___1A39764B112685485A5BA7B2880D878B858C1A7A_2; }
inline void set_U31A39764B112685485A5BA7B2880D878B858C1A7A_2(__StaticArrayInitTypeSizeU3D9_t3218278899 value)
{
___1A39764B112685485A5BA7B2880D878B858C1A7A_2 = value;
}
inline static int32_t get_offset_of_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3)); }
inline __StaticArrayInitTypeSizeU3D3_t3217885683 get_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() const { return ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3; }
inline __StaticArrayInitTypeSizeU3D3_t3217885683 * get_address_of_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() { return &___1A84029C80CB5518379F199F53FF08A7B764F8FD_3; }
inline void set_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3(__StaticArrayInitTypeSizeU3D3_t3217885683 value)
{
___1A84029C80CB5518379F199F53FF08A7B764F8FD_3 = value;
}
inline static int32_t get_offset_of_U33AF058944BC1070D164143C7635654884348D0E1_4() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___3AF058944BC1070D164143C7635654884348D0E1_4)); }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 get_U33AF058944BC1070D164143C7635654884348D0E1_4() const { return ___3AF058944BC1070D164143C7635654884348D0E1_4; }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 * get_address_of_U33AF058944BC1070D164143C7635654884348D0E1_4() { return &___3AF058944BC1070D164143C7635654884348D0E1_4; }
inline void set_U33AF058944BC1070D164143C7635654884348D0E1_4(__StaticArrayInitTypeSizeU3D12_t2710994318 value)
{
___3AF058944BC1070D164143C7635654884348D0E1_4 = value;
}
inline static int32_t get_offset_of_U33BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5)); }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 get_U33BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5() const { return ___3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5; }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 * get_address_of_U33BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5() { return &___3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5; }
inline void set_U33BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5(__StaticArrayInitTypeSizeU3D12_t2710994318 value)
{
___3BE77BF818331C2D8400FFFFF9FADD3F16AD89AC_5 = value;
}
inline static int32_t get_offset_of_U353437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___53437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6)); }
inline __StaticArrayInitTypeSizeU3D10_t1548194904 get_U353437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6() const { return ___53437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6; }
inline __StaticArrayInitTypeSizeU3D10_t1548194904 * get_address_of_U353437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6() { return &___53437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6; }
inline void set_U353437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6(__StaticArrayInitTypeSizeU3D10_t1548194904 value)
{
___53437C3B2572EDB9B8640C3195DF3BC2729C5EA1_6 = value;
}
inline static int32_t get_offset_of_U359F5BD34B6C013DEACC784F69C67E95150033A84_7() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___59F5BD34B6C013DEACC784F69C67E95150033A84_7)); }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 get_U359F5BD34B6C013DEACC784F69C67E95150033A84_7() const { return ___59F5BD34B6C013DEACC784F69C67E95150033A84_7; }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 * get_address_of_U359F5BD34B6C013DEACC784F69C67E95150033A84_7() { return &___59F5BD34B6C013DEACC784F69C67E95150033A84_7; }
inline void set_U359F5BD34B6C013DEACC784F69C67E95150033A84_7(__StaticArrayInitTypeSizeU3D32_t2711125390 value)
{
___59F5BD34B6C013DEACC784F69C67E95150033A84_7 = value;
}
inline static int32_t get_offset_of_U35BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8)); }
inline __StaticArrayInitTypeSizeU3D6_t3217689075 get_U35BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8() const { return ___5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8; }
inline __StaticArrayInitTypeSizeU3D6_t3217689075 * get_address_of_U35BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8() { return &___5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8; }
inline void set_U35BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8(__StaticArrayInitTypeSizeU3D6_t3217689075 value)
{
___5BC3486B05BA8CF4689C7BDB198B3F477BB4E20C_8 = value;
}
inline static int32_t get_offset_of_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_9() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_9)); }
inline __StaticArrayInitTypeSizeU3D9_t3218278899 get_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_9() const { return ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_9; }
inline __StaticArrayInitTypeSizeU3D9_t3218278899 * get_address_of_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_9() { return &___6D49C9D487D7AD3491ECE08732D68A593CC2038D_9; }
inline void set_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_9(__StaticArrayInitTypeSizeU3D9_t3218278899 value)
{
___6D49C9D487D7AD3491ECE08732D68A593CC2038D_9 = value;
}
inline static int32_t get_offset_of_U36F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10)); }
inline __StaticArrayInitTypeSizeU3D128_t531529102 get_U36F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10() const { return ___6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10; }
inline __StaticArrayInitTypeSizeU3D128_t531529102 * get_address_of_U36F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10() { return &___6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10; }
inline void set_U36F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10(__StaticArrayInitTypeSizeU3D128_t531529102 value)
{
___6F3AD3DC3AF8047587C4C9D696EB68A01FEF796E_10 = value;
}
inline static int32_t get_offset_of_U38E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11)); }
inline __StaticArrayInitTypeSizeU3D44_t3517366764 get_U38E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11() const { return ___8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11; }
inline __StaticArrayInitTypeSizeU3D44_t3517366764 * get_address_of_U38E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11() { return &___8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11; }
inline void set_U38E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11(__StaticArrayInitTypeSizeU3D44_t3517366764 value)
{
___8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11 = value;
}
inline static int32_t get_offset_of_U398A44A6F8606AE6F23FE230286C1D6FBCC407226_12() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___98A44A6F8606AE6F23FE230286C1D6FBCC407226_12)); }
inline int64_t get_U398A44A6F8606AE6F23FE230286C1D6FBCC407226_12() const { return ___98A44A6F8606AE6F23FE230286C1D6FBCC407226_12; }
inline int64_t* get_address_of_U398A44A6F8606AE6F23FE230286C1D6FBCC407226_12() { return &___98A44A6F8606AE6F23FE230286C1D6FBCC407226_12; }
inline void set_U398A44A6F8606AE6F23FE230286C1D6FBCC407226_12(int64_t value)
{
___98A44A6F8606AE6F23FE230286C1D6FBCC407226_12 = value;
}
inline static int32_t get_offset_of_ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13)); }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 get_ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13() const { return ___ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13; }
inline __StaticArrayInitTypeSizeU3D12_t2710994318 * get_address_of_ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13() { return &___ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13; }
inline void set_ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13(__StaticArrayInitTypeSizeU3D12_t2710994318 value)
{
___ADDB8526F472C1C6D36DBD5A6E509D973CC34C92_13 = value;
}
inline static int32_t get_offset_of_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14)); }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 get_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14() const { return ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14; }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 * get_address_of_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14() { return &___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14; }
inline void set_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14(__StaticArrayInitTypeSizeU3D32_t2711125390 value)
{
___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_14 = value;
}
inline static int32_t get_offset_of_CCEEADA43268372341F81AE0C9208C6856441C04_15() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___CCEEADA43268372341F81AE0C9208C6856441C04_15)); }
inline __StaticArrayInitTypeSizeU3D128_t531529102 get_CCEEADA43268372341F81AE0C9208C6856441C04_15() const { return ___CCEEADA43268372341F81AE0C9208C6856441C04_15; }
inline __StaticArrayInitTypeSizeU3D128_t531529102 * get_address_of_CCEEADA43268372341F81AE0C9208C6856441C04_15() { return &___CCEEADA43268372341F81AE0C9208C6856441C04_15; }
inline void set_CCEEADA43268372341F81AE0C9208C6856441C04_15(__StaticArrayInitTypeSizeU3D128_t531529102 value)
{
___CCEEADA43268372341F81AE0C9208C6856441C04_15 = value;
}
inline static int32_t get_offset_of_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16)); }
inline int64_t get_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16() const { return ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16; }
inline int64_t* get_address_of_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16() { return &___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16; }
inline void set_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16(int64_t value)
{
___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_16 = value;
}
inline static int32_t get_offset_of_EC5842B3154E1AF94500B57220EB9F684BCCC42A_17() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___EC5842B3154E1AF94500B57220EB9F684BCCC42A_17)); }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 get_EC5842B3154E1AF94500B57220EB9F684BCCC42A_17() const { return ___EC5842B3154E1AF94500B57220EB9F684BCCC42A_17; }
inline __StaticArrayInitTypeSizeU3D32_t2711125390 * get_address_of_EC5842B3154E1AF94500B57220EB9F684BCCC42A_17() { return &___EC5842B3154E1AF94500B57220EB9F684BCCC42A_17; }
inline void set_EC5842B3154E1AF94500B57220EB9F684BCCC42A_17(__StaticArrayInitTypeSizeU3D32_t2711125390 value)
{
___EC5842B3154E1AF94500B57220EB9F684BCCC42A_17 = value;
}
inline static int32_t get_offset_of_EEAFE8C6E1AB017237567305EE925C976CDB6458_18() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255362_StaticFields, ___EEAFE8C6E1AB017237567305EE925C976CDB6458_18)); }
inline __StaticArrayInitTypeSizeU3D256_t1757367633 get_EEAFE8C6E1AB017237567305EE925C976CDB6458_18() const { return ___EEAFE8C6E1AB017237567305EE925C976CDB6458_18; }
inline __StaticArrayInitTypeSizeU3D256_t1757367633 * get_address_of_EEAFE8C6E1AB017237567305EE925C976CDB6458_18() { return &___EEAFE8C6E1AB017237567305EE925C976CDB6458_18; }
inline void set_EEAFE8C6E1AB017237567305EE925C976CDB6458_18(__StaticArrayInitTypeSizeU3D256_t1757367633 value)
{
___EEAFE8C6E1AB017237567305EE925C976CDB6458_18 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255362_H
#ifndef AUTHENTICATIONLEVEL_T1236753641_H
#define AUTHENTICATIONLEVEL_T1236753641_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.AuthenticationLevel
struct AuthenticationLevel_t1236753641
{
public:
// System.Int32 System.Net.Security.AuthenticationLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AuthenticationLevel_t1236753641, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHENTICATIONLEVEL_T1236753641_H
#ifndef ARGUMENTEXCEPTION_T132251570_H
#define ARGUMENTEXCEPTION_T132251570_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentException
struct ArgumentException_t132251570 : public SystemException_t176217640
{
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_t132251570, ___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((&___m_paramName_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTEXCEPTION_T132251570_H
#ifndef SSLPOLICYERRORS_T2205227823_H
#define SSLPOLICYERRORS_T2205227823_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.SslPolicyErrors
struct SslPolicyErrors_t2205227823
{
public:
// System.Int32 System.Net.Security.SslPolicyErrors::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SslPolicyErrors_t2205227823, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLPOLICYERRORS_T2205227823_H
#ifndef DELEGATE_T1188392813_H
#define DELEGATE_T1188392813_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Delegate
struct Delegate_t1188392813 : 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_t1677132599 * ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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((&___m_target_2), value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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((&___method_info_7), value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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((&___original_method_info_8), value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_9)); }
inline DelegateData_t1677132599 * get_data_9() const { return ___data_9; }
inline DelegateData_t1677132599 ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1677132599 * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((&___data_9), value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t1188392813_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_t1677132599 * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t1188392813_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_t1677132599 * ___data_9;
int32_t ___method_is_virtual_10;
};
#endif // DELEGATE_T1188392813_H
#ifndef INVALIDOPERATIONEXCEPTION_T56020091_H
#define INVALIDOPERATIONEXCEPTION_T56020091_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.InvalidOperationException
struct InvalidOperationException_t56020091 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INVALIDOPERATIONEXCEPTION_T56020091_H
#ifndef COOKIECOLLECTION_T3881042616_H
#define COOKIECOLLECTION_T3881042616_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.CookieCollection
struct CookieCollection_t3881042616 : public RuntimeObject
{
public:
// System.Int32 System.Net.CookieCollection::m_version
int32_t ___m_version_0;
// System.Collections.ArrayList System.Net.CookieCollection::m_list
ArrayList_t2718874744 * ___m_list_1;
// System.DateTime System.Net.CookieCollection::m_TimeStamp
DateTime_t3738529785 ___m_TimeStamp_2;
// System.Boolean System.Net.CookieCollection::m_has_other_versions
bool ___m_has_other_versions_3;
// System.Boolean System.Net.CookieCollection::m_IsReadOnly
bool ___m_IsReadOnly_4;
public:
inline static int32_t get_offset_of_m_version_0() { return static_cast<int32_t>(offsetof(CookieCollection_t3881042616, ___m_version_0)); }
inline int32_t get_m_version_0() const { return ___m_version_0; }
inline int32_t* get_address_of_m_version_0() { return &___m_version_0; }
inline void set_m_version_0(int32_t value)
{
___m_version_0 = value;
}
inline static int32_t get_offset_of_m_list_1() { return static_cast<int32_t>(offsetof(CookieCollection_t3881042616, ___m_list_1)); }
inline ArrayList_t2718874744 * get_m_list_1() const { return ___m_list_1; }
inline ArrayList_t2718874744 ** get_address_of_m_list_1() { return &___m_list_1; }
inline void set_m_list_1(ArrayList_t2718874744 * value)
{
___m_list_1 = value;
Il2CppCodeGenWriteBarrier((&___m_list_1), value);
}
inline static int32_t get_offset_of_m_TimeStamp_2() { return static_cast<int32_t>(offsetof(CookieCollection_t3881042616, ___m_TimeStamp_2)); }
inline DateTime_t3738529785 get_m_TimeStamp_2() const { return ___m_TimeStamp_2; }
inline DateTime_t3738529785 * get_address_of_m_TimeStamp_2() { return &___m_TimeStamp_2; }
inline void set_m_TimeStamp_2(DateTime_t3738529785 value)
{
___m_TimeStamp_2 = value;
}
inline static int32_t get_offset_of_m_has_other_versions_3() { return static_cast<int32_t>(offsetof(CookieCollection_t3881042616, ___m_has_other_versions_3)); }
inline bool get_m_has_other_versions_3() const { return ___m_has_other_versions_3; }
inline bool* get_address_of_m_has_other_versions_3() { return &___m_has_other_versions_3; }
inline void set_m_has_other_versions_3(bool value)
{
___m_has_other_versions_3 = value;
}
inline static int32_t get_offset_of_m_IsReadOnly_4() { return static_cast<int32_t>(offsetof(CookieCollection_t3881042616, ___m_IsReadOnly_4)); }
inline bool get_m_IsReadOnly_4() const { return ___m_IsReadOnly_4; }
inline bool* get_address_of_m_IsReadOnly_4() { return &___m_IsReadOnly_4; }
inline void set_m_IsReadOnly_4(bool value)
{
___m_IsReadOnly_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COOKIECOLLECTION_T3881042616_H
#ifndef AUTHENTICATEDSTREAM_T3415418016_H
#define AUTHENTICATEDSTREAM_T3415418016_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.AuthenticatedStream
struct AuthenticatedStream_t3415418016 : public Stream_t1273022909
{
public:
// System.IO.Stream System.Net.Security.AuthenticatedStream::_InnerStream
Stream_t1273022909 * ____InnerStream_4;
// System.Boolean System.Net.Security.AuthenticatedStream::_LeaveStreamOpen
bool ____LeaveStreamOpen_5;
public:
inline static int32_t get_offset_of__InnerStream_4() { return static_cast<int32_t>(offsetof(AuthenticatedStream_t3415418016, ____InnerStream_4)); }
inline Stream_t1273022909 * get__InnerStream_4() const { return ____InnerStream_4; }
inline Stream_t1273022909 ** get_address_of__InnerStream_4() { return &____InnerStream_4; }
inline void set__InnerStream_4(Stream_t1273022909 * value)
{
____InnerStream_4 = value;
Il2CppCodeGenWriteBarrier((&____InnerStream_4), value);
}
inline static int32_t get_offset_of__LeaveStreamOpen_5() { return static_cast<int32_t>(offsetof(AuthenticatedStream_t3415418016, ____LeaveStreamOpen_5)); }
inline bool get__LeaveStreamOpen_5() const { return ____LeaveStreamOpen_5; }
inline bool* get_address_of__LeaveStreamOpen_5() { return &____LeaveStreamOpen_5; }
inline void set__LeaveStreamOpen_5(bool value)
{
____LeaveStreamOpen_5 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHENTICATEDSTREAM_T3415418016_H
#ifndef READSTATE_T245281014_H
#define READSTATE_T245281014_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ReadState
struct ReadState_t245281014
{
public:
// System.Int32 System.Net.ReadState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ReadState_t245281014, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READSTATE_T245281014_H
#ifndef SSLPROTOCOLS_T928472600_H
#define SSLPROTOCOLS_T928472600_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Authentication.SslProtocols
struct SslProtocols_t928472600
{
public:
// System.Int32 System.Security.Authentication.SslProtocols::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SslProtocols_t928472600, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLPROTOCOLS_T928472600_H
#ifndef IOCONTROLCODE_T4252950740_H
#define IOCONTROLCODE_T4252950740_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.IOControlCode
struct IOControlCode_t4252950740
{
public:
// System.Int64 System.Net.Sockets.IOControlCode::value__
int64_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(IOControlCode_t4252950740, ___value___2)); }
inline int64_t get_value___2() const { return ___value___2; }
inline int64_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int64_t value)
{
___value___2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IOCONTROLCODE_T4252950740_H
#ifndef SERVICEPOINT_T2786966844_H
#define SERVICEPOINT_T2786966844_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServicePoint
struct ServicePoint_t2786966844 : public RuntimeObject
{
public:
// System.Uri System.Net.ServicePoint::uri
Uri_t100236324 * ___uri_0;
// System.Int32 System.Net.ServicePoint::connectionLimit
int32_t ___connectionLimit_1;
// System.Int32 System.Net.ServicePoint::maxIdleTime
int32_t ___maxIdleTime_2;
// System.Int32 System.Net.ServicePoint::currentConnections
int32_t ___currentConnections_3;
// System.DateTime System.Net.ServicePoint::idleSince
DateTime_t3738529785 ___idleSince_4;
// System.DateTime System.Net.ServicePoint::lastDnsResolve
DateTime_t3738529785 ___lastDnsResolve_5;
// System.Version System.Net.ServicePoint::protocolVersion
Version_t3456873960 * ___protocolVersion_6;
// System.Net.IPHostEntry System.Net.ServicePoint::host
IPHostEntry_t263743900 * ___host_7;
// System.Boolean System.Net.ServicePoint::usesProxy
bool ___usesProxy_8;
// System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup> System.Net.ServicePoint::groups
Dictionary_2_t1497636287 * ___groups_9;
// System.Boolean System.Net.ServicePoint::sendContinue
bool ___sendContinue_10;
// System.Boolean System.Net.ServicePoint::useConnect
bool ___useConnect_11;
// System.Object System.Net.ServicePoint::hostE
RuntimeObject * ___hostE_12;
// System.Boolean System.Net.ServicePoint::useNagle
bool ___useNagle_13;
// System.Net.BindIPEndPoint System.Net.ServicePoint::endPointCallback
BindIPEndPoint_t1029027275 * ___endPointCallback_14;
// System.Boolean System.Net.ServicePoint::tcp_keepalive
bool ___tcp_keepalive_15;
// System.Int32 System.Net.ServicePoint::tcp_keepalive_time
int32_t ___tcp_keepalive_time_16;
// System.Int32 System.Net.ServicePoint::tcp_keepalive_interval
int32_t ___tcp_keepalive_interval_17;
// System.Threading.Timer System.Net.ServicePoint::idleTimer
Timer_t716671026 * ___idleTimer_18;
// System.Object System.Net.ServicePoint::m_ServerCertificateOrBytes
RuntimeObject * ___m_ServerCertificateOrBytes_19;
// System.Object System.Net.ServicePoint::m_ClientCertificateOrBytes
RuntimeObject * ___m_ClientCertificateOrBytes_20;
public:
inline static int32_t get_offset_of_uri_0() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___uri_0)); }
inline Uri_t100236324 * get_uri_0() const { return ___uri_0; }
inline Uri_t100236324 ** get_address_of_uri_0() { return &___uri_0; }
inline void set_uri_0(Uri_t100236324 * value)
{
___uri_0 = value;
Il2CppCodeGenWriteBarrier((&___uri_0), value);
}
inline static int32_t get_offset_of_connectionLimit_1() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___connectionLimit_1)); }
inline int32_t get_connectionLimit_1() const { return ___connectionLimit_1; }
inline int32_t* get_address_of_connectionLimit_1() { return &___connectionLimit_1; }
inline void set_connectionLimit_1(int32_t value)
{
___connectionLimit_1 = value;
}
inline static int32_t get_offset_of_maxIdleTime_2() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___maxIdleTime_2)); }
inline int32_t get_maxIdleTime_2() const { return ___maxIdleTime_2; }
inline int32_t* get_address_of_maxIdleTime_2() { return &___maxIdleTime_2; }
inline void set_maxIdleTime_2(int32_t value)
{
___maxIdleTime_2 = value;
}
inline static int32_t get_offset_of_currentConnections_3() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___currentConnections_3)); }
inline int32_t get_currentConnections_3() const { return ___currentConnections_3; }
inline int32_t* get_address_of_currentConnections_3() { return &___currentConnections_3; }
inline void set_currentConnections_3(int32_t value)
{
___currentConnections_3 = value;
}
inline static int32_t get_offset_of_idleSince_4() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___idleSince_4)); }
inline DateTime_t3738529785 get_idleSince_4() const { return ___idleSince_4; }
inline DateTime_t3738529785 * get_address_of_idleSince_4() { return &___idleSince_4; }
inline void set_idleSince_4(DateTime_t3738529785 value)
{
___idleSince_4 = value;
}
inline static int32_t get_offset_of_lastDnsResolve_5() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___lastDnsResolve_5)); }
inline DateTime_t3738529785 get_lastDnsResolve_5() const { return ___lastDnsResolve_5; }
inline DateTime_t3738529785 * get_address_of_lastDnsResolve_5() { return &___lastDnsResolve_5; }
inline void set_lastDnsResolve_5(DateTime_t3738529785 value)
{
___lastDnsResolve_5 = value;
}
inline static int32_t get_offset_of_protocolVersion_6() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___protocolVersion_6)); }
inline Version_t3456873960 * get_protocolVersion_6() const { return ___protocolVersion_6; }
inline Version_t3456873960 ** get_address_of_protocolVersion_6() { return &___protocolVersion_6; }
inline void set_protocolVersion_6(Version_t3456873960 * value)
{
___protocolVersion_6 = value;
Il2CppCodeGenWriteBarrier((&___protocolVersion_6), value);
}
inline static int32_t get_offset_of_host_7() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___host_7)); }
inline IPHostEntry_t263743900 * get_host_7() const { return ___host_7; }
inline IPHostEntry_t263743900 ** get_address_of_host_7() { return &___host_7; }
inline void set_host_7(IPHostEntry_t263743900 * value)
{
___host_7 = value;
Il2CppCodeGenWriteBarrier((&___host_7), value);
}
inline static int32_t get_offset_of_usesProxy_8() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___usesProxy_8)); }
inline bool get_usesProxy_8() const { return ___usesProxy_8; }
inline bool* get_address_of_usesProxy_8() { return &___usesProxy_8; }
inline void set_usesProxy_8(bool value)
{
___usesProxy_8 = value;
}
inline static int32_t get_offset_of_groups_9() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___groups_9)); }
inline Dictionary_2_t1497636287 * get_groups_9() const { return ___groups_9; }
inline Dictionary_2_t1497636287 ** get_address_of_groups_9() { return &___groups_9; }
inline void set_groups_9(Dictionary_2_t1497636287 * value)
{
___groups_9 = value;
Il2CppCodeGenWriteBarrier((&___groups_9), value);
}
inline static int32_t get_offset_of_sendContinue_10() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___sendContinue_10)); }
inline bool get_sendContinue_10() const { return ___sendContinue_10; }
inline bool* get_address_of_sendContinue_10() { return &___sendContinue_10; }
inline void set_sendContinue_10(bool value)
{
___sendContinue_10 = value;
}
inline static int32_t get_offset_of_useConnect_11() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___useConnect_11)); }
inline bool get_useConnect_11() const { return ___useConnect_11; }
inline bool* get_address_of_useConnect_11() { return &___useConnect_11; }
inline void set_useConnect_11(bool value)
{
___useConnect_11 = value;
}
inline static int32_t get_offset_of_hostE_12() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___hostE_12)); }
inline RuntimeObject * get_hostE_12() const { return ___hostE_12; }
inline RuntimeObject ** get_address_of_hostE_12() { return &___hostE_12; }
inline void set_hostE_12(RuntimeObject * value)
{
___hostE_12 = value;
Il2CppCodeGenWriteBarrier((&___hostE_12), value);
}
inline static int32_t get_offset_of_useNagle_13() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___useNagle_13)); }
inline bool get_useNagle_13() const { return ___useNagle_13; }
inline bool* get_address_of_useNagle_13() { return &___useNagle_13; }
inline void set_useNagle_13(bool value)
{
___useNagle_13 = value;
}
inline static int32_t get_offset_of_endPointCallback_14() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___endPointCallback_14)); }
inline BindIPEndPoint_t1029027275 * get_endPointCallback_14() const { return ___endPointCallback_14; }
inline BindIPEndPoint_t1029027275 ** get_address_of_endPointCallback_14() { return &___endPointCallback_14; }
inline void set_endPointCallback_14(BindIPEndPoint_t1029027275 * value)
{
___endPointCallback_14 = value;
Il2CppCodeGenWriteBarrier((&___endPointCallback_14), value);
}
inline static int32_t get_offset_of_tcp_keepalive_15() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___tcp_keepalive_15)); }
inline bool get_tcp_keepalive_15() const { return ___tcp_keepalive_15; }
inline bool* get_address_of_tcp_keepalive_15() { return &___tcp_keepalive_15; }
inline void set_tcp_keepalive_15(bool value)
{
___tcp_keepalive_15 = value;
}
inline static int32_t get_offset_of_tcp_keepalive_time_16() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___tcp_keepalive_time_16)); }
inline int32_t get_tcp_keepalive_time_16() const { return ___tcp_keepalive_time_16; }
inline int32_t* get_address_of_tcp_keepalive_time_16() { return &___tcp_keepalive_time_16; }
inline void set_tcp_keepalive_time_16(int32_t value)
{
___tcp_keepalive_time_16 = value;
}
inline static int32_t get_offset_of_tcp_keepalive_interval_17() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___tcp_keepalive_interval_17)); }
inline int32_t get_tcp_keepalive_interval_17() const { return ___tcp_keepalive_interval_17; }
inline int32_t* get_address_of_tcp_keepalive_interval_17() { return &___tcp_keepalive_interval_17; }
inline void set_tcp_keepalive_interval_17(int32_t value)
{
___tcp_keepalive_interval_17 = value;
}
inline static int32_t get_offset_of_idleTimer_18() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___idleTimer_18)); }
inline Timer_t716671026 * get_idleTimer_18() const { return ___idleTimer_18; }
inline Timer_t716671026 ** get_address_of_idleTimer_18() { return &___idleTimer_18; }
inline void set_idleTimer_18(Timer_t716671026 * value)
{
___idleTimer_18 = value;
Il2CppCodeGenWriteBarrier((&___idleTimer_18), value);
}
inline static int32_t get_offset_of_m_ServerCertificateOrBytes_19() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___m_ServerCertificateOrBytes_19)); }
inline RuntimeObject * get_m_ServerCertificateOrBytes_19() const { return ___m_ServerCertificateOrBytes_19; }
inline RuntimeObject ** get_address_of_m_ServerCertificateOrBytes_19() { return &___m_ServerCertificateOrBytes_19; }
inline void set_m_ServerCertificateOrBytes_19(RuntimeObject * value)
{
___m_ServerCertificateOrBytes_19 = value;
Il2CppCodeGenWriteBarrier((&___m_ServerCertificateOrBytes_19), value);
}
inline static int32_t get_offset_of_m_ClientCertificateOrBytes_20() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___m_ClientCertificateOrBytes_20)); }
inline RuntimeObject * get_m_ClientCertificateOrBytes_20() const { return ___m_ClientCertificateOrBytes_20; }
inline RuntimeObject ** get_address_of_m_ClientCertificateOrBytes_20() { return &___m_ClientCertificateOrBytes_20; }
inline void set_m_ClientCertificateOrBytes_20(RuntimeObject * value)
{
___m_ClientCertificateOrBytes_20 = value;
Il2CppCodeGenWriteBarrier((&___m_ClientCertificateOrBytes_20), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVICEPOINT_T2786966844_H
#ifndef URIHOSTNAMETYPE_T881866241_H
#define URIHOSTNAMETYPE_T881866241_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UriHostNameType
struct UriHostNameType_t881866241
{
public:
// System.Int32 System.UriHostNameType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriHostNameType_t881866241, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // URIHOSTNAMETYPE_T881866241_H
#ifndef TIMESPAN_T881159249_H
#define TIMESPAN_T881159249_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.TimeSpan
struct TimeSpan_t881159249
{
public:
// System.Int64 System.TimeSpan::_ticks
int64_t ____ticks_22;
public:
inline static int32_t get_offset_of__ticks_22() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249, ____ticks_22)); }
inline int64_t get__ticks_22() const { return ____ticks_22; }
inline int64_t* get_address_of__ticks_22() { return &____ticks_22; }
inline void set__ticks_22(int64_t value)
{
____ticks_22 = value;
}
};
struct TimeSpan_t881159249_StaticFields
{
public:
// System.TimeSpan System.TimeSpan::Zero
TimeSpan_t881159249 ___Zero_19;
// System.TimeSpan System.TimeSpan::MaxValue
TimeSpan_t881159249 ___MaxValue_20;
// System.TimeSpan System.TimeSpan::MinValue
TimeSpan_t881159249 ___MinValue_21;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyConfigChecked
bool ____legacyConfigChecked_23;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyMode
bool ____legacyMode_24;
public:
inline static int32_t get_offset_of_Zero_19() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___Zero_19)); }
inline TimeSpan_t881159249 get_Zero_19() const { return ___Zero_19; }
inline TimeSpan_t881159249 * get_address_of_Zero_19() { return &___Zero_19; }
inline void set_Zero_19(TimeSpan_t881159249 value)
{
___Zero_19 = value;
}
inline static int32_t get_offset_of_MaxValue_20() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___MaxValue_20)); }
inline TimeSpan_t881159249 get_MaxValue_20() const { return ___MaxValue_20; }
inline TimeSpan_t881159249 * get_address_of_MaxValue_20() { return &___MaxValue_20; }
inline void set_MaxValue_20(TimeSpan_t881159249 value)
{
___MaxValue_20 = value;
}
inline static int32_t get_offset_of_MinValue_21() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___MinValue_21)); }
inline TimeSpan_t881159249 get_MinValue_21() const { return ___MinValue_21; }
inline TimeSpan_t881159249 * get_address_of_MinValue_21() { return &___MinValue_21; }
inline void set_MinValue_21(TimeSpan_t881159249 value)
{
___MinValue_21 = value;
}
inline static int32_t get_offset_of__legacyConfigChecked_23() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ____legacyConfigChecked_23)); }
inline bool get__legacyConfigChecked_23() const { return ____legacyConfigChecked_23; }
inline bool* get_address_of__legacyConfigChecked_23() { return &____legacyConfigChecked_23; }
inline void set__legacyConfigChecked_23(bool value)
{
____legacyConfigChecked_23 = value;
}
inline static int32_t get_offset_of__legacyMode_24() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ____legacyMode_24)); }
inline bool get__legacyMode_24() const { return ____legacyMode_24; }
inline bool* get_address_of__legacyMode_24() { return &____legacyMode_24; }
inline void set__legacyMode_24(bool value)
{
____legacyMode_24 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMESPAN_T881159249_H
#ifndef NOTSUPPORTEDEXCEPTION_T1314879016_H
#define NOTSUPPORTEDEXCEPTION_T1314879016_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.NotSupportedException
struct NotSupportedException_t1314879016 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NOTSUPPORTEDEXCEPTION_T1314879016_H
#ifndef TASK_T3187275312_H
#define TASK_T3187275312_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Tasks.Task
struct Task_t3187275312 : 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_t1196198384 * ___m_taskScheduler_7;
// System.Threading.Tasks.Task System.Threading.Tasks.Task::m_parent
Task_t3187275312 * ___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_t2170468915 * ___m_contingentProperties_15;
public:
inline static int32_t get_offset_of_m_taskId_4() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___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_t3187275312, ___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((&___m_action_5), value);
}
inline static int32_t get_offset_of_m_stateObject_6() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___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((&___m_stateObject_6), value);
}
inline static int32_t get_offset_of_m_taskScheduler_7() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___m_taskScheduler_7)); }
inline TaskScheduler_t1196198384 * get_m_taskScheduler_7() const { return ___m_taskScheduler_7; }
inline TaskScheduler_t1196198384 ** get_address_of_m_taskScheduler_7() { return &___m_taskScheduler_7; }
inline void set_m_taskScheduler_7(TaskScheduler_t1196198384 * value)
{
___m_taskScheduler_7 = value;
Il2CppCodeGenWriteBarrier((&___m_taskScheduler_7), value);
}
inline static int32_t get_offset_of_m_parent_8() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___m_parent_8)); }
inline Task_t3187275312 * get_m_parent_8() const { return ___m_parent_8; }
inline Task_t3187275312 ** get_address_of_m_parent_8() { return &___m_parent_8; }
inline void set_m_parent_8(Task_t3187275312 * value)
{
___m_parent_8 = value;
Il2CppCodeGenWriteBarrier((&___m_parent_8), value);
}
inline static int32_t get_offset_of_m_stateFlags_9() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___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_t3187275312, ___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((&___m_continuationObject_10), value);
}
inline static int32_t get_offset_of_m_contingentProperties_15() { return static_cast<int32_t>(offsetof(Task_t3187275312, ___m_contingentProperties_15)); }
inline ContingentProperties_t2170468915 * get_m_contingentProperties_15() const { return ___m_contingentProperties_15; }
inline ContingentProperties_t2170468915 ** get_address_of_m_contingentProperties_15() { return &___m_contingentProperties_15; }
inline void set_m_contingentProperties_15(ContingentProperties_t2170468915 * value)
{
___m_contingentProperties_15 = value;
Il2CppCodeGenWriteBarrier((&___m_contingentProperties_15), value);
}
};
struct Task_t3187275312_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_t2660013028 * ___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_t2075988643 * ___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_t3252573759 * ___s_taskCancelCallback_16;
// System.Func`1<System.Threading.Tasks.Task/ContingentProperties> System.Threading.Tasks.Task::s_createContingentProperties
Func_1_t1600215562 * ___s_createContingentProperties_17;
// System.Threading.Tasks.Task System.Threading.Tasks.Task::s_completedTask
Task_t3187275312 * ___s_completedTask_18;
// System.Predicate`1<System.Threading.Tasks.Task> System.Threading.Tasks.Task::s_IsExceptionObservedByParentPredicate
Predicate_1_t4012569436 * ___s_IsExceptionObservedByParentPredicate_19;
// System.Threading.ContextCallback System.Threading.Tasks.Task::s_ecCallback
ContextCallback_t3823316192 * ___s_ecCallback_20;
// System.Predicate`1<System.Object> System.Threading.Tasks.Task::s_IsTaskContinuationNullPredicate
Predicate_1_t3905400288 * ___s_IsTaskContinuationNullPredicate_21;
public:
inline static int32_t get_offset_of_s_taskIdCounter_2() { return static_cast<int32_t>(offsetof(Task_t3187275312_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_t3187275312_StaticFields, ___s_factory_3)); }
inline TaskFactory_t2660013028 * get_s_factory_3() const { return ___s_factory_3; }
inline TaskFactory_t2660013028 ** get_address_of_s_factory_3() { return &___s_factory_3; }
inline void set_s_factory_3(TaskFactory_t2660013028 * value)
{
___s_factory_3 = value;
Il2CppCodeGenWriteBarrier((&___s_factory_3), value);
}
inline static int32_t get_offset_of_s_taskCompletionSentinel_11() { return static_cast<int32_t>(offsetof(Task_t3187275312_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((&___s_taskCompletionSentinel_11), value);
}
inline static int32_t get_offset_of_s_asyncDebuggingEnabled_12() { return static_cast<int32_t>(offsetof(Task_t3187275312_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_t3187275312_StaticFields, ___s_currentActiveTasks_13)); }
inline Dictionary_2_t2075988643 * get_s_currentActiveTasks_13() const { return ___s_currentActiveTasks_13; }
inline Dictionary_2_t2075988643 ** get_address_of_s_currentActiveTasks_13() { return &___s_currentActiveTasks_13; }
inline void set_s_currentActiveTasks_13(Dictionary_2_t2075988643 * value)
{
___s_currentActiveTasks_13 = value;
Il2CppCodeGenWriteBarrier((&___s_currentActiveTasks_13), value);
}
inline static int32_t get_offset_of_s_activeTasksLock_14() { return static_cast<int32_t>(offsetof(Task_t3187275312_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((&___s_activeTasksLock_14), value);
}
inline static int32_t get_offset_of_s_taskCancelCallback_16() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_taskCancelCallback_16)); }
inline Action_1_t3252573759 * get_s_taskCancelCallback_16() const { return ___s_taskCancelCallback_16; }
inline Action_1_t3252573759 ** get_address_of_s_taskCancelCallback_16() { return &___s_taskCancelCallback_16; }
inline void set_s_taskCancelCallback_16(Action_1_t3252573759 * value)
{
___s_taskCancelCallback_16 = value;
Il2CppCodeGenWriteBarrier((&___s_taskCancelCallback_16), value);
}
inline static int32_t get_offset_of_s_createContingentProperties_17() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_createContingentProperties_17)); }
inline Func_1_t1600215562 * get_s_createContingentProperties_17() const { return ___s_createContingentProperties_17; }
inline Func_1_t1600215562 ** get_address_of_s_createContingentProperties_17() { return &___s_createContingentProperties_17; }
inline void set_s_createContingentProperties_17(Func_1_t1600215562 * value)
{
___s_createContingentProperties_17 = value;
Il2CppCodeGenWriteBarrier((&___s_createContingentProperties_17), value);
}
inline static int32_t get_offset_of_s_completedTask_18() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_completedTask_18)); }
inline Task_t3187275312 * get_s_completedTask_18() const { return ___s_completedTask_18; }
inline Task_t3187275312 ** get_address_of_s_completedTask_18() { return &___s_completedTask_18; }
inline void set_s_completedTask_18(Task_t3187275312 * value)
{
___s_completedTask_18 = value;
Il2CppCodeGenWriteBarrier((&___s_completedTask_18), value);
}
inline static int32_t get_offset_of_s_IsExceptionObservedByParentPredicate_19() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_IsExceptionObservedByParentPredicate_19)); }
inline Predicate_1_t4012569436 * get_s_IsExceptionObservedByParentPredicate_19() const { return ___s_IsExceptionObservedByParentPredicate_19; }
inline Predicate_1_t4012569436 ** get_address_of_s_IsExceptionObservedByParentPredicate_19() { return &___s_IsExceptionObservedByParentPredicate_19; }
inline void set_s_IsExceptionObservedByParentPredicate_19(Predicate_1_t4012569436 * value)
{
___s_IsExceptionObservedByParentPredicate_19 = value;
Il2CppCodeGenWriteBarrier((&___s_IsExceptionObservedByParentPredicate_19), value);
}
inline static int32_t get_offset_of_s_ecCallback_20() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_ecCallback_20)); }
inline ContextCallback_t3823316192 * get_s_ecCallback_20() const { return ___s_ecCallback_20; }
inline ContextCallback_t3823316192 ** get_address_of_s_ecCallback_20() { return &___s_ecCallback_20; }
inline void set_s_ecCallback_20(ContextCallback_t3823316192 * value)
{
___s_ecCallback_20 = value;
Il2CppCodeGenWriteBarrier((&___s_ecCallback_20), value);
}
inline static int32_t get_offset_of_s_IsTaskContinuationNullPredicate_21() { return static_cast<int32_t>(offsetof(Task_t3187275312_StaticFields, ___s_IsTaskContinuationNullPredicate_21)); }
inline Predicate_1_t3905400288 * get_s_IsTaskContinuationNullPredicate_21() const { return ___s_IsTaskContinuationNullPredicate_21; }
inline Predicate_1_t3905400288 ** get_address_of_s_IsTaskContinuationNullPredicate_21() { return &___s_IsTaskContinuationNullPredicate_21; }
inline void set_s_IsTaskContinuationNullPredicate_21(Predicate_1_t3905400288 * value)
{
___s_IsTaskContinuationNullPredicate_21 = value;
Il2CppCodeGenWriteBarrier((&___s_IsTaskContinuationNullPredicate_21), value);
}
};
struct Task_t3187275312_ThreadStaticFields
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.Task::t_currentTask
Task_t3187275312 * ___t_currentTask_0;
// System.Threading.Tasks.StackGuard System.Threading.Tasks.Task::t_stackGuard
StackGuard_t1472778820 * ___t_stackGuard_1;
public:
inline static int32_t get_offset_of_t_currentTask_0() { return static_cast<int32_t>(offsetof(Task_t3187275312_ThreadStaticFields, ___t_currentTask_0)); }
inline Task_t3187275312 * get_t_currentTask_0() const { return ___t_currentTask_0; }
inline Task_t3187275312 ** get_address_of_t_currentTask_0() { return &___t_currentTask_0; }
inline void set_t_currentTask_0(Task_t3187275312 * value)
{
___t_currentTask_0 = value;
Il2CppCodeGenWriteBarrier((&___t_currentTask_0), value);
}
inline static int32_t get_offset_of_t_stackGuard_1() { return static_cast<int32_t>(offsetof(Task_t3187275312_ThreadStaticFields, ___t_stackGuard_1)); }
inline StackGuard_t1472778820 * get_t_stackGuard_1() const { return ___t_stackGuard_1; }
inline StackGuard_t1472778820 ** get_address_of_t_stackGuard_1() { return &___t_stackGuard_1; }
inline void set_t_stackGuard_1(StackGuard_t1472778820 * value)
{
___t_stackGuard_1 = value;
Il2CppCodeGenWriteBarrier((&___t_stackGuard_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TASK_T3187275312_H
#ifndef SECURITYPROTOCOLTYPE_T2721465497_H
#define SECURITYPROTOCOLTYPE_T2721465497_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SecurityProtocolType
struct SecurityProtocolType_t2721465497
{
public:
// System.Int32 System.Net.SecurityProtocolType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SecurityProtocolType_t2721465497, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURITYPROTOCOLTYPE_T2721465497_H
#ifndef SEEKORIGIN_T1441174344_H
#define SEEKORIGIN_T1441174344_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.SeekOrigin
struct SeekOrigin_t1441174344
{
public:
// System.Int32 System.IO.SeekOrigin::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SeekOrigin_t1441174344, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SEEKORIGIN_T1441174344_H
#ifndef IN6_ADDR_T1417766092_H
#define IN6_ADDR_T1417766092_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.in6_addr
struct in6_addr_t1417766092
{
public:
// System.Byte[] System.Net.NetworkInformation.MacOsStructs.in6_addr::u6_addr8
ByteU5BU5D_t4116647657* ___u6_addr8_0;
public:
inline static int32_t get_offset_of_u6_addr8_0() { return static_cast<int32_t>(offsetof(in6_addr_t1417766092, ___u6_addr8_0)); }
inline ByteU5BU5D_t4116647657* get_u6_addr8_0() const { return ___u6_addr8_0; }
inline ByteU5BU5D_t4116647657** get_address_of_u6_addr8_0() { return &___u6_addr8_0; }
inline void set_u6_addr8_0(ByteU5BU5D_t4116647657* value)
{
___u6_addr8_0 = value;
Il2CppCodeGenWriteBarrier((&___u6_addr8_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.MacOsStructs.in6_addr
struct in6_addr_t1417766092_marshaled_pinvoke
{
uint8_t ___u6_addr8_0[16];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.MacOsStructs.in6_addr
struct in6_addr_t1417766092_marshaled_com
{
uint8_t ___u6_addr8_0[16];
};
#endif // IN6_ADDR_T1417766092_H
#ifndef MACOSARPHARDWARE_T4198534184_H
#define MACOSARPHARDWARE_T4198534184_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsArpHardware
struct MacOsArpHardware_t4198534184
{
public:
// System.Int32 System.Net.NetworkInformation.MacOsArpHardware::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MacOsArpHardware_t4198534184, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MACOSARPHARDWARE_T4198534184_H
#ifndef IN6_ADDR_T3611791508_H
#define IN6_ADDR_T3611791508_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.in6_addr
struct in6_addr_t3611791508
{
public:
// System.Byte[] System.Net.NetworkInformation.in6_addr::u6_addr8
ByteU5BU5D_t4116647657* ___u6_addr8_0;
public:
inline static int32_t get_offset_of_u6_addr8_0() { return static_cast<int32_t>(offsetof(in6_addr_t3611791508, ___u6_addr8_0)); }
inline ByteU5BU5D_t4116647657* get_u6_addr8_0() const { return ___u6_addr8_0; }
inline ByteU5BU5D_t4116647657** get_address_of_u6_addr8_0() { return &___u6_addr8_0; }
inline void set_u6_addr8_0(ByteU5BU5D_t4116647657* value)
{
___u6_addr8_0 = value;
Il2CppCodeGenWriteBarrier((&___u6_addr8_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.in6_addr
struct in6_addr_t3611791508_marshaled_pinvoke
{
uint8_t ___u6_addr8_0[16];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.in6_addr
struct in6_addr_t3611791508_marshaled_com
{
uint8_t ___u6_addr8_0[16];
};
#endif // IN6_ADDR_T3611791508_H
#ifndef OPERATIONALSTATUS_T2709089529_H
#define OPERATIONALSTATUS_T2709089529_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.OperationalStatus
struct OperationalStatus_t2709089529
{
public:
// System.Int32 System.Net.NetworkInformation.OperationalStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(OperationalStatus_t2709089529, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // OPERATIONALSTATUS_T2709089529_H
#ifndef RUNTIMETYPEHANDLE_T3027515415_H
#define RUNTIMETYPEHANDLE_T3027515415_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t3027515415
{
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_t3027515415, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMETYPEHANDLE_T3027515415_H
#ifndef MACOSNETWORKINTERFACEAPI_T1249733612_H
#define MACOSNETWORKINTERFACEAPI_T1249733612_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceFactory/MacOsNetworkInterfaceAPI
struct MacOsNetworkInterfaceAPI_t1249733612 : public UnixNetworkInterfaceAPI_t1061423219
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MACOSNETWORKINTERFACEAPI_T1249733612_H
#ifndef IFADDRS_T2169824096_H
#define IFADDRS_T2169824096_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.ifaddrs
struct ifaddrs_t2169824096
{
public:
// System.IntPtr System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_next
intptr_t ___ifa_next_0;
// System.String System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_name
String_t* ___ifa_name_1;
// System.UInt32 System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_flags
uint32_t ___ifa_flags_2;
// System.IntPtr System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_addr
intptr_t ___ifa_addr_3;
// System.IntPtr System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_netmask
intptr_t ___ifa_netmask_4;
// System.IntPtr System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_dstaddr
intptr_t ___ifa_dstaddr_5;
// System.IntPtr System.Net.NetworkInformation.MacOsStructs.ifaddrs::ifa_data
intptr_t ___ifa_data_6;
public:
inline static int32_t get_offset_of_ifa_next_0() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_next_0)); }
inline intptr_t get_ifa_next_0() const { return ___ifa_next_0; }
inline intptr_t* get_address_of_ifa_next_0() { return &___ifa_next_0; }
inline void set_ifa_next_0(intptr_t value)
{
___ifa_next_0 = value;
}
inline static int32_t get_offset_of_ifa_name_1() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_name_1)); }
inline String_t* get_ifa_name_1() const { return ___ifa_name_1; }
inline String_t** get_address_of_ifa_name_1() { return &___ifa_name_1; }
inline void set_ifa_name_1(String_t* value)
{
___ifa_name_1 = value;
Il2CppCodeGenWriteBarrier((&___ifa_name_1), value);
}
inline static int32_t get_offset_of_ifa_flags_2() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_flags_2)); }
inline uint32_t get_ifa_flags_2() const { return ___ifa_flags_2; }
inline uint32_t* get_address_of_ifa_flags_2() { return &___ifa_flags_2; }
inline void set_ifa_flags_2(uint32_t value)
{
___ifa_flags_2 = value;
}
inline static int32_t get_offset_of_ifa_addr_3() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_addr_3)); }
inline intptr_t get_ifa_addr_3() const { return ___ifa_addr_3; }
inline intptr_t* get_address_of_ifa_addr_3() { return &___ifa_addr_3; }
inline void set_ifa_addr_3(intptr_t value)
{
___ifa_addr_3 = value;
}
inline static int32_t get_offset_of_ifa_netmask_4() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_netmask_4)); }
inline intptr_t get_ifa_netmask_4() const { return ___ifa_netmask_4; }
inline intptr_t* get_address_of_ifa_netmask_4() { return &___ifa_netmask_4; }
inline void set_ifa_netmask_4(intptr_t value)
{
___ifa_netmask_4 = value;
}
inline static int32_t get_offset_of_ifa_dstaddr_5() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_dstaddr_5)); }
inline intptr_t get_ifa_dstaddr_5() const { return ___ifa_dstaddr_5; }
inline intptr_t* get_address_of_ifa_dstaddr_5() { return &___ifa_dstaddr_5; }
inline void set_ifa_dstaddr_5(intptr_t value)
{
___ifa_dstaddr_5 = value;
}
inline static int32_t get_offset_of_ifa_data_6() { return static_cast<int32_t>(offsetof(ifaddrs_t2169824096, ___ifa_data_6)); }
inline intptr_t get_ifa_data_6() const { return ___ifa_data_6; }
inline intptr_t* get_address_of_ifa_data_6() { return &___ifa_data_6; }
inline void set_ifa_data_6(intptr_t value)
{
___ifa_data_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.MacOsStructs.ifaddrs
struct ifaddrs_t2169824096_marshaled_pinvoke
{
intptr_t ___ifa_next_0;
char* ___ifa_name_1;
uint32_t ___ifa_flags_2;
intptr_t ___ifa_addr_3;
intptr_t ___ifa_netmask_4;
intptr_t ___ifa_dstaddr_5;
intptr_t ___ifa_data_6;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.MacOsStructs.ifaddrs
struct ifaddrs_t2169824096_marshaled_com
{
intptr_t ___ifa_next_0;
Il2CppChar* ___ifa_name_1;
uint32_t ___ifa_flags_2;
intptr_t ___ifa_addr_3;
intptr_t ___ifa_netmask_4;
intptr_t ___ifa_dstaddr_5;
intptr_t ___ifa_data_6;
};
#endif // IFADDRS_T2169824096_H
#ifndef NETWORKINTERFACETYPE_T616418749_H
#define NETWORKINTERFACETYPE_T616418749_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterfaceType
struct NetworkInterfaceType_t616418749
{
public:
// System.Int32 System.Net.NetworkInformation.NetworkInterfaceType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NetworkInterfaceType_t616418749, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKINTERFACETYPE_T616418749_H
#ifndef SOCKADDR_LL_T3978606313_H
#define SOCKADDR_LL_T3978606313_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.sockaddr_ll
struct sockaddr_ll_t3978606313
{
public:
// System.UInt16 System.Net.NetworkInformation.sockaddr_ll::sll_family
uint16_t ___sll_family_0;
// System.UInt16 System.Net.NetworkInformation.sockaddr_ll::sll_protocol
uint16_t ___sll_protocol_1;
// System.Int32 System.Net.NetworkInformation.sockaddr_ll::sll_ifindex
int32_t ___sll_ifindex_2;
// System.UInt16 System.Net.NetworkInformation.sockaddr_ll::sll_hatype
uint16_t ___sll_hatype_3;
// System.Byte System.Net.NetworkInformation.sockaddr_ll::sll_pkttype
uint8_t ___sll_pkttype_4;
// System.Byte System.Net.NetworkInformation.sockaddr_ll::sll_halen
uint8_t ___sll_halen_5;
// System.Byte[] System.Net.NetworkInformation.sockaddr_ll::sll_addr
ByteU5BU5D_t4116647657* ___sll_addr_6;
public:
inline static int32_t get_offset_of_sll_family_0() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_family_0)); }
inline uint16_t get_sll_family_0() const { return ___sll_family_0; }
inline uint16_t* get_address_of_sll_family_0() { return &___sll_family_0; }
inline void set_sll_family_0(uint16_t value)
{
___sll_family_0 = value;
}
inline static int32_t get_offset_of_sll_protocol_1() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_protocol_1)); }
inline uint16_t get_sll_protocol_1() const { return ___sll_protocol_1; }
inline uint16_t* get_address_of_sll_protocol_1() { return &___sll_protocol_1; }
inline void set_sll_protocol_1(uint16_t value)
{
___sll_protocol_1 = value;
}
inline static int32_t get_offset_of_sll_ifindex_2() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_ifindex_2)); }
inline int32_t get_sll_ifindex_2() const { return ___sll_ifindex_2; }
inline int32_t* get_address_of_sll_ifindex_2() { return &___sll_ifindex_2; }
inline void set_sll_ifindex_2(int32_t value)
{
___sll_ifindex_2 = value;
}
inline static int32_t get_offset_of_sll_hatype_3() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_hatype_3)); }
inline uint16_t get_sll_hatype_3() const { return ___sll_hatype_3; }
inline uint16_t* get_address_of_sll_hatype_3() { return &___sll_hatype_3; }
inline void set_sll_hatype_3(uint16_t value)
{
___sll_hatype_3 = value;
}
inline static int32_t get_offset_of_sll_pkttype_4() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_pkttype_4)); }
inline uint8_t get_sll_pkttype_4() const { return ___sll_pkttype_4; }
inline uint8_t* get_address_of_sll_pkttype_4() { return &___sll_pkttype_4; }
inline void set_sll_pkttype_4(uint8_t value)
{
___sll_pkttype_4 = value;
}
inline static int32_t get_offset_of_sll_halen_5() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_halen_5)); }
inline uint8_t get_sll_halen_5() const { return ___sll_halen_5; }
inline uint8_t* get_address_of_sll_halen_5() { return &___sll_halen_5; }
inline void set_sll_halen_5(uint8_t value)
{
___sll_halen_5 = value;
}
inline static int32_t get_offset_of_sll_addr_6() { return static_cast<int32_t>(offsetof(sockaddr_ll_t3978606313, ___sll_addr_6)); }
inline ByteU5BU5D_t4116647657* get_sll_addr_6() const { return ___sll_addr_6; }
inline ByteU5BU5D_t4116647657** get_address_of_sll_addr_6() { return &___sll_addr_6; }
inline void set_sll_addr_6(ByteU5BU5D_t4116647657* value)
{
___sll_addr_6 = value;
Il2CppCodeGenWriteBarrier((&___sll_addr_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.sockaddr_ll
struct sockaddr_ll_t3978606313_marshaled_pinvoke
{
uint16_t ___sll_family_0;
uint16_t ___sll_protocol_1;
int32_t ___sll_ifindex_2;
uint16_t ___sll_hatype_3;
uint8_t ___sll_pkttype_4;
uint8_t ___sll_halen_5;
uint8_t ___sll_addr_6[8];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.sockaddr_ll
struct sockaddr_ll_t3978606313_marshaled_com
{
uint16_t ___sll_family_0;
uint16_t ___sll_protocol_1;
int32_t ___sll_ifindex_2;
uint16_t ___sll_hatype_3;
uint8_t ___sll_pkttype_4;
uint8_t ___sll_halen_5;
uint8_t ___sll_addr_6[8];
};
#endif // SOCKADDR_LL_T3978606313_H
#ifndef NETBIOSNODETYPE_T3568904212_H
#define NETBIOSNODETYPE_T3568904212_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetBiosNodeType
struct NetBiosNodeType_t3568904212
{
public:
// System.Int32 System.Net.NetworkInformation.NetBiosNodeType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NetBiosNodeType_t3568904212, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETBIOSNODETYPE_T3568904212_H
#ifndef WIN32_IP_ADDR_STRING_T1213417184_H
#define WIN32_IP_ADDR_STRING_T1213417184_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_IP_ADDR_STRING
struct Win32_IP_ADDR_STRING_t1213417184
{
public:
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADDR_STRING::Next
intptr_t ___Next_0;
// System.String System.Net.NetworkInformation.Win32_IP_ADDR_STRING::IpAddress
String_t* ___IpAddress_1;
// System.String System.Net.NetworkInformation.Win32_IP_ADDR_STRING::IpMask
String_t* ___IpMask_2;
// System.UInt32 System.Net.NetworkInformation.Win32_IP_ADDR_STRING::Context
uint32_t ___Context_3;
public:
inline static int32_t get_offset_of_Next_0() { return static_cast<int32_t>(offsetof(Win32_IP_ADDR_STRING_t1213417184, ___Next_0)); }
inline intptr_t get_Next_0() const { return ___Next_0; }
inline intptr_t* get_address_of_Next_0() { return &___Next_0; }
inline void set_Next_0(intptr_t value)
{
___Next_0 = value;
}
inline static int32_t get_offset_of_IpAddress_1() { return static_cast<int32_t>(offsetof(Win32_IP_ADDR_STRING_t1213417184, ___IpAddress_1)); }
inline String_t* get_IpAddress_1() const { return ___IpAddress_1; }
inline String_t** get_address_of_IpAddress_1() { return &___IpAddress_1; }
inline void set_IpAddress_1(String_t* value)
{
___IpAddress_1 = value;
Il2CppCodeGenWriteBarrier((&___IpAddress_1), value);
}
inline static int32_t get_offset_of_IpMask_2() { return static_cast<int32_t>(offsetof(Win32_IP_ADDR_STRING_t1213417184, ___IpMask_2)); }
inline String_t* get_IpMask_2() const { return ___IpMask_2; }
inline String_t** get_address_of_IpMask_2() { return &___IpMask_2; }
inline void set_IpMask_2(String_t* value)
{
___IpMask_2 = value;
Il2CppCodeGenWriteBarrier((&___IpMask_2), value);
}
inline static int32_t get_offset_of_Context_3() { return static_cast<int32_t>(offsetof(Win32_IP_ADDR_STRING_t1213417184, ___Context_3)); }
inline uint32_t get_Context_3() const { return ___Context_3; }
inline uint32_t* get_address_of_Context_3() { return &___Context_3; }
inline void set_Context_3(uint32_t value)
{
___Context_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.Win32_IP_ADDR_STRING
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke
{
intptr_t ___Next_0;
char ___IpAddress_1[16];
char ___IpMask_2[16];
uint32_t ___Context_3;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.Win32_IP_ADDR_STRING
struct Win32_IP_ADDR_STRING_t1213417184_marshaled_com
{
intptr_t ___Next_0;
char ___IpAddress_1[16];
char ___IpMask_2[16];
uint32_t ___Context_3;
};
#endif // WIN32_IP_ADDR_STRING_T1213417184_H
#ifndef WIN32_SOCKET_ADDRESS_T1936753419_H
#define WIN32_SOCKET_ADDRESS_T1936753419_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_SOCKET_ADDRESS
struct Win32_SOCKET_ADDRESS_t1936753419
{
public:
// System.IntPtr System.Net.NetworkInformation.Win32_SOCKET_ADDRESS::Sockaddr
intptr_t ___Sockaddr_0;
// System.Int32 System.Net.NetworkInformation.Win32_SOCKET_ADDRESS::SockaddrLength
int32_t ___SockaddrLength_1;
public:
inline static int32_t get_offset_of_Sockaddr_0() { return static_cast<int32_t>(offsetof(Win32_SOCKET_ADDRESS_t1936753419, ___Sockaddr_0)); }
inline intptr_t get_Sockaddr_0() const { return ___Sockaddr_0; }
inline intptr_t* get_address_of_Sockaddr_0() { return &___Sockaddr_0; }
inline void set_Sockaddr_0(intptr_t value)
{
___Sockaddr_0 = value;
}
inline static int32_t get_offset_of_SockaddrLength_1() { return static_cast<int32_t>(offsetof(Win32_SOCKET_ADDRESS_t1936753419, ___SockaddrLength_1)); }
inline int32_t get_SockaddrLength_1() const { return ___SockaddrLength_1; }
inline int32_t* get_address_of_SockaddrLength_1() { return &___SockaddrLength_1; }
inline void set_SockaddrLength_1(int32_t value)
{
___SockaddrLength_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32_SOCKET_ADDRESS_T1936753419_H
#ifndef WIN32_SOCKADDR_T2504501424_H
#define WIN32_SOCKADDR_T2504501424_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_SOCKADDR
struct Win32_SOCKADDR_t2504501424
{
public:
// System.UInt16 System.Net.NetworkInformation.Win32_SOCKADDR::AddressFamily
uint16_t ___AddressFamily_0;
// System.Byte[] System.Net.NetworkInformation.Win32_SOCKADDR::AddressData
ByteU5BU5D_t4116647657* ___AddressData_1;
public:
inline static int32_t get_offset_of_AddressFamily_0() { return static_cast<int32_t>(offsetof(Win32_SOCKADDR_t2504501424, ___AddressFamily_0)); }
inline uint16_t get_AddressFamily_0() const { return ___AddressFamily_0; }
inline uint16_t* get_address_of_AddressFamily_0() { return &___AddressFamily_0; }
inline void set_AddressFamily_0(uint16_t value)
{
___AddressFamily_0 = value;
}
inline static int32_t get_offset_of_AddressData_1() { return static_cast<int32_t>(offsetof(Win32_SOCKADDR_t2504501424, ___AddressData_1)); }
inline ByteU5BU5D_t4116647657* get_AddressData_1() const { return ___AddressData_1; }
inline ByteU5BU5D_t4116647657** get_address_of_AddressData_1() { return &___AddressData_1; }
inline void set_AddressData_1(ByteU5BU5D_t4116647657* value)
{
___AddressData_1 = value;
Il2CppCodeGenWriteBarrier((&___AddressData_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.Win32_SOCKADDR
struct Win32_SOCKADDR_t2504501424_marshaled_pinvoke
{
uint16_t ___AddressFamily_0;
uint8_t ___AddressData_1[28];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.Win32_SOCKADDR
struct Win32_SOCKADDR_t2504501424_marshaled_com
{
uint16_t ___AddressFamily_0;
uint8_t ___AddressData_1[28];
};
#endif // WIN32_SOCKADDR_T2504501424_H
#ifndef UNIXIPINTERFACEPROPERTIES_T1296234392_H
#define UNIXIPINTERFACEPROPERTIES_T1296234392_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.UnixIPInterfaceProperties
struct UnixIPInterfaceProperties_t1296234392 : public IPInterfaceProperties_t3964383369
{
public:
// System.Net.NetworkInformation.UnixNetworkInterface System.Net.NetworkInformation.UnixIPInterfaceProperties::iface
UnixNetworkInterface_t2401762829 * ___iface_0;
// System.Collections.Generic.List`1<System.Net.IPAddress> System.Net.NetworkInformation.UnixIPInterfaceProperties::addresses
List_1_t1713852332 * ___addresses_1;
// System.Net.NetworkInformation.IPAddressCollection System.Net.NetworkInformation.UnixIPInterfaceProperties::dns_servers
IPAddressCollection_t2315030214 * ___dns_servers_2;
// System.String System.Net.NetworkInformation.UnixIPInterfaceProperties::dns_suffix
String_t* ___dns_suffix_5;
// System.DateTime System.Net.NetworkInformation.UnixIPInterfaceProperties::last_parse
DateTime_t3738529785 ___last_parse_6;
public:
inline static int32_t get_offset_of_iface_0() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392, ___iface_0)); }
inline UnixNetworkInterface_t2401762829 * get_iface_0() const { return ___iface_0; }
inline UnixNetworkInterface_t2401762829 ** get_address_of_iface_0() { return &___iface_0; }
inline void set_iface_0(UnixNetworkInterface_t2401762829 * value)
{
___iface_0 = value;
Il2CppCodeGenWriteBarrier((&___iface_0), value);
}
inline static int32_t get_offset_of_addresses_1() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392, ___addresses_1)); }
inline List_1_t1713852332 * get_addresses_1() const { return ___addresses_1; }
inline List_1_t1713852332 ** get_address_of_addresses_1() { return &___addresses_1; }
inline void set_addresses_1(List_1_t1713852332 * value)
{
___addresses_1 = value;
Il2CppCodeGenWriteBarrier((&___addresses_1), value);
}
inline static int32_t get_offset_of_dns_servers_2() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392, ___dns_servers_2)); }
inline IPAddressCollection_t2315030214 * get_dns_servers_2() const { return ___dns_servers_2; }
inline IPAddressCollection_t2315030214 ** get_address_of_dns_servers_2() { return &___dns_servers_2; }
inline void set_dns_servers_2(IPAddressCollection_t2315030214 * value)
{
___dns_servers_2 = value;
Il2CppCodeGenWriteBarrier((&___dns_servers_2), value);
}
inline static int32_t get_offset_of_dns_suffix_5() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392, ___dns_suffix_5)); }
inline String_t* get_dns_suffix_5() const { return ___dns_suffix_5; }
inline String_t** get_address_of_dns_suffix_5() { return &___dns_suffix_5; }
inline void set_dns_suffix_5(String_t* value)
{
___dns_suffix_5 = value;
Il2CppCodeGenWriteBarrier((&___dns_suffix_5), value);
}
inline static int32_t get_offset_of_last_parse_6() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392, ___last_parse_6)); }
inline DateTime_t3738529785 get_last_parse_6() const { return ___last_parse_6; }
inline DateTime_t3738529785 * get_address_of_last_parse_6() { return &___last_parse_6; }
inline void set_last_parse_6(DateTime_t3738529785 value)
{
___last_parse_6 = value;
}
};
struct UnixIPInterfaceProperties_t1296234392_StaticFields
{
public:
// System.Text.RegularExpressions.Regex System.Net.NetworkInformation.UnixIPInterfaceProperties::ns
Regex_t3657309853 * ___ns_3;
// System.Text.RegularExpressions.Regex System.Net.NetworkInformation.UnixIPInterfaceProperties::search
Regex_t3657309853 * ___search_4;
public:
inline static int32_t get_offset_of_ns_3() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392_StaticFields, ___ns_3)); }
inline Regex_t3657309853 * get_ns_3() const { return ___ns_3; }
inline Regex_t3657309853 ** get_address_of_ns_3() { return &___ns_3; }
inline void set_ns_3(Regex_t3657309853 * value)
{
___ns_3 = value;
Il2CppCodeGenWriteBarrier((&___ns_3), value);
}
inline static int32_t get_offset_of_search_4() { return static_cast<int32_t>(offsetof(UnixIPInterfaceProperties_t1296234392_StaticFields, ___search_4)); }
inline Regex_t3657309853 * get_search_4() const { return ___search_4; }
inline Regex_t3657309853 ** get_address_of_search_4() { return &___search_4; }
inline void set_search_4(Regex_t3657309853 * value)
{
___search_4 = value;
Il2CppCodeGenWriteBarrier((&___search_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNIXIPINTERFACEPROPERTIES_T1296234392_H
#ifndef UNIXIPGLOBALPROPERTIES_T1460024316_H
#define UNIXIPGLOBALPROPERTIES_T1460024316_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.UnixIPGlobalProperties
struct UnixIPGlobalProperties_t1460024316 : public CommonUnixIPGlobalProperties_t1338606518
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNIXIPGLOBALPROPERTIES_T1460024316_H
#ifndef MATCH_T3408321083_H
#define MATCH_T3408321083_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Match
struct Match_t3408321083 : public Group_t2468205786
{
public:
// System.Text.RegularExpressions.GroupCollection System.Text.RegularExpressions.Match::_groupcoll
GroupCollection_t69770484 * ____groupcoll_8;
// System.Text.RegularExpressions.Regex System.Text.RegularExpressions.Match::_regex
Regex_t3657309853 * ____regex_9;
// System.Int32 System.Text.RegularExpressions.Match::_textbeg
int32_t ____textbeg_10;
// System.Int32 System.Text.RegularExpressions.Match::_textpos
int32_t ____textpos_11;
// System.Int32 System.Text.RegularExpressions.Match::_textend
int32_t ____textend_12;
// System.Int32 System.Text.RegularExpressions.Match::_textstart
int32_t ____textstart_13;
// System.Int32[][] System.Text.RegularExpressions.Match::_matches
Int32U5BU5DU5BU5D_t3365920845* ____matches_14;
// System.Int32[] System.Text.RegularExpressions.Match::_matchcount
Int32U5BU5D_t385246372* ____matchcount_15;
// System.Boolean System.Text.RegularExpressions.Match::_balancing
bool ____balancing_16;
public:
inline static int32_t get_offset_of__groupcoll_8() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____groupcoll_8)); }
inline GroupCollection_t69770484 * get__groupcoll_8() const { return ____groupcoll_8; }
inline GroupCollection_t69770484 ** get_address_of__groupcoll_8() { return &____groupcoll_8; }
inline void set__groupcoll_8(GroupCollection_t69770484 * value)
{
____groupcoll_8 = value;
Il2CppCodeGenWriteBarrier((&____groupcoll_8), value);
}
inline static int32_t get_offset_of__regex_9() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____regex_9)); }
inline Regex_t3657309853 * get__regex_9() const { return ____regex_9; }
inline Regex_t3657309853 ** get_address_of__regex_9() { return &____regex_9; }
inline void set__regex_9(Regex_t3657309853 * value)
{
____regex_9 = value;
Il2CppCodeGenWriteBarrier((&____regex_9), value);
}
inline static int32_t get_offset_of__textbeg_10() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____textbeg_10)); }
inline int32_t get__textbeg_10() const { return ____textbeg_10; }
inline int32_t* get_address_of__textbeg_10() { return &____textbeg_10; }
inline void set__textbeg_10(int32_t value)
{
____textbeg_10 = value;
}
inline static int32_t get_offset_of__textpos_11() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____textpos_11)); }
inline int32_t get__textpos_11() const { return ____textpos_11; }
inline int32_t* get_address_of__textpos_11() { return &____textpos_11; }
inline void set__textpos_11(int32_t value)
{
____textpos_11 = value;
}
inline static int32_t get_offset_of__textend_12() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____textend_12)); }
inline int32_t get__textend_12() const { return ____textend_12; }
inline int32_t* get_address_of__textend_12() { return &____textend_12; }
inline void set__textend_12(int32_t value)
{
____textend_12 = value;
}
inline static int32_t get_offset_of__textstart_13() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____textstart_13)); }
inline int32_t get__textstart_13() const { return ____textstart_13; }
inline int32_t* get_address_of__textstart_13() { return &____textstart_13; }
inline void set__textstart_13(int32_t value)
{
____textstart_13 = value;
}
inline static int32_t get_offset_of__matches_14() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____matches_14)); }
inline Int32U5BU5DU5BU5D_t3365920845* get__matches_14() const { return ____matches_14; }
inline Int32U5BU5DU5BU5D_t3365920845** get_address_of__matches_14() { return &____matches_14; }
inline void set__matches_14(Int32U5BU5DU5BU5D_t3365920845* value)
{
____matches_14 = value;
Il2CppCodeGenWriteBarrier((&____matches_14), value);
}
inline static int32_t get_offset_of__matchcount_15() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____matchcount_15)); }
inline Int32U5BU5D_t385246372* get__matchcount_15() const { return ____matchcount_15; }
inline Int32U5BU5D_t385246372** get_address_of__matchcount_15() { return &____matchcount_15; }
inline void set__matchcount_15(Int32U5BU5D_t385246372* value)
{
____matchcount_15 = value;
Il2CppCodeGenWriteBarrier((&____matchcount_15), value);
}
inline static int32_t get_offset_of__balancing_16() { return static_cast<int32_t>(offsetof(Match_t3408321083, ____balancing_16)); }
inline bool get__balancing_16() const { return ____balancing_16; }
inline bool* get_address_of__balancing_16() { return &____balancing_16; }
inline void set__balancing_16(bool value)
{
____balancing_16 = value;
}
};
struct Match_t3408321083_StaticFields
{
public:
// System.Text.RegularExpressions.Match System.Text.RegularExpressions.Match::_empty
Match_t3408321083 * ____empty_7;
public:
inline static int32_t get_offset_of__empty_7() { return static_cast<int32_t>(offsetof(Match_t3408321083_StaticFields, ____empty_7)); }
inline Match_t3408321083 * get__empty_7() const { return ____empty_7; }
inline Match_t3408321083 ** get_address_of__empty_7() { return &____empty_7; }
inline void set__empty_7(Match_t3408321083 * value)
{
____empty_7 = value;
Il2CppCodeGenWriteBarrier((&____empty_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATCH_T3408321083_H
#ifndef STREAMREADER_T4009935899_H
#define STREAMREADER_T4009935899_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.StreamReader
struct StreamReader_t4009935899 : public TextReader_t283511965
{
public:
// System.IO.Stream System.IO.StreamReader::stream
Stream_t1273022909 * ___stream_5;
// System.Text.Encoding System.IO.StreamReader::encoding
Encoding_t1523322056 * ___encoding_6;
// System.Text.Decoder System.IO.StreamReader::decoder
Decoder_t2204182725 * ___decoder_7;
// System.Byte[] System.IO.StreamReader::byteBuffer
ByteU5BU5D_t4116647657* ___byteBuffer_8;
// System.Char[] System.IO.StreamReader::charBuffer
CharU5BU5D_t3528271667* ___charBuffer_9;
// System.Byte[] System.IO.StreamReader::_preamble
ByteU5BU5D_t4116647657* ____preamble_10;
// System.Int32 System.IO.StreamReader::charPos
int32_t ___charPos_11;
// System.Int32 System.IO.StreamReader::charLen
int32_t ___charLen_12;
// System.Int32 System.IO.StreamReader::byteLen
int32_t ___byteLen_13;
// System.Int32 System.IO.StreamReader::bytePos
int32_t ___bytePos_14;
// System.Int32 System.IO.StreamReader::_maxCharsPerBuffer
int32_t ____maxCharsPerBuffer_15;
// System.Boolean System.IO.StreamReader::_detectEncoding
bool ____detectEncoding_16;
// System.Boolean System.IO.StreamReader::_checkPreamble
bool ____checkPreamble_17;
// System.Boolean System.IO.StreamReader::_isBlocked
bool ____isBlocked_18;
// System.Boolean System.IO.StreamReader::_closable
bool ____closable_19;
// System.Threading.Tasks.Task modreq(System.Runtime.CompilerServices.IsVolatile) System.IO.StreamReader::_asyncReadTask
Task_t3187275312 * ____asyncReadTask_20;
public:
inline static int32_t get_offset_of_stream_5() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___stream_5)); }
inline Stream_t1273022909 * get_stream_5() const { return ___stream_5; }
inline Stream_t1273022909 ** get_address_of_stream_5() { return &___stream_5; }
inline void set_stream_5(Stream_t1273022909 * value)
{
___stream_5 = value;
Il2CppCodeGenWriteBarrier((&___stream_5), value);
}
inline static int32_t get_offset_of_encoding_6() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___encoding_6)); }
inline Encoding_t1523322056 * get_encoding_6() const { return ___encoding_6; }
inline Encoding_t1523322056 ** get_address_of_encoding_6() { return &___encoding_6; }
inline void set_encoding_6(Encoding_t1523322056 * value)
{
___encoding_6 = value;
Il2CppCodeGenWriteBarrier((&___encoding_6), value);
}
inline static int32_t get_offset_of_decoder_7() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___decoder_7)); }
inline Decoder_t2204182725 * get_decoder_7() const { return ___decoder_7; }
inline Decoder_t2204182725 ** get_address_of_decoder_7() { return &___decoder_7; }
inline void set_decoder_7(Decoder_t2204182725 * value)
{
___decoder_7 = value;
Il2CppCodeGenWriteBarrier((&___decoder_7), value);
}
inline static int32_t get_offset_of_byteBuffer_8() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___byteBuffer_8)); }
inline ByteU5BU5D_t4116647657* get_byteBuffer_8() const { return ___byteBuffer_8; }
inline ByteU5BU5D_t4116647657** get_address_of_byteBuffer_8() { return &___byteBuffer_8; }
inline void set_byteBuffer_8(ByteU5BU5D_t4116647657* value)
{
___byteBuffer_8 = value;
Il2CppCodeGenWriteBarrier((&___byteBuffer_8), value);
}
inline static int32_t get_offset_of_charBuffer_9() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___charBuffer_9)); }
inline CharU5BU5D_t3528271667* get_charBuffer_9() const { return ___charBuffer_9; }
inline CharU5BU5D_t3528271667** get_address_of_charBuffer_9() { return &___charBuffer_9; }
inline void set_charBuffer_9(CharU5BU5D_t3528271667* value)
{
___charBuffer_9 = value;
Il2CppCodeGenWriteBarrier((&___charBuffer_9), value);
}
inline static int32_t get_offset_of__preamble_10() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____preamble_10)); }
inline ByteU5BU5D_t4116647657* get__preamble_10() const { return ____preamble_10; }
inline ByteU5BU5D_t4116647657** get_address_of__preamble_10() { return &____preamble_10; }
inline void set__preamble_10(ByteU5BU5D_t4116647657* value)
{
____preamble_10 = value;
Il2CppCodeGenWriteBarrier((&____preamble_10), value);
}
inline static int32_t get_offset_of_charPos_11() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___charPos_11)); }
inline int32_t get_charPos_11() const { return ___charPos_11; }
inline int32_t* get_address_of_charPos_11() { return &___charPos_11; }
inline void set_charPos_11(int32_t value)
{
___charPos_11 = value;
}
inline static int32_t get_offset_of_charLen_12() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___charLen_12)); }
inline int32_t get_charLen_12() const { return ___charLen_12; }
inline int32_t* get_address_of_charLen_12() { return &___charLen_12; }
inline void set_charLen_12(int32_t value)
{
___charLen_12 = value;
}
inline static int32_t get_offset_of_byteLen_13() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___byteLen_13)); }
inline int32_t get_byteLen_13() const { return ___byteLen_13; }
inline int32_t* get_address_of_byteLen_13() { return &___byteLen_13; }
inline void set_byteLen_13(int32_t value)
{
___byteLen_13 = value;
}
inline static int32_t get_offset_of_bytePos_14() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ___bytePos_14)); }
inline int32_t get_bytePos_14() const { return ___bytePos_14; }
inline int32_t* get_address_of_bytePos_14() { return &___bytePos_14; }
inline void set_bytePos_14(int32_t value)
{
___bytePos_14 = value;
}
inline static int32_t get_offset_of__maxCharsPerBuffer_15() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____maxCharsPerBuffer_15)); }
inline int32_t get__maxCharsPerBuffer_15() const { return ____maxCharsPerBuffer_15; }
inline int32_t* get_address_of__maxCharsPerBuffer_15() { return &____maxCharsPerBuffer_15; }
inline void set__maxCharsPerBuffer_15(int32_t value)
{
____maxCharsPerBuffer_15 = value;
}
inline static int32_t get_offset_of__detectEncoding_16() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____detectEncoding_16)); }
inline bool get__detectEncoding_16() const { return ____detectEncoding_16; }
inline bool* get_address_of__detectEncoding_16() { return &____detectEncoding_16; }
inline void set__detectEncoding_16(bool value)
{
____detectEncoding_16 = value;
}
inline static int32_t get_offset_of__checkPreamble_17() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____checkPreamble_17)); }
inline bool get__checkPreamble_17() const { return ____checkPreamble_17; }
inline bool* get_address_of__checkPreamble_17() { return &____checkPreamble_17; }
inline void set__checkPreamble_17(bool value)
{
____checkPreamble_17 = value;
}
inline static int32_t get_offset_of__isBlocked_18() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____isBlocked_18)); }
inline bool get__isBlocked_18() const { return ____isBlocked_18; }
inline bool* get_address_of__isBlocked_18() { return &____isBlocked_18; }
inline void set__isBlocked_18(bool value)
{
____isBlocked_18 = value;
}
inline static int32_t get_offset_of__closable_19() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____closable_19)); }
inline bool get__closable_19() const { return ____closable_19; }
inline bool* get_address_of__closable_19() { return &____closable_19; }
inline void set__closable_19(bool value)
{
____closable_19 = value;
}
inline static int32_t get_offset_of__asyncReadTask_20() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899, ____asyncReadTask_20)); }
inline Task_t3187275312 * get__asyncReadTask_20() const { return ____asyncReadTask_20; }
inline Task_t3187275312 ** get_address_of__asyncReadTask_20() { return &____asyncReadTask_20; }
inline void set__asyncReadTask_20(Task_t3187275312 * value)
{
____asyncReadTask_20 = value;
Il2CppCodeGenWriteBarrier((&____asyncReadTask_20), value);
}
};
struct StreamReader_t4009935899_StaticFields
{
public:
// System.IO.StreamReader System.IO.StreamReader::Null
StreamReader_t4009935899 * ___Null_4;
public:
inline static int32_t get_offset_of_Null_4() { return static_cast<int32_t>(offsetof(StreamReader_t4009935899_StaticFields, ___Null_4)); }
inline StreamReader_t4009935899 * get_Null_4() const { return ___Null_4; }
inline StreamReader_t4009935899 ** get_address_of_Null_4() { return &___Null_4; }
inline void set_Null_4(StreamReader_t4009935899 * value)
{
___Null_4 = value;
Il2CppCodeGenWriteBarrier((&___Null_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STREAMREADER_T4009935899_H
#ifndef FILEACCESS_T1659085276_H
#define FILEACCESS_T1659085276_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.FileAccess
struct FileAccess_t1659085276
{
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_t1659085276, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FILEACCESS_T1659085276_H
#ifndef NETWORKSTREAM_T4071955934_H
#define NETWORKSTREAM_T4071955934_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.NetworkStream
struct NetworkStream_t4071955934 : public Stream_t1273022909
{
public:
// System.Net.Sockets.Socket System.Net.Sockets.NetworkStream::m_StreamSocket
Socket_t1119025450 * ___m_StreamSocket_4;
// System.Boolean System.Net.Sockets.NetworkStream::m_Readable
bool ___m_Readable_5;
// System.Boolean System.Net.Sockets.NetworkStream::m_Writeable
bool ___m_Writeable_6;
// System.Boolean System.Net.Sockets.NetworkStream::m_OwnsSocket
bool ___m_OwnsSocket_7;
// System.Int32 System.Net.Sockets.NetworkStream::m_CloseTimeout
int32_t ___m_CloseTimeout_8;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.NetworkStream::m_CleanedUp
bool ___m_CleanedUp_9;
// System.Int32 System.Net.Sockets.NetworkStream::m_CurrentReadTimeout
int32_t ___m_CurrentReadTimeout_10;
// System.Int32 System.Net.Sockets.NetworkStream::m_CurrentWriteTimeout
int32_t ___m_CurrentWriteTimeout_11;
public:
inline static int32_t get_offset_of_m_StreamSocket_4() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_StreamSocket_4)); }
inline Socket_t1119025450 * get_m_StreamSocket_4() const { return ___m_StreamSocket_4; }
inline Socket_t1119025450 ** get_address_of_m_StreamSocket_4() { return &___m_StreamSocket_4; }
inline void set_m_StreamSocket_4(Socket_t1119025450 * value)
{
___m_StreamSocket_4 = value;
Il2CppCodeGenWriteBarrier((&___m_StreamSocket_4), value);
}
inline static int32_t get_offset_of_m_Readable_5() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_Readable_5)); }
inline bool get_m_Readable_5() const { return ___m_Readable_5; }
inline bool* get_address_of_m_Readable_5() { return &___m_Readable_5; }
inline void set_m_Readable_5(bool value)
{
___m_Readable_5 = value;
}
inline static int32_t get_offset_of_m_Writeable_6() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_Writeable_6)); }
inline bool get_m_Writeable_6() const { return ___m_Writeable_6; }
inline bool* get_address_of_m_Writeable_6() { return &___m_Writeable_6; }
inline void set_m_Writeable_6(bool value)
{
___m_Writeable_6 = value;
}
inline static int32_t get_offset_of_m_OwnsSocket_7() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_OwnsSocket_7)); }
inline bool get_m_OwnsSocket_7() const { return ___m_OwnsSocket_7; }
inline bool* get_address_of_m_OwnsSocket_7() { return &___m_OwnsSocket_7; }
inline void set_m_OwnsSocket_7(bool value)
{
___m_OwnsSocket_7 = value;
}
inline static int32_t get_offset_of_m_CloseTimeout_8() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_CloseTimeout_8)); }
inline int32_t get_m_CloseTimeout_8() const { return ___m_CloseTimeout_8; }
inline int32_t* get_address_of_m_CloseTimeout_8() { return &___m_CloseTimeout_8; }
inline void set_m_CloseTimeout_8(int32_t value)
{
___m_CloseTimeout_8 = value;
}
inline static int32_t get_offset_of_m_CleanedUp_9() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_CleanedUp_9)); }
inline bool get_m_CleanedUp_9() const { return ___m_CleanedUp_9; }
inline bool* get_address_of_m_CleanedUp_9() { return &___m_CleanedUp_9; }
inline void set_m_CleanedUp_9(bool value)
{
___m_CleanedUp_9 = value;
}
inline static int32_t get_offset_of_m_CurrentReadTimeout_10() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_CurrentReadTimeout_10)); }
inline int32_t get_m_CurrentReadTimeout_10() const { return ___m_CurrentReadTimeout_10; }
inline int32_t* get_address_of_m_CurrentReadTimeout_10() { return &___m_CurrentReadTimeout_10; }
inline void set_m_CurrentReadTimeout_10(int32_t value)
{
___m_CurrentReadTimeout_10 = value;
}
inline static int32_t get_offset_of_m_CurrentWriteTimeout_11() { return static_cast<int32_t>(offsetof(NetworkStream_t4071955934, ___m_CurrentWriteTimeout_11)); }
inline int32_t get_m_CurrentWriteTimeout_11() const { return ___m_CurrentWriteTimeout_11; }
inline int32_t* get_address_of_m_CurrentWriteTimeout_11() { return &___m_CurrentWriteTimeout_11; }
inline void set_m_CurrentWriteTimeout_11(int32_t value)
{
___m_CurrentWriteTimeout_11 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKSTREAM_T4071955934_H
#ifndef IPPROTECTIONLEVEL_T4099140720_H
#define IPPROTECTIONLEVEL_T4099140720_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.IPProtectionLevel
struct IPProtectionLevel_t4099140720
{
public:
// System.Int32 System.Net.Sockets.IPProtectionLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(IPProtectionLevel_t4099140720, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPPROTECTIONLEVEL_T4099140720_H
#ifndef SOCKETTYPE_T2175930299_H
#define SOCKETTYPE_T2175930299_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketType
struct SocketType_t2175930299
{
public:
// System.Int32 System.Net.Sockets.SocketType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketType_t2175930299, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETTYPE_T2175930299_H
#ifndef SOCKETOPTIONNAME_T403346465_H
#define SOCKETOPTIONNAME_T403346465_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketOptionName
struct SocketOptionName_t403346465
{
public:
// System.Int32 System.Net.Sockets.SocketOptionName::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketOptionName_t403346465, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETOPTIONNAME_T403346465_H
#ifndef SOCKETOPTIONLEVEL_T201167901_H
#define SOCKETOPTIONLEVEL_T201167901_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketOptionLevel
struct SocketOptionLevel_t201167901
{
public:
// System.Int32 System.Net.Sockets.SocketOptionLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketOptionLevel_t201167901, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETOPTIONLEVEL_T201167901_H
#ifndef SIMPLEASYNCRESULT_T3946017618_H
#define SIMPLEASYNCRESULT_T3946017618_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SimpleAsyncResult
struct SimpleAsyncResult_t3946017618 : public RuntimeObject
{
public:
// System.Threading.ManualResetEvent System.Net.SimpleAsyncResult::handle
ManualResetEvent_t451242010 * ___handle_0;
// System.Boolean System.Net.SimpleAsyncResult::synch
bool ___synch_1;
// System.Boolean System.Net.SimpleAsyncResult::isCompleted
bool ___isCompleted_2;
// System.Net.SimpleAsyncCallback System.Net.SimpleAsyncResult::cb
SimpleAsyncCallback_t2966023072 * ___cb_3;
// System.Object System.Net.SimpleAsyncResult::state
RuntimeObject * ___state_4;
// System.Boolean System.Net.SimpleAsyncResult::callbackDone
bool ___callbackDone_5;
// System.Exception System.Net.SimpleAsyncResult::exc
Exception_t * ___exc_6;
// System.Object System.Net.SimpleAsyncResult::locker
RuntimeObject * ___locker_7;
// System.Nullable`1<System.Boolean> System.Net.SimpleAsyncResult::user_read_synch
Nullable_1_t1819850047 ___user_read_synch_8;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___handle_0)); }
inline ManualResetEvent_t451242010 * get_handle_0() const { return ___handle_0; }
inline ManualResetEvent_t451242010 ** get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(ManualResetEvent_t451242010 * value)
{
___handle_0 = value;
Il2CppCodeGenWriteBarrier((&___handle_0), value);
}
inline static int32_t get_offset_of_synch_1() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___synch_1)); }
inline bool get_synch_1() const { return ___synch_1; }
inline bool* get_address_of_synch_1() { return &___synch_1; }
inline void set_synch_1(bool value)
{
___synch_1 = value;
}
inline static int32_t get_offset_of_isCompleted_2() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___isCompleted_2)); }
inline bool get_isCompleted_2() const { return ___isCompleted_2; }
inline bool* get_address_of_isCompleted_2() { return &___isCompleted_2; }
inline void set_isCompleted_2(bool value)
{
___isCompleted_2 = value;
}
inline static int32_t get_offset_of_cb_3() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___cb_3)); }
inline SimpleAsyncCallback_t2966023072 * get_cb_3() const { return ___cb_3; }
inline SimpleAsyncCallback_t2966023072 ** get_address_of_cb_3() { return &___cb_3; }
inline void set_cb_3(SimpleAsyncCallback_t2966023072 * value)
{
___cb_3 = value;
Il2CppCodeGenWriteBarrier((&___cb_3), value);
}
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___state_4)); }
inline RuntimeObject * get_state_4() const { return ___state_4; }
inline RuntimeObject ** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(RuntimeObject * value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((&___state_4), value);
}
inline static int32_t get_offset_of_callbackDone_5() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___callbackDone_5)); }
inline bool get_callbackDone_5() const { return ___callbackDone_5; }
inline bool* get_address_of_callbackDone_5() { return &___callbackDone_5; }
inline void set_callbackDone_5(bool value)
{
___callbackDone_5 = value;
}
inline static int32_t get_offset_of_exc_6() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___exc_6)); }
inline Exception_t * get_exc_6() const { return ___exc_6; }
inline Exception_t ** get_address_of_exc_6() { return &___exc_6; }
inline void set_exc_6(Exception_t * value)
{
___exc_6 = value;
Il2CppCodeGenWriteBarrier((&___exc_6), value);
}
inline static int32_t get_offset_of_locker_7() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___locker_7)); }
inline RuntimeObject * get_locker_7() const { return ___locker_7; }
inline RuntimeObject ** get_address_of_locker_7() { return &___locker_7; }
inline void set_locker_7(RuntimeObject * value)
{
___locker_7 = value;
Il2CppCodeGenWriteBarrier((&___locker_7), value);
}
inline static int32_t get_offset_of_user_read_synch_8() { return static_cast<int32_t>(offsetof(SimpleAsyncResult_t3946017618, ___user_read_synch_8)); }
inline Nullable_1_t1819850047 get_user_read_synch_8() const { return ___user_read_synch_8; }
inline Nullable_1_t1819850047 * get_address_of_user_read_synch_8() { return &___user_read_synch_8; }
inline void set_user_read_synch_8(Nullable_1_t1819850047 value)
{
___user_read_synch_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SIMPLEASYNCRESULT_T3946017618_H
#ifndef SOCKETERROR_T3760144386_H
#define SOCKETERROR_T3760144386_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketError
struct SocketError_t3760144386
{
public:
// System.Int32 System.Net.Sockets.SocketError::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketError_t3760144386, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETERROR_T3760144386_H
#ifndef CONNECTIONMANAGEMENTELEMENTCOLLECTION_T3860227195_H
#define CONNECTIONMANAGEMENTELEMENTCOLLECTION_T3860227195_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Configuration.ConnectionManagementElementCollection
struct ConnectionManagementElementCollection_t3860227195 : public ConfigurationElementCollection_t446763386
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTIONMANAGEMENTELEMENTCOLLECTION_T3860227195_H
#ifndef ADDRESSFAMILY_T2612549059_H
#define ADDRESSFAMILY_T2612549059_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.AddressFamily
struct AddressFamily_t2612549059
{
public:
// System.Int32 System.Net.Sockets.AddressFamily::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AddressFamily_t2612549059, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ADDRESSFAMILY_T2612549059_H
#ifndef INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#define INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t1578797820 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#ifndef NTLMAUTHSTATE_T1717421993_H
#define NTLMAUTHSTATE_T1717421993_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpWebRequest/NtlmAuthState
struct NtlmAuthState_t1717421993
{
public:
// System.Int32 System.Net.HttpWebRequest/NtlmAuthState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NtlmAuthState_t1717421993, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NTLMAUTHSTATE_T1717421993_H
#ifndef CONNECTIONMANAGEMENTSECTION_T1603642748_H
#define CONNECTIONMANAGEMENTSECTION_T1603642748_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Configuration.ConnectionManagementSection
struct ConnectionManagementSection_t1603642748 : public ConfigurationSection_t3156163955
{
public:
public:
};
struct ConnectionManagementSection_t1603642748_StaticFields
{
public:
// System.Configuration.ConfigurationProperty System.Net.Configuration.ConnectionManagementSection::connectionManagementProp
ConfigurationProperty_t3590861854 * ___connectionManagementProp_19;
// System.Configuration.ConfigurationPropertyCollection System.Net.Configuration.ConnectionManagementSection::properties
ConfigurationPropertyCollection_t2852175726 * ___properties_20;
public:
inline static int32_t get_offset_of_connectionManagementProp_19() { return static_cast<int32_t>(offsetof(ConnectionManagementSection_t1603642748_StaticFields, ___connectionManagementProp_19)); }
inline ConfigurationProperty_t3590861854 * get_connectionManagementProp_19() const { return ___connectionManagementProp_19; }
inline ConfigurationProperty_t3590861854 ** get_address_of_connectionManagementProp_19() { return &___connectionManagementProp_19; }
inline void set_connectionManagementProp_19(ConfigurationProperty_t3590861854 * value)
{
___connectionManagementProp_19 = value;
Il2CppCodeGenWriteBarrier((&___connectionManagementProp_19), value);
}
inline static int32_t get_offset_of_properties_20() { return static_cast<int32_t>(offsetof(ConnectionManagementSection_t1603642748_StaticFields, ___properties_20)); }
inline ConfigurationPropertyCollection_t2852175726 * get_properties_20() const { return ___properties_20; }
inline ConfigurationPropertyCollection_t2852175726 ** get_address_of_properties_20() { return &___properties_20; }
inline void set_properties_20(ConfigurationPropertyCollection_t2852175726 * value)
{
___properties_20 = value;
Il2CppCodeGenWriteBarrier((&___properties_20), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTIONMANAGEMENTSECTION_T1603642748_H
#ifndef SOCKETFLAGS_T2969870452_H
#define SOCKETFLAGS_T2969870452_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketFlags
struct SocketFlags_t2969870452
{
public:
// System.Int32 System.Net.Sockets.SocketFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketFlags_t2969870452, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETFLAGS_T2969870452_H
#ifndef THREADABORTEXCEPTION_T4074510458_H
#define THREADABORTEXCEPTION_T4074510458_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ThreadAbortException
struct ThreadAbortException_t4074510458 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // THREADABORTEXCEPTION_T4074510458_H
#ifndef WAITHANDLE_T1743403487_H
#define WAITHANDLE_T1743403487_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.WaitHandle
struct WaitHandle_t1743403487 : public MarshalByRefObject_t2760389100
{
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_t1972936122 * ___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_t1743403487, ___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_t1743403487, ___safeWaitHandle_4)); }
inline SafeWaitHandle_t1972936122 * get_safeWaitHandle_4() const { return ___safeWaitHandle_4; }
inline SafeWaitHandle_t1972936122 ** get_address_of_safeWaitHandle_4() { return &___safeWaitHandle_4; }
inline void set_safeWaitHandle_4(SafeWaitHandle_t1972936122 * value)
{
___safeWaitHandle_4 = value;
Il2CppCodeGenWriteBarrier((&___safeWaitHandle_4), value);
}
inline static int32_t get_offset_of_hasThreadAffinity_5() { return static_cast<int32_t>(offsetof(WaitHandle_t1743403487, ___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_t1743403487_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_t1743403487_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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Threading.WaitHandle
struct WaitHandle_t1743403487_marshaled_pinvoke : public MarshalByRefObject_t2760389100_marshaled_pinvoke
{
intptr_t ___waitHandle_3;
SafeWaitHandle_t1972936122 * ___safeWaitHandle_4;
int32_t ___hasThreadAffinity_5;
};
// Native definition for COM marshalling of System.Threading.WaitHandle
struct WaitHandle_t1743403487_marshaled_com : public MarshalByRefObject_t2760389100_marshaled_com
{
intptr_t ___waitHandle_3;
SafeWaitHandle_t1972936122 * ___safeWaitHandle_4;
int32_t ___hasThreadAffinity_5;
};
#endif // WAITHANDLE_T1743403487_H
#ifndef STACKOVERFLOWEXCEPTION_T3629451388_H
#define STACKOVERFLOWEXCEPTION_T3629451388_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.StackOverflowException
struct StackOverflowException_t3629451388 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STACKOVERFLOWEXCEPTION_T3629451388_H
#ifndef IOEXCEPTION_T4088381929_H
#define IOEXCEPTION_T4088381929_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.IOException
struct IOException_t4088381929 : public SystemException_t176217640
{
public:
// System.String System.IO.IOException::_maybeFullPath
String_t* ____maybeFullPath_17;
public:
inline static int32_t get_offset_of__maybeFullPath_17() { return static_cast<int32_t>(offsetof(IOException_t4088381929, ____maybeFullPath_17)); }
inline String_t* get__maybeFullPath_17() const { return ____maybeFullPath_17; }
inline String_t** get_address_of__maybeFullPath_17() { return &____maybeFullPath_17; }
inline void set__maybeFullPath_17(String_t* value)
{
____maybeFullPath_17 = value;
Il2CppCodeGenWriteBarrier((&____maybeFullPath_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IOEXCEPTION_T4088381929_H
#ifndef OUTOFMEMORYEXCEPTION_T2437671686_H
#define OUTOFMEMORYEXCEPTION_T2437671686_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.OutOfMemoryException
struct OutOfMemoryException_t2437671686 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // OUTOFMEMORYEXCEPTION_T2437671686_H
#ifndef EVENTWAITHANDLE_T777845177_H
#define EVENTWAITHANDLE_T777845177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.EventWaitHandle
struct EventWaitHandle_t777845177 : public WaitHandle_t1743403487
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTWAITHANDLE_T777845177_H
#ifndef IOSELECTORJOB_T2199748873_H
#define IOSELECTORJOB_T2199748873_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IOSelectorJob
struct IOSelectorJob_t2199748873 : public RuntimeObject
{
public:
// System.IOOperation System.IOSelectorJob::operation
int32_t ___operation_0;
// System.IOAsyncCallback System.IOSelectorJob::callback
IOAsyncCallback_t705871752 * ___callback_1;
// System.IOAsyncResult System.IOSelectorJob::state
IOAsyncResult_t3640145766 * ___state_2;
public:
inline static int32_t get_offset_of_operation_0() { return static_cast<int32_t>(offsetof(IOSelectorJob_t2199748873, ___operation_0)); }
inline int32_t get_operation_0() const { return ___operation_0; }
inline int32_t* get_address_of_operation_0() { return &___operation_0; }
inline void set_operation_0(int32_t value)
{
___operation_0 = value;
}
inline static int32_t get_offset_of_callback_1() { return static_cast<int32_t>(offsetof(IOSelectorJob_t2199748873, ___callback_1)); }
inline IOAsyncCallback_t705871752 * get_callback_1() const { return ___callback_1; }
inline IOAsyncCallback_t705871752 ** get_address_of_callback_1() { return &___callback_1; }
inline void set_callback_1(IOAsyncCallback_t705871752 * value)
{
___callback_1 = value;
Il2CppCodeGenWriteBarrier((&___callback_1), value);
}
inline static int32_t get_offset_of_state_2() { return static_cast<int32_t>(offsetof(IOSelectorJob_t2199748873, ___state_2)); }
inline IOAsyncResult_t3640145766 * get_state_2() const { return ___state_2; }
inline IOAsyncResult_t3640145766 ** get_address_of_state_2() { return &___state_2; }
inline void set_state_2(IOAsyncResult_t3640145766 * value)
{
___state_2 = value;
Il2CppCodeGenWriteBarrier((&___state_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.IOSelectorJob
struct IOSelectorJob_t2199748873_marshaled_pinvoke
{
int32_t ___operation_0;
Il2CppMethodPointer ___callback_1;
IOAsyncResult_t3640145766_marshaled_pinvoke* ___state_2;
};
// Native definition for COM marshalling of System.IOSelectorJob
struct IOSelectorJob_t2199748873_marshaled_com
{
int32_t ___operation_0;
Il2CppMethodPointer ___callback_1;
IOAsyncResult_t3640145766_marshaled_com* ___state_2;
};
#endif // IOSELECTORJOB_T2199748873_H
#ifndef NULLABLE_1_T1184147377_H
#define NULLABLE_1_T1184147377_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Nullable`1<Mono.Security.Interface.TlsProtocols>
struct Nullable_1_t1184147377
{
public:
// T System.Nullable`1::value
int32_t ___value_0;
// System.Boolean System.Nullable`1::has_value
bool ___has_value_1;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(Nullable_1_t1184147377, ___value_0)); }
inline int32_t get_value_0() const { return ___value_0; }
inline int32_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(int32_t value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t1184147377, ___has_value_1)); }
inline bool get_has_value_1() const { return ___has_value_1; }
inline bool* get_address_of_has_value_1() { return &___has_value_1; }
inline void set_has_value_1(bool value)
{
___has_value_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NULLABLE_1_T1184147377_H
#ifndef MONOTLSSTREAM_T1980138907_H
#define MONOTLSSTREAM_T1980138907_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Net.Security.MonoTlsStream
struct MonoTlsStream_t1980138907 : public RuntimeObject
{
public:
// Mono.Security.Interface.MonoTlsProvider Mono.Net.Security.MonoTlsStream::provider
MonoTlsProvider_t3152003291 * ___provider_0;
// System.Net.Sockets.NetworkStream Mono.Net.Security.MonoTlsStream::networkStream
NetworkStream_t4071955934 * ___networkStream_1;
// System.Net.HttpWebRequest Mono.Net.Security.MonoTlsStream::request
HttpWebRequest_t1669436515 * ___request_2;
// Mono.Security.Interface.MonoTlsSettings Mono.Net.Security.MonoTlsStream::settings
MonoTlsSettings_t3666008581 * ___settings_3;
// Mono.Security.Interface.IMonoSslStream Mono.Net.Security.MonoTlsStream::sslStream
RuntimeObject* ___sslStream_4;
// System.Net.WebExceptionStatus Mono.Net.Security.MonoTlsStream::status
int32_t ___status_5;
// System.Boolean Mono.Net.Security.MonoTlsStream::<CertificateValidationFailed>k__BackingField
bool ___U3CCertificateValidationFailedU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_provider_0() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___provider_0)); }
inline MonoTlsProvider_t3152003291 * get_provider_0() const { return ___provider_0; }
inline MonoTlsProvider_t3152003291 ** get_address_of_provider_0() { return &___provider_0; }
inline void set_provider_0(MonoTlsProvider_t3152003291 * value)
{
___provider_0 = value;
Il2CppCodeGenWriteBarrier((&___provider_0), value);
}
inline static int32_t get_offset_of_networkStream_1() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___networkStream_1)); }
inline NetworkStream_t4071955934 * get_networkStream_1() const { return ___networkStream_1; }
inline NetworkStream_t4071955934 ** get_address_of_networkStream_1() { return &___networkStream_1; }
inline void set_networkStream_1(NetworkStream_t4071955934 * value)
{
___networkStream_1 = value;
Il2CppCodeGenWriteBarrier((&___networkStream_1), value);
}
inline static int32_t get_offset_of_request_2() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___request_2)); }
inline HttpWebRequest_t1669436515 * get_request_2() const { return ___request_2; }
inline HttpWebRequest_t1669436515 ** get_address_of_request_2() { return &___request_2; }
inline void set_request_2(HttpWebRequest_t1669436515 * value)
{
___request_2 = value;
Il2CppCodeGenWriteBarrier((&___request_2), value);
}
inline static int32_t get_offset_of_settings_3() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___settings_3)); }
inline MonoTlsSettings_t3666008581 * get_settings_3() const { return ___settings_3; }
inline MonoTlsSettings_t3666008581 ** get_address_of_settings_3() { return &___settings_3; }
inline void set_settings_3(MonoTlsSettings_t3666008581 * value)
{
___settings_3 = value;
Il2CppCodeGenWriteBarrier((&___settings_3), value);
}
inline static int32_t get_offset_of_sslStream_4() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___sslStream_4)); }
inline RuntimeObject* get_sslStream_4() const { return ___sslStream_4; }
inline RuntimeObject** get_address_of_sslStream_4() { return &___sslStream_4; }
inline void set_sslStream_4(RuntimeObject* value)
{
___sslStream_4 = value;
Il2CppCodeGenWriteBarrier((&___sslStream_4), value);
}
inline static int32_t get_offset_of_status_5() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___status_5)); }
inline int32_t get_status_5() const { return ___status_5; }
inline int32_t* get_address_of_status_5() { return &___status_5; }
inline void set_status_5(int32_t value)
{
___status_5 = value;
}
inline static int32_t get_offset_of_U3CCertificateValidationFailedU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(MonoTlsStream_t1980138907, ___U3CCertificateValidationFailedU3Ek__BackingField_6)); }
inline bool get_U3CCertificateValidationFailedU3Ek__BackingField_6() const { return ___U3CCertificateValidationFailedU3Ek__BackingField_6; }
inline bool* get_address_of_U3CCertificateValidationFailedU3Ek__BackingField_6() { return &___U3CCertificateValidationFailedU3Ek__BackingField_6; }
inline void set_U3CCertificateValidationFailedU3Ek__BackingField_6(bool value)
{
___U3CCertificateValidationFailedU3Ek__BackingField_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOTLSSTREAM_T1980138907_H
#ifndef MULTICASTDELEGATE_T_H
#define MULTICASTDELEGATE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t1188392813
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_t1703627840* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_t1703627840* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_t1703627840** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_t1703627840* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((&___delegates_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t1188392813_marshaled_pinvoke
{
DelegateU5BU5D_t1703627840* ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t1188392813_marshaled_com
{
DelegateU5BU5D_t1703627840* ___delegates_11;
};
#endif // MULTICASTDELEGATE_T_H
#ifndef ARGUMENTNULLEXCEPTION_T1615371798_H
#define ARGUMENTNULLEXCEPTION_T1615371798_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentNullException
struct ArgumentNullException_t1615371798 : public ArgumentException_t132251570
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTNULLEXCEPTION_T1615371798_H
#ifndef WEBEXCEPTION_T3237156354_H
#define WEBEXCEPTION_T3237156354_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebException
struct WebException_t3237156354 : public InvalidOperationException_t56020091
{
public:
// System.Net.WebExceptionStatus System.Net.WebException::m_Status
int32_t ___m_Status_17;
// System.Net.WebResponse System.Net.WebException::m_Response
WebResponse_t229922639 * ___m_Response_18;
// System.Net.WebExceptionInternalStatus System.Net.WebException::m_InternalStatus
int32_t ___m_InternalStatus_19;
public:
inline static int32_t get_offset_of_m_Status_17() { return static_cast<int32_t>(offsetof(WebException_t3237156354, ___m_Status_17)); }
inline int32_t get_m_Status_17() const { return ___m_Status_17; }
inline int32_t* get_address_of_m_Status_17() { return &___m_Status_17; }
inline void set_m_Status_17(int32_t value)
{
___m_Status_17 = value;
}
inline static int32_t get_offset_of_m_Response_18() { return static_cast<int32_t>(offsetof(WebException_t3237156354, ___m_Response_18)); }
inline WebResponse_t229922639 * get_m_Response_18() const { return ___m_Response_18; }
inline WebResponse_t229922639 ** get_address_of_m_Response_18() { return &___m_Response_18; }
inline void set_m_Response_18(WebResponse_t229922639 * value)
{
___m_Response_18 = value;
Il2CppCodeGenWriteBarrier((&___m_Response_18), value);
}
inline static int32_t get_offset_of_m_InternalStatus_19() { return static_cast<int32_t>(offsetof(WebException_t3237156354, ___m_InternalStatus_19)); }
inline int32_t get_m_InternalStatus_19() const { return ___m_InternalStatus_19; }
inline int32_t* get_address_of_m_InternalStatus_19() { return &___m_InternalStatus_19; }
inline void set_m_InternalStatus_19(int32_t value)
{
___m_InternalStatus_19 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBEXCEPTION_T3237156354_H
#ifndef STREAMINGCONTEXT_T3711869237_H
#define STREAMINGCONTEXT_T3711869237_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.Serialization.StreamingContext
struct StreamingContext_t3711869237
{
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_t3711869237, ___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((&___m_additionalContext_0), value);
}
inline static int32_t get_offset_of_m_state_1() { return static_cast<int32_t>(offsetof(StreamingContext_t3711869237, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t3711869237_marshaled_pinvoke
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
// Native definition for COM marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t3711869237_marshaled_com
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
#endif // STREAMINGCONTEXT_T3711869237_H
#ifndef PROTOCOLVIOLATIONEXCEPTION_T4144007430_H
#define PROTOCOLVIOLATIONEXCEPTION_T4144007430_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ProtocolViolationException
struct ProtocolViolationException_t4144007430 : public InvalidOperationException_t56020091
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PROTOCOLVIOLATIONEXCEPTION_T4144007430_H
#ifndef PLATFORMNOTSUPPORTEDEXCEPTION_T3572244504_H
#define PLATFORMNOTSUPPORTEDEXCEPTION_T3572244504_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.PlatformNotSupportedException
struct PlatformNotSupportedException_t3572244504 : public NotSupportedException_t1314879016
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PLATFORMNOTSUPPORTEDEXCEPTION_T3572244504_H
#ifndef UNIXNETWORKINTERFACE_T2401762829_H
#define UNIXNETWORKINTERFACE_T2401762829_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.UnixNetworkInterface
struct UnixNetworkInterface_t2401762829 : public NetworkInterface_t271883373
{
public:
// System.Net.NetworkInformation.IPInterfaceProperties System.Net.NetworkInformation.UnixNetworkInterface::ipproperties
IPInterfaceProperties_t3964383369 * ___ipproperties_0;
// System.String System.Net.NetworkInformation.UnixNetworkInterface::name
String_t* ___name_1;
// System.Collections.Generic.List`1<System.Net.IPAddress> System.Net.NetworkInformation.UnixNetworkInterface::addresses
List_1_t1713852332 * ___addresses_2;
// System.Byte[] System.Net.NetworkInformation.UnixNetworkInterface::macAddress
ByteU5BU5D_t4116647657* ___macAddress_3;
// System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.UnixNetworkInterface::type
int32_t ___type_4;
public:
inline static int32_t get_offset_of_ipproperties_0() { return static_cast<int32_t>(offsetof(UnixNetworkInterface_t2401762829, ___ipproperties_0)); }
inline IPInterfaceProperties_t3964383369 * get_ipproperties_0() const { return ___ipproperties_0; }
inline IPInterfaceProperties_t3964383369 ** get_address_of_ipproperties_0() { return &___ipproperties_0; }
inline void set_ipproperties_0(IPInterfaceProperties_t3964383369 * value)
{
___ipproperties_0 = value;
Il2CppCodeGenWriteBarrier((&___ipproperties_0), value);
}
inline static int32_t get_offset_of_name_1() { return static_cast<int32_t>(offsetof(UnixNetworkInterface_t2401762829, ___name_1)); }
inline String_t* get_name_1() const { return ___name_1; }
inline String_t** get_address_of_name_1() { return &___name_1; }
inline void set_name_1(String_t* value)
{
___name_1 = value;
Il2CppCodeGenWriteBarrier((&___name_1), value);
}
inline static int32_t get_offset_of_addresses_2() { return static_cast<int32_t>(offsetof(UnixNetworkInterface_t2401762829, ___addresses_2)); }
inline List_1_t1713852332 * get_addresses_2() const { return ___addresses_2; }
inline List_1_t1713852332 ** get_address_of_addresses_2() { return &___addresses_2; }
inline void set_addresses_2(List_1_t1713852332 * value)
{
___addresses_2 = value;
Il2CppCodeGenWriteBarrier((&___addresses_2), value);
}
inline static int32_t get_offset_of_macAddress_3() { return static_cast<int32_t>(offsetof(UnixNetworkInterface_t2401762829, ___macAddress_3)); }
inline ByteU5BU5D_t4116647657* get_macAddress_3() const { return ___macAddress_3; }
inline ByteU5BU5D_t4116647657** get_address_of_macAddress_3() { return &___macAddress_3; }
inline void set_macAddress_3(ByteU5BU5D_t4116647657* value)
{
___macAddress_3 = value;
Il2CppCodeGenWriteBarrier((&___macAddress_3), value);
}
inline static int32_t get_offset_of_type_4() { return static_cast<int32_t>(offsetof(UnixNetworkInterface_t2401762829, ___type_4)); }
inline int32_t get_type_4() const { return ___type_4; }
inline int32_t* get_address_of_type_4() { return &___type_4; }
inline void set_type_4(int32_t value)
{
___type_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNIXNETWORKINTERFACE_T2401762829_H
#ifndef WIN32_IP_ADAPTER_ADDRESSES_T3463526328_H
#define WIN32_IP_ADAPTER_ADDRESSES_T3463526328_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
struct Win32_IP_ADAPTER_ADDRESSES_t3463526328
{
public:
// System.Net.NetworkInformation.AlignmentUnion System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Alignment
AlignmentUnion_t208902285 ___Alignment_0;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Next
intptr_t ___Next_1;
// System.String System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::AdapterName
String_t* ___AdapterName_2;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::FirstUnicastAddress
intptr_t ___FirstUnicastAddress_3;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::FirstAnycastAddress
intptr_t ___FirstAnycastAddress_4;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::FirstMulticastAddress
intptr_t ___FirstMulticastAddress_5;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::FirstDnsServerAddress
intptr_t ___FirstDnsServerAddress_6;
// System.String System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::DnsSuffix
String_t* ___DnsSuffix_7;
// System.String System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Description
String_t* ___Description_8;
// System.String System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::FriendlyName
String_t* ___FriendlyName_9;
// System.Byte[] System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::PhysicalAddress
ByteU5BU5D_t4116647657* ___PhysicalAddress_10;
// System.UInt32 System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::PhysicalAddressLength
uint32_t ___PhysicalAddressLength_11;
// System.UInt32 System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Flags
uint32_t ___Flags_12;
// System.UInt32 System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Mtu
uint32_t ___Mtu_13;
// System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::IfType
int32_t ___IfType_14;
// System.Net.NetworkInformation.OperationalStatus System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::OperStatus
int32_t ___OperStatus_15;
// System.Int32 System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::Ipv6IfIndex
int32_t ___Ipv6IfIndex_16;
// System.UInt32[] System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES::ZoneIndices
UInt32U5BU5D_t2770800703* ___ZoneIndices_17;
public:
inline static int32_t get_offset_of_Alignment_0() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Alignment_0)); }
inline AlignmentUnion_t208902285 get_Alignment_0() const { return ___Alignment_0; }
inline AlignmentUnion_t208902285 * get_address_of_Alignment_0() { return &___Alignment_0; }
inline void set_Alignment_0(AlignmentUnion_t208902285 value)
{
___Alignment_0 = value;
}
inline static int32_t get_offset_of_Next_1() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Next_1)); }
inline intptr_t get_Next_1() const { return ___Next_1; }
inline intptr_t* get_address_of_Next_1() { return &___Next_1; }
inline void set_Next_1(intptr_t value)
{
___Next_1 = value;
}
inline static int32_t get_offset_of_AdapterName_2() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___AdapterName_2)); }
inline String_t* get_AdapterName_2() const { return ___AdapterName_2; }
inline String_t** get_address_of_AdapterName_2() { return &___AdapterName_2; }
inline void set_AdapterName_2(String_t* value)
{
___AdapterName_2 = value;
Il2CppCodeGenWriteBarrier((&___AdapterName_2), value);
}
inline static int32_t get_offset_of_FirstUnicastAddress_3() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___FirstUnicastAddress_3)); }
inline intptr_t get_FirstUnicastAddress_3() const { return ___FirstUnicastAddress_3; }
inline intptr_t* get_address_of_FirstUnicastAddress_3() { return &___FirstUnicastAddress_3; }
inline void set_FirstUnicastAddress_3(intptr_t value)
{
___FirstUnicastAddress_3 = value;
}
inline static int32_t get_offset_of_FirstAnycastAddress_4() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___FirstAnycastAddress_4)); }
inline intptr_t get_FirstAnycastAddress_4() const { return ___FirstAnycastAddress_4; }
inline intptr_t* get_address_of_FirstAnycastAddress_4() { return &___FirstAnycastAddress_4; }
inline void set_FirstAnycastAddress_4(intptr_t value)
{
___FirstAnycastAddress_4 = value;
}
inline static int32_t get_offset_of_FirstMulticastAddress_5() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___FirstMulticastAddress_5)); }
inline intptr_t get_FirstMulticastAddress_5() const { return ___FirstMulticastAddress_5; }
inline intptr_t* get_address_of_FirstMulticastAddress_5() { return &___FirstMulticastAddress_5; }
inline void set_FirstMulticastAddress_5(intptr_t value)
{
___FirstMulticastAddress_5 = value;
}
inline static int32_t get_offset_of_FirstDnsServerAddress_6() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___FirstDnsServerAddress_6)); }
inline intptr_t get_FirstDnsServerAddress_6() const { return ___FirstDnsServerAddress_6; }
inline intptr_t* get_address_of_FirstDnsServerAddress_6() { return &___FirstDnsServerAddress_6; }
inline void set_FirstDnsServerAddress_6(intptr_t value)
{
___FirstDnsServerAddress_6 = value;
}
inline static int32_t get_offset_of_DnsSuffix_7() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___DnsSuffix_7)); }
inline String_t* get_DnsSuffix_7() const { return ___DnsSuffix_7; }
inline String_t** get_address_of_DnsSuffix_7() { return &___DnsSuffix_7; }
inline void set_DnsSuffix_7(String_t* value)
{
___DnsSuffix_7 = value;
Il2CppCodeGenWriteBarrier((&___DnsSuffix_7), value);
}
inline static int32_t get_offset_of_Description_8() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Description_8)); }
inline String_t* get_Description_8() const { return ___Description_8; }
inline String_t** get_address_of_Description_8() { return &___Description_8; }
inline void set_Description_8(String_t* value)
{
___Description_8 = value;
Il2CppCodeGenWriteBarrier((&___Description_8), value);
}
inline static int32_t get_offset_of_FriendlyName_9() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___FriendlyName_9)); }
inline String_t* get_FriendlyName_9() const { return ___FriendlyName_9; }
inline String_t** get_address_of_FriendlyName_9() { return &___FriendlyName_9; }
inline void set_FriendlyName_9(String_t* value)
{
___FriendlyName_9 = value;
Il2CppCodeGenWriteBarrier((&___FriendlyName_9), value);
}
inline static int32_t get_offset_of_PhysicalAddress_10() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___PhysicalAddress_10)); }
inline ByteU5BU5D_t4116647657* get_PhysicalAddress_10() const { return ___PhysicalAddress_10; }
inline ByteU5BU5D_t4116647657** get_address_of_PhysicalAddress_10() { return &___PhysicalAddress_10; }
inline void set_PhysicalAddress_10(ByteU5BU5D_t4116647657* value)
{
___PhysicalAddress_10 = value;
Il2CppCodeGenWriteBarrier((&___PhysicalAddress_10), value);
}
inline static int32_t get_offset_of_PhysicalAddressLength_11() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___PhysicalAddressLength_11)); }
inline uint32_t get_PhysicalAddressLength_11() const { return ___PhysicalAddressLength_11; }
inline uint32_t* get_address_of_PhysicalAddressLength_11() { return &___PhysicalAddressLength_11; }
inline void set_PhysicalAddressLength_11(uint32_t value)
{
___PhysicalAddressLength_11 = value;
}
inline static int32_t get_offset_of_Flags_12() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Flags_12)); }
inline uint32_t get_Flags_12() const { return ___Flags_12; }
inline uint32_t* get_address_of_Flags_12() { return &___Flags_12; }
inline void set_Flags_12(uint32_t value)
{
___Flags_12 = value;
}
inline static int32_t get_offset_of_Mtu_13() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Mtu_13)); }
inline uint32_t get_Mtu_13() const { return ___Mtu_13; }
inline uint32_t* get_address_of_Mtu_13() { return &___Mtu_13; }
inline void set_Mtu_13(uint32_t value)
{
___Mtu_13 = value;
}
inline static int32_t get_offset_of_IfType_14() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___IfType_14)); }
inline int32_t get_IfType_14() const { return ___IfType_14; }
inline int32_t* get_address_of_IfType_14() { return &___IfType_14; }
inline void set_IfType_14(int32_t value)
{
___IfType_14 = value;
}
inline static int32_t get_offset_of_OperStatus_15() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___OperStatus_15)); }
inline int32_t get_OperStatus_15() const { return ___OperStatus_15; }
inline int32_t* get_address_of_OperStatus_15() { return &___OperStatus_15; }
inline void set_OperStatus_15(int32_t value)
{
___OperStatus_15 = value;
}
inline static int32_t get_offset_of_Ipv6IfIndex_16() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___Ipv6IfIndex_16)); }
inline int32_t get_Ipv6IfIndex_16() const { return ___Ipv6IfIndex_16; }
inline int32_t* get_address_of_Ipv6IfIndex_16() { return &___Ipv6IfIndex_16; }
inline void set_Ipv6IfIndex_16(int32_t value)
{
___Ipv6IfIndex_16 = value;
}
inline static int32_t get_offset_of_ZoneIndices_17() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_ADDRESSES_t3463526328, ___ZoneIndices_17)); }
inline UInt32U5BU5D_t2770800703* get_ZoneIndices_17() const { return ___ZoneIndices_17; }
inline UInt32U5BU5D_t2770800703** get_address_of_ZoneIndices_17() { return &___ZoneIndices_17; }
inline void set_ZoneIndices_17(UInt32U5BU5D_t2770800703* value)
{
___ZoneIndices_17 = value;
Il2CppCodeGenWriteBarrier((&___ZoneIndices_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
struct Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_pinvoke
{
AlignmentUnion_t208902285 ___Alignment_0;
intptr_t ___Next_1;
char* ___AdapterName_2;
intptr_t ___FirstUnicastAddress_3;
intptr_t ___FirstAnycastAddress_4;
intptr_t ___FirstMulticastAddress_5;
intptr_t ___FirstDnsServerAddress_6;
Il2CppChar* ___DnsSuffix_7;
Il2CppChar* ___Description_8;
Il2CppChar* ___FriendlyName_9;
uint8_t ___PhysicalAddress_10[8];
uint32_t ___PhysicalAddressLength_11;
uint32_t ___Flags_12;
uint32_t ___Mtu_13;
int32_t ___IfType_14;
int32_t ___OperStatus_15;
int32_t ___Ipv6IfIndex_16;
uint32_t ___ZoneIndices_17[64];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
struct Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_com
{
AlignmentUnion_t208902285 ___Alignment_0;
intptr_t ___Next_1;
char* ___AdapterName_2;
intptr_t ___FirstUnicastAddress_3;
intptr_t ___FirstAnycastAddress_4;
intptr_t ___FirstMulticastAddress_5;
intptr_t ___FirstDnsServerAddress_6;
Il2CppChar* ___DnsSuffix_7;
Il2CppChar* ___Description_8;
Il2CppChar* ___FriendlyName_9;
uint8_t ___PhysicalAddress_10[8];
uint32_t ___PhysicalAddressLength_11;
uint32_t ___Flags_12;
uint32_t ___Mtu_13;
int32_t ___IfType_14;
int32_t ___OperStatus_15;
int32_t ___Ipv6IfIndex_16;
uint32_t ___ZoneIndices_17[64];
};
#endif // WIN32_IP_ADAPTER_ADDRESSES_T3463526328_H
#ifndef SOCKADDR_IN6_T2790242023_H
#define SOCKADDR_IN6_T2790242023_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.sockaddr_in6
struct sockaddr_in6_t2790242023
{
public:
// System.UInt16 System.Net.NetworkInformation.sockaddr_in6::sin6_family
uint16_t ___sin6_family_0;
// System.UInt16 System.Net.NetworkInformation.sockaddr_in6::sin6_port
uint16_t ___sin6_port_1;
// System.UInt32 System.Net.NetworkInformation.sockaddr_in6::sin6_flowinfo
uint32_t ___sin6_flowinfo_2;
// System.Net.NetworkInformation.in6_addr System.Net.NetworkInformation.sockaddr_in6::sin6_addr
in6_addr_t3611791508 ___sin6_addr_3;
// System.UInt32 System.Net.NetworkInformation.sockaddr_in6::sin6_scope_id
uint32_t ___sin6_scope_id_4;
public:
inline static int32_t get_offset_of_sin6_family_0() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2790242023, ___sin6_family_0)); }
inline uint16_t get_sin6_family_0() const { return ___sin6_family_0; }
inline uint16_t* get_address_of_sin6_family_0() { return &___sin6_family_0; }
inline void set_sin6_family_0(uint16_t value)
{
___sin6_family_0 = value;
}
inline static int32_t get_offset_of_sin6_port_1() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2790242023, ___sin6_port_1)); }
inline uint16_t get_sin6_port_1() const { return ___sin6_port_1; }
inline uint16_t* get_address_of_sin6_port_1() { return &___sin6_port_1; }
inline void set_sin6_port_1(uint16_t value)
{
___sin6_port_1 = value;
}
inline static int32_t get_offset_of_sin6_flowinfo_2() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2790242023, ___sin6_flowinfo_2)); }
inline uint32_t get_sin6_flowinfo_2() const { return ___sin6_flowinfo_2; }
inline uint32_t* get_address_of_sin6_flowinfo_2() { return &___sin6_flowinfo_2; }
inline void set_sin6_flowinfo_2(uint32_t value)
{
___sin6_flowinfo_2 = value;
}
inline static int32_t get_offset_of_sin6_addr_3() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2790242023, ___sin6_addr_3)); }
inline in6_addr_t3611791508 get_sin6_addr_3() const { return ___sin6_addr_3; }
inline in6_addr_t3611791508 * get_address_of_sin6_addr_3() { return &___sin6_addr_3; }
inline void set_sin6_addr_3(in6_addr_t3611791508 value)
{
___sin6_addr_3 = value;
}
inline static int32_t get_offset_of_sin6_scope_id_4() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2790242023, ___sin6_scope_id_4)); }
inline uint32_t get_sin6_scope_id_4() const { return ___sin6_scope_id_4; }
inline uint32_t* get_address_of_sin6_scope_id_4() { return &___sin6_scope_id_4; }
inline void set_sin6_scope_id_4(uint32_t value)
{
___sin6_scope_id_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.sockaddr_in6
struct sockaddr_in6_t2790242023_marshaled_pinvoke
{
uint16_t ___sin6_family_0;
uint16_t ___sin6_port_1;
uint32_t ___sin6_flowinfo_2;
in6_addr_t3611791508_marshaled_pinvoke ___sin6_addr_3;
uint32_t ___sin6_scope_id_4;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.sockaddr_in6
struct sockaddr_in6_t2790242023_marshaled_com
{
uint16_t ___sin6_family_0;
uint16_t ___sin6_port_1;
uint32_t ___sin6_flowinfo_2;
in6_addr_t3611791508_marshaled_com ___sin6_addr_3;
uint32_t ___sin6_scope_id_4;
};
#endif // SOCKADDR_IN6_T2790242023_H
#ifndef SOCKADDR_IN6_T2080844659_H
#define SOCKADDR_IN6_T2080844659_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsStructs.sockaddr_in6
struct sockaddr_in6_t2080844659
{
public:
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_len
uint8_t ___sin6_len_0;
// System.Byte System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_family
uint8_t ___sin6_family_1;
// System.UInt16 System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_port
uint16_t ___sin6_port_2;
// System.UInt32 System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_flowinfo
uint32_t ___sin6_flowinfo_3;
// System.Net.NetworkInformation.MacOsStructs.in6_addr System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_addr
in6_addr_t1417766092 ___sin6_addr_4;
// System.UInt32 System.Net.NetworkInformation.MacOsStructs.sockaddr_in6::sin6_scope_id
uint32_t ___sin6_scope_id_5;
public:
inline static int32_t get_offset_of_sin6_len_0() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_len_0)); }
inline uint8_t get_sin6_len_0() const { return ___sin6_len_0; }
inline uint8_t* get_address_of_sin6_len_0() { return &___sin6_len_0; }
inline void set_sin6_len_0(uint8_t value)
{
___sin6_len_0 = value;
}
inline static int32_t get_offset_of_sin6_family_1() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_family_1)); }
inline uint8_t get_sin6_family_1() const { return ___sin6_family_1; }
inline uint8_t* get_address_of_sin6_family_1() { return &___sin6_family_1; }
inline void set_sin6_family_1(uint8_t value)
{
___sin6_family_1 = value;
}
inline static int32_t get_offset_of_sin6_port_2() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_port_2)); }
inline uint16_t get_sin6_port_2() const { return ___sin6_port_2; }
inline uint16_t* get_address_of_sin6_port_2() { return &___sin6_port_2; }
inline void set_sin6_port_2(uint16_t value)
{
___sin6_port_2 = value;
}
inline static int32_t get_offset_of_sin6_flowinfo_3() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_flowinfo_3)); }
inline uint32_t get_sin6_flowinfo_3() const { return ___sin6_flowinfo_3; }
inline uint32_t* get_address_of_sin6_flowinfo_3() { return &___sin6_flowinfo_3; }
inline void set_sin6_flowinfo_3(uint32_t value)
{
___sin6_flowinfo_3 = value;
}
inline static int32_t get_offset_of_sin6_addr_4() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_addr_4)); }
inline in6_addr_t1417766092 get_sin6_addr_4() const { return ___sin6_addr_4; }
inline in6_addr_t1417766092 * get_address_of_sin6_addr_4() { return &___sin6_addr_4; }
inline void set_sin6_addr_4(in6_addr_t1417766092 value)
{
___sin6_addr_4 = value;
}
inline static int32_t get_offset_of_sin6_scope_id_5() { return static_cast<int32_t>(offsetof(sockaddr_in6_t2080844659, ___sin6_scope_id_5)); }
inline uint32_t get_sin6_scope_id_5() const { return ___sin6_scope_id_5; }
inline uint32_t* get_address_of_sin6_scope_id_5() { return &___sin6_scope_id_5; }
inline void set_sin6_scope_id_5(uint32_t value)
{
___sin6_scope_id_5 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.MacOsStructs.sockaddr_in6
struct sockaddr_in6_t2080844659_marshaled_pinvoke
{
uint8_t ___sin6_len_0;
uint8_t ___sin6_family_1;
uint16_t ___sin6_port_2;
uint32_t ___sin6_flowinfo_3;
in6_addr_t1417766092_marshaled_pinvoke ___sin6_addr_4;
uint32_t ___sin6_scope_id_5;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.MacOsStructs.sockaddr_in6
struct sockaddr_in6_t2080844659_marshaled_com
{
uint8_t ___sin6_len_0;
uint8_t ___sin6_family_1;
uint16_t ___sin6_port_2;
uint32_t ___sin6_flowinfo_3;
in6_addr_t1417766092_marshaled_com ___sin6_addr_4;
uint32_t ___sin6_scope_id_5;
};
#endif // SOCKADDR_IN6_T2080844659_H
#ifndef TYPE_T_H
#define TYPE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t3027515415 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_t3027515415 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_t3027515415 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_t3027515415 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t426314064 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t426314064 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t426314064 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t3940880105* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2999457153 * ___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_t426314064 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t426314064 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t426314064 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((&___FilterAttribute_0), value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t426314064 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t426314064 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t426314064 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((&___FilterName_1), value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t426314064 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t426314064 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t426314064 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((&___FilterNameIgnoreCase_2), 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((&___Missing_3), 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_t3940880105* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t3940880105** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t3940880105* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((&___EmptyTypes_5), value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2999457153 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2999457153 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2999457153 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((&___defaultBinder_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPE_T_H
#ifndef IPADDRESS_T241777590_H
#define IPADDRESS_T241777590_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.IPAddress
struct IPAddress_t241777590 : public RuntimeObject
{
public:
// System.Int64 System.Net.IPAddress::m_Address
int64_t ___m_Address_5;
// System.String System.Net.IPAddress::m_ToString
String_t* ___m_ToString_6;
// System.Net.Sockets.AddressFamily System.Net.IPAddress::m_Family
int32_t ___m_Family_10;
// System.UInt16[] System.Net.IPAddress::m_Numbers
UInt16U5BU5D_t3326319531* ___m_Numbers_11;
// System.Int64 System.Net.IPAddress::m_ScopeId
int64_t ___m_ScopeId_12;
// System.Int32 System.Net.IPAddress::m_HashCode
int32_t ___m_HashCode_13;
public:
inline static int32_t get_offset_of_m_Address_5() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_Address_5)); }
inline int64_t get_m_Address_5() const { return ___m_Address_5; }
inline int64_t* get_address_of_m_Address_5() { return &___m_Address_5; }
inline void set_m_Address_5(int64_t value)
{
___m_Address_5 = value;
}
inline static int32_t get_offset_of_m_ToString_6() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_ToString_6)); }
inline String_t* get_m_ToString_6() const { return ___m_ToString_6; }
inline String_t** get_address_of_m_ToString_6() { return &___m_ToString_6; }
inline void set_m_ToString_6(String_t* value)
{
___m_ToString_6 = value;
Il2CppCodeGenWriteBarrier((&___m_ToString_6), value);
}
inline static int32_t get_offset_of_m_Family_10() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_Family_10)); }
inline int32_t get_m_Family_10() const { return ___m_Family_10; }
inline int32_t* get_address_of_m_Family_10() { return &___m_Family_10; }
inline void set_m_Family_10(int32_t value)
{
___m_Family_10 = value;
}
inline static int32_t get_offset_of_m_Numbers_11() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_Numbers_11)); }
inline UInt16U5BU5D_t3326319531* get_m_Numbers_11() const { return ___m_Numbers_11; }
inline UInt16U5BU5D_t3326319531** get_address_of_m_Numbers_11() { return &___m_Numbers_11; }
inline void set_m_Numbers_11(UInt16U5BU5D_t3326319531* value)
{
___m_Numbers_11 = value;
Il2CppCodeGenWriteBarrier((&___m_Numbers_11), value);
}
inline static int32_t get_offset_of_m_ScopeId_12() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_ScopeId_12)); }
inline int64_t get_m_ScopeId_12() const { return ___m_ScopeId_12; }
inline int64_t* get_address_of_m_ScopeId_12() { return &___m_ScopeId_12; }
inline void set_m_ScopeId_12(int64_t value)
{
___m_ScopeId_12 = value;
}
inline static int32_t get_offset_of_m_HashCode_13() { return static_cast<int32_t>(offsetof(IPAddress_t241777590, ___m_HashCode_13)); }
inline int32_t get_m_HashCode_13() const { return ___m_HashCode_13; }
inline int32_t* get_address_of_m_HashCode_13() { return &___m_HashCode_13; }
inline void set_m_HashCode_13(int32_t value)
{
___m_HashCode_13 = value;
}
};
struct IPAddress_t241777590_StaticFields
{
public:
// System.Net.IPAddress System.Net.IPAddress::Any
IPAddress_t241777590 * ___Any_0;
// System.Net.IPAddress System.Net.IPAddress::Loopback
IPAddress_t241777590 * ___Loopback_1;
// System.Net.IPAddress System.Net.IPAddress::Broadcast
IPAddress_t241777590 * ___Broadcast_2;
// System.Net.IPAddress System.Net.IPAddress::None
IPAddress_t241777590 * ___None_3;
// System.Net.IPAddress System.Net.IPAddress::IPv6Any
IPAddress_t241777590 * ___IPv6Any_7;
// System.Net.IPAddress System.Net.IPAddress::IPv6Loopback
IPAddress_t241777590 * ___IPv6Loopback_8;
// System.Net.IPAddress System.Net.IPAddress::IPv6None
IPAddress_t241777590 * ___IPv6None_9;
public:
inline static int32_t get_offset_of_Any_0() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___Any_0)); }
inline IPAddress_t241777590 * get_Any_0() const { return ___Any_0; }
inline IPAddress_t241777590 ** get_address_of_Any_0() { return &___Any_0; }
inline void set_Any_0(IPAddress_t241777590 * value)
{
___Any_0 = value;
Il2CppCodeGenWriteBarrier((&___Any_0), value);
}
inline static int32_t get_offset_of_Loopback_1() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___Loopback_1)); }
inline IPAddress_t241777590 * get_Loopback_1() const { return ___Loopback_1; }
inline IPAddress_t241777590 ** get_address_of_Loopback_1() { return &___Loopback_1; }
inline void set_Loopback_1(IPAddress_t241777590 * value)
{
___Loopback_1 = value;
Il2CppCodeGenWriteBarrier((&___Loopback_1), value);
}
inline static int32_t get_offset_of_Broadcast_2() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___Broadcast_2)); }
inline IPAddress_t241777590 * get_Broadcast_2() const { return ___Broadcast_2; }
inline IPAddress_t241777590 ** get_address_of_Broadcast_2() { return &___Broadcast_2; }
inline void set_Broadcast_2(IPAddress_t241777590 * value)
{
___Broadcast_2 = value;
Il2CppCodeGenWriteBarrier((&___Broadcast_2), value);
}
inline static int32_t get_offset_of_None_3() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___None_3)); }
inline IPAddress_t241777590 * get_None_3() const { return ___None_3; }
inline IPAddress_t241777590 ** get_address_of_None_3() { return &___None_3; }
inline void set_None_3(IPAddress_t241777590 * value)
{
___None_3 = value;
Il2CppCodeGenWriteBarrier((&___None_3), value);
}
inline static int32_t get_offset_of_IPv6Any_7() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___IPv6Any_7)); }
inline IPAddress_t241777590 * get_IPv6Any_7() const { return ___IPv6Any_7; }
inline IPAddress_t241777590 ** get_address_of_IPv6Any_7() { return &___IPv6Any_7; }
inline void set_IPv6Any_7(IPAddress_t241777590 * value)
{
___IPv6Any_7 = value;
Il2CppCodeGenWriteBarrier((&___IPv6Any_7), value);
}
inline static int32_t get_offset_of_IPv6Loopback_8() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___IPv6Loopback_8)); }
inline IPAddress_t241777590 * get_IPv6Loopback_8() const { return ___IPv6Loopback_8; }
inline IPAddress_t241777590 ** get_address_of_IPv6Loopback_8() { return &___IPv6Loopback_8; }
inline void set_IPv6Loopback_8(IPAddress_t241777590 * value)
{
___IPv6Loopback_8 = value;
Il2CppCodeGenWriteBarrier((&___IPv6Loopback_8), value);
}
inline static int32_t get_offset_of_IPv6None_9() { return static_cast<int32_t>(offsetof(IPAddress_t241777590_StaticFields, ___IPv6None_9)); }
inline IPAddress_t241777590 * get_IPv6None_9() const { return ___IPv6None_9; }
inline IPAddress_t241777590 ** get_address_of_IPv6None_9() { return &___IPv6None_9; }
inline void set_IPv6None_9(IPAddress_t241777590 * value)
{
___IPv6None_9 = value;
Il2CppCodeGenWriteBarrier((&___IPv6None_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IPADDRESS_T241777590_H
#ifndef SAFEHANDLEZEROORMINUSONEISINVALID_T1182193648_H
#define SAFEHANDLEZEROORMINUSONEISINVALID_T1182193648_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
struct SafeHandleZeroOrMinusOneIsInvalid_t1182193648 : public SafeHandle_t3273388951
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SAFEHANDLEZEROORMINUSONEISINVALID_T1182193648_H
#ifndef REGEX_T3657309853_H
#define REGEX_T3657309853_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Regex
struct Regex_t3657309853 : public RuntimeObject
{
public:
// System.String System.Text.RegularExpressions.Regex::pattern
String_t* ___pattern_0;
// System.Text.RegularExpressions.RegexRunnerFactory System.Text.RegularExpressions.Regex::factory
RegexRunnerFactory_t51159052 * ___factory_1;
// System.Text.RegularExpressions.RegexOptions System.Text.RegularExpressions.Regex::roptions
int32_t ___roptions_2;
// System.TimeSpan System.Text.RegularExpressions.Regex::internalMatchTimeout
TimeSpan_t881159249 ___internalMatchTimeout_5;
// System.Collections.Hashtable System.Text.RegularExpressions.Regex::caps
Hashtable_t1853889766 * ___caps_8;
// System.Collections.Hashtable System.Text.RegularExpressions.Regex::capnames
Hashtable_t1853889766 * ___capnames_9;
// System.String[] System.Text.RegularExpressions.Regex::capslist
StringU5BU5D_t1281789340* ___capslist_10;
// System.Int32 System.Text.RegularExpressions.Regex::capsize
int32_t ___capsize_11;
// System.Text.RegularExpressions.ExclusiveReference System.Text.RegularExpressions.Regex::runnerref
ExclusiveReference_t1927754563 * ___runnerref_12;
// System.Text.RegularExpressions.SharedReference System.Text.RegularExpressions.Regex::replref
SharedReference_t2916547576 * ___replref_13;
// System.Text.RegularExpressions.RegexCode System.Text.RegularExpressions.Regex::code
RegexCode_t4293407246 * ___code_14;
// System.Boolean System.Text.RegularExpressions.Regex::refsInitialized
bool ___refsInitialized_15;
public:
inline static int32_t get_offset_of_pattern_0() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___pattern_0)); }
inline String_t* get_pattern_0() const { return ___pattern_0; }
inline String_t** get_address_of_pattern_0() { return &___pattern_0; }
inline void set_pattern_0(String_t* value)
{
___pattern_0 = value;
Il2CppCodeGenWriteBarrier((&___pattern_0), value);
}
inline static int32_t get_offset_of_factory_1() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___factory_1)); }
inline RegexRunnerFactory_t51159052 * get_factory_1() const { return ___factory_1; }
inline RegexRunnerFactory_t51159052 ** get_address_of_factory_1() { return &___factory_1; }
inline void set_factory_1(RegexRunnerFactory_t51159052 * value)
{
___factory_1 = value;
Il2CppCodeGenWriteBarrier((&___factory_1), value);
}
inline static int32_t get_offset_of_roptions_2() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___roptions_2)); }
inline int32_t get_roptions_2() const { return ___roptions_2; }
inline int32_t* get_address_of_roptions_2() { return &___roptions_2; }
inline void set_roptions_2(int32_t value)
{
___roptions_2 = value;
}
inline static int32_t get_offset_of_internalMatchTimeout_5() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___internalMatchTimeout_5)); }
inline TimeSpan_t881159249 get_internalMatchTimeout_5() const { return ___internalMatchTimeout_5; }
inline TimeSpan_t881159249 * get_address_of_internalMatchTimeout_5() { return &___internalMatchTimeout_5; }
inline void set_internalMatchTimeout_5(TimeSpan_t881159249 value)
{
___internalMatchTimeout_5 = value;
}
inline static int32_t get_offset_of_caps_8() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___caps_8)); }
inline Hashtable_t1853889766 * get_caps_8() const { return ___caps_8; }
inline Hashtable_t1853889766 ** get_address_of_caps_8() { return &___caps_8; }
inline void set_caps_8(Hashtable_t1853889766 * value)
{
___caps_8 = value;
Il2CppCodeGenWriteBarrier((&___caps_8), value);
}
inline static int32_t get_offset_of_capnames_9() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___capnames_9)); }
inline Hashtable_t1853889766 * get_capnames_9() const { return ___capnames_9; }
inline Hashtable_t1853889766 ** get_address_of_capnames_9() { return &___capnames_9; }
inline void set_capnames_9(Hashtable_t1853889766 * value)
{
___capnames_9 = value;
Il2CppCodeGenWriteBarrier((&___capnames_9), value);
}
inline static int32_t get_offset_of_capslist_10() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___capslist_10)); }
inline StringU5BU5D_t1281789340* get_capslist_10() const { return ___capslist_10; }
inline StringU5BU5D_t1281789340** get_address_of_capslist_10() { return &___capslist_10; }
inline void set_capslist_10(StringU5BU5D_t1281789340* value)
{
___capslist_10 = value;
Il2CppCodeGenWriteBarrier((&___capslist_10), value);
}
inline static int32_t get_offset_of_capsize_11() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___capsize_11)); }
inline int32_t get_capsize_11() const { return ___capsize_11; }
inline int32_t* get_address_of_capsize_11() { return &___capsize_11; }
inline void set_capsize_11(int32_t value)
{
___capsize_11 = value;
}
inline static int32_t get_offset_of_runnerref_12() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___runnerref_12)); }
inline ExclusiveReference_t1927754563 * get_runnerref_12() const { return ___runnerref_12; }
inline ExclusiveReference_t1927754563 ** get_address_of_runnerref_12() { return &___runnerref_12; }
inline void set_runnerref_12(ExclusiveReference_t1927754563 * value)
{
___runnerref_12 = value;
Il2CppCodeGenWriteBarrier((&___runnerref_12), value);
}
inline static int32_t get_offset_of_replref_13() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___replref_13)); }
inline SharedReference_t2916547576 * get_replref_13() const { return ___replref_13; }
inline SharedReference_t2916547576 ** get_address_of_replref_13() { return &___replref_13; }
inline void set_replref_13(SharedReference_t2916547576 * value)
{
___replref_13 = value;
Il2CppCodeGenWriteBarrier((&___replref_13), value);
}
inline static int32_t get_offset_of_code_14() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___code_14)); }
inline RegexCode_t4293407246 * get_code_14() const { return ___code_14; }
inline RegexCode_t4293407246 ** get_address_of_code_14() { return &___code_14; }
inline void set_code_14(RegexCode_t4293407246 * value)
{
___code_14 = value;
Il2CppCodeGenWriteBarrier((&___code_14), value);
}
inline static int32_t get_offset_of_refsInitialized_15() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___refsInitialized_15)); }
inline bool get_refsInitialized_15() const { return ___refsInitialized_15; }
inline bool* get_address_of_refsInitialized_15() { return &___refsInitialized_15; }
inline void set_refsInitialized_15(bool value)
{
___refsInitialized_15 = value;
}
};
struct Regex_t3657309853_StaticFields
{
public:
// System.TimeSpan System.Text.RegularExpressions.Regex::MaximumMatchTimeout
TimeSpan_t881159249 ___MaximumMatchTimeout_3;
// System.TimeSpan System.Text.RegularExpressions.Regex::InfiniteMatchTimeout
TimeSpan_t881159249 ___InfiniteMatchTimeout_4;
// System.TimeSpan System.Text.RegularExpressions.Regex::FallbackDefaultMatchTimeout
TimeSpan_t881159249 ___FallbackDefaultMatchTimeout_6;
// System.TimeSpan System.Text.RegularExpressions.Regex::DefaultMatchTimeout
TimeSpan_t881159249 ___DefaultMatchTimeout_7;
// System.Collections.Generic.LinkedList`1<System.Text.RegularExpressions.CachedCodeEntry> System.Text.RegularExpressions.Regex::livecode
LinkedList_1_t3068621835 * ___livecode_16;
// System.Int32 System.Text.RegularExpressions.Regex::cacheSize
int32_t ___cacheSize_17;
public:
inline static int32_t get_offset_of_MaximumMatchTimeout_3() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___MaximumMatchTimeout_3)); }
inline TimeSpan_t881159249 get_MaximumMatchTimeout_3() const { return ___MaximumMatchTimeout_3; }
inline TimeSpan_t881159249 * get_address_of_MaximumMatchTimeout_3() { return &___MaximumMatchTimeout_3; }
inline void set_MaximumMatchTimeout_3(TimeSpan_t881159249 value)
{
___MaximumMatchTimeout_3 = value;
}
inline static int32_t get_offset_of_InfiniteMatchTimeout_4() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___InfiniteMatchTimeout_4)); }
inline TimeSpan_t881159249 get_InfiniteMatchTimeout_4() const { return ___InfiniteMatchTimeout_4; }
inline TimeSpan_t881159249 * get_address_of_InfiniteMatchTimeout_4() { return &___InfiniteMatchTimeout_4; }
inline void set_InfiniteMatchTimeout_4(TimeSpan_t881159249 value)
{
___InfiniteMatchTimeout_4 = value;
}
inline static int32_t get_offset_of_FallbackDefaultMatchTimeout_6() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___FallbackDefaultMatchTimeout_6)); }
inline TimeSpan_t881159249 get_FallbackDefaultMatchTimeout_6() const { return ___FallbackDefaultMatchTimeout_6; }
inline TimeSpan_t881159249 * get_address_of_FallbackDefaultMatchTimeout_6() { return &___FallbackDefaultMatchTimeout_6; }
inline void set_FallbackDefaultMatchTimeout_6(TimeSpan_t881159249 value)
{
___FallbackDefaultMatchTimeout_6 = value;
}
inline static int32_t get_offset_of_DefaultMatchTimeout_7() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___DefaultMatchTimeout_7)); }
inline TimeSpan_t881159249 get_DefaultMatchTimeout_7() const { return ___DefaultMatchTimeout_7; }
inline TimeSpan_t881159249 * get_address_of_DefaultMatchTimeout_7() { return &___DefaultMatchTimeout_7; }
inline void set_DefaultMatchTimeout_7(TimeSpan_t881159249 value)
{
___DefaultMatchTimeout_7 = value;
}
inline static int32_t get_offset_of_livecode_16() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___livecode_16)); }
inline LinkedList_1_t3068621835 * get_livecode_16() const { return ___livecode_16; }
inline LinkedList_1_t3068621835 ** get_address_of_livecode_16() { return &___livecode_16; }
inline void set_livecode_16(LinkedList_1_t3068621835 * value)
{
___livecode_16 = value;
Il2CppCodeGenWriteBarrier((&___livecode_16), value);
}
inline static int32_t get_offset_of_cacheSize_17() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___cacheSize_17)); }
inline int32_t get_cacheSize_17() const { return ___cacheSize_17; }
inline int32_t* get_address_of_cacheSize_17() { return &___cacheSize_17; }
inline void set_cacheSize_17(int32_t value)
{
___cacheSize_17 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REGEX_T3657309853_H
#ifndef WIN32_IP_ADAPTER_DNS_SERVER_ADDRESS_T3053140100_H
#define WIN32_IP_ADAPTER_DNS_SERVER_ADDRESS_T3053140100_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_IP_ADAPTER_DNS_SERVER_ADDRESS
struct Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100
{
public:
// System.Net.NetworkInformation.Win32LengthFlagsUnion System.Net.NetworkInformation.Win32_IP_ADAPTER_DNS_SERVER_ADDRESS::LengthFlags
Win32LengthFlagsUnion_t1383639798 ___LengthFlags_0;
// System.IntPtr System.Net.NetworkInformation.Win32_IP_ADAPTER_DNS_SERVER_ADDRESS::Next
intptr_t ___Next_1;
// System.Net.NetworkInformation.Win32_SOCKET_ADDRESS System.Net.NetworkInformation.Win32_IP_ADAPTER_DNS_SERVER_ADDRESS::Address
Win32_SOCKET_ADDRESS_t1936753419 ___Address_2;
public:
inline static int32_t get_offset_of_LengthFlags_0() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100, ___LengthFlags_0)); }
inline Win32LengthFlagsUnion_t1383639798 get_LengthFlags_0() const { return ___LengthFlags_0; }
inline Win32LengthFlagsUnion_t1383639798 * get_address_of_LengthFlags_0() { return &___LengthFlags_0; }
inline void set_LengthFlags_0(Win32LengthFlagsUnion_t1383639798 value)
{
___LengthFlags_0 = value;
}
inline static int32_t get_offset_of_Next_1() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100, ___Next_1)); }
inline intptr_t get_Next_1() const { return ___Next_1; }
inline intptr_t* get_address_of_Next_1() { return &___Next_1; }
inline void set_Next_1(intptr_t value)
{
___Next_1 = value;
}
inline static int32_t get_offset_of_Address_2() { return static_cast<int32_t>(offsetof(Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100, ___Address_2)); }
inline Win32_SOCKET_ADDRESS_t1936753419 get_Address_2() const { return ___Address_2; }
inline Win32_SOCKET_ADDRESS_t1936753419 * get_address_of_Address_2() { return &___Address_2; }
inline void set_Address_2(Win32_SOCKET_ADDRESS_t1936753419 value)
{
___Address_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32_IP_ADAPTER_DNS_SERVER_ADDRESS_T3053140100_H
#ifndef WIN32_MIB_IFROW_T851471770_H
#define WIN32_MIB_IFROW_T851471770_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_MIB_IFROW
struct Win32_MIB_IFROW_t851471770
{
public:
// System.Char[] System.Net.NetworkInformation.Win32_MIB_IFROW::Name
CharU5BU5D_t3528271667* ___Name_0;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::Index
int32_t ___Index_1;
// System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.Win32_MIB_IFROW::Type
int32_t ___Type_2;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::Mtu
int32_t ___Mtu_3;
// System.UInt32 System.Net.NetworkInformation.Win32_MIB_IFROW::Speed
uint32_t ___Speed_4;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::PhysAddrLen
int32_t ___PhysAddrLen_5;
// System.Byte[] System.Net.NetworkInformation.Win32_MIB_IFROW::PhysAddr
ByteU5BU5D_t4116647657* ___PhysAddr_6;
// System.UInt32 System.Net.NetworkInformation.Win32_MIB_IFROW::AdminStatus
uint32_t ___AdminStatus_7;
// System.UInt32 System.Net.NetworkInformation.Win32_MIB_IFROW::OperStatus
uint32_t ___OperStatus_8;
// System.UInt32 System.Net.NetworkInformation.Win32_MIB_IFROW::LastChange
uint32_t ___LastChange_9;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InOctets
int32_t ___InOctets_10;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InUcastPkts
int32_t ___InUcastPkts_11;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InNUcastPkts
int32_t ___InNUcastPkts_12;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InDiscards
int32_t ___InDiscards_13;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InErrors
int32_t ___InErrors_14;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::InUnknownProtos
int32_t ___InUnknownProtos_15;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutOctets
int32_t ___OutOctets_16;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutUcastPkts
int32_t ___OutUcastPkts_17;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutNUcastPkts
int32_t ___OutNUcastPkts_18;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutDiscards
int32_t ___OutDiscards_19;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutErrors
int32_t ___OutErrors_20;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::OutQLen
int32_t ___OutQLen_21;
// System.Int32 System.Net.NetworkInformation.Win32_MIB_IFROW::DescrLen
int32_t ___DescrLen_22;
// System.Byte[] System.Net.NetworkInformation.Win32_MIB_IFROW::Descr
ByteU5BU5D_t4116647657* ___Descr_23;
public:
inline static int32_t get_offset_of_Name_0() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___Name_0)); }
inline CharU5BU5D_t3528271667* get_Name_0() const { return ___Name_0; }
inline CharU5BU5D_t3528271667** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(CharU5BU5D_t3528271667* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((&___Name_0), value);
}
inline static int32_t get_offset_of_Index_1() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___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_Type_2() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___Type_2)); }
inline int32_t get_Type_2() const { return ___Type_2; }
inline int32_t* get_address_of_Type_2() { return &___Type_2; }
inline void set_Type_2(int32_t value)
{
___Type_2 = value;
}
inline static int32_t get_offset_of_Mtu_3() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___Mtu_3)); }
inline int32_t get_Mtu_3() const { return ___Mtu_3; }
inline int32_t* get_address_of_Mtu_3() { return &___Mtu_3; }
inline void set_Mtu_3(int32_t value)
{
___Mtu_3 = value;
}
inline static int32_t get_offset_of_Speed_4() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___Speed_4)); }
inline uint32_t get_Speed_4() const { return ___Speed_4; }
inline uint32_t* get_address_of_Speed_4() { return &___Speed_4; }
inline void set_Speed_4(uint32_t value)
{
___Speed_4 = value;
}
inline static int32_t get_offset_of_PhysAddrLen_5() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___PhysAddrLen_5)); }
inline int32_t get_PhysAddrLen_5() const { return ___PhysAddrLen_5; }
inline int32_t* get_address_of_PhysAddrLen_5() { return &___PhysAddrLen_5; }
inline void set_PhysAddrLen_5(int32_t value)
{
___PhysAddrLen_5 = value;
}
inline static int32_t get_offset_of_PhysAddr_6() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___PhysAddr_6)); }
inline ByteU5BU5D_t4116647657* get_PhysAddr_6() const { return ___PhysAddr_6; }
inline ByteU5BU5D_t4116647657** get_address_of_PhysAddr_6() { return &___PhysAddr_6; }
inline void set_PhysAddr_6(ByteU5BU5D_t4116647657* value)
{
___PhysAddr_6 = value;
Il2CppCodeGenWriteBarrier((&___PhysAddr_6), value);
}
inline static int32_t get_offset_of_AdminStatus_7() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___AdminStatus_7)); }
inline uint32_t get_AdminStatus_7() const { return ___AdminStatus_7; }
inline uint32_t* get_address_of_AdminStatus_7() { return &___AdminStatus_7; }
inline void set_AdminStatus_7(uint32_t value)
{
___AdminStatus_7 = value;
}
inline static int32_t get_offset_of_OperStatus_8() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OperStatus_8)); }
inline uint32_t get_OperStatus_8() const { return ___OperStatus_8; }
inline uint32_t* get_address_of_OperStatus_8() { return &___OperStatus_8; }
inline void set_OperStatus_8(uint32_t value)
{
___OperStatus_8 = value;
}
inline static int32_t get_offset_of_LastChange_9() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___LastChange_9)); }
inline uint32_t get_LastChange_9() const { return ___LastChange_9; }
inline uint32_t* get_address_of_LastChange_9() { return &___LastChange_9; }
inline void set_LastChange_9(uint32_t value)
{
___LastChange_9 = value;
}
inline static int32_t get_offset_of_InOctets_10() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InOctets_10)); }
inline int32_t get_InOctets_10() const { return ___InOctets_10; }
inline int32_t* get_address_of_InOctets_10() { return &___InOctets_10; }
inline void set_InOctets_10(int32_t value)
{
___InOctets_10 = value;
}
inline static int32_t get_offset_of_InUcastPkts_11() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InUcastPkts_11)); }
inline int32_t get_InUcastPkts_11() const { return ___InUcastPkts_11; }
inline int32_t* get_address_of_InUcastPkts_11() { return &___InUcastPkts_11; }
inline void set_InUcastPkts_11(int32_t value)
{
___InUcastPkts_11 = value;
}
inline static int32_t get_offset_of_InNUcastPkts_12() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InNUcastPkts_12)); }
inline int32_t get_InNUcastPkts_12() const { return ___InNUcastPkts_12; }
inline int32_t* get_address_of_InNUcastPkts_12() { return &___InNUcastPkts_12; }
inline void set_InNUcastPkts_12(int32_t value)
{
___InNUcastPkts_12 = value;
}
inline static int32_t get_offset_of_InDiscards_13() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InDiscards_13)); }
inline int32_t get_InDiscards_13() const { return ___InDiscards_13; }
inline int32_t* get_address_of_InDiscards_13() { return &___InDiscards_13; }
inline void set_InDiscards_13(int32_t value)
{
___InDiscards_13 = value;
}
inline static int32_t get_offset_of_InErrors_14() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InErrors_14)); }
inline int32_t get_InErrors_14() const { return ___InErrors_14; }
inline int32_t* get_address_of_InErrors_14() { return &___InErrors_14; }
inline void set_InErrors_14(int32_t value)
{
___InErrors_14 = value;
}
inline static int32_t get_offset_of_InUnknownProtos_15() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___InUnknownProtos_15)); }
inline int32_t get_InUnknownProtos_15() const { return ___InUnknownProtos_15; }
inline int32_t* get_address_of_InUnknownProtos_15() { return &___InUnknownProtos_15; }
inline void set_InUnknownProtos_15(int32_t value)
{
___InUnknownProtos_15 = value;
}
inline static int32_t get_offset_of_OutOctets_16() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutOctets_16)); }
inline int32_t get_OutOctets_16() const { return ___OutOctets_16; }
inline int32_t* get_address_of_OutOctets_16() { return &___OutOctets_16; }
inline void set_OutOctets_16(int32_t value)
{
___OutOctets_16 = value;
}
inline static int32_t get_offset_of_OutUcastPkts_17() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutUcastPkts_17)); }
inline int32_t get_OutUcastPkts_17() const { return ___OutUcastPkts_17; }
inline int32_t* get_address_of_OutUcastPkts_17() { return &___OutUcastPkts_17; }
inline void set_OutUcastPkts_17(int32_t value)
{
___OutUcastPkts_17 = value;
}
inline static int32_t get_offset_of_OutNUcastPkts_18() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutNUcastPkts_18)); }
inline int32_t get_OutNUcastPkts_18() const { return ___OutNUcastPkts_18; }
inline int32_t* get_address_of_OutNUcastPkts_18() { return &___OutNUcastPkts_18; }
inline void set_OutNUcastPkts_18(int32_t value)
{
___OutNUcastPkts_18 = value;
}
inline static int32_t get_offset_of_OutDiscards_19() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutDiscards_19)); }
inline int32_t get_OutDiscards_19() const { return ___OutDiscards_19; }
inline int32_t* get_address_of_OutDiscards_19() { return &___OutDiscards_19; }
inline void set_OutDiscards_19(int32_t value)
{
___OutDiscards_19 = value;
}
inline static int32_t get_offset_of_OutErrors_20() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutErrors_20)); }
inline int32_t get_OutErrors_20() const { return ___OutErrors_20; }
inline int32_t* get_address_of_OutErrors_20() { return &___OutErrors_20; }
inline void set_OutErrors_20(int32_t value)
{
___OutErrors_20 = value;
}
inline static int32_t get_offset_of_OutQLen_21() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___OutQLen_21)); }
inline int32_t get_OutQLen_21() const { return ___OutQLen_21; }
inline int32_t* get_address_of_OutQLen_21() { return &___OutQLen_21; }
inline void set_OutQLen_21(int32_t value)
{
___OutQLen_21 = value;
}
inline static int32_t get_offset_of_DescrLen_22() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___DescrLen_22)); }
inline int32_t get_DescrLen_22() const { return ___DescrLen_22; }
inline int32_t* get_address_of_DescrLen_22() { return &___DescrLen_22; }
inline void set_DescrLen_22(int32_t value)
{
___DescrLen_22 = value;
}
inline static int32_t get_offset_of_Descr_23() { return static_cast<int32_t>(offsetof(Win32_MIB_IFROW_t851471770, ___Descr_23)); }
inline ByteU5BU5D_t4116647657* get_Descr_23() const { return ___Descr_23; }
inline ByteU5BU5D_t4116647657** get_address_of_Descr_23() { return &___Descr_23; }
inline void set_Descr_23(ByteU5BU5D_t4116647657* value)
{
___Descr_23 = value;
Il2CppCodeGenWriteBarrier((&___Descr_23), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.Win32_MIB_IFROW
struct Win32_MIB_IFROW_t851471770_marshaled_pinvoke
{
uint8_t ___Name_0[512];
int32_t ___Index_1;
int32_t ___Type_2;
int32_t ___Mtu_3;
uint32_t ___Speed_4;
int32_t ___PhysAddrLen_5;
uint8_t ___PhysAddr_6[8];
uint32_t ___AdminStatus_7;
uint32_t ___OperStatus_8;
uint32_t ___LastChange_9;
int32_t ___InOctets_10;
int32_t ___InUcastPkts_11;
int32_t ___InNUcastPkts_12;
int32_t ___InDiscards_13;
int32_t ___InErrors_14;
int32_t ___InUnknownProtos_15;
int32_t ___OutOctets_16;
int32_t ___OutUcastPkts_17;
int32_t ___OutNUcastPkts_18;
int32_t ___OutDiscards_19;
int32_t ___OutErrors_20;
int32_t ___OutQLen_21;
int32_t ___DescrLen_22;
uint8_t ___Descr_23[256];
};
// Native definition for COM marshalling of System.Net.NetworkInformation.Win32_MIB_IFROW
struct Win32_MIB_IFROW_t851471770_marshaled_com
{
uint8_t ___Name_0[512];
int32_t ___Index_1;
int32_t ___Type_2;
int32_t ___Mtu_3;
uint32_t ___Speed_4;
int32_t ___PhysAddrLen_5;
uint8_t ___PhysAddr_6[8];
uint32_t ___AdminStatus_7;
uint32_t ___OperStatus_8;
uint32_t ___LastChange_9;
int32_t ___InOctets_10;
int32_t ___InUcastPkts_11;
int32_t ___InNUcastPkts_12;
int32_t ___InDiscards_13;
int32_t ___InErrors_14;
int32_t ___InUnknownProtos_15;
int32_t ___OutOctets_16;
int32_t ___OutUcastPkts_17;
int32_t ___OutNUcastPkts_18;
int32_t ___OutDiscards_19;
int32_t ___OutErrors_20;
int32_t ___OutQLen_21;
int32_t ___DescrLen_22;
uint8_t ___Descr_23[256];
};
#endif // WIN32_MIB_IFROW_T851471770_H
#ifndef SOCKETASYNCRESULT_T3523156467_H
#define SOCKETASYNCRESULT_T3523156467_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketAsyncResult
struct SocketAsyncResult_t3523156467 : public IOAsyncResult_t3640145766
{
public:
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncResult::socket
Socket_t1119025450 * ___socket_5;
// System.Net.Sockets.SocketOperation System.Net.Sockets.SocketAsyncResult::operation
int32_t ___operation_6;
// System.Exception System.Net.Sockets.SocketAsyncResult::DelayedException
Exception_t * ___DelayedException_7;
// System.Net.EndPoint System.Net.Sockets.SocketAsyncResult::EndPoint
EndPoint_t982345378 * ___EndPoint_8;
// System.Byte[] System.Net.Sockets.SocketAsyncResult::Buffer
ByteU5BU5D_t4116647657* ___Buffer_9;
// System.Int32 System.Net.Sockets.SocketAsyncResult::Offset
int32_t ___Offset_10;
// System.Int32 System.Net.Sockets.SocketAsyncResult::Size
int32_t ___Size_11;
// System.Net.Sockets.SocketFlags System.Net.Sockets.SocketAsyncResult::SockFlags
int32_t ___SockFlags_12;
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncResult::AcceptSocket
Socket_t1119025450 * ___AcceptSocket_13;
// System.Net.IPAddress[] System.Net.Sockets.SocketAsyncResult::Addresses
IPAddressU5BU5D_t596328627* ___Addresses_14;
// System.Int32 System.Net.Sockets.SocketAsyncResult::Port
int32_t ___Port_15;
// System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>> System.Net.Sockets.SocketAsyncResult::Buffers
RuntimeObject* ___Buffers_16;
// System.Boolean System.Net.Sockets.SocketAsyncResult::ReuseSocket
bool ___ReuseSocket_17;
// System.Int32 System.Net.Sockets.SocketAsyncResult::CurrentAddress
int32_t ___CurrentAddress_18;
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncResult::AcceptedSocket
Socket_t1119025450 * ___AcceptedSocket_19;
// System.Int32 System.Net.Sockets.SocketAsyncResult::Total
int32_t ___Total_20;
// System.Int32 System.Net.Sockets.SocketAsyncResult::error
int32_t ___error_21;
// System.Int32 System.Net.Sockets.SocketAsyncResult::EndCalled
int32_t ___EndCalled_22;
public:
inline static int32_t get_offset_of_socket_5() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___socket_5)); }
inline Socket_t1119025450 * get_socket_5() const { return ___socket_5; }
inline Socket_t1119025450 ** get_address_of_socket_5() { return &___socket_5; }
inline void set_socket_5(Socket_t1119025450 * value)
{
___socket_5 = value;
Il2CppCodeGenWriteBarrier((&___socket_5), value);
}
inline static int32_t get_offset_of_operation_6() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___operation_6)); }
inline int32_t get_operation_6() const { return ___operation_6; }
inline int32_t* get_address_of_operation_6() { return &___operation_6; }
inline void set_operation_6(int32_t value)
{
___operation_6 = value;
}
inline static int32_t get_offset_of_DelayedException_7() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___DelayedException_7)); }
inline Exception_t * get_DelayedException_7() const { return ___DelayedException_7; }
inline Exception_t ** get_address_of_DelayedException_7() { return &___DelayedException_7; }
inline void set_DelayedException_7(Exception_t * value)
{
___DelayedException_7 = value;
Il2CppCodeGenWriteBarrier((&___DelayedException_7), value);
}
inline static int32_t get_offset_of_EndPoint_8() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___EndPoint_8)); }
inline EndPoint_t982345378 * get_EndPoint_8() const { return ___EndPoint_8; }
inline EndPoint_t982345378 ** get_address_of_EndPoint_8() { return &___EndPoint_8; }
inline void set_EndPoint_8(EndPoint_t982345378 * value)
{
___EndPoint_8 = value;
Il2CppCodeGenWriteBarrier((&___EndPoint_8), value);
}
inline static int32_t get_offset_of_Buffer_9() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Buffer_9)); }
inline ByteU5BU5D_t4116647657* get_Buffer_9() const { return ___Buffer_9; }
inline ByteU5BU5D_t4116647657** get_address_of_Buffer_9() { return &___Buffer_9; }
inline void set_Buffer_9(ByteU5BU5D_t4116647657* value)
{
___Buffer_9 = value;
Il2CppCodeGenWriteBarrier((&___Buffer_9), value);
}
inline static int32_t get_offset_of_Offset_10() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Offset_10)); }
inline int32_t get_Offset_10() const { return ___Offset_10; }
inline int32_t* get_address_of_Offset_10() { return &___Offset_10; }
inline void set_Offset_10(int32_t value)
{
___Offset_10 = value;
}
inline static int32_t get_offset_of_Size_11() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Size_11)); }
inline int32_t get_Size_11() const { return ___Size_11; }
inline int32_t* get_address_of_Size_11() { return &___Size_11; }
inline void set_Size_11(int32_t value)
{
___Size_11 = value;
}
inline static int32_t get_offset_of_SockFlags_12() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___SockFlags_12)); }
inline int32_t get_SockFlags_12() const { return ___SockFlags_12; }
inline int32_t* get_address_of_SockFlags_12() { return &___SockFlags_12; }
inline void set_SockFlags_12(int32_t value)
{
___SockFlags_12 = value;
}
inline static int32_t get_offset_of_AcceptSocket_13() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___AcceptSocket_13)); }
inline Socket_t1119025450 * get_AcceptSocket_13() const { return ___AcceptSocket_13; }
inline Socket_t1119025450 ** get_address_of_AcceptSocket_13() { return &___AcceptSocket_13; }
inline void set_AcceptSocket_13(Socket_t1119025450 * value)
{
___AcceptSocket_13 = value;
Il2CppCodeGenWriteBarrier((&___AcceptSocket_13), value);
}
inline static int32_t get_offset_of_Addresses_14() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Addresses_14)); }
inline IPAddressU5BU5D_t596328627* get_Addresses_14() const { return ___Addresses_14; }
inline IPAddressU5BU5D_t596328627** get_address_of_Addresses_14() { return &___Addresses_14; }
inline void set_Addresses_14(IPAddressU5BU5D_t596328627* value)
{
___Addresses_14 = value;
Il2CppCodeGenWriteBarrier((&___Addresses_14), value);
}
inline static int32_t get_offset_of_Port_15() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Port_15)); }
inline int32_t get_Port_15() const { return ___Port_15; }
inline int32_t* get_address_of_Port_15() { return &___Port_15; }
inline void set_Port_15(int32_t value)
{
___Port_15 = value;
}
inline static int32_t get_offset_of_Buffers_16() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Buffers_16)); }
inline RuntimeObject* get_Buffers_16() const { return ___Buffers_16; }
inline RuntimeObject** get_address_of_Buffers_16() { return &___Buffers_16; }
inline void set_Buffers_16(RuntimeObject* value)
{
___Buffers_16 = value;
Il2CppCodeGenWriteBarrier((&___Buffers_16), value);
}
inline static int32_t get_offset_of_ReuseSocket_17() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___ReuseSocket_17)); }
inline bool get_ReuseSocket_17() const { return ___ReuseSocket_17; }
inline bool* get_address_of_ReuseSocket_17() { return &___ReuseSocket_17; }
inline void set_ReuseSocket_17(bool value)
{
___ReuseSocket_17 = value;
}
inline static int32_t get_offset_of_CurrentAddress_18() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___CurrentAddress_18)); }
inline int32_t get_CurrentAddress_18() const { return ___CurrentAddress_18; }
inline int32_t* get_address_of_CurrentAddress_18() { return &___CurrentAddress_18; }
inline void set_CurrentAddress_18(int32_t value)
{
___CurrentAddress_18 = value;
}
inline static int32_t get_offset_of_AcceptedSocket_19() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___AcceptedSocket_19)); }
inline Socket_t1119025450 * get_AcceptedSocket_19() const { return ___AcceptedSocket_19; }
inline Socket_t1119025450 ** get_address_of_AcceptedSocket_19() { return &___AcceptedSocket_19; }
inline void set_AcceptedSocket_19(Socket_t1119025450 * value)
{
___AcceptedSocket_19 = value;
Il2CppCodeGenWriteBarrier((&___AcceptedSocket_19), value);
}
inline static int32_t get_offset_of_Total_20() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___Total_20)); }
inline int32_t get_Total_20() const { return ___Total_20; }
inline int32_t* get_address_of_Total_20() { return &___Total_20; }
inline void set_Total_20(int32_t value)
{
___Total_20 = value;
}
inline static int32_t get_offset_of_error_21() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___error_21)); }
inline int32_t get_error_21() const { return ___error_21; }
inline int32_t* get_address_of_error_21() { return &___error_21; }
inline void set_error_21(int32_t value)
{
___error_21 = value;
}
inline static int32_t get_offset_of_EndCalled_22() { return static_cast<int32_t>(offsetof(SocketAsyncResult_t3523156467, ___EndCalled_22)); }
inline int32_t get_EndCalled_22() const { return ___EndCalled_22; }
inline int32_t* get_address_of_EndCalled_22() { return &___EndCalled_22; }
inline void set_EndCalled_22(int32_t value)
{
___EndCalled_22 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.Sockets.SocketAsyncResult
struct SocketAsyncResult_t3523156467_marshaled_pinvoke : public IOAsyncResult_t3640145766_marshaled_pinvoke
{
Socket_t1119025450 * ___socket_5;
int32_t ___operation_6;
Exception_t_marshaled_pinvoke* ___DelayedException_7;
EndPoint_t982345378 * ___EndPoint_8;
uint8_t* ___Buffer_9;
int32_t ___Offset_10;
int32_t ___Size_11;
int32_t ___SockFlags_12;
Socket_t1119025450 * ___AcceptSocket_13;
IPAddressU5BU5D_t596328627* ___Addresses_14;
int32_t ___Port_15;
RuntimeObject* ___Buffers_16;
int32_t ___ReuseSocket_17;
int32_t ___CurrentAddress_18;
Socket_t1119025450 * ___AcceptedSocket_19;
int32_t ___Total_20;
int32_t ___error_21;
int32_t ___EndCalled_22;
};
// Native definition for COM marshalling of System.Net.Sockets.SocketAsyncResult
struct SocketAsyncResult_t3523156467_marshaled_com : public IOAsyncResult_t3640145766_marshaled_com
{
Socket_t1119025450 * ___socket_5;
int32_t ___operation_6;
Exception_t_marshaled_com* ___DelayedException_7;
EndPoint_t982345378 * ___EndPoint_8;
uint8_t* ___Buffer_9;
int32_t ___Offset_10;
int32_t ___Size_11;
int32_t ___SockFlags_12;
Socket_t1119025450 * ___AcceptSocket_13;
IPAddressU5BU5D_t596328627* ___Addresses_14;
int32_t ___Port_15;
RuntimeObject* ___Buffers_16;
int32_t ___ReuseSocket_17;
int32_t ___CurrentAddress_18;
Socket_t1119025450 * ___AcceptedSocket_19;
int32_t ___Total_20;
int32_t ___error_21;
int32_t ___EndCalled_22;
};
#endif // SOCKETASYNCRESULT_T3523156467_H
#ifndef NUMBERFORMATINFO_T435877138_H
#define NUMBERFORMATINFO_T435877138_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.NumberFormatInfo
struct NumberFormatInfo_t435877138 : public RuntimeObject
{
public:
// System.Int32[] System.Globalization.NumberFormatInfo::numberGroupSizes
Int32U5BU5D_t385246372* ___numberGroupSizes_1;
// System.Int32[] System.Globalization.NumberFormatInfo::currencyGroupSizes
Int32U5BU5D_t385246372* ___currencyGroupSizes_2;
// System.Int32[] System.Globalization.NumberFormatInfo::percentGroupSizes
Int32U5BU5D_t385246372* ___percentGroupSizes_3;
// System.String System.Globalization.NumberFormatInfo::positiveSign
String_t* ___positiveSign_4;
// System.String System.Globalization.NumberFormatInfo::negativeSign
String_t* ___negativeSign_5;
// System.String System.Globalization.NumberFormatInfo::numberDecimalSeparator
String_t* ___numberDecimalSeparator_6;
// System.String System.Globalization.NumberFormatInfo::numberGroupSeparator
String_t* ___numberGroupSeparator_7;
// System.String System.Globalization.NumberFormatInfo::currencyGroupSeparator
String_t* ___currencyGroupSeparator_8;
// System.String System.Globalization.NumberFormatInfo::currencyDecimalSeparator
String_t* ___currencyDecimalSeparator_9;
// System.String System.Globalization.NumberFormatInfo::currencySymbol
String_t* ___currencySymbol_10;
// System.String System.Globalization.NumberFormatInfo::ansiCurrencySymbol
String_t* ___ansiCurrencySymbol_11;
// System.String System.Globalization.NumberFormatInfo::nanSymbol
String_t* ___nanSymbol_12;
// System.String System.Globalization.NumberFormatInfo::positiveInfinitySymbol
String_t* ___positiveInfinitySymbol_13;
// System.String System.Globalization.NumberFormatInfo::negativeInfinitySymbol
String_t* ___negativeInfinitySymbol_14;
// System.String System.Globalization.NumberFormatInfo::percentDecimalSeparator
String_t* ___percentDecimalSeparator_15;
// System.String System.Globalization.NumberFormatInfo::percentGroupSeparator
String_t* ___percentGroupSeparator_16;
// System.String System.Globalization.NumberFormatInfo::percentSymbol
String_t* ___percentSymbol_17;
// System.String System.Globalization.NumberFormatInfo::perMilleSymbol
String_t* ___perMilleSymbol_18;
// System.String[] System.Globalization.NumberFormatInfo::nativeDigits
StringU5BU5D_t1281789340* ___nativeDigits_19;
// System.Int32 System.Globalization.NumberFormatInfo::m_dataItem
int32_t ___m_dataItem_20;
// System.Int32 System.Globalization.NumberFormatInfo::numberDecimalDigits
int32_t ___numberDecimalDigits_21;
// System.Int32 System.Globalization.NumberFormatInfo::currencyDecimalDigits
int32_t ___currencyDecimalDigits_22;
// System.Int32 System.Globalization.NumberFormatInfo::currencyPositivePattern
int32_t ___currencyPositivePattern_23;
// System.Int32 System.Globalization.NumberFormatInfo::currencyNegativePattern
int32_t ___currencyNegativePattern_24;
// System.Int32 System.Globalization.NumberFormatInfo::numberNegativePattern
int32_t ___numberNegativePattern_25;
// System.Int32 System.Globalization.NumberFormatInfo::percentPositivePattern
int32_t ___percentPositivePattern_26;
// System.Int32 System.Globalization.NumberFormatInfo::percentNegativePattern
int32_t ___percentNegativePattern_27;
// System.Int32 System.Globalization.NumberFormatInfo::percentDecimalDigits
int32_t ___percentDecimalDigits_28;
// System.Int32 System.Globalization.NumberFormatInfo::digitSubstitution
int32_t ___digitSubstitution_29;
// System.Boolean System.Globalization.NumberFormatInfo::isReadOnly
bool ___isReadOnly_30;
// System.Boolean System.Globalization.NumberFormatInfo::m_useUserOverride
bool ___m_useUserOverride_31;
// System.Boolean System.Globalization.NumberFormatInfo::m_isInvariant
bool ___m_isInvariant_32;
// System.Boolean System.Globalization.NumberFormatInfo::validForParseAsNumber
bool ___validForParseAsNumber_33;
// System.Boolean System.Globalization.NumberFormatInfo::validForParseAsCurrency
bool ___validForParseAsCurrency_34;
public:
inline static int32_t get_offset_of_numberGroupSizes_1() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___numberGroupSizes_1)); }
inline Int32U5BU5D_t385246372* get_numberGroupSizes_1() const { return ___numberGroupSizes_1; }
inline Int32U5BU5D_t385246372** get_address_of_numberGroupSizes_1() { return &___numberGroupSizes_1; }
inline void set_numberGroupSizes_1(Int32U5BU5D_t385246372* value)
{
___numberGroupSizes_1 = value;
Il2CppCodeGenWriteBarrier((&___numberGroupSizes_1), value);
}
inline static int32_t get_offset_of_currencyGroupSizes_2() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyGroupSizes_2)); }
inline Int32U5BU5D_t385246372* get_currencyGroupSizes_2() const { return ___currencyGroupSizes_2; }
inline Int32U5BU5D_t385246372** get_address_of_currencyGroupSizes_2() { return &___currencyGroupSizes_2; }
inline void set_currencyGroupSizes_2(Int32U5BU5D_t385246372* value)
{
___currencyGroupSizes_2 = value;
Il2CppCodeGenWriteBarrier((&___currencyGroupSizes_2), value);
}
inline static int32_t get_offset_of_percentGroupSizes_3() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentGroupSizes_3)); }
inline Int32U5BU5D_t385246372* get_percentGroupSizes_3() const { return ___percentGroupSizes_3; }
inline Int32U5BU5D_t385246372** get_address_of_percentGroupSizes_3() { return &___percentGroupSizes_3; }
inline void set_percentGroupSizes_3(Int32U5BU5D_t385246372* value)
{
___percentGroupSizes_3 = value;
Il2CppCodeGenWriteBarrier((&___percentGroupSizes_3), value);
}
inline static int32_t get_offset_of_positiveSign_4() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___positiveSign_4)); }
inline String_t* get_positiveSign_4() const { return ___positiveSign_4; }
inline String_t** get_address_of_positiveSign_4() { return &___positiveSign_4; }
inline void set_positiveSign_4(String_t* value)
{
___positiveSign_4 = value;
Il2CppCodeGenWriteBarrier((&___positiveSign_4), value);
}
inline static int32_t get_offset_of_negativeSign_5() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___negativeSign_5)); }
inline String_t* get_negativeSign_5() const { return ___negativeSign_5; }
inline String_t** get_address_of_negativeSign_5() { return &___negativeSign_5; }
inline void set_negativeSign_5(String_t* value)
{
___negativeSign_5 = value;
Il2CppCodeGenWriteBarrier((&___negativeSign_5), value);
}
inline static int32_t get_offset_of_numberDecimalSeparator_6() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___numberDecimalSeparator_6)); }
inline String_t* get_numberDecimalSeparator_6() const { return ___numberDecimalSeparator_6; }
inline String_t** get_address_of_numberDecimalSeparator_6() { return &___numberDecimalSeparator_6; }
inline void set_numberDecimalSeparator_6(String_t* value)
{
___numberDecimalSeparator_6 = value;
Il2CppCodeGenWriteBarrier((&___numberDecimalSeparator_6), value);
}
inline static int32_t get_offset_of_numberGroupSeparator_7() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___numberGroupSeparator_7)); }
inline String_t* get_numberGroupSeparator_7() const { return ___numberGroupSeparator_7; }
inline String_t** get_address_of_numberGroupSeparator_7() { return &___numberGroupSeparator_7; }
inline void set_numberGroupSeparator_7(String_t* value)
{
___numberGroupSeparator_7 = value;
Il2CppCodeGenWriteBarrier((&___numberGroupSeparator_7), value);
}
inline static int32_t get_offset_of_currencyGroupSeparator_8() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyGroupSeparator_8)); }
inline String_t* get_currencyGroupSeparator_8() const { return ___currencyGroupSeparator_8; }
inline String_t** get_address_of_currencyGroupSeparator_8() { return &___currencyGroupSeparator_8; }
inline void set_currencyGroupSeparator_8(String_t* value)
{
___currencyGroupSeparator_8 = value;
Il2CppCodeGenWriteBarrier((&___currencyGroupSeparator_8), value);
}
inline static int32_t get_offset_of_currencyDecimalSeparator_9() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyDecimalSeparator_9)); }
inline String_t* get_currencyDecimalSeparator_9() const { return ___currencyDecimalSeparator_9; }
inline String_t** get_address_of_currencyDecimalSeparator_9() { return &___currencyDecimalSeparator_9; }
inline void set_currencyDecimalSeparator_9(String_t* value)
{
___currencyDecimalSeparator_9 = value;
Il2CppCodeGenWriteBarrier((&___currencyDecimalSeparator_9), value);
}
inline static int32_t get_offset_of_currencySymbol_10() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencySymbol_10)); }
inline String_t* get_currencySymbol_10() const { return ___currencySymbol_10; }
inline String_t** get_address_of_currencySymbol_10() { return &___currencySymbol_10; }
inline void set_currencySymbol_10(String_t* value)
{
___currencySymbol_10 = value;
Il2CppCodeGenWriteBarrier((&___currencySymbol_10), value);
}
inline static int32_t get_offset_of_ansiCurrencySymbol_11() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___ansiCurrencySymbol_11)); }
inline String_t* get_ansiCurrencySymbol_11() const { return ___ansiCurrencySymbol_11; }
inline String_t** get_address_of_ansiCurrencySymbol_11() { return &___ansiCurrencySymbol_11; }
inline void set_ansiCurrencySymbol_11(String_t* value)
{
___ansiCurrencySymbol_11 = value;
Il2CppCodeGenWriteBarrier((&___ansiCurrencySymbol_11), value);
}
inline static int32_t get_offset_of_nanSymbol_12() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___nanSymbol_12)); }
inline String_t* get_nanSymbol_12() const { return ___nanSymbol_12; }
inline String_t** get_address_of_nanSymbol_12() { return &___nanSymbol_12; }
inline void set_nanSymbol_12(String_t* value)
{
___nanSymbol_12 = value;
Il2CppCodeGenWriteBarrier((&___nanSymbol_12), value);
}
inline static int32_t get_offset_of_positiveInfinitySymbol_13() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___positiveInfinitySymbol_13)); }
inline String_t* get_positiveInfinitySymbol_13() const { return ___positiveInfinitySymbol_13; }
inline String_t** get_address_of_positiveInfinitySymbol_13() { return &___positiveInfinitySymbol_13; }
inline void set_positiveInfinitySymbol_13(String_t* value)
{
___positiveInfinitySymbol_13 = value;
Il2CppCodeGenWriteBarrier((&___positiveInfinitySymbol_13), value);
}
inline static int32_t get_offset_of_negativeInfinitySymbol_14() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___negativeInfinitySymbol_14)); }
inline String_t* get_negativeInfinitySymbol_14() const { return ___negativeInfinitySymbol_14; }
inline String_t** get_address_of_negativeInfinitySymbol_14() { return &___negativeInfinitySymbol_14; }
inline void set_negativeInfinitySymbol_14(String_t* value)
{
___negativeInfinitySymbol_14 = value;
Il2CppCodeGenWriteBarrier((&___negativeInfinitySymbol_14), value);
}
inline static int32_t get_offset_of_percentDecimalSeparator_15() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentDecimalSeparator_15)); }
inline String_t* get_percentDecimalSeparator_15() const { return ___percentDecimalSeparator_15; }
inline String_t** get_address_of_percentDecimalSeparator_15() { return &___percentDecimalSeparator_15; }
inline void set_percentDecimalSeparator_15(String_t* value)
{
___percentDecimalSeparator_15 = value;
Il2CppCodeGenWriteBarrier((&___percentDecimalSeparator_15), value);
}
inline static int32_t get_offset_of_percentGroupSeparator_16() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentGroupSeparator_16)); }
inline String_t* get_percentGroupSeparator_16() const { return ___percentGroupSeparator_16; }
inline String_t** get_address_of_percentGroupSeparator_16() { return &___percentGroupSeparator_16; }
inline void set_percentGroupSeparator_16(String_t* value)
{
___percentGroupSeparator_16 = value;
Il2CppCodeGenWriteBarrier((&___percentGroupSeparator_16), value);
}
inline static int32_t get_offset_of_percentSymbol_17() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentSymbol_17)); }
inline String_t* get_percentSymbol_17() const { return ___percentSymbol_17; }
inline String_t** get_address_of_percentSymbol_17() { return &___percentSymbol_17; }
inline void set_percentSymbol_17(String_t* value)
{
___percentSymbol_17 = value;
Il2CppCodeGenWriteBarrier((&___percentSymbol_17), value);
}
inline static int32_t get_offset_of_perMilleSymbol_18() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___perMilleSymbol_18)); }
inline String_t* get_perMilleSymbol_18() const { return ___perMilleSymbol_18; }
inline String_t** get_address_of_perMilleSymbol_18() { return &___perMilleSymbol_18; }
inline void set_perMilleSymbol_18(String_t* value)
{
___perMilleSymbol_18 = value;
Il2CppCodeGenWriteBarrier((&___perMilleSymbol_18), value);
}
inline static int32_t get_offset_of_nativeDigits_19() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___nativeDigits_19)); }
inline StringU5BU5D_t1281789340* get_nativeDigits_19() const { return ___nativeDigits_19; }
inline StringU5BU5D_t1281789340** get_address_of_nativeDigits_19() { return &___nativeDigits_19; }
inline void set_nativeDigits_19(StringU5BU5D_t1281789340* value)
{
___nativeDigits_19 = value;
Il2CppCodeGenWriteBarrier((&___nativeDigits_19), value);
}
inline static int32_t get_offset_of_m_dataItem_20() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___m_dataItem_20)); }
inline int32_t get_m_dataItem_20() const { return ___m_dataItem_20; }
inline int32_t* get_address_of_m_dataItem_20() { return &___m_dataItem_20; }
inline void set_m_dataItem_20(int32_t value)
{
___m_dataItem_20 = value;
}
inline static int32_t get_offset_of_numberDecimalDigits_21() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___numberDecimalDigits_21)); }
inline int32_t get_numberDecimalDigits_21() const { return ___numberDecimalDigits_21; }
inline int32_t* get_address_of_numberDecimalDigits_21() { return &___numberDecimalDigits_21; }
inline void set_numberDecimalDigits_21(int32_t value)
{
___numberDecimalDigits_21 = value;
}
inline static int32_t get_offset_of_currencyDecimalDigits_22() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyDecimalDigits_22)); }
inline int32_t get_currencyDecimalDigits_22() const { return ___currencyDecimalDigits_22; }
inline int32_t* get_address_of_currencyDecimalDigits_22() { return &___currencyDecimalDigits_22; }
inline void set_currencyDecimalDigits_22(int32_t value)
{
___currencyDecimalDigits_22 = value;
}
inline static int32_t get_offset_of_currencyPositivePattern_23() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyPositivePattern_23)); }
inline int32_t get_currencyPositivePattern_23() const { return ___currencyPositivePattern_23; }
inline int32_t* get_address_of_currencyPositivePattern_23() { return &___currencyPositivePattern_23; }
inline void set_currencyPositivePattern_23(int32_t value)
{
___currencyPositivePattern_23 = value;
}
inline static int32_t get_offset_of_currencyNegativePattern_24() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___currencyNegativePattern_24)); }
inline int32_t get_currencyNegativePattern_24() const { return ___currencyNegativePattern_24; }
inline int32_t* get_address_of_currencyNegativePattern_24() { return &___currencyNegativePattern_24; }
inline void set_currencyNegativePattern_24(int32_t value)
{
___currencyNegativePattern_24 = value;
}
inline static int32_t get_offset_of_numberNegativePattern_25() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___numberNegativePattern_25)); }
inline int32_t get_numberNegativePattern_25() const { return ___numberNegativePattern_25; }
inline int32_t* get_address_of_numberNegativePattern_25() { return &___numberNegativePattern_25; }
inline void set_numberNegativePattern_25(int32_t value)
{
___numberNegativePattern_25 = value;
}
inline static int32_t get_offset_of_percentPositivePattern_26() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentPositivePattern_26)); }
inline int32_t get_percentPositivePattern_26() const { return ___percentPositivePattern_26; }
inline int32_t* get_address_of_percentPositivePattern_26() { return &___percentPositivePattern_26; }
inline void set_percentPositivePattern_26(int32_t value)
{
___percentPositivePattern_26 = value;
}
inline static int32_t get_offset_of_percentNegativePattern_27() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentNegativePattern_27)); }
inline int32_t get_percentNegativePattern_27() const { return ___percentNegativePattern_27; }
inline int32_t* get_address_of_percentNegativePattern_27() { return &___percentNegativePattern_27; }
inline void set_percentNegativePattern_27(int32_t value)
{
___percentNegativePattern_27 = value;
}
inline static int32_t get_offset_of_percentDecimalDigits_28() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___percentDecimalDigits_28)); }
inline int32_t get_percentDecimalDigits_28() const { return ___percentDecimalDigits_28; }
inline int32_t* get_address_of_percentDecimalDigits_28() { return &___percentDecimalDigits_28; }
inline void set_percentDecimalDigits_28(int32_t value)
{
___percentDecimalDigits_28 = value;
}
inline static int32_t get_offset_of_digitSubstitution_29() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___digitSubstitution_29)); }
inline int32_t get_digitSubstitution_29() const { return ___digitSubstitution_29; }
inline int32_t* get_address_of_digitSubstitution_29() { return &___digitSubstitution_29; }
inline void set_digitSubstitution_29(int32_t value)
{
___digitSubstitution_29 = value;
}
inline static int32_t get_offset_of_isReadOnly_30() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___isReadOnly_30)); }
inline bool get_isReadOnly_30() const { return ___isReadOnly_30; }
inline bool* get_address_of_isReadOnly_30() { return &___isReadOnly_30; }
inline void set_isReadOnly_30(bool value)
{
___isReadOnly_30 = value;
}
inline static int32_t get_offset_of_m_useUserOverride_31() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___m_useUserOverride_31)); }
inline bool get_m_useUserOverride_31() const { return ___m_useUserOverride_31; }
inline bool* get_address_of_m_useUserOverride_31() { return &___m_useUserOverride_31; }
inline void set_m_useUserOverride_31(bool value)
{
___m_useUserOverride_31 = value;
}
inline static int32_t get_offset_of_m_isInvariant_32() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___m_isInvariant_32)); }
inline bool get_m_isInvariant_32() const { return ___m_isInvariant_32; }
inline bool* get_address_of_m_isInvariant_32() { return &___m_isInvariant_32; }
inline void set_m_isInvariant_32(bool value)
{
___m_isInvariant_32 = value;
}
inline static int32_t get_offset_of_validForParseAsNumber_33() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___validForParseAsNumber_33)); }
inline bool get_validForParseAsNumber_33() const { return ___validForParseAsNumber_33; }
inline bool* get_address_of_validForParseAsNumber_33() { return &___validForParseAsNumber_33; }
inline void set_validForParseAsNumber_33(bool value)
{
___validForParseAsNumber_33 = value;
}
inline static int32_t get_offset_of_validForParseAsCurrency_34() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138, ___validForParseAsCurrency_34)); }
inline bool get_validForParseAsCurrency_34() const { return ___validForParseAsCurrency_34; }
inline bool* get_address_of_validForParseAsCurrency_34() { return &___validForParseAsCurrency_34; }
inline void set_validForParseAsCurrency_34(bool value)
{
___validForParseAsCurrency_34 = value;
}
};
struct NumberFormatInfo_t435877138_StaticFields
{
public:
// System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.NumberFormatInfo::invariantInfo
NumberFormatInfo_t435877138 * ___invariantInfo_0;
public:
inline static int32_t get_offset_of_invariantInfo_0() { return static_cast<int32_t>(offsetof(NumberFormatInfo_t435877138_StaticFields, ___invariantInfo_0)); }
inline NumberFormatInfo_t435877138 * get_invariantInfo_0() const { return ___invariantInfo_0; }
inline NumberFormatInfo_t435877138 ** get_address_of_invariantInfo_0() { return &___invariantInfo_0; }
inline void set_invariantInfo_0(NumberFormatInfo_t435877138 * value)
{
___invariantInfo_0 = value;
Il2CppCodeGenWriteBarrier((&___invariantInfo_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NUMBERFORMATINFO_T435877138_H
#ifndef WIN32_FIXED_INFO_T1299345856_H
#define WIN32_FIXED_INFO_T1299345856_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32_FIXED_INFO
struct Win32_FIXED_INFO_t1299345856
{
public:
// System.String System.Net.NetworkInformation.Win32_FIXED_INFO::HostName
String_t* ___HostName_0;
// System.String System.Net.NetworkInformation.Win32_FIXED_INFO::DomainName
String_t* ___DomainName_1;
// System.IntPtr System.Net.NetworkInformation.Win32_FIXED_INFO::CurrentDnsServer
intptr_t ___CurrentDnsServer_2;
// System.Net.NetworkInformation.Win32_IP_ADDR_STRING System.Net.NetworkInformation.Win32_FIXED_INFO::DnsServerList
Win32_IP_ADDR_STRING_t1213417184 ___DnsServerList_3;
// System.Net.NetworkInformation.NetBiosNodeType System.Net.NetworkInformation.Win32_FIXED_INFO::NodeType
int32_t ___NodeType_4;
// System.String System.Net.NetworkInformation.Win32_FIXED_INFO::ScopeId
String_t* ___ScopeId_5;
// System.UInt32 System.Net.NetworkInformation.Win32_FIXED_INFO::EnableRouting
uint32_t ___EnableRouting_6;
// System.UInt32 System.Net.NetworkInformation.Win32_FIXED_INFO::EnableProxy
uint32_t ___EnableProxy_7;
// System.UInt32 System.Net.NetworkInformation.Win32_FIXED_INFO::EnableDns
uint32_t ___EnableDns_8;
public:
inline static int32_t get_offset_of_HostName_0() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___HostName_0)); }
inline String_t* get_HostName_0() const { return ___HostName_0; }
inline String_t** get_address_of_HostName_0() { return &___HostName_0; }
inline void set_HostName_0(String_t* value)
{
___HostName_0 = value;
Il2CppCodeGenWriteBarrier((&___HostName_0), value);
}
inline static int32_t get_offset_of_DomainName_1() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___DomainName_1)); }
inline String_t* get_DomainName_1() const { return ___DomainName_1; }
inline String_t** get_address_of_DomainName_1() { return &___DomainName_1; }
inline void set_DomainName_1(String_t* value)
{
___DomainName_1 = value;
Il2CppCodeGenWriteBarrier((&___DomainName_1), value);
}
inline static int32_t get_offset_of_CurrentDnsServer_2() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___CurrentDnsServer_2)); }
inline intptr_t get_CurrentDnsServer_2() const { return ___CurrentDnsServer_2; }
inline intptr_t* get_address_of_CurrentDnsServer_2() { return &___CurrentDnsServer_2; }
inline void set_CurrentDnsServer_2(intptr_t value)
{
___CurrentDnsServer_2 = value;
}
inline static int32_t get_offset_of_DnsServerList_3() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___DnsServerList_3)); }
inline Win32_IP_ADDR_STRING_t1213417184 get_DnsServerList_3() const { return ___DnsServerList_3; }
inline Win32_IP_ADDR_STRING_t1213417184 * get_address_of_DnsServerList_3() { return &___DnsServerList_3; }
inline void set_DnsServerList_3(Win32_IP_ADDR_STRING_t1213417184 value)
{
___DnsServerList_3 = value;
}
inline static int32_t get_offset_of_NodeType_4() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___NodeType_4)); }
inline int32_t get_NodeType_4() const { return ___NodeType_4; }
inline int32_t* get_address_of_NodeType_4() { return &___NodeType_4; }
inline void set_NodeType_4(int32_t value)
{
___NodeType_4 = value;
}
inline static int32_t get_offset_of_ScopeId_5() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___ScopeId_5)); }
inline String_t* get_ScopeId_5() const { return ___ScopeId_5; }
inline String_t** get_address_of_ScopeId_5() { return &___ScopeId_5; }
inline void set_ScopeId_5(String_t* value)
{
___ScopeId_5 = value;
Il2CppCodeGenWriteBarrier((&___ScopeId_5), value);
}
inline static int32_t get_offset_of_EnableRouting_6() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___EnableRouting_6)); }
inline uint32_t get_EnableRouting_6() const { return ___EnableRouting_6; }
inline uint32_t* get_address_of_EnableRouting_6() { return &___EnableRouting_6; }
inline void set_EnableRouting_6(uint32_t value)
{
___EnableRouting_6 = value;
}
inline static int32_t get_offset_of_EnableProxy_7() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___EnableProxy_7)); }
inline uint32_t get_EnableProxy_7() const { return ___EnableProxy_7; }
inline uint32_t* get_address_of_EnableProxy_7() { return &___EnableProxy_7; }
inline void set_EnableProxy_7(uint32_t value)
{
___EnableProxy_7 = value;
}
inline static int32_t get_offset_of_EnableDns_8() { return static_cast<int32_t>(offsetof(Win32_FIXED_INFO_t1299345856, ___EnableDns_8)); }
inline uint32_t get_EnableDns_8() const { return ___EnableDns_8; }
inline uint32_t* get_address_of_EnableDns_8() { return &___EnableDns_8; }
inline void set_EnableDns_8(uint32_t value)
{
___EnableDns_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.NetworkInformation.Win32_FIXED_INFO
struct Win32_FIXED_INFO_t1299345856_marshaled_pinvoke
{
char ___HostName_0[132];
char ___DomainName_1[132];
intptr_t ___CurrentDnsServer_2;
Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke ___DnsServerList_3;
int32_t ___NodeType_4;
char ___ScopeId_5[260];
uint32_t ___EnableRouting_6;
uint32_t ___EnableProxy_7;
uint32_t ___EnableDns_8;
};
// Native definition for COM marshalling of System.Net.NetworkInformation.Win32_FIXED_INFO
struct Win32_FIXED_INFO_t1299345856_marshaled_com
{
char ___HostName_0[132];
char ___DomainName_1[132];
intptr_t ___CurrentDnsServer_2;
Win32_IP_ADDR_STRING_t1213417184_marshaled_com ___DnsServerList_3;
int32_t ___NodeType_4;
char ___ScopeId_5[260];
uint32_t ___EnableRouting_6;
uint32_t ___EnableProxy_7;
uint32_t ___EnableDns_8;
};
#endif // WIN32_FIXED_INFO_T1299345856_H
#ifndef SETTINGSSECTIONINTERNAL_T781171337_H
#define SETTINGSSECTIONINTERNAL_T781171337_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Configuration.SettingsSectionInternal
struct SettingsSectionInternal_t781171337 : public RuntimeObject
{
public:
// System.Boolean System.Net.Configuration.SettingsSectionInternal::HttpListenerUnescapeRequestUrl
bool ___HttpListenerUnescapeRequestUrl_1;
// System.Net.Sockets.IPProtectionLevel System.Net.Configuration.SettingsSectionInternal::IPProtectionLevel
int32_t ___IPProtectionLevel_2;
public:
inline static int32_t get_offset_of_HttpListenerUnescapeRequestUrl_1() { return static_cast<int32_t>(offsetof(SettingsSectionInternal_t781171337, ___HttpListenerUnescapeRequestUrl_1)); }
inline bool get_HttpListenerUnescapeRequestUrl_1() const { return ___HttpListenerUnescapeRequestUrl_1; }
inline bool* get_address_of_HttpListenerUnescapeRequestUrl_1() { return &___HttpListenerUnescapeRequestUrl_1; }
inline void set_HttpListenerUnescapeRequestUrl_1(bool value)
{
___HttpListenerUnescapeRequestUrl_1 = value;
}
inline static int32_t get_offset_of_IPProtectionLevel_2() { return static_cast<int32_t>(offsetof(SettingsSectionInternal_t781171337, ___IPProtectionLevel_2)); }
inline int32_t get_IPProtectionLevel_2() const { return ___IPProtectionLevel_2; }
inline int32_t* get_address_of_IPProtectionLevel_2() { return &___IPProtectionLevel_2; }
inline void set_IPProtectionLevel_2(int32_t value)
{
___IPProtectionLevel_2 = value;
}
};
struct SettingsSectionInternal_t781171337_StaticFields
{
public:
// System.Net.Configuration.SettingsSectionInternal System.Net.Configuration.SettingsSectionInternal::instance
SettingsSectionInternal_t781171337 * ___instance_0;
public:
inline static int32_t get_offset_of_instance_0() { return static_cast<int32_t>(offsetof(SettingsSectionInternal_t781171337_StaticFields, ___instance_0)); }
inline SettingsSectionInternal_t781171337 * get_instance_0() const { return ___instance_0; }
inline SettingsSectionInternal_t781171337 ** get_address_of_instance_0() { return &___instance_0; }
inline void set_instance_0(SettingsSectionInternal_t781171337 * value)
{
___instance_0 = value;
Il2CppCodeGenWriteBarrier((&___instance_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SETTINGSSECTIONINTERNAL_T781171337_H
#ifndef AUTHORIZATIONSTATE_T3141350760_H
#define AUTHORIZATIONSTATE_T3141350760_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpWebRequest/AuthorizationState
struct AuthorizationState_t3141350760
{
public:
// System.Net.HttpWebRequest System.Net.HttpWebRequest/AuthorizationState::request
HttpWebRequest_t1669436515 * ___request_0;
// System.Boolean System.Net.HttpWebRequest/AuthorizationState::isProxy
bool ___isProxy_1;
// System.Boolean System.Net.HttpWebRequest/AuthorizationState::isCompleted
bool ___isCompleted_2;
// System.Net.HttpWebRequest/NtlmAuthState System.Net.HttpWebRequest/AuthorizationState::ntlm_auth_state
int32_t ___ntlm_auth_state_3;
public:
inline static int32_t get_offset_of_request_0() { return static_cast<int32_t>(offsetof(AuthorizationState_t3141350760, ___request_0)); }
inline HttpWebRequest_t1669436515 * get_request_0() const { return ___request_0; }
inline HttpWebRequest_t1669436515 ** get_address_of_request_0() { return &___request_0; }
inline void set_request_0(HttpWebRequest_t1669436515 * value)
{
___request_0 = value;
Il2CppCodeGenWriteBarrier((&___request_0), value);
}
inline static int32_t get_offset_of_isProxy_1() { return static_cast<int32_t>(offsetof(AuthorizationState_t3141350760, ___isProxy_1)); }
inline bool get_isProxy_1() const { return ___isProxy_1; }
inline bool* get_address_of_isProxy_1() { return &___isProxy_1; }
inline void set_isProxy_1(bool value)
{
___isProxy_1 = value;
}
inline static int32_t get_offset_of_isCompleted_2() { return static_cast<int32_t>(offsetof(AuthorizationState_t3141350760, ___isCompleted_2)); }
inline bool get_isCompleted_2() const { return ___isCompleted_2; }
inline bool* get_address_of_isCompleted_2() { return &___isCompleted_2; }
inline void set_isCompleted_2(bool value)
{
___isCompleted_2 = value;
}
inline static int32_t get_offset_of_ntlm_auth_state_3() { return static_cast<int32_t>(offsetof(AuthorizationState_t3141350760, ___ntlm_auth_state_3)); }
inline int32_t get_ntlm_auth_state_3() const { return ___ntlm_auth_state_3; }
inline int32_t* get_address_of_ntlm_auth_state_3() { return &___ntlm_auth_state_3; }
inline void set_ntlm_auth_state_3(int32_t value)
{
___ntlm_auth_state_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Net.HttpWebRequest/AuthorizationState
struct AuthorizationState_t3141350760_marshaled_pinvoke
{
HttpWebRequest_t1669436515 * ___request_0;
int32_t ___isProxy_1;
int32_t ___isCompleted_2;
int32_t ___ntlm_auth_state_3;
};
// Native definition for COM marshalling of System.Net.HttpWebRequest/AuthorizationState
struct AuthorizationState_t3141350760_marshaled_com
{
HttpWebRequest_t1669436515 * ___request_0;
int32_t ___isProxy_1;
int32_t ___isCompleted_2;
int32_t ___ntlm_auth_state_3;
};
#endif // AUTHORIZATIONSTATE_T3141350760_H
#ifndef TCPCLIENT_T822906377_H
#define TCPCLIENT_T822906377_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.TcpClient
struct TcpClient_t822906377 : public RuntimeObject
{
public:
// System.Net.Sockets.Socket System.Net.Sockets.TcpClient::m_ClientSocket
Socket_t1119025450 * ___m_ClientSocket_0;
// System.Boolean System.Net.Sockets.TcpClient::m_Active
bool ___m_Active_1;
// System.Net.Sockets.NetworkStream System.Net.Sockets.TcpClient::m_DataStream
NetworkStream_t4071955934 * ___m_DataStream_2;
// System.Net.Sockets.AddressFamily System.Net.Sockets.TcpClient::m_Family
int32_t ___m_Family_3;
// System.Boolean System.Net.Sockets.TcpClient::m_CleanedUp
bool ___m_CleanedUp_4;
public:
inline static int32_t get_offset_of_m_ClientSocket_0() { return static_cast<int32_t>(offsetof(TcpClient_t822906377, ___m_ClientSocket_0)); }
inline Socket_t1119025450 * get_m_ClientSocket_0() const { return ___m_ClientSocket_0; }
inline Socket_t1119025450 ** get_address_of_m_ClientSocket_0() { return &___m_ClientSocket_0; }
inline void set_m_ClientSocket_0(Socket_t1119025450 * value)
{
___m_ClientSocket_0 = value;
Il2CppCodeGenWriteBarrier((&___m_ClientSocket_0), value);
}
inline static int32_t get_offset_of_m_Active_1() { return static_cast<int32_t>(offsetof(TcpClient_t822906377, ___m_Active_1)); }
inline bool get_m_Active_1() const { return ___m_Active_1; }
inline bool* get_address_of_m_Active_1() { return &___m_Active_1; }
inline void set_m_Active_1(bool value)
{
___m_Active_1 = value;
}
inline static int32_t get_offset_of_m_DataStream_2() { return static_cast<int32_t>(offsetof(TcpClient_t822906377, ___m_DataStream_2)); }
inline NetworkStream_t4071955934 * get_m_DataStream_2() const { return ___m_DataStream_2; }
inline NetworkStream_t4071955934 ** get_address_of_m_DataStream_2() { return &___m_DataStream_2; }
inline void set_m_DataStream_2(NetworkStream_t4071955934 * value)
{
___m_DataStream_2 = value;
Il2CppCodeGenWriteBarrier((&___m_DataStream_2), value);
}
inline static int32_t get_offset_of_m_Family_3() { return static_cast<int32_t>(offsetof(TcpClient_t822906377, ___m_Family_3)); }
inline int32_t get_m_Family_3() const { return ___m_Family_3; }
inline int32_t* get_address_of_m_Family_3() { return &___m_Family_3; }
inline void set_m_Family_3(int32_t value)
{
___m_Family_3 = value;
}
inline static int32_t get_offset_of_m_CleanedUp_4() { return static_cast<int32_t>(offsetof(TcpClient_t822906377, ___m_CleanedUp_4)); }
inline bool get_m_CleanedUp_4() const { return ___m_CleanedUp_4; }
inline bool* get_address_of_m_CleanedUp_4() { return &___m_CleanedUp_4; }
inline void set_m_CleanedUp_4(bool value)
{
___m_CleanedUp_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TCPCLIENT_T822906377_H
#ifndef WEBCONNECTION_T3982808322_H
#define WEBCONNECTION_T3982808322_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnection
struct WebConnection_t3982808322 : public RuntimeObject
{
public:
// System.Net.ServicePoint System.Net.WebConnection::sPoint
ServicePoint_t2786966844 * ___sPoint_0;
// System.IO.Stream System.Net.WebConnection::nstream
Stream_t1273022909 * ___nstream_1;
// System.Net.Sockets.Socket System.Net.WebConnection::socket
Socket_t1119025450 * ___socket_2;
// System.Object System.Net.WebConnection::socketLock
RuntimeObject * ___socketLock_3;
// System.Net.IWebConnectionState System.Net.WebConnection::state
RuntimeObject* ___state_4;
// System.Net.WebExceptionStatus System.Net.WebConnection::status
int32_t ___status_5;
// System.Boolean System.Net.WebConnection::keepAlive
bool ___keepAlive_6;
// System.Byte[] System.Net.WebConnection::buffer
ByteU5BU5D_t4116647657* ___buffer_7;
// System.EventHandler System.Net.WebConnection::abortHandler
EventHandler_t1348719766 * ___abortHandler_8;
// System.Net.WebConnection/AbortHelper System.Net.WebConnection::abortHelper
AbortHelper_t1490877826 * ___abortHelper_9;
// System.Net.WebConnectionData System.Net.WebConnection::Data
WebConnectionData_t3835660455 * ___Data_10;
// System.Boolean System.Net.WebConnection::chunkedRead
bool ___chunkedRead_11;
// System.Net.MonoChunkStream System.Net.WebConnection::chunkStream
MonoChunkStream_t2034754733 * ___chunkStream_12;
// System.Collections.Queue System.Net.WebConnection::queue
Queue_t3637523393 * ___queue_13;
// System.Boolean System.Net.WebConnection::reused
bool ___reused_14;
// System.Int32 System.Net.WebConnection::position
int32_t ___position_15;
// System.Net.HttpWebRequest System.Net.WebConnection::priority_request
HttpWebRequest_t1669436515 * ___priority_request_16;
// System.Net.NetworkCredential System.Net.WebConnection::ntlm_credentials
NetworkCredential_t3282608323 * ___ntlm_credentials_17;
// System.Boolean System.Net.WebConnection::ntlm_authenticated
bool ___ntlm_authenticated_18;
// System.Boolean System.Net.WebConnection::unsafe_sharing
bool ___unsafe_sharing_19;
// System.Net.WebConnection/NtlmAuthState System.Net.WebConnection::connect_ntlm_auth_state
int32_t ___connect_ntlm_auth_state_20;
// System.Net.HttpWebRequest System.Net.WebConnection::connect_request
HttpWebRequest_t1669436515 * ___connect_request_21;
// System.Exception System.Net.WebConnection::connect_exception
Exception_t * ___connect_exception_22;
// Mono.Net.Security.MonoTlsStream System.Net.WebConnection::tlsStream
MonoTlsStream_t1980138907 * ___tlsStream_23;
public:
inline static int32_t get_offset_of_sPoint_0() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___sPoint_0)); }
inline ServicePoint_t2786966844 * get_sPoint_0() const { return ___sPoint_0; }
inline ServicePoint_t2786966844 ** get_address_of_sPoint_0() { return &___sPoint_0; }
inline void set_sPoint_0(ServicePoint_t2786966844 * value)
{
___sPoint_0 = value;
Il2CppCodeGenWriteBarrier((&___sPoint_0), value);
}
inline static int32_t get_offset_of_nstream_1() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___nstream_1)); }
inline Stream_t1273022909 * get_nstream_1() const { return ___nstream_1; }
inline Stream_t1273022909 ** get_address_of_nstream_1() { return &___nstream_1; }
inline void set_nstream_1(Stream_t1273022909 * value)
{
___nstream_1 = value;
Il2CppCodeGenWriteBarrier((&___nstream_1), value);
}
inline static int32_t get_offset_of_socket_2() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___socket_2)); }
inline Socket_t1119025450 * get_socket_2() const { return ___socket_2; }
inline Socket_t1119025450 ** get_address_of_socket_2() { return &___socket_2; }
inline void set_socket_2(Socket_t1119025450 * value)
{
___socket_2 = value;
Il2CppCodeGenWriteBarrier((&___socket_2), value);
}
inline static int32_t get_offset_of_socketLock_3() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___socketLock_3)); }
inline RuntimeObject * get_socketLock_3() const { return ___socketLock_3; }
inline RuntimeObject ** get_address_of_socketLock_3() { return &___socketLock_3; }
inline void set_socketLock_3(RuntimeObject * value)
{
___socketLock_3 = value;
Il2CppCodeGenWriteBarrier((&___socketLock_3), value);
}
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___state_4)); }
inline RuntimeObject* get_state_4() const { return ___state_4; }
inline RuntimeObject** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(RuntimeObject* value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((&___state_4), value);
}
inline static int32_t get_offset_of_status_5() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___status_5)); }
inline int32_t get_status_5() const { return ___status_5; }
inline int32_t* get_address_of_status_5() { return &___status_5; }
inline void set_status_5(int32_t value)
{
___status_5 = value;
}
inline static int32_t get_offset_of_keepAlive_6() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___keepAlive_6)); }
inline bool get_keepAlive_6() const { return ___keepAlive_6; }
inline bool* get_address_of_keepAlive_6() { return &___keepAlive_6; }
inline void set_keepAlive_6(bool value)
{
___keepAlive_6 = value;
}
inline static int32_t get_offset_of_buffer_7() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___buffer_7)); }
inline ByteU5BU5D_t4116647657* get_buffer_7() const { return ___buffer_7; }
inline ByteU5BU5D_t4116647657** get_address_of_buffer_7() { return &___buffer_7; }
inline void set_buffer_7(ByteU5BU5D_t4116647657* value)
{
___buffer_7 = value;
Il2CppCodeGenWriteBarrier((&___buffer_7), value);
}
inline static int32_t get_offset_of_abortHandler_8() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___abortHandler_8)); }
inline EventHandler_t1348719766 * get_abortHandler_8() const { return ___abortHandler_8; }
inline EventHandler_t1348719766 ** get_address_of_abortHandler_8() { return &___abortHandler_8; }
inline void set_abortHandler_8(EventHandler_t1348719766 * value)
{
___abortHandler_8 = value;
Il2CppCodeGenWriteBarrier((&___abortHandler_8), value);
}
inline static int32_t get_offset_of_abortHelper_9() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___abortHelper_9)); }
inline AbortHelper_t1490877826 * get_abortHelper_9() const { return ___abortHelper_9; }
inline AbortHelper_t1490877826 ** get_address_of_abortHelper_9() { return &___abortHelper_9; }
inline void set_abortHelper_9(AbortHelper_t1490877826 * value)
{
___abortHelper_9 = value;
Il2CppCodeGenWriteBarrier((&___abortHelper_9), value);
}
inline static int32_t get_offset_of_Data_10() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___Data_10)); }
inline WebConnectionData_t3835660455 * get_Data_10() const { return ___Data_10; }
inline WebConnectionData_t3835660455 ** get_address_of_Data_10() { return &___Data_10; }
inline void set_Data_10(WebConnectionData_t3835660455 * value)
{
___Data_10 = value;
Il2CppCodeGenWriteBarrier((&___Data_10), value);
}
inline static int32_t get_offset_of_chunkedRead_11() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___chunkedRead_11)); }
inline bool get_chunkedRead_11() const { return ___chunkedRead_11; }
inline bool* get_address_of_chunkedRead_11() { return &___chunkedRead_11; }
inline void set_chunkedRead_11(bool value)
{
___chunkedRead_11 = value;
}
inline static int32_t get_offset_of_chunkStream_12() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___chunkStream_12)); }
inline MonoChunkStream_t2034754733 * get_chunkStream_12() const { return ___chunkStream_12; }
inline MonoChunkStream_t2034754733 ** get_address_of_chunkStream_12() { return &___chunkStream_12; }
inline void set_chunkStream_12(MonoChunkStream_t2034754733 * value)
{
___chunkStream_12 = value;
Il2CppCodeGenWriteBarrier((&___chunkStream_12), value);
}
inline static int32_t get_offset_of_queue_13() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___queue_13)); }
inline Queue_t3637523393 * get_queue_13() const { return ___queue_13; }
inline Queue_t3637523393 ** get_address_of_queue_13() { return &___queue_13; }
inline void set_queue_13(Queue_t3637523393 * value)
{
___queue_13 = value;
Il2CppCodeGenWriteBarrier((&___queue_13), value);
}
inline static int32_t get_offset_of_reused_14() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___reused_14)); }
inline bool get_reused_14() const { return ___reused_14; }
inline bool* get_address_of_reused_14() { return &___reused_14; }
inline void set_reused_14(bool value)
{
___reused_14 = value;
}
inline static int32_t get_offset_of_position_15() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___position_15)); }
inline int32_t get_position_15() const { return ___position_15; }
inline int32_t* get_address_of_position_15() { return &___position_15; }
inline void set_position_15(int32_t value)
{
___position_15 = value;
}
inline static int32_t get_offset_of_priority_request_16() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___priority_request_16)); }
inline HttpWebRequest_t1669436515 * get_priority_request_16() const { return ___priority_request_16; }
inline HttpWebRequest_t1669436515 ** get_address_of_priority_request_16() { return &___priority_request_16; }
inline void set_priority_request_16(HttpWebRequest_t1669436515 * value)
{
___priority_request_16 = value;
Il2CppCodeGenWriteBarrier((&___priority_request_16), value);
}
inline static int32_t get_offset_of_ntlm_credentials_17() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___ntlm_credentials_17)); }
inline NetworkCredential_t3282608323 * get_ntlm_credentials_17() const { return ___ntlm_credentials_17; }
inline NetworkCredential_t3282608323 ** get_address_of_ntlm_credentials_17() { return &___ntlm_credentials_17; }
inline void set_ntlm_credentials_17(NetworkCredential_t3282608323 * value)
{
___ntlm_credentials_17 = value;
Il2CppCodeGenWriteBarrier((&___ntlm_credentials_17), value);
}
inline static int32_t get_offset_of_ntlm_authenticated_18() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___ntlm_authenticated_18)); }
inline bool get_ntlm_authenticated_18() const { return ___ntlm_authenticated_18; }
inline bool* get_address_of_ntlm_authenticated_18() { return &___ntlm_authenticated_18; }
inline void set_ntlm_authenticated_18(bool value)
{
___ntlm_authenticated_18 = value;
}
inline static int32_t get_offset_of_unsafe_sharing_19() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___unsafe_sharing_19)); }
inline bool get_unsafe_sharing_19() const { return ___unsafe_sharing_19; }
inline bool* get_address_of_unsafe_sharing_19() { return &___unsafe_sharing_19; }
inline void set_unsafe_sharing_19(bool value)
{
___unsafe_sharing_19 = value;
}
inline static int32_t get_offset_of_connect_ntlm_auth_state_20() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___connect_ntlm_auth_state_20)); }
inline int32_t get_connect_ntlm_auth_state_20() const { return ___connect_ntlm_auth_state_20; }
inline int32_t* get_address_of_connect_ntlm_auth_state_20() { return &___connect_ntlm_auth_state_20; }
inline void set_connect_ntlm_auth_state_20(int32_t value)
{
___connect_ntlm_auth_state_20 = value;
}
inline static int32_t get_offset_of_connect_request_21() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___connect_request_21)); }
inline HttpWebRequest_t1669436515 * get_connect_request_21() const { return ___connect_request_21; }
inline HttpWebRequest_t1669436515 ** get_address_of_connect_request_21() { return &___connect_request_21; }
inline void set_connect_request_21(HttpWebRequest_t1669436515 * value)
{
___connect_request_21 = value;
Il2CppCodeGenWriteBarrier((&___connect_request_21), value);
}
inline static int32_t get_offset_of_connect_exception_22() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___connect_exception_22)); }
inline Exception_t * get_connect_exception_22() const { return ___connect_exception_22; }
inline Exception_t ** get_address_of_connect_exception_22() { return &___connect_exception_22; }
inline void set_connect_exception_22(Exception_t * value)
{
___connect_exception_22 = value;
Il2CppCodeGenWriteBarrier((&___connect_exception_22), value);
}
inline static int32_t get_offset_of_tlsStream_23() { return static_cast<int32_t>(offsetof(WebConnection_t3982808322, ___tlsStream_23)); }
inline MonoTlsStream_t1980138907 * get_tlsStream_23() const { return ___tlsStream_23; }
inline MonoTlsStream_t1980138907 ** get_address_of_tlsStream_23() { return &___tlsStream_23; }
inline void set_tlsStream_23(MonoTlsStream_t1980138907 * value)
{
___tlsStream_23 = value;
Il2CppCodeGenWriteBarrier((&___tlsStream_23), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBCONNECTION_T3982808322_H
#ifndef OBJECTDISPOSEDEXCEPTION_T21392786_H
#define OBJECTDISPOSEDEXCEPTION_T21392786_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ObjectDisposedException
struct ObjectDisposedException_t21392786 : public InvalidOperationException_t56020091
{
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_t21392786, ___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((&___objectName_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // OBJECTDISPOSEDEXCEPTION_T21392786_H
#ifndef WEBCONNECTIONDATA_T3835660455_H
#define WEBCONNECTIONDATA_T3835660455_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebConnectionData
struct WebConnectionData_t3835660455 : public RuntimeObject
{
public:
// System.Net.HttpWebRequest System.Net.WebConnectionData::_request
HttpWebRequest_t1669436515 * ____request_0;
// System.Int32 System.Net.WebConnectionData::StatusCode
int32_t ___StatusCode_1;
// System.String System.Net.WebConnectionData::StatusDescription
String_t* ___StatusDescription_2;
// System.Net.WebHeaderCollection System.Net.WebConnectionData::Headers
WebHeaderCollection_t1942268960 * ___Headers_3;
// System.Version System.Net.WebConnectionData::Version
Version_t3456873960 * ___Version_4;
// System.Version System.Net.WebConnectionData::ProxyVersion
Version_t3456873960 * ___ProxyVersion_5;
// System.IO.Stream System.Net.WebConnectionData::stream
Stream_t1273022909 * ___stream_6;
// System.String[] System.Net.WebConnectionData::Challenge
StringU5BU5D_t1281789340* ___Challenge_7;
// System.Net.ReadState System.Net.WebConnectionData::_readState
int32_t ____readState_8;
public:
inline static int32_t get_offset_of__request_0() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ____request_0)); }
inline HttpWebRequest_t1669436515 * get__request_0() const { return ____request_0; }
inline HttpWebRequest_t1669436515 ** get_address_of__request_0() { return &____request_0; }
inline void set__request_0(HttpWebRequest_t1669436515 * value)
{
____request_0 = value;
Il2CppCodeGenWriteBarrier((&____request_0), value);
}
inline static int32_t get_offset_of_StatusCode_1() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___StatusCode_1)); }
inline int32_t get_StatusCode_1() const { return ___StatusCode_1; }
inline int32_t* get_address_of_StatusCode_1() { return &___StatusCode_1; }
inline void set_StatusCode_1(int32_t value)
{
___StatusCode_1 = value;
}
inline static int32_t get_offset_of_StatusDescription_2() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___StatusDescription_2)); }
inline String_t* get_StatusDescription_2() const { return ___StatusDescription_2; }
inline String_t** get_address_of_StatusDescription_2() { return &___StatusDescription_2; }
inline void set_StatusDescription_2(String_t* value)
{
___StatusDescription_2 = value;
Il2CppCodeGenWriteBarrier((&___StatusDescription_2), value);
}
inline static int32_t get_offset_of_Headers_3() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___Headers_3)); }
inline WebHeaderCollection_t1942268960 * get_Headers_3() const { return ___Headers_3; }
inline WebHeaderCollection_t1942268960 ** get_address_of_Headers_3() { return &___Headers_3; }
inline void set_Headers_3(WebHeaderCollection_t1942268960 * value)
{
___Headers_3 = value;
Il2CppCodeGenWriteBarrier((&___Headers_3), value);
}
inline static int32_t get_offset_of_Version_4() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___Version_4)); }
inline Version_t3456873960 * get_Version_4() const { return ___Version_4; }
inline Version_t3456873960 ** get_address_of_Version_4() { return &___Version_4; }
inline void set_Version_4(Version_t3456873960 * value)
{
___Version_4 = value;
Il2CppCodeGenWriteBarrier((&___Version_4), value);
}
inline static int32_t get_offset_of_ProxyVersion_5() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___ProxyVersion_5)); }
inline Version_t3456873960 * get_ProxyVersion_5() const { return ___ProxyVersion_5; }
inline Version_t3456873960 ** get_address_of_ProxyVersion_5() { return &___ProxyVersion_5; }
inline void set_ProxyVersion_5(Version_t3456873960 * value)
{
___ProxyVersion_5 = value;
Il2CppCodeGenWriteBarrier((&___ProxyVersion_5), value);
}
inline static int32_t get_offset_of_stream_6() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___stream_6)); }
inline Stream_t1273022909 * get_stream_6() const { return ___stream_6; }
inline Stream_t1273022909 ** get_address_of_stream_6() { return &___stream_6; }
inline void set_stream_6(Stream_t1273022909 * value)
{
___stream_6 = value;
Il2CppCodeGenWriteBarrier((&___stream_6), value);
}
inline static int32_t get_offset_of_Challenge_7() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ___Challenge_7)); }
inline StringU5BU5D_t1281789340* get_Challenge_7() const { return ___Challenge_7; }
inline StringU5BU5D_t1281789340** get_address_of_Challenge_7() { return &___Challenge_7; }
inline void set_Challenge_7(StringU5BU5D_t1281789340* value)
{
___Challenge_7 = value;
Il2CppCodeGenWriteBarrier((&___Challenge_7), value);
}
inline static int32_t get_offset_of__readState_8() { return static_cast<int32_t>(offsetof(WebConnectionData_t3835660455, ____readState_8)); }
inline int32_t get__readState_8() const { return ____readState_8; }
inline int32_t* get_address_of__readState_8() { return &____readState_8; }
inline void set__readState_8(int32_t value)
{
____readState_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBCONNECTIONDATA_T3835660455_H
#ifndef HTTPWEBRESPONSE_T3286585418_H
#define HTTPWEBRESPONSE_T3286585418_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpWebResponse
struct HttpWebResponse_t3286585418 : public WebResponse_t229922639
{
public:
// System.Uri System.Net.HttpWebResponse::uri
Uri_t100236324 * ___uri_1;
// System.Net.WebHeaderCollection System.Net.HttpWebResponse::webHeaders
WebHeaderCollection_t1942268960 * ___webHeaders_2;
// System.Net.CookieCollection System.Net.HttpWebResponse::cookieCollection
CookieCollection_t3881042616 * ___cookieCollection_3;
// System.String System.Net.HttpWebResponse::method
String_t* ___method_4;
// System.Version System.Net.HttpWebResponse::version
Version_t3456873960 * ___version_5;
// System.Net.HttpStatusCode System.Net.HttpWebResponse::statusCode
int32_t ___statusCode_6;
// System.String System.Net.HttpWebResponse::statusDescription
String_t* ___statusDescription_7;
// System.Int64 System.Net.HttpWebResponse::contentLength
int64_t ___contentLength_8;
// System.String System.Net.HttpWebResponse::contentType
String_t* ___contentType_9;
// System.Net.CookieContainer System.Net.HttpWebResponse::cookie_container
CookieContainer_t2331592909 * ___cookie_container_10;
// System.Boolean System.Net.HttpWebResponse::disposed
bool ___disposed_11;
// System.IO.Stream System.Net.HttpWebResponse::stream
Stream_t1273022909 * ___stream_12;
public:
inline static int32_t get_offset_of_uri_1() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___uri_1)); }
inline Uri_t100236324 * get_uri_1() const { return ___uri_1; }
inline Uri_t100236324 ** get_address_of_uri_1() { return &___uri_1; }
inline void set_uri_1(Uri_t100236324 * value)
{
___uri_1 = value;
Il2CppCodeGenWriteBarrier((&___uri_1), value);
}
inline static int32_t get_offset_of_webHeaders_2() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___webHeaders_2)); }
inline WebHeaderCollection_t1942268960 * get_webHeaders_2() const { return ___webHeaders_2; }
inline WebHeaderCollection_t1942268960 ** get_address_of_webHeaders_2() { return &___webHeaders_2; }
inline void set_webHeaders_2(WebHeaderCollection_t1942268960 * value)
{
___webHeaders_2 = value;
Il2CppCodeGenWriteBarrier((&___webHeaders_2), value);
}
inline static int32_t get_offset_of_cookieCollection_3() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___cookieCollection_3)); }
inline CookieCollection_t3881042616 * get_cookieCollection_3() const { return ___cookieCollection_3; }
inline CookieCollection_t3881042616 ** get_address_of_cookieCollection_3() { return &___cookieCollection_3; }
inline void set_cookieCollection_3(CookieCollection_t3881042616 * value)
{
___cookieCollection_3 = value;
Il2CppCodeGenWriteBarrier((&___cookieCollection_3), value);
}
inline static int32_t get_offset_of_method_4() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___method_4)); }
inline String_t* get_method_4() const { return ___method_4; }
inline String_t** get_address_of_method_4() { return &___method_4; }
inline void set_method_4(String_t* value)
{
___method_4 = value;
Il2CppCodeGenWriteBarrier((&___method_4), value);
}
inline static int32_t get_offset_of_version_5() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___version_5)); }
inline Version_t3456873960 * get_version_5() const { return ___version_5; }
inline Version_t3456873960 ** get_address_of_version_5() { return &___version_5; }
inline void set_version_5(Version_t3456873960 * value)
{
___version_5 = value;
Il2CppCodeGenWriteBarrier((&___version_5), value);
}
inline static int32_t get_offset_of_statusCode_6() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___statusCode_6)); }
inline int32_t get_statusCode_6() const { return ___statusCode_6; }
inline int32_t* get_address_of_statusCode_6() { return &___statusCode_6; }
inline void set_statusCode_6(int32_t value)
{
___statusCode_6 = value;
}
inline static int32_t get_offset_of_statusDescription_7() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___statusDescription_7)); }
inline String_t* get_statusDescription_7() const { return ___statusDescription_7; }
inline String_t** get_address_of_statusDescription_7() { return &___statusDescription_7; }
inline void set_statusDescription_7(String_t* value)
{
___statusDescription_7 = value;
Il2CppCodeGenWriteBarrier((&___statusDescription_7), value);
}
inline static int32_t get_offset_of_contentLength_8() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___contentLength_8)); }
inline int64_t get_contentLength_8() const { return ___contentLength_8; }
inline int64_t* get_address_of_contentLength_8() { return &___contentLength_8; }
inline void set_contentLength_8(int64_t value)
{
___contentLength_8 = value;
}
inline static int32_t get_offset_of_contentType_9() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___contentType_9)); }
inline String_t* get_contentType_9() const { return ___contentType_9; }
inline String_t** get_address_of_contentType_9() { return &___contentType_9; }
inline void set_contentType_9(String_t* value)
{
___contentType_9 = value;
Il2CppCodeGenWriteBarrier((&___contentType_9), value);
}
inline static int32_t get_offset_of_cookie_container_10() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___cookie_container_10)); }
inline CookieContainer_t2331592909 * get_cookie_container_10() const { return ___cookie_container_10; }
inline CookieContainer_t2331592909 ** get_address_of_cookie_container_10() { return &___cookie_container_10; }
inline void set_cookie_container_10(CookieContainer_t2331592909 * value)
{
___cookie_container_10 = value;
Il2CppCodeGenWriteBarrier((&___cookie_container_10), value);
}
inline static int32_t get_offset_of_disposed_11() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___disposed_11)); }
inline bool get_disposed_11() const { return ___disposed_11; }
inline bool* get_address_of_disposed_11() { return &___disposed_11; }
inline void set_disposed_11(bool value)
{
___disposed_11 = value;
}
inline static int32_t get_offset_of_stream_12() { return static_cast<int32_t>(offsetof(HttpWebResponse_t3286585418, ___stream_12)); }
inline Stream_t1273022909 * get_stream_12() const { return ___stream_12; }
inline Stream_t1273022909 ** get_address_of_stream_12() { return &___stream_12; }
inline void set_stream_12(Stream_t1273022909 * value)
{
___stream_12 = value;
Il2CppCodeGenWriteBarrier((&___stream_12), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPWEBRESPONSE_T3286585418_H
#ifndef WEBASYNCRESULT_T3421962937_H
#define WEBASYNCRESULT_T3421962937_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebAsyncResult
struct WebAsyncResult_t3421962937 : public SimpleAsyncResult_t3946017618
{
public:
// System.Int32 System.Net.WebAsyncResult::nbytes
int32_t ___nbytes_9;
// System.IAsyncResult System.Net.WebAsyncResult::innerAsyncResult
RuntimeObject* ___innerAsyncResult_10;
// System.Net.HttpWebResponse System.Net.WebAsyncResult::response
HttpWebResponse_t3286585418 * ___response_11;
// System.IO.Stream System.Net.WebAsyncResult::writeStream
Stream_t1273022909 * ___writeStream_12;
// System.Byte[] System.Net.WebAsyncResult::buffer
ByteU5BU5D_t4116647657* ___buffer_13;
// System.Int32 System.Net.WebAsyncResult::offset
int32_t ___offset_14;
// System.Int32 System.Net.WebAsyncResult::size
int32_t ___size_15;
// System.Boolean System.Net.WebAsyncResult::EndCalled
bool ___EndCalled_16;
// System.Boolean System.Net.WebAsyncResult::AsyncWriteAll
bool ___AsyncWriteAll_17;
// System.Net.HttpWebRequest System.Net.WebAsyncResult::AsyncObject
HttpWebRequest_t1669436515 * ___AsyncObject_18;
public:
inline static int32_t get_offset_of_nbytes_9() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___nbytes_9)); }
inline int32_t get_nbytes_9() const { return ___nbytes_9; }
inline int32_t* get_address_of_nbytes_9() { return &___nbytes_9; }
inline void set_nbytes_9(int32_t value)
{
___nbytes_9 = value;
}
inline static int32_t get_offset_of_innerAsyncResult_10() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___innerAsyncResult_10)); }
inline RuntimeObject* get_innerAsyncResult_10() const { return ___innerAsyncResult_10; }
inline RuntimeObject** get_address_of_innerAsyncResult_10() { return &___innerAsyncResult_10; }
inline void set_innerAsyncResult_10(RuntimeObject* value)
{
___innerAsyncResult_10 = value;
Il2CppCodeGenWriteBarrier((&___innerAsyncResult_10), value);
}
inline static int32_t get_offset_of_response_11() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___response_11)); }
inline HttpWebResponse_t3286585418 * get_response_11() const { return ___response_11; }
inline HttpWebResponse_t3286585418 ** get_address_of_response_11() { return &___response_11; }
inline void set_response_11(HttpWebResponse_t3286585418 * value)
{
___response_11 = value;
Il2CppCodeGenWriteBarrier((&___response_11), value);
}
inline static int32_t get_offset_of_writeStream_12() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___writeStream_12)); }
inline Stream_t1273022909 * get_writeStream_12() const { return ___writeStream_12; }
inline Stream_t1273022909 ** get_address_of_writeStream_12() { return &___writeStream_12; }
inline void set_writeStream_12(Stream_t1273022909 * value)
{
___writeStream_12 = value;
Il2CppCodeGenWriteBarrier((&___writeStream_12), value);
}
inline static int32_t get_offset_of_buffer_13() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___buffer_13)); }
inline ByteU5BU5D_t4116647657* get_buffer_13() const { return ___buffer_13; }
inline ByteU5BU5D_t4116647657** get_address_of_buffer_13() { return &___buffer_13; }
inline void set_buffer_13(ByteU5BU5D_t4116647657* value)
{
___buffer_13 = value;
Il2CppCodeGenWriteBarrier((&___buffer_13), value);
}
inline static int32_t get_offset_of_offset_14() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___offset_14)); }
inline int32_t get_offset_14() const { return ___offset_14; }
inline int32_t* get_address_of_offset_14() { return &___offset_14; }
inline void set_offset_14(int32_t value)
{
___offset_14 = value;
}
inline static int32_t get_offset_of_size_15() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___size_15)); }
inline int32_t get_size_15() const { return ___size_15; }
inline int32_t* get_address_of_size_15() { return &___size_15; }
inline void set_size_15(int32_t value)
{
___size_15 = value;
}
inline static int32_t get_offset_of_EndCalled_16() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___EndCalled_16)); }
inline bool get_EndCalled_16() const { return ___EndCalled_16; }
inline bool* get_address_of_EndCalled_16() { return &___EndCalled_16; }
inline void set_EndCalled_16(bool value)
{
___EndCalled_16 = value;
}
inline static int32_t get_offset_of_AsyncWriteAll_17() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___AsyncWriteAll_17)); }
inline bool get_AsyncWriteAll_17() const { return ___AsyncWriteAll_17; }
inline bool* get_address_of_AsyncWriteAll_17() { return &___AsyncWriteAll_17; }
inline void set_AsyncWriteAll_17(bool value)
{
___AsyncWriteAll_17 = value;
}
inline static int32_t get_offset_of_AsyncObject_18() { return static_cast<int32_t>(offsetof(WebAsyncResult_t3421962937, ___AsyncObject_18)); }
inline HttpWebRequest_t1669436515 * get_AsyncObject_18() const { return ___AsyncObject_18; }
inline HttpWebRequest_t1669436515 ** get_address_of_AsyncObject_18() { return &___AsyncObject_18; }
inline void set_AsyncObject_18(HttpWebRequest_t1669436515 * value)
{
___AsyncObject_18 = value;
Il2CppCodeGenWriteBarrier((&___AsyncObject_18), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBASYNCRESULT_T3421962937_H
#ifndef EXECUTIONCONTEXT_T1748372627_H
#define EXECUTIONCONTEXT_T1748372627_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ExecutionContext
struct ExecutionContext_t1748372627 : public RuntimeObject
{
public:
// System.Threading.SynchronizationContext System.Threading.ExecutionContext::_syncContext
SynchronizationContext_t2326897723 * ____syncContext_0;
// System.Threading.SynchronizationContext System.Threading.ExecutionContext::_syncContextNoFlow
SynchronizationContext_t2326897723 * ____syncContextNoFlow_1;
// System.Runtime.Remoting.Messaging.LogicalCallContext System.Threading.ExecutionContext::_logicalCallContext
LogicalCallContext_t3342013719 * ____logicalCallContext_2;
// System.Runtime.Remoting.Messaging.IllogicalCallContext System.Threading.ExecutionContext::_illogicalCallContext
IllogicalCallContext_t515815706 * ____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_t1485349242 * ____localValues_5;
// System.Collections.Generic.List`1<System.Threading.IAsyncLocal> System.Threading.ExecutionContext::_localChangeNotifications
List_1_t2130129336 * ____localChangeNotifications_6;
public:
inline static int32_t get_offset_of__syncContext_0() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____syncContext_0)); }
inline SynchronizationContext_t2326897723 * get__syncContext_0() const { return ____syncContext_0; }
inline SynchronizationContext_t2326897723 ** get_address_of__syncContext_0() { return &____syncContext_0; }
inline void set__syncContext_0(SynchronizationContext_t2326897723 * value)
{
____syncContext_0 = value;
Il2CppCodeGenWriteBarrier((&____syncContext_0), value);
}
inline static int32_t get_offset_of__syncContextNoFlow_1() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____syncContextNoFlow_1)); }
inline SynchronizationContext_t2326897723 * get__syncContextNoFlow_1() const { return ____syncContextNoFlow_1; }
inline SynchronizationContext_t2326897723 ** get_address_of__syncContextNoFlow_1() { return &____syncContextNoFlow_1; }
inline void set__syncContextNoFlow_1(SynchronizationContext_t2326897723 * value)
{
____syncContextNoFlow_1 = value;
Il2CppCodeGenWriteBarrier((&____syncContextNoFlow_1), value);
}
inline static int32_t get_offset_of__logicalCallContext_2() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____logicalCallContext_2)); }
inline LogicalCallContext_t3342013719 * get__logicalCallContext_2() const { return ____logicalCallContext_2; }
inline LogicalCallContext_t3342013719 ** get_address_of__logicalCallContext_2() { return &____logicalCallContext_2; }
inline void set__logicalCallContext_2(LogicalCallContext_t3342013719 * value)
{
____logicalCallContext_2 = value;
Il2CppCodeGenWriteBarrier((&____logicalCallContext_2), value);
}
inline static int32_t get_offset_of__illogicalCallContext_3() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____illogicalCallContext_3)); }
inline IllogicalCallContext_t515815706 * get__illogicalCallContext_3() const { return ____illogicalCallContext_3; }
inline IllogicalCallContext_t515815706 ** get_address_of__illogicalCallContext_3() { return &____illogicalCallContext_3; }
inline void set__illogicalCallContext_3(IllogicalCallContext_t515815706 * value)
{
____illogicalCallContext_3 = value;
Il2CppCodeGenWriteBarrier((&____illogicalCallContext_3), value);
}
inline static int32_t get_offset_of__flags_4() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____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_t1748372627, ____localValues_5)); }
inline Dictionary_2_t1485349242 * get__localValues_5() const { return ____localValues_5; }
inline Dictionary_2_t1485349242 ** get_address_of__localValues_5() { return &____localValues_5; }
inline void set__localValues_5(Dictionary_2_t1485349242 * value)
{
____localValues_5 = value;
Il2CppCodeGenWriteBarrier((&____localValues_5), value);
}
inline static int32_t get_offset_of__localChangeNotifications_6() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627, ____localChangeNotifications_6)); }
inline List_1_t2130129336 * get__localChangeNotifications_6() const { return ____localChangeNotifications_6; }
inline List_1_t2130129336 ** get_address_of__localChangeNotifications_6() { return &____localChangeNotifications_6; }
inline void set__localChangeNotifications_6(List_1_t2130129336 * value)
{
____localChangeNotifications_6 = value;
Il2CppCodeGenWriteBarrier((&____localChangeNotifications_6), value);
}
};
struct ExecutionContext_t1748372627_StaticFields
{
public:
// System.Threading.ExecutionContext System.Threading.ExecutionContext::s_dummyDefaultEC
ExecutionContext_t1748372627 * ___s_dummyDefaultEC_7;
public:
inline static int32_t get_offset_of_s_dummyDefaultEC_7() { return static_cast<int32_t>(offsetof(ExecutionContext_t1748372627_StaticFields, ___s_dummyDefaultEC_7)); }
inline ExecutionContext_t1748372627 * get_s_dummyDefaultEC_7() const { return ___s_dummyDefaultEC_7; }
inline ExecutionContext_t1748372627 ** get_address_of_s_dummyDefaultEC_7() { return &___s_dummyDefaultEC_7; }
inline void set_s_dummyDefaultEC_7(ExecutionContext_t1748372627 * value)
{
___s_dummyDefaultEC_7 = value;
Il2CppCodeGenWriteBarrier((&___s_dummyDefaultEC_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXECUTIONCONTEXT_T1748372627_H
#ifndef ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#define ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t777629997 : public ArgumentException_t132251570
{
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_t777629997, ___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((&___m_actualValue_19), value);
}
};
struct ArgumentOutOfRangeException_t777629997_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_t777629997_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((&____rangeMessage_18), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#ifndef SOCKET_T1119025450_H
#define SOCKET_T1119025450_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.Socket
struct Socket_t1119025450 : public RuntimeObject
{
public:
// System.Boolean System.Net.Sockets.Socket::is_closed
bool ___is_closed_6;
// System.Boolean System.Net.Sockets.Socket::is_listening
bool ___is_listening_7;
// System.Boolean System.Net.Sockets.Socket::useOverlappedIO
bool ___useOverlappedIO_8;
// System.Int32 System.Net.Sockets.Socket::linger_timeout
int32_t ___linger_timeout_9;
// System.Net.Sockets.AddressFamily System.Net.Sockets.Socket::addressFamily
int32_t ___addressFamily_10;
// System.Net.Sockets.SocketType System.Net.Sockets.Socket::socketType
int32_t ___socketType_11;
// System.Net.Sockets.ProtocolType System.Net.Sockets.Socket::protocolType
int32_t ___protocolType_12;
// System.Net.Sockets.SafeSocketHandle System.Net.Sockets.Socket::m_Handle
SafeSocketHandle_t610293888 * ___m_Handle_13;
// System.Net.EndPoint System.Net.Sockets.Socket::seed_endpoint
EndPoint_t982345378 * ___seed_endpoint_14;
// System.Threading.SemaphoreSlim System.Net.Sockets.Socket::ReadSem
SemaphoreSlim_t2974092902 * ___ReadSem_15;
// System.Threading.SemaphoreSlim System.Net.Sockets.Socket::WriteSem
SemaphoreSlim_t2974092902 * ___WriteSem_16;
// System.Boolean System.Net.Sockets.Socket::is_blocking
bool ___is_blocking_17;
// System.Boolean System.Net.Sockets.Socket::is_bound
bool ___is_bound_18;
// System.Boolean System.Net.Sockets.Socket::is_connected
bool ___is_connected_19;
// System.Int32 System.Net.Sockets.Socket::m_IntCleanedUp
int32_t ___m_IntCleanedUp_20;
// System.Boolean System.Net.Sockets.Socket::connect_in_progress
bool ___connect_in_progress_21;
public:
inline static int32_t get_offset_of_is_closed_6() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___is_closed_6)); }
inline bool get_is_closed_6() const { return ___is_closed_6; }
inline bool* get_address_of_is_closed_6() { return &___is_closed_6; }
inline void set_is_closed_6(bool value)
{
___is_closed_6 = value;
}
inline static int32_t get_offset_of_is_listening_7() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___is_listening_7)); }
inline bool get_is_listening_7() const { return ___is_listening_7; }
inline bool* get_address_of_is_listening_7() { return &___is_listening_7; }
inline void set_is_listening_7(bool value)
{
___is_listening_7 = value;
}
inline static int32_t get_offset_of_useOverlappedIO_8() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___useOverlappedIO_8)); }
inline bool get_useOverlappedIO_8() const { return ___useOverlappedIO_8; }
inline bool* get_address_of_useOverlappedIO_8() { return &___useOverlappedIO_8; }
inline void set_useOverlappedIO_8(bool value)
{
___useOverlappedIO_8 = value;
}
inline static int32_t get_offset_of_linger_timeout_9() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___linger_timeout_9)); }
inline int32_t get_linger_timeout_9() const { return ___linger_timeout_9; }
inline int32_t* get_address_of_linger_timeout_9() { return &___linger_timeout_9; }
inline void set_linger_timeout_9(int32_t value)
{
___linger_timeout_9 = value;
}
inline static int32_t get_offset_of_addressFamily_10() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___addressFamily_10)); }
inline int32_t get_addressFamily_10() const { return ___addressFamily_10; }
inline int32_t* get_address_of_addressFamily_10() { return &___addressFamily_10; }
inline void set_addressFamily_10(int32_t value)
{
___addressFamily_10 = value;
}
inline static int32_t get_offset_of_socketType_11() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___socketType_11)); }
inline int32_t get_socketType_11() const { return ___socketType_11; }
inline int32_t* get_address_of_socketType_11() { return &___socketType_11; }
inline void set_socketType_11(int32_t value)
{
___socketType_11 = value;
}
inline static int32_t get_offset_of_protocolType_12() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___protocolType_12)); }
inline int32_t get_protocolType_12() const { return ___protocolType_12; }
inline int32_t* get_address_of_protocolType_12() { return &___protocolType_12; }
inline void set_protocolType_12(int32_t value)
{
___protocolType_12 = value;
}
inline static int32_t get_offset_of_m_Handle_13() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___m_Handle_13)); }
inline SafeSocketHandle_t610293888 * get_m_Handle_13() const { return ___m_Handle_13; }
inline SafeSocketHandle_t610293888 ** get_address_of_m_Handle_13() { return &___m_Handle_13; }
inline void set_m_Handle_13(SafeSocketHandle_t610293888 * value)
{
___m_Handle_13 = value;
Il2CppCodeGenWriteBarrier((&___m_Handle_13), value);
}
inline static int32_t get_offset_of_seed_endpoint_14() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___seed_endpoint_14)); }
inline EndPoint_t982345378 * get_seed_endpoint_14() const { return ___seed_endpoint_14; }
inline EndPoint_t982345378 ** get_address_of_seed_endpoint_14() { return &___seed_endpoint_14; }
inline void set_seed_endpoint_14(EndPoint_t982345378 * value)
{
___seed_endpoint_14 = value;
Il2CppCodeGenWriteBarrier((&___seed_endpoint_14), value);
}
inline static int32_t get_offset_of_ReadSem_15() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___ReadSem_15)); }
inline SemaphoreSlim_t2974092902 * get_ReadSem_15() const { return ___ReadSem_15; }
inline SemaphoreSlim_t2974092902 ** get_address_of_ReadSem_15() { return &___ReadSem_15; }
inline void set_ReadSem_15(SemaphoreSlim_t2974092902 * value)
{
___ReadSem_15 = value;
Il2CppCodeGenWriteBarrier((&___ReadSem_15), value);
}
inline static int32_t get_offset_of_WriteSem_16() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___WriteSem_16)); }
inline SemaphoreSlim_t2974092902 * get_WriteSem_16() const { return ___WriteSem_16; }
inline SemaphoreSlim_t2974092902 ** get_address_of_WriteSem_16() { return &___WriteSem_16; }
inline void set_WriteSem_16(SemaphoreSlim_t2974092902 * value)
{
___WriteSem_16 = value;
Il2CppCodeGenWriteBarrier((&___WriteSem_16), value);
}
inline static int32_t get_offset_of_is_blocking_17() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___is_blocking_17)); }
inline bool get_is_blocking_17() const { return ___is_blocking_17; }
inline bool* get_address_of_is_blocking_17() { return &___is_blocking_17; }
inline void set_is_blocking_17(bool value)
{
___is_blocking_17 = value;
}
inline static int32_t get_offset_of_is_bound_18() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___is_bound_18)); }
inline bool get_is_bound_18() const { return ___is_bound_18; }
inline bool* get_address_of_is_bound_18() { return &___is_bound_18; }
inline void set_is_bound_18(bool value)
{
___is_bound_18 = value;
}
inline static int32_t get_offset_of_is_connected_19() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___is_connected_19)); }
inline bool get_is_connected_19() const { return ___is_connected_19; }
inline bool* get_address_of_is_connected_19() { return &___is_connected_19; }
inline void set_is_connected_19(bool value)
{
___is_connected_19 = value;
}
inline static int32_t get_offset_of_m_IntCleanedUp_20() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___m_IntCleanedUp_20)); }
inline int32_t get_m_IntCleanedUp_20() const { return ___m_IntCleanedUp_20; }
inline int32_t* get_address_of_m_IntCleanedUp_20() { return &___m_IntCleanedUp_20; }
inline void set_m_IntCleanedUp_20(int32_t value)
{
___m_IntCleanedUp_20 = value;
}
inline static int32_t get_offset_of_connect_in_progress_21() { return static_cast<int32_t>(offsetof(Socket_t1119025450, ___connect_in_progress_21)); }
inline bool get_connect_in_progress_21() const { return ___connect_in_progress_21; }
inline bool* get_address_of_connect_in_progress_21() { return &___connect_in_progress_21; }
inline void set_connect_in_progress_21(bool value)
{
___connect_in_progress_21 = value;
}
};
struct Socket_t1119025450_StaticFields
{
public:
// System.Object System.Net.Sockets.Socket::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_0;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_SupportsIPv4
bool ___s_SupportsIPv4_1;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_SupportsIPv6
bool ___s_SupportsIPv6_2;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_OSSupportsIPv6
bool ___s_OSSupportsIPv6_3;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_Initialized
bool ___s_Initialized_4;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_LoggingEnabled
bool ___s_LoggingEnabled_5;
// System.AsyncCallback System.Net.Sockets.Socket::AcceptAsyncCallback
AsyncCallback_t3962456242 * ___AcceptAsyncCallback_22;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginAcceptCallback
IOAsyncCallback_t705871752 * ___BeginAcceptCallback_23;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginAcceptReceiveCallback
IOAsyncCallback_t705871752 * ___BeginAcceptReceiveCallback_24;
// System.AsyncCallback System.Net.Sockets.Socket::ConnectAsyncCallback
AsyncCallback_t3962456242 * ___ConnectAsyncCallback_25;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginConnectCallback
IOAsyncCallback_t705871752 * ___BeginConnectCallback_26;
// System.AsyncCallback System.Net.Sockets.Socket::DisconnectAsyncCallback
AsyncCallback_t3962456242 * ___DisconnectAsyncCallback_27;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginDisconnectCallback
IOAsyncCallback_t705871752 * ___BeginDisconnectCallback_28;
// System.AsyncCallback System.Net.Sockets.Socket::ReceiveAsyncCallback
AsyncCallback_t3962456242 * ___ReceiveAsyncCallback_29;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveCallback
IOAsyncCallback_t705871752 * ___BeginReceiveCallback_30;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveGenericCallback
IOAsyncCallback_t705871752 * ___BeginReceiveGenericCallback_31;
// System.AsyncCallback System.Net.Sockets.Socket::ReceiveFromAsyncCallback
AsyncCallback_t3962456242 * ___ReceiveFromAsyncCallback_32;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveFromCallback
IOAsyncCallback_t705871752 * ___BeginReceiveFromCallback_33;
// System.AsyncCallback System.Net.Sockets.Socket::SendAsyncCallback
AsyncCallback_t3962456242 * ___SendAsyncCallback_34;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginSendGenericCallback
IOAsyncCallback_t705871752 * ___BeginSendGenericCallback_35;
// System.AsyncCallback System.Net.Sockets.Socket::SendToAsyncCallback
AsyncCallback_t3962456242 * ___SendToAsyncCallback_36;
public:
inline static int32_t get_offset_of_s_InternalSyncObject_0() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_InternalSyncObject_0)); }
inline RuntimeObject * get_s_InternalSyncObject_0() const { return ___s_InternalSyncObject_0; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_0() { return &___s_InternalSyncObject_0; }
inline void set_s_InternalSyncObject_0(RuntimeObject * value)
{
___s_InternalSyncObject_0 = value;
Il2CppCodeGenWriteBarrier((&___s_InternalSyncObject_0), value);
}
inline static int32_t get_offset_of_s_SupportsIPv4_1() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_SupportsIPv4_1)); }
inline bool get_s_SupportsIPv4_1() const { return ___s_SupportsIPv4_1; }
inline bool* get_address_of_s_SupportsIPv4_1() { return &___s_SupportsIPv4_1; }
inline void set_s_SupportsIPv4_1(bool value)
{
___s_SupportsIPv4_1 = value;
}
inline static int32_t get_offset_of_s_SupportsIPv6_2() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_SupportsIPv6_2)); }
inline bool get_s_SupportsIPv6_2() const { return ___s_SupportsIPv6_2; }
inline bool* get_address_of_s_SupportsIPv6_2() { return &___s_SupportsIPv6_2; }
inline void set_s_SupportsIPv6_2(bool value)
{
___s_SupportsIPv6_2 = value;
}
inline static int32_t get_offset_of_s_OSSupportsIPv6_3() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_OSSupportsIPv6_3)); }
inline bool get_s_OSSupportsIPv6_3() const { return ___s_OSSupportsIPv6_3; }
inline bool* get_address_of_s_OSSupportsIPv6_3() { return &___s_OSSupportsIPv6_3; }
inline void set_s_OSSupportsIPv6_3(bool value)
{
___s_OSSupportsIPv6_3 = value;
}
inline static int32_t get_offset_of_s_Initialized_4() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_Initialized_4)); }
inline bool get_s_Initialized_4() const { return ___s_Initialized_4; }
inline bool* get_address_of_s_Initialized_4() { return &___s_Initialized_4; }
inline void set_s_Initialized_4(bool value)
{
___s_Initialized_4 = value;
}
inline static int32_t get_offset_of_s_LoggingEnabled_5() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___s_LoggingEnabled_5)); }
inline bool get_s_LoggingEnabled_5() const { return ___s_LoggingEnabled_5; }
inline bool* get_address_of_s_LoggingEnabled_5() { return &___s_LoggingEnabled_5; }
inline void set_s_LoggingEnabled_5(bool value)
{
___s_LoggingEnabled_5 = value;
}
inline static int32_t get_offset_of_AcceptAsyncCallback_22() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___AcceptAsyncCallback_22)); }
inline AsyncCallback_t3962456242 * get_AcceptAsyncCallback_22() const { return ___AcceptAsyncCallback_22; }
inline AsyncCallback_t3962456242 ** get_address_of_AcceptAsyncCallback_22() { return &___AcceptAsyncCallback_22; }
inline void set_AcceptAsyncCallback_22(AsyncCallback_t3962456242 * value)
{
___AcceptAsyncCallback_22 = value;
Il2CppCodeGenWriteBarrier((&___AcceptAsyncCallback_22), value);
}
inline static int32_t get_offset_of_BeginAcceptCallback_23() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginAcceptCallback_23)); }
inline IOAsyncCallback_t705871752 * get_BeginAcceptCallback_23() const { return ___BeginAcceptCallback_23; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginAcceptCallback_23() { return &___BeginAcceptCallback_23; }
inline void set_BeginAcceptCallback_23(IOAsyncCallback_t705871752 * value)
{
___BeginAcceptCallback_23 = value;
Il2CppCodeGenWriteBarrier((&___BeginAcceptCallback_23), value);
}
inline static int32_t get_offset_of_BeginAcceptReceiveCallback_24() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginAcceptReceiveCallback_24)); }
inline IOAsyncCallback_t705871752 * get_BeginAcceptReceiveCallback_24() const { return ___BeginAcceptReceiveCallback_24; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginAcceptReceiveCallback_24() { return &___BeginAcceptReceiveCallback_24; }
inline void set_BeginAcceptReceiveCallback_24(IOAsyncCallback_t705871752 * value)
{
___BeginAcceptReceiveCallback_24 = value;
Il2CppCodeGenWriteBarrier((&___BeginAcceptReceiveCallback_24), value);
}
inline static int32_t get_offset_of_ConnectAsyncCallback_25() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___ConnectAsyncCallback_25)); }
inline AsyncCallback_t3962456242 * get_ConnectAsyncCallback_25() const { return ___ConnectAsyncCallback_25; }
inline AsyncCallback_t3962456242 ** get_address_of_ConnectAsyncCallback_25() { return &___ConnectAsyncCallback_25; }
inline void set_ConnectAsyncCallback_25(AsyncCallback_t3962456242 * value)
{
___ConnectAsyncCallback_25 = value;
Il2CppCodeGenWriteBarrier((&___ConnectAsyncCallback_25), value);
}
inline static int32_t get_offset_of_BeginConnectCallback_26() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginConnectCallback_26)); }
inline IOAsyncCallback_t705871752 * get_BeginConnectCallback_26() const { return ___BeginConnectCallback_26; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginConnectCallback_26() { return &___BeginConnectCallback_26; }
inline void set_BeginConnectCallback_26(IOAsyncCallback_t705871752 * value)
{
___BeginConnectCallback_26 = value;
Il2CppCodeGenWriteBarrier((&___BeginConnectCallback_26), value);
}
inline static int32_t get_offset_of_DisconnectAsyncCallback_27() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___DisconnectAsyncCallback_27)); }
inline AsyncCallback_t3962456242 * get_DisconnectAsyncCallback_27() const { return ___DisconnectAsyncCallback_27; }
inline AsyncCallback_t3962456242 ** get_address_of_DisconnectAsyncCallback_27() { return &___DisconnectAsyncCallback_27; }
inline void set_DisconnectAsyncCallback_27(AsyncCallback_t3962456242 * value)
{
___DisconnectAsyncCallback_27 = value;
Il2CppCodeGenWriteBarrier((&___DisconnectAsyncCallback_27), value);
}
inline static int32_t get_offset_of_BeginDisconnectCallback_28() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginDisconnectCallback_28)); }
inline IOAsyncCallback_t705871752 * get_BeginDisconnectCallback_28() const { return ___BeginDisconnectCallback_28; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginDisconnectCallback_28() { return &___BeginDisconnectCallback_28; }
inline void set_BeginDisconnectCallback_28(IOAsyncCallback_t705871752 * value)
{
___BeginDisconnectCallback_28 = value;
Il2CppCodeGenWriteBarrier((&___BeginDisconnectCallback_28), value);
}
inline static int32_t get_offset_of_ReceiveAsyncCallback_29() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___ReceiveAsyncCallback_29)); }
inline AsyncCallback_t3962456242 * get_ReceiveAsyncCallback_29() const { return ___ReceiveAsyncCallback_29; }
inline AsyncCallback_t3962456242 ** get_address_of_ReceiveAsyncCallback_29() { return &___ReceiveAsyncCallback_29; }
inline void set_ReceiveAsyncCallback_29(AsyncCallback_t3962456242 * value)
{
___ReceiveAsyncCallback_29 = value;
Il2CppCodeGenWriteBarrier((&___ReceiveAsyncCallback_29), value);
}
inline static int32_t get_offset_of_BeginReceiveCallback_30() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginReceiveCallback_30)); }
inline IOAsyncCallback_t705871752 * get_BeginReceiveCallback_30() const { return ___BeginReceiveCallback_30; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginReceiveCallback_30() { return &___BeginReceiveCallback_30; }
inline void set_BeginReceiveCallback_30(IOAsyncCallback_t705871752 * value)
{
___BeginReceiveCallback_30 = value;
Il2CppCodeGenWriteBarrier((&___BeginReceiveCallback_30), value);
}
inline static int32_t get_offset_of_BeginReceiveGenericCallback_31() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginReceiveGenericCallback_31)); }
inline IOAsyncCallback_t705871752 * get_BeginReceiveGenericCallback_31() const { return ___BeginReceiveGenericCallback_31; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginReceiveGenericCallback_31() { return &___BeginReceiveGenericCallback_31; }
inline void set_BeginReceiveGenericCallback_31(IOAsyncCallback_t705871752 * value)
{
___BeginReceiveGenericCallback_31 = value;
Il2CppCodeGenWriteBarrier((&___BeginReceiveGenericCallback_31), value);
}
inline static int32_t get_offset_of_ReceiveFromAsyncCallback_32() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___ReceiveFromAsyncCallback_32)); }
inline AsyncCallback_t3962456242 * get_ReceiveFromAsyncCallback_32() const { return ___ReceiveFromAsyncCallback_32; }
inline AsyncCallback_t3962456242 ** get_address_of_ReceiveFromAsyncCallback_32() { return &___ReceiveFromAsyncCallback_32; }
inline void set_ReceiveFromAsyncCallback_32(AsyncCallback_t3962456242 * value)
{
___ReceiveFromAsyncCallback_32 = value;
Il2CppCodeGenWriteBarrier((&___ReceiveFromAsyncCallback_32), value);
}
inline static int32_t get_offset_of_BeginReceiveFromCallback_33() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginReceiveFromCallback_33)); }
inline IOAsyncCallback_t705871752 * get_BeginReceiveFromCallback_33() const { return ___BeginReceiveFromCallback_33; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginReceiveFromCallback_33() { return &___BeginReceiveFromCallback_33; }
inline void set_BeginReceiveFromCallback_33(IOAsyncCallback_t705871752 * value)
{
___BeginReceiveFromCallback_33 = value;
Il2CppCodeGenWriteBarrier((&___BeginReceiveFromCallback_33), value);
}
inline static int32_t get_offset_of_SendAsyncCallback_34() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___SendAsyncCallback_34)); }
inline AsyncCallback_t3962456242 * get_SendAsyncCallback_34() const { return ___SendAsyncCallback_34; }
inline AsyncCallback_t3962456242 ** get_address_of_SendAsyncCallback_34() { return &___SendAsyncCallback_34; }
inline void set_SendAsyncCallback_34(AsyncCallback_t3962456242 * value)
{
___SendAsyncCallback_34 = value;
Il2CppCodeGenWriteBarrier((&___SendAsyncCallback_34), value);
}
inline static int32_t get_offset_of_BeginSendGenericCallback_35() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___BeginSendGenericCallback_35)); }
inline IOAsyncCallback_t705871752 * get_BeginSendGenericCallback_35() const { return ___BeginSendGenericCallback_35; }
inline IOAsyncCallback_t705871752 ** get_address_of_BeginSendGenericCallback_35() { return &___BeginSendGenericCallback_35; }
inline void set_BeginSendGenericCallback_35(IOAsyncCallback_t705871752 * value)
{
___BeginSendGenericCallback_35 = value;
Il2CppCodeGenWriteBarrier((&___BeginSendGenericCallback_35), value);
}
inline static int32_t get_offset_of_SendToAsyncCallback_36() { return static_cast<int32_t>(offsetof(Socket_t1119025450_StaticFields, ___SendToAsyncCallback_36)); }
inline AsyncCallback_t3962456242 * get_SendToAsyncCallback_36() const { return ___SendToAsyncCallback_36; }
inline AsyncCallback_t3962456242 ** get_address_of_SendToAsyncCallback_36() { return &___SendToAsyncCallback_36; }
inline void set_SendToAsyncCallback_36(AsyncCallback_t3962456242 * value)
{
___SendToAsyncCallback_36 = value;
Il2CppCodeGenWriteBarrier((&___SendToAsyncCallback_36), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKET_T1119025450_H
#ifndef APPDOMAIN_T1571427825_H
#define APPDOMAIN_T1571427825_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.AppDomain
struct AppDomain_t1571427825 : public MarshalByRefObject_t2760389100
{
public:
// System.IntPtr System.AppDomain::_mono_app_domain
intptr_t ____mono_app_domain_1;
// System.Security.Policy.Evidence System.AppDomain::_evidence
Evidence_t2008144148 * ____evidence_6;
// System.Security.PermissionSet System.AppDomain::_granted
PermissionSet_t223948603 * ____granted_7;
// System.Security.Principal.PrincipalPolicy System.AppDomain::_principalPolicy
int32_t ____principalPolicy_8;
// System.AssemblyLoadEventHandler System.AppDomain::AssemblyLoad
AssemblyLoadEventHandler_t107971893 * ___AssemblyLoad_11;
// System.ResolveEventHandler System.AppDomain::AssemblyResolve
ResolveEventHandler_t2775508208 * ___AssemblyResolve_12;
// System.EventHandler System.AppDomain::DomainUnload
EventHandler_t1348719766 * ___DomainUnload_13;
// System.EventHandler System.AppDomain::ProcessExit
EventHandler_t1348719766 * ___ProcessExit_14;
// System.ResolveEventHandler System.AppDomain::ResourceResolve
ResolveEventHandler_t2775508208 * ___ResourceResolve_15;
// System.ResolveEventHandler System.AppDomain::TypeResolve
ResolveEventHandler_t2775508208 * ___TypeResolve_16;
// System.UnhandledExceptionEventHandler System.AppDomain::UnhandledException
UnhandledExceptionEventHandler_t3101989324 * ___UnhandledException_17;
// System.EventHandler`1<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs> System.AppDomain::FirstChanceException
EventHandler_1_t3529417624 * ___FirstChanceException_18;
// System.AppDomainManager System.AppDomain::_domain_manager
AppDomainManager_t1420869192 * ____domain_manager_19;
// System.ResolveEventHandler System.AppDomain::ReflectionOnlyAssemblyResolve
ResolveEventHandler_t2775508208 * ___ReflectionOnlyAssemblyResolve_20;
// System.ActivationContext System.AppDomain::_activation
ActivationContext_t976916018 * ____activation_21;
// System.ApplicationIdentity System.AppDomain::_applicationIdentity
ApplicationIdentity_t1917735356 * ____applicationIdentity_22;
// System.Collections.Generic.List`1<System.String> System.AppDomain::compatibility_switch
List_1_t3319525431 * ___compatibility_switch_23;
public:
inline static int32_t get_offset_of__mono_app_domain_1() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____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_t1571427825, ____evidence_6)); }
inline Evidence_t2008144148 * get__evidence_6() const { return ____evidence_6; }
inline Evidence_t2008144148 ** get_address_of__evidence_6() { return &____evidence_6; }
inline void set__evidence_6(Evidence_t2008144148 * value)
{
____evidence_6 = value;
Il2CppCodeGenWriteBarrier((&____evidence_6), value);
}
inline static int32_t get_offset_of__granted_7() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____granted_7)); }
inline PermissionSet_t223948603 * get__granted_7() const { return ____granted_7; }
inline PermissionSet_t223948603 ** get_address_of__granted_7() { return &____granted_7; }
inline void set__granted_7(PermissionSet_t223948603 * value)
{
____granted_7 = value;
Il2CppCodeGenWriteBarrier((&____granted_7), value);
}
inline static int32_t get_offset_of__principalPolicy_8() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____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_t1571427825, ___AssemblyLoad_11)); }
inline AssemblyLoadEventHandler_t107971893 * get_AssemblyLoad_11() const { return ___AssemblyLoad_11; }
inline AssemblyLoadEventHandler_t107971893 ** get_address_of_AssemblyLoad_11() { return &___AssemblyLoad_11; }
inline void set_AssemblyLoad_11(AssemblyLoadEventHandler_t107971893 * value)
{
___AssemblyLoad_11 = value;
Il2CppCodeGenWriteBarrier((&___AssemblyLoad_11), value);
}
inline static int32_t get_offset_of_AssemblyResolve_12() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___AssemblyResolve_12)); }
inline ResolveEventHandler_t2775508208 * get_AssemblyResolve_12() const { return ___AssemblyResolve_12; }
inline ResolveEventHandler_t2775508208 ** get_address_of_AssemblyResolve_12() { return &___AssemblyResolve_12; }
inline void set_AssemblyResolve_12(ResolveEventHandler_t2775508208 * value)
{
___AssemblyResolve_12 = value;
Il2CppCodeGenWriteBarrier((&___AssemblyResolve_12), value);
}
inline static int32_t get_offset_of_DomainUnload_13() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___DomainUnload_13)); }
inline EventHandler_t1348719766 * get_DomainUnload_13() const { return ___DomainUnload_13; }
inline EventHandler_t1348719766 ** get_address_of_DomainUnload_13() { return &___DomainUnload_13; }
inline void set_DomainUnload_13(EventHandler_t1348719766 * value)
{
___DomainUnload_13 = value;
Il2CppCodeGenWriteBarrier((&___DomainUnload_13), value);
}
inline static int32_t get_offset_of_ProcessExit_14() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___ProcessExit_14)); }
inline EventHandler_t1348719766 * get_ProcessExit_14() const { return ___ProcessExit_14; }
inline EventHandler_t1348719766 ** get_address_of_ProcessExit_14() { return &___ProcessExit_14; }
inline void set_ProcessExit_14(EventHandler_t1348719766 * value)
{
___ProcessExit_14 = value;
Il2CppCodeGenWriteBarrier((&___ProcessExit_14), value);
}
inline static int32_t get_offset_of_ResourceResolve_15() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___ResourceResolve_15)); }
inline ResolveEventHandler_t2775508208 * get_ResourceResolve_15() const { return ___ResourceResolve_15; }
inline ResolveEventHandler_t2775508208 ** get_address_of_ResourceResolve_15() { return &___ResourceResolve_15; }
inline void set_ResourceResolve_15(ResolveEventHandler_t2775508208 * value)
{
___ResourceResolve_15 = value;
Il2CppCodeGenWriteBarrier((&___ResourceResolve_15), value);
}
inline static int32_t get_offset_of_TypeResolve_16() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___TypeResolve_16)); }
inline ResolveEventHandler_t2775508208 * get_TypeResolve_16() const { return ___TypeResolve_16; }
inline ResolveEventHandler_t2775508208 ** get_address_of_TypeResolve_16() { return &___TypeResolve_16; }
inline void set_TypeResolve_16(ResolveEventHandler_t2775508208 * value)
{
___TypeResolve_16 = value;
Il2CppCodeGenWriteBarrier((&___TypeResolve_16), value);
}
inline static int32_t get_offset_of_UnhandledException_17() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___UnhandledException_17)); }
inline UnhandledExceptionEventHandler_t3101989324 * get_UnhandledException_17() const { return ___UnhandledException_17; }
inline UnhandledExceptionEventHandler_t3101989324 ** get_address_of_UnhandledException_17() { return &___UnhandledException_17; }
inline void set_UnhandledException_17(UnhandledExceptionEventHandler_t3101989324 * value)
{
___UnhandledException_17 = value;
Il2CppCodeGenWriteBarrier((&___UnhandledException_17), value);
}
inline static int32_t get_offset_of_FirstChanceException_18() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___FirstChanceException_18)); }
inline EventHandler_1_t3529417624 * get_FirstChanceException_18() const { return ___FirstChanceException_18; }
inline EventHandler_1_t3529417624 ** get_address_of_FirstChanceException_18() { return &___FirstChanceException_18; }
inline void set_FirstChanceException_18(EventHandler_1_t3529417624 * value)
{
___FirstChanceException_18 = value;
Il2CppCodeGenWriteBarrier((&___FirstChanceException_18), value);
}
inline static int32_t get_offset_of__domain_manager_19() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____domain_manager_19)); }
inline AppDomainManager_t1420869192 * get__domain_manager_19() const { return ____domain_manager_19; }
inline AppDomainManager_t1420869192 ** get_address_of__domain_manager_19() { return &____domain_manager_19; }
inline void set__domain_manager_19(AppDomainManager_t1420869192 * value)
{
____domain_manager_19 = value;
Il2CppCodeGenWriteBarrier((&____domain_manager_19), value);
}
inline static int32_t get_offset_of_ReflectionOnlyAssemblyResolve_20() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___ReflectionOnlyAssemblyResolve_20)); }
inline ResolveEventHandler_t2775508208 * get_ReflectionOnlyAssemblyResolve_20() const { return ___ReflectionOnlyAssemblyResolve_20; }
inline ResolveEventHandler_t2775508208 ** get_address_of_ReflectionOnlyAssemblyResolve_20() { return &___ReflectionOnlyAssemblyResolve_20; }
inline void set_ReflectionOnlyAssemblyResolve_20(ResolveEventHandler_t2775508208 * value)
{
___ReflectionOnlyAssemblyResolve_20 = value;
Il2CppCodeGenWriteBarrier((&___ReflectionOnlyAssemblyResolve_20), value);
}
inline static int32_t get_offset_of__activation_21() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____activation_21)); }
inline ActivationContext_t976916018 * get__activation_21() const { return ____activation_21; }
inline ActivationContext_t976916018 ** get_address_of__activation_21() { return &____activation_21; }
inline void set__activation_21(ActivationContext_t976916018 * value)
{
____activation_21 = value;
Il2CppCodeGenWriteBarrier((&____activation_21), value);
}
inline static int32_t get_offset_of__applicationIdentity_22() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ____applicationIdentity_22)); }
inline ApplicationIdentity_t1917735356 * get__applicationIdentity_22() const { return ____applicationIdentity_22; }
inline ApplicationIdentity_t1917735356 ** get_address_of__applicationIdentity_22() { return &____applicationIdentity_22; }
inline void set__applicationIdentity_22(ApplicationIdentity_t1917735356 * value)
{
____applicationIdentity_22 = value;
Il2CppCodeGenWriteBarrier((&____applicationIdentity_22), value);
}
inline static int32_t get_offset_of_compatibility_switch_23() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825, ___compatibility_switch_23)); }
inline List_1_t3319525431 * get_compatibility_switch_23() const { return ___compatibility_switch_23; }
inline List_1_t3319525431 ** get_address_of_compatibility_switch_23() { return &___compatibility_switch_23; }
inline void set_compatibility_switch_23(List_1_t3319525431 * value)
{
___compatibility_switch_23 = value;
Il2CppCodeGenWriteBarrier((&___compatibility_switch_23), value);
}
};
struct AppDomain_t1571427825_StaticFields
{
public:
// System.String System.AppDomain::_process_guid
String_t* ____process_guid_2;
// System.AppDomain System.AppDomain::default_domain
AppDomain_t1571427825 * ___default_domain_10;
public:
inline static int32_t get_offset_of__process_guid_2() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825_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((&____process_guid_2), value);
}
inline static int32_t get_offset_of_default_domain_10() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825_StaticFields, ___default_domain_10)); }
inline AppDomain_t1571427825 * get_default_domain_10() const { return ___default_domain_10; }
inline AppDomain_t1571427825 ** get_address_of_default_domain_10() { return &___default_domain_10; }
inline void set_default_domain_10(AppDomain_t1571427825 * value)
{
___default_domain_10 = value;
Il2CppCodeGenWriteBarrier((&___default_domain_10), value);
}
};
struct AppDomain_t1571427825_ThreadStaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::type_resolve_in_progress
Dictionary_2_t2865362463 * ___type_resolve_in_progress_3;
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::assembly_resolve_in_progress
Dictionary_2_t2865362463 * ___assembly_resolve_in_progress_4;
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::assembly_resolve_in_progress_refonly
Dictionary_2_t2865362463 * ___assembly_resolve_in_progress_refonly_5;
// System.Security.Principal.IPrincipal 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_t1571427825_ThreadStaticFields, ___type_resolve_in_progress_3)); }
inline Dictionary_2_t2865362463 * get_type_resolve_in_progress_3() const { return ___type_resolve_in_progress_3; }
inline Dictionary_2_t2865362463 ** get_address_of_type_resolve_in_progress_3() { return &___type_resolve_in_progress_3; }
inline void set_type_resolve_in_progress_3(Dictionary_2_t2865362463 * value)
{
___type_resolve_in_progress_3 = value;
Il2CppCodeGenWriteBarrier((&___type_resolve_in_progress_3), value);
}
inline static int32_t get_offset_of_assembly_resolve_in_progress_4() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825_ThreadStaticFields, ___assembly_resolve_in_progress_4)); }
inline Dictionary_2_t2865362463 * get_assembly_resolve_in_progress_4() const { return ___assembly_resolve_in_progress_4; }
inline Dictionary_2_t2865362463 ** get_address_of_assembly_resolve_in_progress_4() { return &___assembly_resolve_in_progress_4; }
inline void set_assembly_resolve_in_progress_4(Dictionary_2_t2865362463 * value)
{
___assembly_resolve_in_progress_4 = value;
Il2CppCodeGenWriteBarrier((&___assembly_resolve_in_progress_4), value);
}
inline static int32_t get_offset_of_assembly_resolve_in_progress_refonly_5() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825_ThreadStaticFields, ___assembly_resolve_in_progress_refonly_5)); }
inline Dictionary_2_t2865362463 * get_assembly_resolve_in_progress_refonly_5() const { return ___assembly_resolve_in_progress_refonly_5; }
inline Dictionary_2_t2865362463 ** 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_t2865362463 * value)
{
___assembly_resolve_in_progress_refonly_5 = value;
Il2CppCodeGenWriteBarrier((&___assembly_resolve_in_progress_refonly_5), value);
}
inline static int32_t get_offset_of__principal_9() { return static_cast<int32_t>(offsetof(AppDomain_t1571427825_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((&____principal_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.AppDomain
struct AppDomain_t1571427825_marshaled_pinvoke : public MarshalByRefObject_t2760389100_marshaled_pinvoke
{
intptr_t ____mono_app_domain_1;
Evidence_t2008144148 * ____evidence_6;
PermissionSet_t223948603 * ____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;
AppDomainManager_t1420869192 * ____domain_manager_19;
Il2CppMethodPointer ___ReflectionOnlyAssemblyResolve_20;
ActivationContext_t976916018 * ____activation_21;
ApplicationIdentity_t1917735356 * ____applicationIdentity_22;
List_1_t3319525431 * ___compatibility_switch_23;
};
// Native definition for COM marshalling of System.AppDomain
struct AppDomain_t1571427825_marshaled_com : public MarshalByRefObject_t2760389100_marshaled_com
{
intptr_t ____mono_app_domain_1;
Evidence_t2008144148 * ____evidence_6;
PermissionSet_t223948603 * ____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;
AppDomainManager_t1420869192 * ____domain_manager_19;
Il2CppMethodPointer ___ReflectionOnlyAssemblyResolve_20;
ActivationContext_t976916018 * ____activation_21;
ApplicationIdentity_t1917735356 * ____applicationIdentity_22;
List_1_t3319525431 * ___compatibility_switch_23;
};
#endif // APPDOMAIN_T1571427825_H
#ifndef CALLBACKCONTEXT_T314704580_H
#define CALLBACKCONTEXT_T314704580_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServerCertValidationCallback/CallbackContext
struct CallbackContext_t314704580 : public RuntimeObject
{
public:
// System.Object System.Net.ServerCertValidationCallback/CallbackContext::request
RuntimeObject * ___request_0;
// System.Security.Cryptography.X509Certificates.X509Certificate System.Net.ServerCertValidationCallback/CallbackContext::certificate
X509Certificate_t713131622 * ___certificate_1;
// System.Security.Cryptography.X509Certificates.X509Chain System.Net.ServerCertValidationCallback/CallbackContext::chain
X509Chain_t194917408 * ___chain_2;
// System.Net.Security.SslPolicyErrors System.Net.ServerCertValidationCallback/CallbackContext::sslPolicyErrors
int32_t ___sslPolicyErrors_3;
// System.Boolean System.Net.ServerCertValidationCallback/CallbackContext::result
bool ___result_4;
public:
inline static int32_t get_offset_of_request_0() { return static_cast<int32_t>(offsetof(CallbackContext_t314704580, ___request_0)); }
inline RuntimeObject * get_request_0() const { return ___request_0; }
inline RuntimeObject ** get_address_of_request_0() { return &___request_0; }
inline void set_request_0(RuntimeObject * value)
{
___request_0 = value;
Il2CppCodeGenWriteBarrier((&___request_0), value);
}
inline static int32_t get_offset_of_certificate_1() { return static_cast<int32_t>(offsetof(CallbackContext_t314704580, ___certificate_1)); }
inline X509Certificate_t713131622 * get_certificate_1() const { return ___certificate_1; }
inline X509Certificate_t713131622 ** get_address_of_certificate_1() { return &___certificate_1; }
inline void set_certificate_1(X509Certificate_t713131622 * value)
{
___certificate_1 = value;
Il2CppCodeGenWriteBarrier((&___certificate_1), value);
}
inline static int32_t get_offset_of_chain_2() { return static_cast<int32_t>(offsetof(CallbackContext_t314704580, ___chain_2)); }
inline X509Chain_t194917408 * get_chain_2() const { return ___chain_2; }
inline X509Chain_t194917408 ** get_address_of_chain_2() { return &___chain_2; }
inline void set_chain_2(X509Chain_t194917408 * value)
{
___chain_2 = value;
Il2CppCodeGenWriteBarrier((&___chain_2), value);
}
inline static int32_t get_offset_of_sslPolicyErrors_3() { return static_cast<int32_t>(offsetof(CallbackContext_t314704580, ___sslPolicyErrors_3)); }
inline int32_t get_sslPolicyErrors_3() const { return ___sslPolicyErrors_3; }
inline int32_t* get_address_of_sslPolicyErrors_3() { return &___sslPolicyErrors_3; }
inline void set_sslPolicyErrors_3(int32_t value)
{
___sslPolicyErrors_3 = value;
}
inline static int32_t get_offset_of_result_4() { return static_cast<int32_t>(offsetof(CallbackContext_t314704580, ___result_4)); }
inline bool get_result_4() const { return ___result_4; }
inline bool* get_address_of_result_4() { return &___result_4; }
inline void set_result_4(bool value)
{
___result_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CALLBACKCONTEXT_T314704580_H
#ifndef TIMERNODE_T2186732230_H
#define TIMERNODE_T2186732230_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/TimerNode
struct TimerNode_t2186732230 : public Timer_t4150598332
{
public:
// System.Net.TimerThread/TimerNode/TimerState System.Net.TimerThread/TimerNode::m_TimerState
int32_t ___m_TimerState_2;
// System.Net.TimerThread/Callback System.Net.TimerThread/TimerNode::m_Callback
Callback_t184293096 * ___m_Callback_3;
// System.Object System.Net.TimerThread/TimerNode::m_Context
RuntimeObject * ___m_Context_4;
// System.Object System.Net.TimerThread/TimerNode::m_QueueLock
RuntimeObject * ___m_QueueLock_5;
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::next
TimerNode_t2186732230 * ___next_6;
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::prev
TimerNode_t2186732230 * ___prev_7;
public:
inline static int32_t get_offset_of_m_TimerState_2() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___m_TimerState_2)); }
inline int32_t get_m_TimerState_2() const { return ___m_TimerState_2; }
inline int32_t* get_address_of_m_TimerState_2() { return &___m_TimerState_2; }
inline void set_m_TimerState_2(int32_t value)
{
___m_TimerState_2 = value;
}
inline static int32_t get_offset_of_m_Callback_3() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___m_Callback_3)); }
inline Callback_t184293096 * get_m_Callback_3() const { return ___m_Callback_3; }
inline Callback_t184293096 ** get_address_of_m_Callback_3() { return &___m_Callback_3; }
inline void set_m_Callback_3(Callback_t184293096 * value)
{
___m_Callback_3 = value;
Il2CppCodeGenWriteBarrier((&___m_Callback_3), value);
}
inline static int32_t get_offset_of_m_Context_4() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___m_Context_4)); }
inline RuntimeObject * get_m_Context_4() const { return ___m_Context_4; }
inline RuntimeObject ** get_address_of_m_Context_4() { return &___m_Context_4; }
inline void set_m_Context_4(RuntimeObject * value)
{
___m_Context_4 = value;
Il2CppCodeGenWriteBarrier((&___m_Context_4), value);
}
inline static int32_t get_offset_of_m_QueueLock_5() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___m_QueueLock_5)); }
inline RuntimeObject * get_m_QueueLock_5() const { return ___m_QueueLock_5; }
inline RuntimeObject ** get_address_of_m_QueueLock_5() { return &___m_QueueLock_5; }
inline void set_m_QueueLock_5(RuntimeObject * value)
{
___m_QueueLock_5 = value;
Il2CppCodeGenWriteBarrier((&___m_QueueLock_5), value);
}
inline static int32_t get_offset_of_next_6() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___next_6)); }
inline TimerNode_t2186732230 * get_next_6() const { return ___next_6; }
inline TimerNode_t2186732230 ** get_address_of_next_6() { return &___next_6; }
inline void set_next_6(TimerNode_t2186732230 * value)
{
___next_6 = value;
Il2CppCodeGenWriteBarrier((&___next_6), value);
}
inline static int32_t get_offset_of_prev_7() { return static_cast<int32_t>(offsetof(TimerNode_t2186732230, ___prev_7)); }
inline TimerNode_t2186732230 * get_prev_7() const { return ___prev_7; }
inline TimerNode_t2186732230 ** get_address_of_prev_7() { return &___prev_7; }
inline void set_prev_7(TimerNode_t2186732230 * value)
{
___prev_7 = value;
Il2CppCodeGenWriteBarrier((&___prev_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERNODE_T2186732230_H
#ifndef URI_T100236324_H
#define URI_T100236324_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Uri
struct Uri_t100236324 : public RuntimeObject
{
public:
// System.String System.Uri::m_String
String_t* ___m_String_13;
// System.String System.Uri::m_originalUnicodeString
String_t* ___m_originalUnicodeString_14;
// System.UriParser System.Uri::m_Syntax
UriParser_t3890150400 * ___m_Syntax_15;
// System.String System.Uri::m_DnsSafeHost
String_t* ___m_DnsSafeHost_16;
// System.Uri/Flags System.Uri::m_Flags
uint64_t ___m_Flags_17;
// System.Uri/UriInfo System.Uri::m_Info
UriInfo_t1092684687 * ___m_Info_18;
// System.Boolean System.Uri::m_iriParsing
bool ___m_iriParsing_19;
public:
inline static int32_t get_offset_of_m_String_13() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_String_13)); }
inline String_t* get_m_String_13() const { return ___m_String_13; }
inline String_t** get_address_of_m_String_13() { return &___m_String_13; }
inline void set_m_String_13(String_t* value)
{
___m_String_13 = value;
Il2CppCodeGenWriteBarrier((&___m_String_13), value);
}
inline static int32_t get_offset_of_m_originalUnicodeString_14() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_originalUnicodeString_14)); }
inline String_t* get_m_originalUnicodeString_14() const { return ___m_originalUnicodeString_14; }
inline String_t** get_address_of_m_originalUnicodeString_14() { return &___m_originalUnicodeString_14; }
inline void set_m_originalUnicodeString_14(String_t* value)
{
___m_originalUnicodeString_14 = value;
Il2CppCodeGenWriteBarrier((&___m_originalUnicodeString_14), value);
}
inline static int32_t get_offset_of_m_Syntax_15() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_Syntax_15)); }
inline UriParser_t3890150400 * get_m_Syntax_15() const { return ___m_Syntax_15; }
inline UriParser_t3890150400 ** get_address_of_m_Syntax_15() { return &___m_Syntax_15; }
inline void set_m_Syntax_15(UriParser_t3890150400 * value)
{
___m_Syntax_15 = value;
Il2CppCodeGenWriteBarrier((&___m_Syntax_15), value);
}
inline static int32_t get_offset_of_m_DnsSafeHost_16() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_DnsSafeHost_16)); }
inline String_t* get_m_DnsSafeHost_16() const { return ___m_DnsSafeHost_16; }
inline String_t** get_address_of_m_DnsSafeHost_16() { return &___m_DnsSafeHost_16; }
inline void set_m_DnsSafeHost_16(String_t* value)
{
___m_DnsSafeHost_16 = value;
Il2CppCodeGenWriteBarrier((&___m_DnsSafeHost_16), value);
}
inline static int32_t get_offset_of_m_Flags_17() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_Flags_17)); }
inline uint64_t get_m_Flags_17() const { return ___m_Flags_17; }
inline uint64_t* get_address_of_m_Flags_17() { return &___m_Flags_17; }
inline void set_m_Flags_17(uint64_t value)
{
___m_Flags_17 = value;
}
inline static int32_t get_offset_of_m_Info_18() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_Info_18)); }
inline UriInfo_t1092684687 * get_m_Info_18() const { return ___m_Info_18; }
inline UriInfo_t1092684687 ** get_address_of_m_Info_18() { return &___m_Info_18; }
inline void set_m_Info_18(UriInfo_t1092684687 * value)
{
___m_Info_18 = value;
Il2CppCodeGenWriteBarrier((&___m_Info_18), value);
}
inline static int32_t get_offset_of_m_iriParsing_19() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___m_iriParsing_19)); }
inline bool get_m_iriParsing_19() const { return ___m_iriParsing_19; }
inline bool* get_address_of_m_iriParsing_19() { return &___m_iriParsing_19; }
inline void set_m_iriParsing_19(bool value)
{
___m_iriParsing_19 = value;
}
};
struct Uri_t100236324_StaticFields
{
public:
// System.String System.Uri::UriSchemeFile
String_t* ___UriSchemeFile_0;
// System.String System.Uri::UriSchemeFtp
String_t* ___UriSchemeFtp_1;
// System.String System.Uri::UriSchemeGopher
String_t* ___UriSchemeGopher_2;
// System.String System.Uri::UriSchemeHttp
String_t* ___UriSchemeHttp_3;
// System.String System.Uri::UriSchemeHttps
String_t* ___UriSchemeHttps_4;
// System.String System.Uri::UriSchemeWs
String_t* ___UriSchemeWs_5;
// System.String System.Uri::UriSchemeWss
String_t* ___UriSchemeWss_6;
// System.String System.Uri::UriSchemeMailto
String_t* ___UriSchemeMailto_7;
// System.String System.Uri::UriSchemeNews
String_t* ___UriSchemeNews_8;
// System.String System.Uri::UriSchemeNntp
String_t* ___UriSchemeNntp_9;
// System.String System.Uri::UriSchemeNetTcp
String_t* ___UriSchemeNetTcp_10;
// System.String System.Uri::UriSchemeNetPipe
String_t* ___UriSchemeNetPipe_11;
// System.String System.Uri::SchemeDelimiter
String_t* ___SchemeDelimiter_12;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_ConfigInitialized
bool ___s_ConfigInitialized_20;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_ConfigInitializing
bool ___s_ConfigInitializing_21;
// System.UriIdnScope modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_IdnScope
int32_t ___s_IdnScope_22;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_IriParsing
bool ___s_IriParsing_23;
// System.Boolean System.Uri::useDotNetRelativeOrAbsolute
bool ___useDotNetRelativeOrAbsolute_24;
// System.Boolean System.Uri::IsWindowsFileSystem
bool ___IsWindowsFileSystem_25;
// System.Object System.Uri::s_initLock
RuntimeObject * ___s_initLock_26;
// System.Char[] System.Uri::HexLowerChars
CharU5BU5D_t3528271667* ___HexLowerChars_27;
// System.Char[] System.Uri::_WSchars
CharU5BU5D_t3528271667* ____WSchars_28;
public:
inline static int32_t get_offset_of_UriSchemeFile_0() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeFile_0)); }
inline String_t* get_UriSchemeFile_0() const { return ___UriSchemeFile_0; }
inline String_t** get_address_of_UriSchemeFile_0() { return &___UriSchemeFile_0; }
inline void set_UriSchemeFile_0(String_t* value)
{
___UriSchemeFile_0 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeFile_0), value);
}
inline static int32_t get_offset_of_UriSchemeFtp_1() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeFtp_1)); }
inline String_t* get_UriSchemeFtp_1() const { return ___UriSchemeFtp_1; }
inline String_t** get_address_of_UriSchemeFtp_1() { return &___UriSchemeFtp_1; }
inline void set_UriSchemeFtp_1(String_t* value)
{
___UriSchemeFtp_1 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeFtp_1), value);
}
inline static int32_t get_offset_of_UriSchemeGopher_2() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeGopher_2)); }
inline String_t* get_UriSchemeGopher_2() const { return ___UriSchemeGopher_2; }
inline String_t** get_address_of_UriSchemeGopher_2() { return &___UriSchemeGopher_2; }
inline void set_UriSchemeGopher_2(String_t* value)
{
___UriSchemeGopher_2 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeGopher_2), value);
}
inline static int32_t get_offset_of_UriSchemeHttp_3() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeHttp_3)); }
inline String_t* get_UriSchemeHttp_3() const { return ___UriSchemeHttp_3; }
inline String_t** get_address_of_UriSchemeHttp_3() { return &___UriSchemeHttp_3; }
inline void set_UriSchemeHttp_3(String_t* value)
{
___UriSchemeHttp_3 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeHttp_3), value);
}
inline static int32_t get_offset_of_UriSchemeHttps_4() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeHttps_4)); }
inline String_t* get_UriSchemeHttps_4() const { return ___UriSchemeHttps_4; }
inline String_t** get_address_of_UriSchemeHttps_4() { return &___UriSchemeHttps_4; }
inline void set_UriSchemeHttps_4(String_t* value)
{
___UriSchemeHttps_4 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeHttps_4), value);
}
inline static int32_t get_offset_of_UriSchemeWs_5() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeWs_5)); }
inline String_t* get_UriSchemeWs_5() const { return ___UriSchemeWs_5; }
inline String_t** get_address_of_UriSchemeWs_5() { return &___UriSchemeWs_5; }
inline void set_UriSchemeWs_5(String_t* value)
{
___UriSchemeWs_5 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeWs_5), value);
}
inline static int32_t get_offset_of_UriSchemeWss_6() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeWss_6)); }
inline String_t* get_UriSchemeWss_6() const { return ___UriSchemeWss_6; }
inline String_t** get_address_of_UriSchemeWss_6() { return &___UriSchemeWss_6; }
inline void set_UriSchemeWss_6(String_t* value)
{
___UriSchemeWss_6 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeWss_6), value);
}
inline static int32_t get_offset_of_UriSchemeMailto_7() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeMailto_7)); }
inline String_t* get_UriSchemeMailto_7() const { return ___UriSchemeMailto_7; }
inline String_t** get_address_of_UriSchemeMailto_7() { return &___UriSchemeMailto_7; }
inline void set_UriSchemeMailto_7(String_t* value)
{
___UriSchemeMailto_7 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeMailto_7), value);
}
inline static int32_t get_offset_of_UriSchemeNews_8() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNews_8)); }
inline String_t* get_UriSchemeNews_8() const { return ___UriSchemeNews_8; }
inline String_t** get_address_of_UriSchemeNews_8() { return &___UriSchemeNews_8; }
inline void set_UriSchemeNews_8(String_t* value)
{
___UriSchemeNews_8 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNews_8), value);
}
inline static int32_t get_offset_of_UriSchemeNntp_9() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNntp_9)); }
inline String_t* get_UriSchemeNntp_9() const { return ___UriSchemeNntp_9; }
inline String_t** get_address_of_UriSchemeNntp_9() { return &___UriSchemeNntp_9; }
inline void set_UriSchemeNntp_9(String_t* value)
{
___UriSchemeNntp_9 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNntp_9), value);
}
inline static int32_t get_offset_of_UriSchemeNetTcp_10() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNetTcp_10)); }
inline String_t* get_UriSchemeNetTcp_10() const { return ___UriSchemeNetTcp_10; }
inline String_t** get_address_of_UriSchemeNetTcp_10() { return &___UriSchemeNetTcp_10; }
inline void set_UriSchemeNetTcp_10(String_t* value)
{
___UriSchemeNetTcp_10 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNetTcp_10), value);
}
inline static int32_t get_offset_of_UriSchemeNetPipe_11() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNetPipe_11)); }
inline String_t* get_UriSchemeNetPipe_11() const { return ___UriSchemeNetPipe_11; }
inline String_t** get_address_of_UriSchemeNetPipe_11() { return &___UriSchemeNetPipe_11; }
inline void set_UriSchemeNetPipe_11(String_t* value)
{
___UriSchemeNetPipe_11 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNetPipe_11), value);
}
inline static int32_t get_offset_of_SchemeDelimiter_12() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___SchemeDelimiter_12)); }
inline String_t* get_SchemeDelimiter_12() const { return ___SchemeDelimiter_12; }
inline String_t** get_address_of_SchemeDelimiter_12() { return &___SchemeDelimiter_12; }
inline void set_SchemeDelimiter_12(String_t* value)
{
___SchemeDelimiter_12 = value;
Il2CppCodeGenWriteBarrier((&___SchemeDelimiter_12), value);
}
inline static int32_t get_offset_of_s_ConfigInitialized_20() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___s_ConfigInitialized_20)); }
inline bool get_s_ConfigInitialized_20() const { return ___s_ConfigInitialized_20; }
inline bool* get_address_of_s_ConfigInitialized_20() { return &___s_ConfigInitialized_20; }
inline void set_s_ConfigInitialized_20(bool value)
{
___s_ConfigInitialized_20 = value;
}
inline static int32_t get_offset_of_s_ConfigInitializing_21() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___s_ConfigInitializing_21)); }
inline bool get_s_ConfigInitializing_21() const { return ___s_ConfigInitializing_21; }
inline bool* get_address_of_s_ConfigInitializing_21() { return &___s_ConfigInitializing_21; }
inline void set_s_ConfigInitializing_21(bool value)
{
___s_ConfigInitializing_21 = value;
}
inline static int32_t get_offset_of_s_IdnScope_22() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___s_IdnScope_22)); }
inline int32_t get_s_IdnScope_22() const { return ___s_IdnScope_22; }
inline int32_t* get_address_of_s_IdnScope_22() { return &___s_IdnScope_22; }
inline void set_s_IdnScope_22(int32_t value)
{
___s_IdnScope_22 = value;
}
inline static int32_t get_offset_of_s_IriParsing_23() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___s_IriParsing_23)); }
inline bool get_s_IriParsing_23() const { return ___s_IriParsing_23; }
inline bool* get_address_of_s_IriParsing_23() { return &___s_IriParsing_23; }
inline void set_s_IriParsing_23(bool value)
{
___s_IriParsing_23 = value;
}
inline static int32_t get_offset_of_useDotNetRelativeOrAbsolute_24() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___useDotNetRelativeOrAbsolute_24)); }
inline bool get_useDotNetRelativeOrAbsolute_24() const { return ___useDotNetRelativeOrAbsolute_24; }
inline bool* get_address_of_useDotNetRelativeOrAbsolute_24() { return &___useDotNetRelativeOrAbsolute_24; }
inline void set_useDotNetRelativeOrAbsolute_24(bool value)
{
___useDotNetRelativeOrAbsolute_24 = value;
}
inline static int32_t get_offset_of_IsWindowsFileSystem_25() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___IsWindowsFileSystem_25)); }
inline bool get_IsWindowsFileSystem_25() const { return ___IsWindowsFileSystem_25; }
inline bool* get_address_of_IsWindowsFileSystem_25() { return &___IsWindowsFileSystem_25; }
inline void set_IsWindowsFileSystem_25(bool value)
{
___IsWindowsFileSystem_25 = value;
}
inline static int32_t get_offset_of_s_initLock_26() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___s_initLock_26)); }
inline RuntimeObject * get_s_initLock_26() const { return ___s_initLock_26; }
inline RuntimeObject ** get_address_of_s_initLock_26() { return &___s_initLock_26; }
inline void set_s_initLock_26(RuntimeObject * value)
{
___s_initLock_26 = value;
Il2CppCodeGenWriteBarrier((&___s_initLock_26), value);
}
inline static int32_t get_offset_of_HexLowerChars_27() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___HexLowerChars_27)); }
inline CharU5BU5D_t3528271667* get_HexLowerChars_27() const { return ___HexLowerChars_27; }
inline CharU5BU5D_t3528271667** get_address_of_HexLowerChars_27() { return &___HexLowerChars_27; }
inline void set_HexLowerChars_27(CharU5BU5D_t3528271667* value)
{
___HexLowerChars_27 = value;
Il2CppCodeGenWriteBarrier((&___HexLowerChars_27), value);
}
inline static int32_t get_offset_of__WSchars_28() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ____WSchars_28)); }
inline CharU5BU5D_t3528271667* get__WSchars_28() const { return ____WSchars_28; }
inline CharU5BU5D_t3528271667** get_address_of__WSchars_28() { return &____WSchars_28; }
inline void set__WSchars_28(CharU5BU5D_t3528271667* value)
{
____WSchars_28 = value;
Il2CppCodeGenWriteBarrier((&____WSchars_28), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // URI_T100236324_H
#ifndef SSLSTREAM_T2700741536_H
#define SSLSTREAM_T2700741536_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.SslStream
struct SslStream_t2700741536 : public AuthenticatedStream_t3415418016
{
public:
// Mono.Security.Interface.MonoTlsProvider System.Net.Security.SslStream::provider
MonoTlsProvider_t3152003291 * ___provider_6;
// Mono.Security.Interface.IMonoSslStream System.Net.Security.SslStream::impl
RuntimeObject* ___impl_7;
public:
inline static int32_t get_offset_of_provider_6() { return static_cast<int32_t>(offsetof(SslStream_t2700741536, ___provider_6)); }
inline MonoTlsProvider_t3152003291 * get_provider_6() const { return ___provider_6; }
inline MonoTlsProvider_t3152003291 ** get_address_of_provider_6() { return &___provider_6; }
inline void set_provider_6(MonoTlsProvider_t3152003291 * value)
{
___provider_6 = value;
Il2CppCodeGenWriteBarrier((&___provider_6), value);
}
inline static int32_t get_offset_of_impl_7() { return static_cast<int32_t>(offsetof(SslStream_t2700741536, ___impl_7)); }
inline RuntimeObject* get_impl_7() const { return ___impl_7; }
inline RuntimeObject** get_address_of_impl_7() { return &___impl_7; }
inline void set_impl_7(RuntimeObject* value)
{
___impl_7 = value;
Il2CppCodeGenWriteBarrier((&___impl_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLSTREAM_T2700741536_H
#ifndef SOCKETASYNCEVENTARGS_T4146203020_H
#define SOCKETASYNCEVENTARGS_T4146203020_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketAsyncEventArgs
struct SocketAsyncEventArgs_t4146203020 : public EventArgs_t3591816995
{
public:
// System.Boolean System.Net.Sockets.SocketAsyncEventArgs::disposed
bool ___disposed_1;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.SocketAsyncEventArgs::in_progress
int32_t ___in_progress_2;
// System.Net.EndPoint System.Net.Sockets.SocketAsyncEventArgs::remote_ep
EndPoint_t982345378 * ___remote_ep_3;
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncEventArgs::current_socket
Socket_t1119025450 * ___current_socket_4;
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncEventArgs::<AcceptSocket>k__BackingField
Socket_t1119025450 * ___U3CAcceptSocketU3Ek__BackingField_5;
// System.Int32 System.Net.Sockets.SocketAsyncEventArgs::<BytesTransferred>k__BackingField
int32_t ___U3CBytesTransferredU3Ek__BackingField_6;
// System.Net.Sockets.SocketError System.Net.Sockets.SocketAsyncEventArgs::<SocketError>k__BackingField
int32_t ___U3CSocketErrorU3Ek__BackingField_7;
// System.EventHandler`1<System.Net.Sockets.SocketAsyncEventArgs> System.Net.Sockets.SocketAsyncEventArgs::Completed
EventHandler_1_t2070362453 * ___Completed_8;
public:
inline static int32_t get_offset_of_disposed_1() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___disposed_1)); }
inline bool get_disposed_1() const { return ___disposed_1; }
inline bool* get_address_of_disposed_1() { return &___disposed_1; }
inline void set_disposed_1(bool value)
{
___disposed_1 = value;
}
inline static int32_t get_offset_of_in_progress_2() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___in_progress_2)); }
inline int32_t get_in_progress_2() const { return ___in_progress_2; }
inline int32_t* get_address_of_in_progress_2() { return &___in_progress_2; }
inline void set_in_progress_2(int32_t value)
{
___in_progress_2 = value;
}
inline static int32_t get_offset_of_remote_ep_3() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___remote_ep_3)); }
inline EndPoint_t982345378 * get_remote_ep_3() const { return ___remote_ep_3; }
inline EndPoint_t982345378 ** get_address_of_remote_ep_3() { return &___remote_ep_3; }
inline void set_remote_ep_3(EndPoint_t982345378 * value)
{
___remote_ep_3 = value;
Il2CppCodeGenWriteBarrier((&___remote_ep_3), value);
}
inline static int32_t get_offset_of_current_socket_4() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___current_socket_4)); }
inline Socket_t1119025450 * get_current_socket_4() const { return ___current_socket_4; }
inline Socket_t1119025450 ** get_address_of_current_socket_4() { return &___current_socket_4; }
inline void set_current_socket_4(Socket_t1119025450 * value)
{
___current_socket_4 = value;
Il2CppCodeGenWriteBarrier((&___current_socket_4), value);
}
inline static int32_t get_offset_of_U3CAcceptSocketU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___U3CAcceptSocketU3Ek__BackingField_5)); }
inline Socket_t1119025450 * get_U3CAcceptSocketU3Ek__BackingField_5() const { return ___U3CAcceptSocketU3Ek__BackingField_5; }
inline Socket_t1119025450 ** get_address_of_U3CAcceptSocketU3Ek__BackingField_5() { return &___U3CAcceptSocketU3Ek__BackingField_5; }
inline void set_U3CAcceptSocketU3Ek__BackingField_5(Socket_t1119025450 * value)
{
___U3CAcceptSocketU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((&___U3CAcceptSocketU3Ek__BackingField_5), value);
}
inline static int32_t get_offset_of_U3CBytesTransferredU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___U3CBytesTransferredU3Ek__BackingField_6)); }
inline int32_t get_U3CBytesTransferredU3Ek__BackingField_6() const { return ___U3CBytesTransferredU3Ek__BackingField_6; }
inline int32_t* get_address_of_U3CBytesTransferredU3Ek__BackingField_6() { return &___U3CBytesTransferredU3Ek__BackingField_6; }
inline void set_U3CBytesTransferredU3Ek__BackingField_6(int32_t value)
{
___U3CBytesTransferredU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CSocketErrorU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___U3CSocketErrorU3Ek__BackingField_7)); }
inline int32_t get_U3CSocketErrorU3Ek__BackingField_7() const { return ___U3CSocketErrorU3Ek__BackingField_7; }
inline int32_t* get_address_of_U3CSocketErrorU3Ek__BackingField_7() { return &___U3CSocketErrorU3Ek__BackingField_7; }
inline void set_U3CSocketErrorU3Ek__BackingField_7(int32_t value)
{
___U3CSocketErrorU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_Completed_8() { return static_cast<int32_t>(offsetof(SocketAsyncEventArgs_t4146203020, ___Completed_8)); }
inline EventHandler_1_t2070362453 * get_Completed_8() const { return ___Completed_8; }
inline EventHandler_1_t2070362453 ** get_address_of_Completed_8() { return &___Completed_8; }
inline void set_Completed_8(EventHandler_1_t2070362453 * value)
{
___Completed_8 = value;
Il2CppCodeGenWriteBarrier((&___Completed_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETASYNCEVENTARGS_T4146203020_H
#ifndef WEBREQUEST_T1939381076_H
#define WEBREQUEST_T1939381076_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebRequest
struct WebRequest_t1939381076 : public MarshalByRefObject_t2760389100
{
public:
// System.Net.Security.AuthenticationLevel System.Net.WebRequest::m_AuthenticationLevel
int32_t ___m_AuthenticationLevel_4;
// System.Security.Principal.TokenImpersonationLevel System.Net.WebRequest::m_ImpersonationLevel
int32_t ___m_ImpersonationLevel_5;
// System.Net.Cache.RequestCachePolicy System.Net.WebRequest::m_CachePolicy
RequestCachePolicy_t2923596909 * ___m_CachePolicy_6;
// System.Net.Cache.RequestCacheProtocol System.Net.WebRequest::m_CacheProtocol
RequestCacheProtocol_t3614465628 * ___m_CacheProtocol_7;
// System.Net.Cache.RequestCacheBinding System.Net.WebRequest::m_CacheBinding
RequestCacheBinding_t2614858269 * ___m_CacheBinding_8;
public:
inline static int32_t get_offset_of_m_AuthenticationLevel_4() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___m_AuthenticationLevel_4)); }
inline int32_t get_m_AuthenticationLevel_4() const { return ___m_AuthenticationLevel_4; }
inline int32_t* get_address_of_m_AuthenticationLevel_4() { return &___m_AuthenticationLevel_4; }
inline void set_m_AuthenticationLevel_4(int32_t value)
{
___m_AuthenticationLevel_4 = value;
}
inline static int32_t get_offset_of_m_ImpersonationLevel_5() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___m_ImpersonationLevel_5)); }
inline int32_t get_m_ImpersonationLevel_5() const { return ___m_ImpersonationLevel_5; }
inline int32_t* get_address_of_m_ImpersonationLevel_5() { return &___m_ImpersonationLevel_5; }
inline void set_m_ImpersonationLevel_5(int32_t value)
{
___m_ImpersonationLevel_5 = value;
}
inline static int32_t get_offset_of_m_CachePolicy_6() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___m_CachePolicy_6)); }
inline RequestCachePolicy_t2923596909 * get_m_CachePolicy_6() const { return ___m_CachePolicy_6; }
inline RequestCachePolicy_t2923596909 ** get_address_of_m_CachePolicy_6() { return &___m_CachePolicy_6; }
inline void set_m_CachePolicy_6(RequestCachePolicy_t2923596909 * value)
{
___m_CachePolicy_6 = value;
Il2CppCodeGenWriteBarrier((&___m_CachePolicy_6), value);
}
inline static int32_t get_offset_of_m_CacheProtocol_7() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___m_CacheProtocol_7)); }
inline RequestCacheProtocol_t3614465628 * get_m_CacheProtocol_7() const { return ___m_CacheProtocol_7; }
inline RequestCacheProtocol_t3614465628 ** get_address_of_m_CacheProtocol_7() { return &___m_CacheProtocol_7; }
inline void set_m_CacheProtocol_7(RequestCacheProtocol_t3614465628 * value)
{
___m_CacheProtocol_7 = value;
Il2CppCodeGenWriteBarrier((&___m_CacheProtocol_7), value);
}
inline static int32_t get_offset_of_m_CacheBinding_8() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___m_CacheBinding_8)); }
inline RequestCacheBinding_t2614858269 * get_m_CacheBinding_8() const { return ___m_CacheBinding_8; }
inline RequestCacheBinding_t2614858269 ** get_address_of_m_CacheBinding_8() { return &___m_CacheBinding_8; }
inline void set_m_CacheBinding_8(RequestCacheBinding_t2614858269 * value)
{
___m_CacheBinding_8 = value;
Il2CppCodeGenWriteBarrier((&___m_CacheBinding_8), value);
}
};
struct WebRequest_t1939381076_StaticFields
{
public:
// System.Collections.ArrayList modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.WebRequest::s_PrefixList
ArrayList_t2718874744 * ___s_PrefixList_1;
// System.Object System.Net.WebRequest::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_2;
// System.Net.TimerThread/Queue System.Net.WebRequest::s_DefaultTimerQueue
Queue_t4148454536 * ___s_DefaultTimerQueue_3;
// System.Net.WebRequest/DesignerWebRequestCreate System.Net.WebRequest::webRequestCreate
DesignerWebRequestCreate_t1334098074 * ___webRequestCreate_9;
// System.Net.IWebProxy modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.WebRequest::s_DefaultWebProxy
RuntimeObject* ___s_DefaultWebProxy_10;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.WebRequest::s_DefaultWebProxyInitialized
bool ___s_DefaultWebProxyInitialized_11;
public:
inline static int32_t get_offset_of_s_PrefixList_1() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___s_PrefixList_1)); }
inline ArrayList_t2718874744 * get_s_PrefixList_1() const { return ___s_PrefixList_1; }
inline ArrayList_t2718874744 ** get_address_of_s_PrefixList_1() { return &___s_PrefixList_1; }
inline void set_s_PrefixList_1(ArrayList_t2718874744 * value)
{
___s_PrefixList_1 = value;
Il2CppCodeGenWriteBarrier((&___s_PrefixList_1), value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_2() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___s_InternalSyncObject_2)); }
inline RuntimeObject * get_s_InternalSyncObject_2() const { return ___s_InternalSyncObject_2; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_2() { return &___s_InternalSyncObject_2; }
inline void set_s_InternalSyncObject_2(RuntimeObject * value)
{
___s_InternalSyncObject_2 = value;
Il2CppCodeGenWriteBarrier((&___s_InternalSyncObject_2), value);
}
inline static int32_t get_offset_of_s_DefaultTimerQueue_3() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___s_DefaultTimerQueue_3)); }
inline Queue_t4148454536 * get_s_DefaultTimerQueue_3() const { return ___s_DefaultTimerQueue_3; }
inline Queue_t4148454536 ** get_address_of_s_DefaultTimerQueue_3() { return &___s_DefaultTimerQueue_3; }
inline void set_s_DefaultTimerQueue_3(Queue_t4148454536 * value)
{
___s_DefaultTimerQueue_3 = value;
Il2CppCodeGenWriteBarrier((&___s_DefaultTimerQueue_3), value);
}
inline static int32_t get_offset_of_webRequestCreate_9() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___webRequestCreate_9)); }
inline DesignerWebRequestCreate_t1334098074 * get_webRequestCreate_9() const { return ___webRequestCreate_9; }
inline DesignerWebRequestCreate_t1334098074 ** get_address_of_webRequestCreate_9() { return &___webRequestCreate_9; }
inline void set_webRequestCreate_9(DesignerWebRequestCreate_t1334098074 * value)
{
___webRequestCreate_9 = value;
Il2CppCodeGenWriteBarrier((&___webRequestCreate_9), value);
}
inline static int32_t get_offset_of_s_DefaultWebProxy_10() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___s_DefaultWebProxy_10)); }
inline RuntimeObject* get_s_DefaultWebProxy_10() const { return ___s_DefaultWebProxy_10; }
inline RuntimeObject** get_address_of_s_DefaultWebProxy_10() { return &___s_DefaultWebProxy_10; }
inline void set_s_DefaultWebProxy_10(RuntimeObject* value)
{
___s_DefaultWebProxy_10 = value;
Il2CppCodeGenWriteBarrier((&___s_DefaultWebProxy_10), value);
}
inline static int32_t get_offset_of_s_DefaultWebProxyInitialized_11() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___s_DefaultWebProxyInitialized_11)); }
inline bool get_s_DefaultWebProxyInitialized_11() const { return ___s_DefaultWebProxyInitialized_11; }
inline bool* get_address_of_s_DefaultWebProxyInitialized_11() { return &___s_DefaultWebProxyInitialized_11; }
inline void set_s_DefaultWebProxyInitialized_11(bool value)
{
___s_DefaultWebProxyInitialized_11 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBREQUEST_T1939381076_H
#ifndef WIN32EXCEPTION_T3234146298_H
#define WIN32EXCEPTION_T3234146298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ComponentModel.Win32Exception
struct Win32Exception_t3234146298 : public ExternalException_t3544951457
{
public:
// System.Int32 System.ComponentModel.Win32Exception::nativeErrorCode
int32_t ___nativeErrorCode_17;
public:
inline static int32_t get_offset_of_nativeErrorCode_17() { return static_cast<int32_t>(offsetof(Win32Exception_t3234146298, ___nativeErrorCode_17)); }
inline int32_t get_nativeErrorCode_17() const { return ___nativeErrorCode_17; }
inline int32_t* get_address_of_nativeErrorCode_17() { return &___nativeErrorCode_17; }
inline void set_nativeErrorCode_17(int32_t value)
{
___nativeErrorCode_17 = value;
}
};
struct Win32Exception_t3234146298_StaticFields
{
public:
// System.Boolean System.ComponentModel.Win32Exception::s_ErrorMessagesInitialized
bool ___s_ErrorMessagesInitialized_18;
// System.Collections.Generic.Dictionary`2<System.Int32,System.String> System.ComponentModel.Win32Exception::s_ErrorMessage
Dictionary_2_t736164020 * ___s_ErrorMessage_19;
public:
inline static int32_t get_offset_of_s_ErrorMessagesInitialized_18() { return static_cast<int32_t>(offsetof(Win32Exception_t3234146298_StaticFields, ___s_ErrorMessagesInitialized_18)); }
inline bool get_s_ErrorMessagesInitialized_18() const { return ___s_ErrorMessagesInitialized_18; }
inline bool* get_address_of_s_ErrorMessagesInitialized_18() { return &___s_ErrorMessagesInitialized_18; }
inline void set_s_ErrorMessagesInitialized_18(bool value)
{
___s_ErrorMessagesInitialized_18 = value;
}
inline static int32_t get_offset_of_s_ErrorMessage_19() { return static_cast<int32_t>(offsetof(Win32Exception_t3234146298_StaticFields, ___s_ErrorMessage_19)); }
inline Dictionary_2_t736164020 * get_s_ErrorMessage_19() const { return ___s_ErrorMessage_19; }
inline Dictionary_2_t736164020 ** get_address_of_s_ErrorMessage_19() { return &___s_ErrorMessage_19; }
inline void set_s_ErrorMessage_19(Dictionary_2_t736164020 * value)
{
___s_ErrorMessage_19 = value;
Il2CppCodeGenWriteBarrier((&___s_ErrorMessage_19), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32EXCEPTION_T3234146298_H
#ifndef SERVICEPOINTMANAGER_T170559685_H
#define SERVICEPOINTMANAGER_T170559685_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServicePointManager
struct ServicePointManager_t170559685 : public RuntimeObject
{
public:
public:
};
struct ServicePointManager_t170559685_StaticFields
{
public:
// System.Collections.Specialized.HybridDictionary System.Net.ServicePointManager::servicePoints
HybridDictionary_t4070033136 * ___servicePoints_0;
// System.Net.ICertificatePolicy System.Net.ServicePointManager::policy
RuntimeObject* ___policy_1;
// System.Int32 System.Net.ServicePointManager::defaultConnectionLimit
int32_t ___defaultConnectionLimit_2;
// System.Int32 System.Net.ServicePointManager::maxServicePointIdleTime
int32_t ___maxServicePointIdleTime_3;
// System.Int32 System.Net.ServicePointManager::maxServicePoints
int32_t ___maxServicePoints_4;
// System.Int32 System.Net.ServicePointManager::dnsRefreshTimeout
int32_t ___dnsRefreshTimeout_5;
// System.Boolean System.Net.ServicePointManager::_checkCRL
bool ____checkCRL_6;
// System.Net.SecurityProtocolType System.Net.ServicePointManager::_securityProtocol
int32_t ____securityProtocol_7;
// System.Boolean System.Net.ServicePointManager::expectContinue
bool ___expectContinue_8;
// System.Boolean System.Net.ServicePointManager::useNagle
bool ___useNagle_9;
// System.Net.ServerCertValidationCallback System.Net.ServicePointManager::server_cert_cb
ServerCertValidationCallback_t1488468298 * ___server_cert_cb_10;
// System.Boolean System.Net.ServicePointManager::tcp_keepalive
bool ___tcp_keepalive_11;
// System.Int32 System.Net.ServicePointManager::tcp_keepalive_time
int32_t ___tcp_keepalive_time_12;
// System.Int32 System.Net.ServicePointManager::tcp_keepalive_interval
int32_t ___tcp_keepalive_interval_13;
// System.Net.Configuration.ConnectionManagementData System.Net.ServicePointManager::manager
ConnectionManagementData_t2003128658 * ___manager_14;
public:
inline static int32_t get_offset_of_servicePoints_0() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___servicePoints_0)); }
inline HybridDictionary_t4070033136 * get_servicePoints_0() const { return ___servicePoints_0; }
inline HybridDictionary_t4070033136 ** get_address_of_servicePoints_0() { return &___servicePoints_0; }
inline void set_servicePoints_0(HybridDictionary_t4070033136 * value)
{
___servicePoints_0 = value;
Il2CppCodeGenWriteBarrier((&___servicePoints_0), value);
}
inline static int32_t get_offset_of_policy_1() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___policy_1)); }
inline RuntimeObject* get_policy_1() const { return ___policy_1; }
inline RuntimeObject** get_address_of_policy_1() { return &___policy_1; }
inline void set_policy_1(RuntimeObject* value)
{
___policy_1 = value;
Il2CppCodeGenWriteBarrier((&___policy_1), value);
}
inline static int32_t get_offset_of_defaultConnectionLimit_2() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___defaultConnectionLimit_2)); }
inline int32_t get_defaultConnectionLimit_2() const { return ___defaultConnectionLimit_2; }
inline int32_t* get_address_of_defaultConnectionLimit_2() { return &___defaultConnectionLimit_2; }
inline void set_defaultConnectionLimit_2(int32_t value)
{
___defaultConnectionLimit_2 = value;
}
inline static int32_t get_offset_of_maxServicePointIdleTime_3() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___maxServicePointIdleTime_3)); }
inline int32_t get_maxServicePointIdleTime_3() const { return ___maxServicePointIdleTime_3; }
inline int32_t* get_address_of_maxServicePointIdleTime_3() { return &___maxServicePointIdleTime_3; }
inline void set_maxServicePointIdleTime_3(int32_t value)
{
___maxServicePointIdleTime_3 = value;
}
inline static int32_t get_offset_of_maxServicePoints_4() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___maxServicePoints_4)); }
inline int32_t get_maxServicePoints_4() const { return ___maxServicePoints_4; }
inline int32_t* get_address_of_maxServicePoints_4() { return &___maxServicePoints_4; }
inline void set_maxServicePoints_4(int32_t value)
{
___maxServicePoints_4 = value;
}
inline static int32_t get_offset_of_dnsRefreshTimeout_5() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___dnsRefreshTimeout_5)); }
inline int32_t get_dnsRefreshTimeout_5() const { return ___dnsRefreshTimeout_5; }
inline int32_t* get_address_of_dnsRefreshTimeout_5() { return &___dnsRefreshTimeout_5; }
inline void set_dnsRefreshTimeout_5(int32_t value)
{
___dnsRefreshTimeout_5 = value;
}
inline static int32_t get_offset_of__checkCRL_6() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ____checkCRL_6)); }
inline bool get__checkCRL_6() const { return ____checkCRL_6; }
inline bool* get_address_of__checkCRL_6() { return &____checkCRL_6; }
inline void set__checkCRL_6(bool value)
{
____checkCRL_6 = value;
}
inline static int32_t get_offset_of__securityProtocol_7() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ____securityProtocol_7)); }
inline int32_t get__securityProtocol_7() const { return ____securityProtocol_7; }
inline int32_t* get_address_of__securityProtocol_7() { return &____securityProtocol_7; }
inline void set__securityProtocol_7(int32_t value)
{
____securityProtocol_7 = value;
}
inline static int32_t get_offset_of_expectContinue_8() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___expectContinue_8)); }
inline bool get_expectContinue_8() const { return ___expectContinue_8; }
inline bool* get_address_of_expectContinue_8() { return &___expectContinue_8; }
inline void set_expectContinue_8(bool value)
{
___expectContinue_8 = value;
}
inline static int32_t get_offset_of_useNagle_9() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___useNagle_9)); }
inline bool get_useNagle_9() const { return ___useNagle_9; }
inline bool* get_address_of_useNagle_9() { return &___useNagle_9; }
inline void set_useNagle_9(bool value)
{
___useNagle_9 = value;
}
inline static int32_t get_offset_of_server_cert_cb_10() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___server_cert_cb_10)); }
inline ServerCertValidationCallback_t1488468298 * get_server_cert_cb_10() const { return ___server_cert_cb_10; }
inline ServerCertValidationCallback_t1488468298 ** get_address_of_server_cert_cb_10() { return &___server_cert_cb_10; }
inline void set_server_cert_cb_10(ServerCertValidationCallback_t1488468298 * value)
{
___server_cert_cb_10 = value;
Il2CppCodeGenWriteBarrier((&___server_cert_cb_10), value);
}
inline static int32_t get_offset_of_tcp_keepalive_11() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___tcp_keepalive_11)); }
inline bool get_tcp_keepalive_11() const { return ___tcp_keepalive_11; }
inline bool* get_address_of_tcp_keepalive_11() { return &___tcp_keepalive_11; }
inline void set_tcp_keepalive_11(bool value)
{
___tcp_keepalive_11 = value;
}
inline static int32_t get_offset_of_tcp_keepalive_time_12() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___tcp_keepalive_time_12)); }
inline int32_t get_tcp_keepalive_time_12() const { return ___tcp_keepalive_time_12; }
inline int32_t* get_address_of_tcp_keepalive_time_12() { return &___tcp_keepalive_time_12; }
inline void set_tcp_keepalive_time_12(int32_t value)
{
___tcp_keepalive_time_12 = value;
}
inline static int32_t get_offset_of_tcp_keepalive_interval_13() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___tcp_keepalive_interval_13)); }
inline int32_t get_tcp_keepalive_interval_13() const { return ___tcp_keepalive_interval_13; }
inline int32_t* get_address_of_tcp_keepalive_interval_13() { return &___tcp_keepalive_interval_13; }
inline void set_tcp_keepalive_interval_13(int32_t value)
{
___tcp_keepalive_interval_13 = value;
}
inline static int32_t get_offset_of_manager_14() { return static_cast<int32_t>(offsetof(ServicePointManager_t170559685_StaticFields, ___manager_14)); }
inline ConnectionManagementData_t2003128658 * get_manager_14() const { return ___manager_14; }
inline ConnectionManagementData_t2003128658 ** get_address_of_manager_14() { return &___manager_14; }
inline void set_manager_14(ConnectionManagementData_t2003128658 * value)
{
___manager_14 = value;
Il2CppCodeGenWriteBarrier((&___manager_14), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVICEPOINTMANAGER_T170559685_H
#ifndef TASKFACTORY_T2660013028_H
#define TASKFACTORY_T2660013028_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.Tasks.TaskFactory
struct TaskFactory_t2660013028 : public RuntimeObject
{
public:
// System.Threading.CancellationToken System.Threading.Tasks.TaskFactory::m_defaultCancellationToken
CancellationToken_t784455623 ___m_defaultCancellationToken_0;
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskFactory::m_defaultScheduler
TaskScheduler_t1196198384 * ___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_t2660013028, ___m_defaultCancellationToken_0)); }
inline CancellationToken_t784455623 get_m_defaultCancellationToken_0() const { return ___m_defaultCancellationToken_0; }
inline CancellationToken_t784455623 * get_address_of_m_defaultCancellationToken_0() { return &___m_defaultCancellationToken_0; }
inline void set_m_defaultCancellationToken_0(CancellationToken_t784455623 value)
{
___m_defaultCancellationToken_0 = value;
}
inline static int32_t get_offset_of_m_defaultScheduler_1() { return static_cast<int32_t>(offsetof(TaskFactory_t2660013028, ___m_defaultScheduler_1)); }
inline TaskScheduler_t1196198384 * get_m_defaultScheduler_1() const { return ___m_defaultScheduler_1; }
inline TaskScheduler_t1196198384 ** get_address_of_m_defaultScheduler_1() { return &___m_defaultScheduler_1; }
inline void set_m_defaultScheduler_1(TaskScheduler_t1196198384 * value)
{
___m_defaultScheduler_1 = value;
Il2CppCodeGenWriteBarrier((&___m_defaultScheduler_1), value);
}
inline static int32_t get_offset_of_m_defaultCreationOptions_2() { return static_cast<int32_t>(offsetof(TaskFactory_t2660013028, ___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_t2660013028, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TASKFACTORY_T2660013028_H
#ifndef MONOCHUNKSTREAM_T2034754733_H
#define MONOCHUNKSTREAM_T2034754733_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.MonoChunkStream
struct MonoChunkStream_t2034754733 : public RuntimeObject
{
public:
// System.Net.WebHeaderCollection System.Net.MonoChunkStream::headers
WebHeaderCollection_t1942268960 * ___headers_0;
// System.Int32 System.Net.MonoChunkStream::chunkSize
int32_t ___chunkSize_1;
// System.Int32 System.Net.MonoChunkStream::chunkRead
int32_t ___chunkRead_2;
// System.Int32 System.Net.MonoChunkStream::totalWritten
int32_t ___totalWritten_3;
// System.Net.MonoChunkStream/State System.Net.MonoChunkStream::state
int32_t ___state_4;
// System.Text.StringBuilder System.Net.MonoChunkStream::saved
StringBuilder_t * ___saved_5;
// System.Boolean System.Net.MonoChunkStream::sawCR
bool ___sawCR_6;
// System.Boolean System.Net.MonoChunkStream::gotit
bool ___gotit_7;
// System.Int32 System.Net.MonoChunkStream::trailerState
int32_t ___trailerState_8;
// System.Collections.ArrayList System.Net.MonoChunkStream::chunks
ArrayList_t2718874744 * ___chunks_9;
public:
inline static int32_t get_offset_of_headers_0() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___headers_0)); }
inline WebHeaderCollection_t1942268960 * get_headers_0() const { return ___headers_0; }
inline WebHeaderCollection_t1942268960 ** get_address_of_headers_0() { return &___headers_0; }
inline void set_headers_0(WebHeaderCollection_t1942268960 * value)
{
___headers_0 = value;
Il2CppCodeGenWriteBarrier((&___headers_0), value);
}
inline static int32_t get_offset_of_chunkSize_1() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___chunkSize_1)); }
inline int32_t get_chunkSize_1() const { return ___chunkSize_1; }
inline int32_t* get_address_of_chunkSize_1() { return &___chunkSize_1; }
inline void set_chunkSize_1(int32_t value)
{
___chunkSize_1 = value;
}
inline static int32_t get_offset_of_chunkRead_2() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___chunkRead_2)); }
inline int32_t get_chunkRead_2() const { return ___chunkRead_2; }
inline int32_t* get_address_of_chunkRead_2() { return &___chunkRead_2; }
inline void set_chunkRead_2(int32_t value)
{
___chunkRead_2 = value;
}
inline static int32_t get_offset_of_totalWritten_3() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___totalWritten_3)); }
inline int32_t get_totalWritten_3() const { return ___totalWritten_3; }
inline int32_t* get_address_of_totalWritten_3() { return &___totalWritten_3; }
inline void set_totalWritten_3(int32_t value)
{
___totalWritten_3 = value;
}
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___state_4)); }
inline int32_t get_state_4() const { return ___state_4; }
inline int32_t* get_address_of_state_4() { return &___state_4; }
inline void set_state_4(int32_t value)
{
___state_4 = value;
}
inline static int32_t get_offset_of_saved_5() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___saved_5)); }
inline StringBuilder_t * get_saved_5() const { return ___saved_5; }
inline StringBuilder_t ** get_address_of_saved_5() { return &___saved_5; }
inline void set_saved_5(StringBuilder_t * value)
{
___saved_5 = value;
Il2CppCodeGenWriteBarrier((&___saved_5), value);
}
inline static int32_t get_offset_of_sawCR_6() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___sawCR_6)); }
inline bool get_sawCR_6() const { return ___sawCR_6; }
inline bool* get_address_of_sawCR_6() { return &___sawCR_6; }
inline void set_sawCR_6(bool value)
{
___sawCR_6 = value;
}
inline static int32_t get_offset_of_gotit_7() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___gotit_7)); }
inline bool get_gotit_7() const { return ___gotit_7; }
inline bool* get_address_of_gotit_7() { return &___gotit_7; }
inline void set_gotit_7(bool value)
{
___gotit_7 = value;
}
inline static int32_t get_offset_of_trailerState_8() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___trailerState_8)); }
inline int32_t get_trailerState_8() const { return ___trailerState_8; }
inline int32_t* get_address_of_trailerState_8() { return &___trailerState_8; }
inline void set_trailerState_8(int32_t value)
{
___trailerState_8 = value;
}
inline static int32_t get_offset_of_chunks_9() { return static_cast<int32_t>(offsetof(MonoChunkStream_t2034754733, ___chunks_9)); }
inline ArrayList_t2718874744 * get_chunks_9() const { return ___chunks_9; }
inline ArrayList_t2718874744 ** get_address_of_chunks_9() { return &___chunks_9; }
inline void set_chunks_9(ArrayList_t2718874744 * value)
{
___chunks_9 = value;
Il2CppCodeGenWriteBarrier((&___chunks_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOCHUNKSTREAM_T2034754733_H
#ifndef WEBHEADERCOLLECTION_T1942268960_H
#define WEBHEADERCOLLECTION_T1942268960_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebHeaderCollection
struct WebHeaderCollection_t1942268960 : public NameValueCollection_t407452768
{
public:
// System.String[] System.Net.WebHeaderCollection::m_CommonHeaders
StringU5BU5D_t1281789340* ___m_CommonHeaders_13;
// System.Int32 System.Net.WebHeaderCollection::m_NumCommonHeaders
int32_t ___m_NumCommonHeaders_14;
// System.Collections.Specialized.NameValueCollection System.Net.WebHeaderCollection::m_InnerCollection
NameValueCollection_t407452768 * ___m_InnerCollection_17;
// System.Net.WebHeaderCollectionType System.Net.WebHeaderCollection::m_Type
uint16_t ___m_Type_18;
public:
inline static int32_t get_offset_of_m_CommonHeaders_13() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960, ___m_CommonHeaders_13)); }
inline StringU5BU5D_t1281789340* get_m_CommonHeaders_13() const { return ___m_CommonHeaders_13; }
inline StringU5BU5D_t1281789340** get_address_of_m_CommonHeaders_13() { return &___m_CommonHeaders_13; }
inline void set_m_CommonHeaders_13(StringU5BU5D_t1281789340* value)
{
___m_CommonHeaders_13 = value;
Il2CppCodeGenWriteBarrier((&___m_CommonHeaders_13), value);
}
inline static int32_t get_offset_of_m_NumCommonHeaders_14() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960, ___m_NumCommonHeaders_14)); }
inline int32_t get_m_NumCommonHeaders_14() const { return ___m_NumCommonHeaders_14; }
inline int32_t* get_address_of_m_NumCommonHeaders_14() { return &___m_NumCommonHeaders_14; }
inline void set_m_NumCommonHeaders_14(int32_t value)
{
___m_NumCommonHeaders_14 = value;
}
inline static int32_t get_offset_of_m_InnerCollection_17() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960, ___m_InnerCollection_17)); }
inline NameValueCollection_t407452768 * get_m_InnerCollection_17() const { return ___m_InnerCollection_17; }
inline NameValueCollection_t407452768 ** get_address_of_m_InnerCollection_17() { return &___m_InnerCollection_17; }
inline void set_m_InnerCollection_17(NameValueCollection_t407452768 * value)
{
___m_InnerCollection_17 = value;
Il2CppCodeGenWriteBarrier((&___m_InnerCollection_17), value);
}
inline static int32_t get_offset_of_m_Type_18() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960, ___m_Type_18)); }
inline uint16_t get_m_Type_18() const { return ___m_Type_18; }
inline uint16_t* get_address_of_m_Type_18() { return &___m_Type_18; }
inline void set_m_Type_18(uint16_t value)
{
___m_Type_18 = value;
}
};
struct WebHeaderCollection_t1942268960_StaticFields
{
public:
// System.Net.HeaderInfoTable System.Net.WebHeaderCollection::HInfo
HeaderInfoTable_t4023871255 * ___HInfo_12;
// System.String[] System.Net.WebHeaderCollection::s_CommonHeaderNames
StringU5BU5D_t1281789340* ___s_CommonHeaderNames_15;
// System.SByte[] System.Net.WebHeaderCollection::s_CommonHeaderHints
SByteU5BU5D_t2651576203* ___s_CommonHeaderHints_16;
// System.Char[] System.Net.WebHeaderCollection::HttpTrimCharacters
CharU5BU5D_t3528271667* ___HttpTrimCharacters_19;
// System.Net.WebHeaderCollection/RfcChar[] System.Net.WebHeaderCollection::RfcCharMap
RfcCharU5BU5D_t240418063* ___RfcCharMap_20;
public:
inline static int32_t get_offset_of_HInfo_12() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960_StaticFields, ___HInfo_12)); }
inline HeaderInfoTable_t4023871255 * get_HInfo_12() const { return ___HInfo_12; }
inline HeaderInfoTable_t4023871255 ** get_address_of_HInfo_12() { return &___HInfo_12; }
inline void set_HInfo_12(HeaderInfoTable_t4023871255 * value)
{
___HInfo_12 = value;
Il2CppCodeGenWriteBarrier((&___HInfo_12), value);
}
inline static int32_t get_offset_of_s_CommonHeaderNames_15() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960_StaticFields, ___s_CommonHeaderNames_15)); }
inline StringU5BU5D_t1281789340* get_s_CommonHeaderNames_15() const { return ___s_CommonHeaderNames_15; }
inline StringU5BU5D_t1281789340** get_address_of_s_CommonHeaderNames_15() { return &___s_CommonHeaderNames_15; }
inline void set_s_CommonHeaderNames_15(StringU5BU5D_t1281789340* value)
{
___s_CommonHeaderNames_15 = value;
Il2CppCodeGenWriteBarrier((&___s_CommonHeaderNames_15), value);
}
inline static int32_t get_offset_of_s_CommonHeaderHints_16() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960_StaticFields, ___s_CommonHeaderHints_16)); }
inline SByteU5BU5D_t2651576203* get_s_CommonHeaderHints_16() const { return ___s_CommonHeaderHints_16; }
inline SByteU5BU5D_t2651576203** get_address_of_s_CommonHeaderHints_16() { return &___s_CommonHeaderHints_16; }
inline void set_s_CommonHeaderHints_16(SByteU5BU5D_t2651576203* value)
{
___s_CommonHeaderHints_16 = value;
Il2CppCodeGenWriteBarrier((&___s_CommonHeaderHints_16), value);
}
inline static int32_t get_offset_of_HttpTrimCharacters_19() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960_StaticFields, ___HttpTrimCharacters_19)); }
inline CharU5BU5D_t3528271667* get_HttpTrimCharacters_19() const { return ___HttpTrimCharacters_19; }
inline CharU5BU5D_t3528271667** get_address_of_HttpTrimCharacters_19() { return &___HttpTrimCharacters_19; }
inline void set_HttpTrimCharacters_19(CharU5BU5D_t3528271667* value)
{
___HttpTrimCharacters_19 = value;
Il2CppCodeGenWriteBarrier((&___HttpTrimCharacters_19), value);
}
inline static int32_t get_offset_of_RfcCharMap_20() { return static_cast<int32_t>(offsetof(WebHeaderCollection_t1942268960_StaticFields, ___RfcCharMap_20)); }
inline RfcCharU5BU5D_t240418063* get_RfcCharMap_20() const { return ___RfcCharMap_20; }
inline RfcCharU5BU5D_t240418063** get_address_of_RfcCharMap_20() { return &___RfcCharMap_20; }
inline void set_RfcCharMap_20(RfcCharU5BU5D_t240418063* value)
{
___RfcCharMap_20 = value;
Il2CppCodeGenWriteBarrier((&___RfcCharMap_20), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBHEADERCOLLECTION_T1942268960_H
#ifndef SAFESOCKETHANDLE_T610293888_H
#define SAFESOCKETHANDLE_T610293888_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SafeSocketHandle
struct SafeSocketHandle_t610293888 : public SafeHandleZeroOrMinusOneIsInvalid_t1182193648
{
public:
// System.Collections.Generic.List`1<System.Threading.Thread> System.Net.Sockets.SafeSocketHandle::blocking_threads
List_1_t3772910811 * ___blocking_threads_6;
// System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace> System.Net.Sockets.SafeSocketHandle::threads_stacktraces
Dictionary_2_t922677896 * ___threads_stacktraces_7;
// System.Boolean System.Net.Sockets.SafeSocketHandle::in_cleanup
bool ___in_cleanup_8;
public:
inline static int32_t get_offset_of_blocking_threads_6() { return static_cast<int32_t>(offsetof(SafeSocketHandle_t610293888, ___blocking_threads_6)); }
inline List_1_t3772910811 * get_blocking_threads_6() const { return ___blocking_threads_6; }
inline List_1_t3772910811 ** get_address_of_blocking_threads_6() { return &___blocking_threads_6; }
inline void set_blocking_threads_6(List_1_t3772910811 * value)
{
___blocking_threads_6 = value;
Il2CppCodeGenWriteBarrier((&___blocking_threads_6), value);
}
inline static int32_t get_offset_of_threads_stacktraces_7() { return static_cast<int32_t>(offsetof(SafeSocketHandle_t610293888, ___threads_stacktraces_7)); }
inline Dictionary_2_t922677896 * get_threads_stacktraces_7() const { return ___threads_stacktraces_7; }
inline Dictionary_2_t922677896 ** get_address_of_threads_stacktraces_7() { return &___threads_stacktraces_7; }
inline void set_threads_stacktraces_7(Dictionary_2_t922677896 * value)
{
___threads_stacktraces_7 = value;
Il2CppCodeGenWriteBarrier((&___threads_stacktraces_7), value);
}
inline static int32_t get_offset_of_in_cleanup_8() { return static_cast<int32_t>(offsetof(SafeSocketHandle_t610293888, ___in_cleanup_8)); }
inline bool get_in_cleanup_8() const { return ___in_cleanup_8; }
inline bool* get_address_of_in_cleanup_8() { return &___in_cleanup_8; }
inline void set_in_cleanup_8(bool value)
{
___in_cleanup_8 = value;
}
};
struct SafeSocketHandle_t610293888_StaticFields
{
public:
// System.Boolean System.Net.Sockets.SafeSocketHandle::THROW_ON_ABORT_RETRIES
bool ___THROW_ON_ABORT_RETRIES_9;
public:
inline static int32_t get_offset_of_THROW_ON_ABORT_RETRIES_9() { return static_cast<int32_t>(offsetof(SafeSocketHandle_t610293888_StaticFields, ___THROW_ON_ABORT_RETRIES_9)); }
inline bool get_THROW_ON_ABORT_RETRIES_9() const { return ___THROW_ON_ABORT_RETRIES_9; }
inline bool* get_address_of_THROW_ON_ABORT_RETRIES_9() { return &___THROW_ON_ABORT_RETRIES_9; }
inline void set_THROW_ON_ABORT_RETRIES_9(bool value)
{
___THROW_ON_ABORT_RETRIES_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SAFESOCKETHANDLE_T610293888_H
#ifndef HTTPWEBREQUEST_T1669436515_H
#define HTTPWEBREQUEST_T1669436515_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpWebRequest
struct HttpWebRequest_t1669436515 : public WebRequest_t1939381076
{
public:
// System.Uri System.Net.HttpWebRequest::requestUri
Uri_t100236324 * ___requestUri_12;
// System.Uri System.Net.HttpWebRequest::actualUri
Uri_t100236324 * ___actualUri_13;
// System.Boolean System.Net.HttpWebRequest::hostChanged
bool ___hostChanged_14;
// System.Boolean System.Net.HttpWebRequest::allowAutoRedirect
bool ___allowAutoRedirect_15;
// System.Boolean System.Net.HttpWebRequest::allowBuffering
bool ___allowBuffering_16;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection System.Net.HttpWebRequest::certificates
X509CertificateCollection_t3399372417 * ___certificates_17;
// System.String System.Net.HttpWebRequest::connectionGroup
String_t* ___connectionGroup_18;
// System.Boolean System.Net.HttpWebRequest::haveContentLength
bool ___haveContentLength_19;
// System.Int64 System.Net.HttpWebRequest::contentLength
int64_t ___contentLength_20;
// System.Net.HttpContinueDelegate System.Net.HttpWebRequest::continueDelegate
HttpContinueDelegate_t3009151163 * ___continueDelegate_21;
// System.Net.CookieContainer System.Net.HttpWebRequest::cookieContainer
CookieContainer_t2331592909 * ___cookieContainer_22;
// System.Net.ICredentials System.Net.HttpWebRequest::credentials
RuntimeObject* ___credentials_23;
// System.Boolean System.Net.HttpWebRequest::haveResponse
bool ___haveResponse_24;
// System.Boolean System.Net.HttpWebRequest::haveRequest
bool ___haveRequest_25;
// System.Boolean System.Net.HttpWebRequest::requestSent
bool ___requestSent_26;
// System.Net.WebHeaderCollection System.Net.HttpWebRequest::webHeaders
WebHeaderCollection_t1942268960 * ___webHeaders_27;
// System.Boolean System.Net.HttpWebRequest::keepAlive
bool ___keepAlive_28;
// System.Int32 System.Net.HttpWebRequest::maxAutoRedirect
int32_t ___maxAutoRedirect_29;
// System.String System.Net.HttpWebRequest::mediaType
String_t* ___mediaType_30;
// System.String System.Net.HttpWebRequest::method
String_t* ___method_31;
// System.String System.Net.HttpWebRequest::initialMethod
String_t* ___initialMethod_32;
// System.Boolean System.Net.HttpWebRequest::pipelined
bool ___pipelined_33;
// System.Boolean System.Net.HttpWebRequest::preAuthenticate
bool ___preAuthenticate_34;
// System.Boolean System.Net.HttpWebRequest::usedPreAuth
bool ___usedPreAuth_35;
// System.Version System.Net.HttpWebRequest::version
Version_t3456873960 * ___version_36;
// System.Boolean System.Net.HttpWebRequest::force_version
bool ___force_version_37;
// System.Version System.Net.HttpWebRequest::actualVersion
Version_t3456873960 * ___actualVersion_38;
// System.Net.IWebProxy System.Net.HttpWebRequest::proxy
RuntimeObject* ___proxy_39;
// System.Boolean System.Net.HttpWebRequest::sendChunked
bool ___sendChunked_40;
// System.Net.ServicePoint System.Net.HttpWebRequest::servicePoint
ServicePoint_t2786966844 * ___servicePoint_41;
// System.Int32 System.Net.HttpWebRequest::timeout
int32_t ___timeout_42;
// System.Net.WebConnectionStream System.Net.HttpWebRequest::writeStream
WebConnectionStream_t2170064850 * ___writeStream_43;
// System.Net.HttpWebResponse System.Net.HttpWebRequest::webResponse
HttpWebResponse_t3286585418 * ___webResponse_44;
// System.Net.WebAsyncResult System.Net.HttpWebRequest::asyncWrite
WebAsyncResult_t3421962937 * ___asyncWrite_45;
// System.Net.WebAsyncResult System.Net.HttpWebRequest::asyncRead
WebAsyncResult_t3421962937 * ___asyncRead_46;
// System.EventHandler System.Net.HttpWebRequest::abortHandler
EventHandler_t1348719766 * ___abortHandler_47;
// System.Int32 System.Net.HttpWebRequest::aborted
int32_t ___aborted_48;
// System.Boolean System.Net.HttpWebRequest::gotRequestStream
bool ___gotRequestStream_49;
// System.Int32 System.Net.HttpWebRequest::redirects
int32_t ___redirects_50;
// System.Boolean System.Net.HttpWebRequest::expectContinue
bool ___expectContinue_51;
// System.Byte[] System.Net.HttpWebRequest::bodyBuffer
ByteU5BU5D_t4116647657* ___bodyBuffer_52;
// System.Int32 System.Net.HttpWebRequest::bodyBufferLength
int32_t ___bodyBufferLength_53;
// System.Boolean System.Net.HttpWebRequest::getResponseCalled
bool ___getResponseCalled_54;
// System.Exception System.Net.HttpWebRequest::saved_exc
Exception_t * ___saved_exc_55;
// System.Object System.Net.HttpWebRequest::locker
RuntimeObject * ___locker_56;
// System.Boolean System.Net.HttpWebRequest::finished_reading
bool ___finished_reading_57;
// System.Net.WebConnection System.Net.HttpWebRequest::WebConnection
WebConnection_t3982808322 * ___WebConnection_58;
// System.Net.DecompressionMethods System.Net.HttpWebRequest::auto_decomp
int32_t ___auto_decomp_59;
// System.Int32 System.Net.HttpWebRequest::readWriteTimeout
int32_t ___readWriteTimeout_61;
// Mono.Security.Interface.MonoTlsProvider System.Net.HttpWebRequest::tlsProvider
MonoTlsProvider_t3152003291 * ___tlsProvider_62;
// Mono.Security.Interface.MonoTlsSettings System.Net.HttpWebRequest::tlsSettings
MonoTlsSettings_t3666008581 * ___tlsSettings_63;
// System.Net.ServerCertValidationCallback System.Net.HttpWebRequest::certValidationCallback
ServerCertValidationCallback_t1488468298 * ___certValidationCallback_64;
// System.Net.HttpWebRequest/AuthorizationState System.Net.HttpWebRequest::auth_state
AuthorizationState_t3141350760 ___auth_state_65;
// System.Net.HttpWebRequest/AuthorizationState System.Net.HttpWebRequest::proxy_auth_state
AuthorizationState_t3141350760 ___proxy_auth_state_66;
// System.String System.Net.HttpWebRequest::host
String_t* ___host_67;
// System.Action`1<System.IO.Stream> System.Net.HttpWebRequest::ResendContentFactory
Action_1_t1445490504 * ___ResendContentFactory_68;
// System.Boolean System.Net.HttpWebRequest::<ThrowOnError>k__BackingField
bool ___U3CThrowOnErrorU3Ek__BackingField_69;
// System.Boolean System.Net.HttpWebRequest::unsafe_auth_blah
bool ___unsafe_auth_blah_70;
// System.Boolean System.Net.HttpWebRequest::<ReuseConnection>k__BackingField
bool ___U3CReuseConnectionU3Ek__BackingField_71;
// System.Net.WebConnection System.Net.HttpWebRequest::StoredConnection
WebConnection_t3982808322 * ___StoredConnection_72;
public:
inline static int32_t get_offset_of_requestUri_12() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___requestUri_12)); }
inline Uri_t100236324 * get_requestUri_12() const { return ___requestUri_12; }
inline Uri_t100236324 ** get_address_of_requestUri_12() { return &___requestUri_12; }
inline void set_requestUri_12(Uri_t100236324 * value)
{
___requestUri_12 = value;
Il2CppCodeGenWriteBarrier((&___requestUri_12), value);
}
inline static int32_t get_offset_of_actualUri_13() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___actualUri_13)); }
inline Uri_t100236324 * get_actualUri_13() const { return ___actualUri_13; }
inline Uri_t100236324 ** get_address_of_actualUri_13() { return &___actualUri_13; }
inline void set_actualUri_13(Uri_t100236324 * value)
{
___actualUri_13 = value;
Il2CppCodeGenWriteBarrier((&___actualUri_13), value);
}
inline static int32_t get_offset_of_hostChanged_14() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___hostChanged_14)); }
inline bool get_hostChanged_14() const { return ___hostChanged_14; }
inline bool* get_address_of_hostChanged_14() { return &___hostChanged_14; }
inline void set_hostChanged_14(bool value)
{
___hostChanged_14 = value;
}
inline static int32_t get_offset_of_allowAutoRedirect_15() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___allowAutoRedirect_15)); }
inline bool get_allowAutoRedirect_15() const { return ___allowAutoRedirect_15; }
inline bool* get_address_of_allowAutoRedirect_15() { return &___allowAutoRedirect_15; }
inline void set_allowAutoRedirect_15(bool value)
{
___allowAutoRedirect_15 = value;
}
inline static int32_t get_offset_of_allowBuffering_16() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___allowBuffering_16)); }
inline bool get_allowBuffering_16() const { return ___allowBuffering_16; }
inline bool* get_address_of_allowBuffering_16() { return &___allowBuffering_16; }
inline void set_allowBuffering_16(bool value)
{
___allowBuffering_16 = value;
}
inline static int32_t get_offset_of_certificates_17() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___certificates_17)); }
inline X509CertificateCollection_t3399372417 * get_certificates_17() const { return ___certificates_17; }
inline X509CertificateCollection_t3399372417 ** get_address_of_certificates_17() { return &___certificates_17; }
inline void set_certificates_17(X509CertificateCollection_t3399372417 * value)
{
___certificates_17 = value;
Il2CppCodeGenWriteBarrier((&___certificates_17), value);
}
inline static int32_t get_offset_of_connectionGroup_18() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___connectionGroup_18)); }
inline String_t* get_connectionGroup_18() const { return ___connectionGroup_18; }
inline String_t** get_address_of_connectionGroup_18() { return &___connectionGroup_18; }
inline void set_connectionGroup_18(String_t* value)
{
___connectionGroup_18 = value;
Il2CppCodeGenWriteBarrier((&___connectionGroup_18), value);
}
inline static int32_t get_offset_of_haveContentLength_19() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___haveContentLength_19)); }
inline bool get_haveContentLength_19() const { return ___haveContentLength_19; }
inline bool* get_address_of_haveContentLength_19() { return &___haveContentLength_19; }
inline void set_haveContentLength_19(bool value)
{
___haveContentLength_19 = value;
}
inline static int32_t get_offset_of_contentLength_20() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___contentLength_20)); }
inline int64_t get_contentLength_20() const { return ___contentLength_20; }
inline int64_t* get_address_of_contentLength_20() { return &___contentLength_20; }
inline void set_contentLength_20(int64_t value)
{
___contentLength_20 = value;
}
inline static int32_t get_offset_of_continueDelegate_21() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___continueDelegate_21)); }
inline HttpContinueDelegate_t3009151163 * get_continueDelegate_21() const { return ___continueDelegate_21; }
inline HttpContinueDelegate_t3009151163 ** get_address_of_continueDelegate_21() { return &___continueDelegate_21; }
inline void set_continueDelegate_21(HttpContinueDelegate_t3009151163 * value)
{
___continueDelegate_21 = value;
Il2CppCodeGenWriteBarrier((&___continueDelegate_21), value);
}
inline static int32_t get_offset_of_cookieContainer_22() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___cookieContainer_22)); }
inline CookieContainer_t2331592909 * get_cookieContainer_22() const { return ___cookieContainer_22; }
inline CookieContainer_t2331592909 ** get_address_of_cookieContainer_22() { return &___cookieContainer_22; }
inline void set_cookieContainer_22(CookieContainer_t2331592909 * value)
{
___cookieContainer_22 = value;
Il2CppCodeGenWriteBarrier((&___cookieContainer_22), value);
}
inline static int32_t get_offset_of_credentials_23() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___credentials_23)); }
inline RuntimeObject* get_credentials_23() const { return ___credentials_23; }
inline RuntimeObject** get_address_of_credentials_23() { return &___credentials_23; }
inline void set_credentials_23(RuntimeObject* value)
{
___credentials_23 = value;
Il2CppCodeGenWriteBarrier((&___credentials_23), value);
}
inline static int32_t get_offset_of_haveResponse_24() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___haveResponse_24)); }
inline bool get_haveResponse_24() const { return ___haveResponse_24; }
inline bool* get_address_of_haveResponse_24() { return &___haveResponse_24; }
inline void set_haveResponse_24(bool value)
{
___haveResponse_24 = value;
}
inline static int32_t get_offset_of_haveRequest_25() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___haveRequest_25)); }
inline bool get_haveRequest_25() const { return ___haveRequest_25; }
inline bool* get_address_of_haveRequest_25() { return &___haveRequest_25; }
inline void set_haveRequest_25(bool value)
{
___haveRequest_25 = value;
}
inline static int32_t get_offset_of_requestSent_26() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___requestSent_26)); }
inline bool get_requestSent_26() const { return ___requestSent_26; }
inline bool* get_address_of_requestSent_26() { return &___requestSent_26; }
inline void set_requestSent_26(bool value)
{
___requestSent_26 = value;
}
inline static int32_t get_offset_of_webHeaders_27() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___webHeaders_27)); }
inline WebHeaderCollection_t1942268960 * get_webHeaders_27() const { return ___webHeaders_27; }
inline WebHeaderCollection_t1942268960 ** get_address_of_webHeaders_27() { return &___webHeaders_27; }
inline void set_webHeaders_27(WebHeaderCollection_t1942268960 * value)
{
___webHeaders_27 = value;
Il2CppCodeGenWriteBarrier((&___webHeaders_27), value);
}
inline static int32_t get_offset_of_keepAlive_28() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___keepAlive_28)); }
inline bool get_keepAlive_28() const { return ___keepAlive_28; }
inline bool* get_address_of_keepAlive_28() { return &___keepAlive_28; }
inline void set_keepAlive_28(bool value)
{
___keepAlive_28 = value;
}
inline static int32_t get_offset_of_maxAutoRedirect_29() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___maxAutoRedirect_29)); }
inline int32_t get_maxAutoRedirect_29() const { return ___maxAutoRedirect_29; }
inline int32_t* get_address_of_maxAutoRedirect_29() { return &___maxAutoRedirect_29; }
inline void set_maxAutoRedirect_29(int32_t value)
{
___maxAutoRedirect_29 = value;
}
inline static int32_t get_offset_of_mediaType_30() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___mediaType_30)); }
inline String_t* get_mediaType_30() const { return ___mediaType_30; }
inline String_t** get_address_of_mediaType_30() { return &___mediaType_30; }
inline void set_mediaType_30(String_t* value)
{
___mediaType_30 = value;
Il2CppCodeGenWriteBarrier((&___mediaType_30), value);
}
inline static int32_t get_offset_of_method_31() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___method_31)); }
inline String_t* get_method_31() const { return ___method_31; }
inline String_t** get_address_of_method_31() { return &___method_31; }
inline void set_method_31(String_t* value)
{
___method_31 = value;
Il2CppCodeGenWriteBarrier((&___method_31), value);
}
inline static int32_t get_offset_of_initialMethod_32() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___initialMethod_32)); }
inline String_t* get_initialMethod_32() const { return ___initialMethod_32; }
inline String_t** get_address_of_initialMethod_32() { return &___initialMethod_32; }
inline void set_initialMethod_32(String_t* value)
{
___initialMethod_32 = value;
Il2CppCodeGenWriteBarrier((&___initialMethod_32), value);
}
inline static int32_t get_offset_of_pipelined_33() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___pipelined_33)); }
inline bool get_pipelined_33() const { return ___pipelined_33; }
inline bool* get_address_of_pipelined_33() { return &___pipelined_33; }
inline void set_pipelined_33(bool value)
{
___pipelined_33 = value;
}
inline static int32_t get_offset_of_preAuthenticate_34() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___preAuthenticate_34)); }
inline bool get_preAuthenticate_34() const { return ___preAuthenticate_34; }
inline bool* get_address_of_preAuthenticate_34() { return &___preAuthenticate_34; }
inline void set_preAuthenticate_34(bool value)
{
___preAuthenticate_34 = value;
}
inline static int32_t get_offset_of_usedPreAuth_35() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___usedPreAuth_35)); }
inline bool get_usedPreAuth_35() const { return ___usedPreAuth_35; }
inline bool* get_address_of_usedPreAuth_35() { return &___usedPreAuth_35; }
inline void set_usedPreAuth_35(bool value)
{
___usedPreAuth_35 = value;
}
inline static int32_t get_offset_of_version_36() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___version_36)); }
inline Version_t3456873960 * get_version_36() const { return ___version_36; }
inline Version_t3456873960 ** get_address_of_version_36() { return &___version_36; }
inline void set_version_36(Version_t3456873960 * value)
{
___version_36 = value;
Il2CppCodeGenWriteBarrier((&___version_36), value);
}
inline static int32_t get_offset_of_force_version_37() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___force_version_37)); }
inline bool get_force_version_37() const { return ___force_version_37; }
inline bool* get_address_of_force_version_37() { return &___force_version_37; }
inline void set_force_version_37(bool value)
{
___force_version_37 = value;
}
inline static int32_t get_offset_of_actualVersion_38() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___actualVersion_38)); }
inline Version_t3456873960 * get_actualVersion_38() const { return ___actualVersion_38; }
inline Version_t3456873960 ** get_address_of_actualVersion_38() { return &___actualVersion_38; }
inline void set_actualVersion_38(Version_t3456873960 * value)
{
___actualVersion_38 = value;
Il2CppCodeGenWriteBarrier((&___actualVersion_38), value);
}
inline static int32_t get_offset_of_proxy_39() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___proxy_39)); }
inline RuntimeObject* get_proxy_39() const { return ___proxy_39; }
inline RuntimeObject** get_address_of_proxy_39() { return &___proxy_39; }
inline void set_proxy_39(RuntimeObject* value)
{
___proxy_39 = value;
Il2CppCodeGenWriteBarrier((&___proxy_39), value);
}
inline static int32_t get_offset_of_sendChunked_40() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___sendChunked_40)); }
inline bool get_sendChunked_40() const { return ___sendChunked_40; }
inline bool* get_address_of_sendChunked_40() { return &___sendChunked_40; }
inline void set_sendChunked_40(bool value)
{
___sendChunked_40 = value;
}
inline static int32_t get_offset_of_servicePoint_41() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___servicePoint_41)); }
inline ServicePoint_t2786966844 * get_servicePoint_41() const { return ___servicePoint_41; }
inline ServicePoint_t2786966844 ** get_address_of_servicePoint_41() { return &___servicePoint_41; }
inline void set_servicePoint_41(ServicePoint_t2786966844 * value)
{
___servicePoint_41 = value;
Il2CppCodeGenWriteBarrier((&___servicePoint_41), value);
}
inline static int32_t get_offset_of_timeout_42() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___timeout_42)); }
inline int32_t get_timeout_42() const { return ___timeout_42; }
inline int32_t* get_address_of_timeout_42() { return &___timeout_42; }
inline void set_timeout_42(int32_t value)
{
___timeout_42 = value;
}
inline static int32_t get_offset_of_writeStream_43() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___writeStream_43)); }
inline WebConnectionStream_t2170064850 * get_writeStream_43() const { return ___writeStream_43; }
inline WebConnectionStream_t2170064850 ** get_address_of_writeStream_43() { return &___writeStream_43; }
inline void set_writeStream_43(WebConnectionStream_t2170064850 * value)
{
___writeStream_43 = value;
Il2CppCodeGenWriteBarrier((&___writeStream_43), value);
}
inline static int32_t get_offset_of_webResponse_44() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___webResponse_44)); }
inline HttpWebResponse_t3286585418 * get_webResponse_44() const { return ___webResponse_44; }
inline HttpWebResponse_t3286585418 ** get_address_of_webResponse_44() { return &___webResponse_44; }
inline void set_webResponse_44(HttpWebResponse_t3286585418 * value)
{
___webResponse_44 = value;
Il2CppCodeGenWriteBarrier((&___webResponse_44), value);
}
inline static int32_t get_offset_of_asyncWrite_45() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___asyncWrite_45)); }
inline WebAsyncResult_t3421962937 * get_asyncWrite_45() const { return ___asyncWrite_45; }
inline WebAsyncResult_t3421962937 ** get_address_of_asyncWrite_45() { return &___asyncWrite_45; }
inline void set_asyncWrite_45(WebAsyncResult_t3421962937 * value)
{
___asyncWrite_45 = value;
Il2CppCodeGenWriteBarrier((&___asyncWrite_45), value);
}
inline static int32_t get_offset_of_asyncRead_46() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___asyncRead_46)); }
inline WebAsyncResult_t3421962937 * get_asyncRead_46() const { return ___asyncRead_46; }
inline WebAsyncResult_t3421962937 ** get_address_of_asyncRead_46() { return &___asyncRead_46; }
inline void set_asyncRead_46(WebAsyncResult_t3421962937 * value)
{
___asyncRead_46 = value;
Il2CppCodeGenWriteBarrier((&___asyncRead_46), value);
}
inline static int32_t get_offset_of_abortHandler_47() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___abortHandler_47)); }
inline EventHandler_t1348719766 * get_abortHandler_47() const { return ___abortHandler_47; }
inline EventHandler_t1348719766 ** get_address_of_abortHandler_47() { return &___abortHandler_47; }
inline void set_abortHandler_47(EventHandler_t1348719766 * value)
{
___abortHandler_47 = value;
Il2CppCodeGenWriteBarrier((&___abortHandler_47), value);
}
inline static int32_t get_offset_of_aborted_48() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___aborted_48)); }
inline int32_t get_aborted_48() const { return ___aborted_48; }
inline int32_t* get_address_of_aborted_48() { return &___aborted_48; }
inline void set_aborted_48(int32_t value)
{
___aborted_48 = value;
}
inline static int32_t get_offset_of_gotRequestStream_49() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___gotRequestStream_49)); }
inline bool get_gotRequestStream_49() const { return ___gotRequestStream_49; }
inline bool* get_address_of_gotRequestStream_49() { return &___gotRequestStream_49; }
inline void set_gotRequestStream_49(bool value)
{
___gotRequestStream_49 = value;
}
inline static int32_t get_offset_of_redirects_50() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___redirects_50)); }
inline int32_t get_redirects_50() const { return ___redirects_50; }
inline int32_t* get_address_of_redirects_50() { return &___redirects_50; }
inline void set_redirects_50(int32_t value)
{
___redirects_50 = value;
}
inline static int32_t get_offset_of_expectContinue_51() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___expectContinue_51)); }
inline bool get_expectContinue_51() const { return ___expectContinue_51; }
inline bool* get_address_of_expectContinue_51() { return &___expectContinue_51; }
inline void set_expectContinue_51(bool value)
{
___expectContinue_51 = value;
}
inline static int32_t get_offset_of_bodyBuffer_52() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___bodyBuffer_52)); }
inline ByteU5BU5D_t4116647657* get_bodyBuffer_52() const { return ___bodyBuffer_52; }
inline ByteU5BU5D_t4116647657** get_address_of_bodyBuffer_52() { return &___bodyBuffer_52; }
inline void set_bodyBuffer_52(ByteU5BU5D_t4116647657* value)
{
___bodyBuffer_52 = value;
Il2CppCodeGenWriteBarrier((&___bodyBuffer_52), value);
}
inline static int32_t get_offset_of_bodyBufferLength_53() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___bodyBufferLength_53)); }
inline int32_t get_bodyBufferLength_53() const { return ___bodyBufferLength_53; }
inline int32_t* get_address_of_bodyBufferLength_53() { return &___bodyBufferLength_53; }
inline void set_bodyBufferLength_53(int32_t value)
{
___bodyBufferLength_53 = value;
}
inline static int32_t get_offset_of_getResponseCalled_54() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___getResponseCalled_54)); }
inline bool get_getResponseCalled_54() const { return ___getResponseCalled_54; }
inline bool* get_address_of_getResponseCalled_54() { return &___getResponseCalled_54; }
inline void set_getResponseCalled_54(bool value)
{
___getResponseCalled_54 = value;
}
inline static int32_t get_offset_of_saved_exc_55() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___saved_exc_55)); }
inline Exception_t * get_saved_exc_55() const { return ___saved_exc_55; }
inline Exception_t ** get_address_of_saved_exc_55() { return &___saved_exc_55; }
inline void set_saved_exc_55(Exception_t * value)
{
___saved_exc_55 = value;
Il2CppCodeGenWriteBarrier((&___saved_exc_55), value);
}
inline static int32_t get_offset_of_locker_56() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___locker_56)); }
inline RuntimeObject * get_locker_56() const { return ___locker_56; }
inline RuntimeObject ** get_address_of_locker_56() { return &___locker_56; }
inline void set_locker_56(RuntimeObject * value)
{
___locker_56 = value;
Il2CppCodeGenWriteBarrier((&___locker_56), value);
}
inline static int32_t get_offset_of_finished_reading_57() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___finished_reading_57)); }
inline bool get_finished_reading_57() const { return ___finished_reading_57; }
inline bool* get_address_of_finished_reading_57() { return &___finished_reading_57; }
inline void set_finished_reading_57(bool value)
{
___finished_reading_57 = value;
}
inline static int32_t get_offset_of_WebConnection_58() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___WebConnection_58)); }
inline WebConnection_t3982808322 * get_WebConnection_58() const { return ___WebConnection_58; }
inline WebConnection_t3982808322 ** get_address_of_WebConnection_58() { return &___WebConnection_58; }
inline void set_WebConnection_58(WebConnection_t3982808322 * value)
{
___WebConnection_58 = value;
Il2CppCodeGenWriteBarrier((&___WebConnection_58), value);
}
inline static int32_t get_offset_of_auto_decomp_59() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___auto_decomp_59)); }
inline int32_t get_auto_decomp_59() const { return ___auto_decomp_59; }
inline int32_t* get_address_of_auto_decomp_59() { return &___auto_decomp_59; }
inline void set_auto_decomp_59(int32_t value)
{
___auto_decomp_59 = value;
}
inline static int32_t get_offset_of_readWriteTimeout_61() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___readWriteTimeout_61)); }
inline int32_t get_readWriteTimeout_61() const { return ___readWriteTimeout_61; }
inline int32_t* get_address_of_readWriteTimeout_61() { return &___readWriteTimeout_61; }
inline void set_readWriteTimeout_61(int32_t value)
{
___readWriteTimeout_61 = value;
}
inline static int32_t get_offset_of_tlsProvider_62() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___tlsProvider_62)); }
inline MonoTlsProvider_t3152003291 * get_tlsProvider_62() const { return ___tlsProvider_62; }
inline MonoTlsProvider_t3152003291 ** get_address_of_tlsProvider_62() { return &___tlsProvider_62; }
inline void set_tlsProvider_62(MonoTlsProvider_t3152003291 * value)
{
___tlsProvider_62 = value;
Il2CppCodeGenWriteBarrier((&___tlsProvider_62), value);
}
inline static int32_t get_offset_of_tlsSettings_63() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___tlsSettings_63)); }
inline MonoTlsSettings_t3666008581 * get_tlsSettings_63() const { return ___tlsSettings_63; }
inline MonoTlsSettings_t3666008581 ** get_address_of_tlsSettings_63() { return &___tlsSettings_63; }
inline void set_tlsSettings_63(MonoTlsSettings_t3666008581 * value)
{
___tlsSettings_63 = value;
Il2CppCodeGenWriteBarrier((&___tlsSettings_63), value);
}
inline static int32_t get_offset_of_certValidationCallback_64() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___certValidationCallback_64)); }
inline ServerCertValidationCallback_t1488468298 * get_certValidationCallback_64() const { return ___certValidationCallback_64; }
inline ServerCertValidationCallback_t1488468298 ** get_address_of_certValidationCallback_64() { return &___certValidationCallback_64; }
inline void set_certValidationCallback_64(ServerCertValidationCallback_t1488468298 * value)
{
___certValidationCallback_64 = value;
Il2CppCodeGenWriteBarrier((&___certValidationCallback_64), value);
}
inline static int32_t get_offset_of_auth_state_65() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___auth_state_65)); }
inline AuthorizationState_t3141350760 get_auth_state_65() const { return ___auth_state_65; }
inline AuthorizationState_t3141350760 * get_address_of_auth_state_65() { return &___auth_state_65; }
inline void set_auth_state_65(AuthorizationState_t3141350760 value)
{
___auth_state_65 = value;
}
inline static int32_t get_offset_of_proxy_auth_state_66() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___proxy_auth_state_66)); }
inline AuthorizationState_t3141350760 get_proxy_auth_state_66() const { return ___proxy_auth_state_66; }
inline AuthorizationState_t3141350760 * get_address_of_proxy_auth_state_66() { return &___proxy_auth_state_66; }
inline void set_proxy_auth_state_66(AuthorizationState_t3141350760 value)
{
___proxy_auth_state_66 = value;
}
inline static int32_t get_offset_of_host_67() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___host_67)); }
inline String_t* get_host_67() const { return ___host_67; }
inline String_t** get_address_of_host_67() { return &___host_67; }
inline void set_host_67(String_t* value)
{
___host_67 = value;
Il2CppCodeGenWriteBarrier((&___host_67), value);
}
inline static int32_t get_offset_of_ResendContentFactory_68() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___ResendContentFactory_68)); }
inline Action_1_t1445490504 * get_ResendContentFactory_68() const { return ___ResendContentFactory_68; }
inline Action_1_t1445490504 ** get_address_of_ResendContentFactory_68() { return &___ResendContentFactory_68; }
inline void set_ResendContentFactory_68(Action_1_t1445490504 * value)
{
___ResendContentFactory_68 = value;
Il2CppCodeGenWriteBarrier((&___ResendContentFactory_68), value);
}
inline static int32_t get_offset_of_U3CThrowOnErrorU3Ek__BackingField_69() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___U3CThrowOnErrorU3Ek__BackingField_69)); }
inline bool get_U3CThrowOnErrorU3Ek__BackingField_69() const { return ___U3CThrowOnErrorU3Ek__BackingField_69; }
inline bool* get_address_of_U3CThrowOnErrorU3Ek__BackingField_69() { return &___U3CThrowOnErrorU3Ek__BackingField_69; }
inline void set_U3CThrowOnErrorU3Ek__BackingField_69(bool value)
{
___U3CThrowOnErrorU3Ek__BackingField_69 = value;
}
inline static int32_t get_offset_of_unsafe_auth_blah_70() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___unsafe_auth_blah_70)); }
inline bool get_unsafe_auth_blah_70() const { return ___unsafe_auth_blah_70; }
inline bool* get_address_of_unsafe_auth_blah_70() { return &___unsafe_auth_blah_70; }
inline void set_unsafe_auth_blah_70(bool value)
{
___unsafe_auth_blah_70 = value;
}
inline static int32_t get_offset_of_U3CReuseConnectionU3Ek__BackingField_71() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___U3CReuseConnectionU3Ek__BackingField_71)); }
inline bool get_U3CReuseConnectionU3Ek__BackingField_71() const { return ___U3CReuseConnectionU3Ek__BackingField_71; }
inline bool* get_address_of_U3CReuseConnectionU3Ek__BackingField_71() { return &___U3CReuseConnectionU3Ek__BackingField_71; }
inline void set_U3CReuseConnectionU3Ek__BackingField_71(bool value)
{
___U3CReuseConnectionU3Ek__BackingField_71 = value;
}
inline static int32_t get_offset_of_StoredConnection_72() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___StoredConnection_72)); }
inline WebConnection_t3982808322 * get_StoredConnection_72() const { return ___StoredConnection_72; }
inline WebConnection_t3982808322 ** get_address_of_StoredConnection_72() { return &___StoredConnection_72; }
inline void set_StoredConnection_72(WebConnection_t3982808322 * value)
{
___StoredConnection_72 = value;
Il2CppCodeGenWriteBarrier((&___StoredConnection_72), value);
}
};
struct HttpWebRequest_t1669436515_StaticFields
{
public:
// System.Int32 System.Net.HttpWebRequest::defaultMaxResponseHeadersLength
int32_t ___defaultMaxResponseHeadersLength_60;
public:
inline static int32_t get_offset_of_defaultMaxResponseHeadersLength_60() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515_StaticFields, ___defaultMaxResponseHeadersLength_60)); }
inline int32_t get_defaultMaxResponseHeadersLength_60() const { return ___defaultMaxResponseHeadersLength_60; }
inline int32_t* get_address_of_defaultMaxResponseHeadersLength_60() { return &___defaultMaxResponseHeadersLength_60; }
inline void set_defaultMaxResponseHeadersLength_60(int32_t value)
{
___defaultMaxResponseHeadersLength_60 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPWEBREQUEST_T1669436515_H
#ifndef FUNC_5_T3425908549_H
#define FUNC_5_T3425908549_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Func`5<System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object,System.IAsyncResult>
struct Func_5_t3425908549 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FUNC_5_T3425908549_H
#ifndef AUTORESETEVENT_T1333520283_H
#define AUTORESETEVENT_T1333520283_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.AutoResetEvent
struct AutoResetEvent_t1333520283 : public EventWaitHandle_t777845177
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTORESETEVENT_T1333520283_H
#ifndef FUNC_2_T2426439321_H
#define FUNC_2_T2426439321_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>
struct Func_2_t2426439321 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FUNC_2_T2426439321_H
#ifndef ACTION_1_T939472046_H
#define ACTION_1_T939472046_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<System.IAsyncResult>
struct Action_1_t939472046 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T939472046_H
#ifndef MACOSNETWORKINTERFACE_T3969281182_H
#define MACOSNETWORKINTERFACE_T3969281182_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.MacOsNetworkInterface
struct MacOsNetworkInterface_t3969281182 : public UnixNetworkInterface_t2401762829
{
public:
// System.UInt32 System.Net.NetworkInformation.MacOsNetworkInterface::_ifa_flags
uint32_t ____ifa_flags_5;
public:
inline static int32_t get_offset_of__ifa_flags_5() { return static_cast<int32_t>(offsetof(MacOsNetworkInterface_t3969281182, ____ifa_flags_5)); }
inline uint32_t get__ifa_flags_5() const { return ____ifa_flags_5; }
inline uint32_t* get_address_of__ifa_flags_5() { return &____ifa_flags_5; }
inline void set__ifa_flags_5(uint32_t value)
{
____ifa_flags_5 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MACOSNETWORKINTERFACE_T3969281182_H
#ifndef TIMERCALLBACK_T1438585625_H
#define TIMERCALLBACK_T1438585625_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.TimerCallback
struct TimerCallback_t1438585625 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERCALLBACK_T1438585625_H
#ifndef SOCKETEXCEPTION_T3852068672_H
#define SOCKETEXCEPTION_T3852068672_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Sockets.SocketException
struct SocketException_t3852068672 : public Win32Exception_t3234146298
{
public:
// System.Net.EndPoint System.Net.Sockets.SocketException::m_EndPoint
EndPoint_t982345378 * ___m_EndPoint_20;
public:
inline static int32_t get_offset_of_m_EndPoint_20() { return static_cast<int32_t>(offsetof(SocketException_t3852068672, ___m_EndPoint_20)); }
inline EndPoint_t982345378 * get_m_EndPoint_20() const { return ___m_EndPoint_20; }
inline EndPoint_t982345378 ** get_address_of_m_EndPoint_20() { return &___m_EndPoint_20; }
inline void set_m_EndPoint_20(EndPoint_t982345378 * value)
{
___m_EndPoint_20 = value;
Il2CppCodeGenWriteBarrier((&___m_EndPoint_20), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SOCKETEXCEPTION_T3852068672_H
#ifndef WIN32NETWORKINTERFACE2_T2303857857_H
#define WIN32NETWORKINTERFACE2_T2303857857_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32NetworkInterface2
struct Win32NetworkInterface2_t2303857857 : public NetworkInterface_t271883373
{
public:
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES System.Net.NetworkInformation.Win32NetworkInterface2::addr
Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr_0;
// System.Net.NetworkInformation.Win32_MIB_IFROW System.Net.NetworkInformation.Win32NetworkInterface2::mib4
Win32_MIB_IFROW_t851471770 ___mib4_1;
// System.Net.NetworkInformation.Win32_MIB_IFROW System.Net.NetworkInformation.Win32NetworkInterface2::mib6
Win32_MIB_IFROW_t851471770 ___mib6_2;
// System.Net.NetworkInformation.Win32IPv4InterfaceStatistics System.Net.NetworkInformation.Win32NetworkInterface2::ip4stats
Win32IPv4InterfaceStatistics_t3096671123 * ___ip4stats_3;
// System.Net.NetworkInformation.IPInterfaceProperties System.Net.NetworkInformation.Win32NetworkInterface2::ip_if_props
IPInterfaceProperties_t3964383369 * ___ip_if_props_4;
public:
inline static int32_t get_offset_of_addr_0() { return static_cast<int32_t>(offsetof(Win32NetworkInterface2_t2303857857, ___addr_0)); }
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 get_addr_0() const { return ___addr_0; }
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 * get_address_of_addr_0() { return &___addr_0; }
inline void set_addr_0(Win32_IP_ADAPTER_ADDRESSES_t3463526328 value)
{
___addr_0 = value;
}
inline static int32_t get_offset_of_mib4_1() { return static_cast<int32_t>(offsetof(Win32NetworkInterface2_t2303857857, ___mib4_1)); }
inline Win32_MIB_IFROW_t851471770 get_mib4_1() const { return ___mib4_1; }
inline Win32_MIB_IFROW_t851471770 * get_address_of_mib4_1() { return &___mib4_1; }
inline void set_mib4_1(Win32_MIB_IFROW_t851471770 value)
{
___mib4_1 = value;
}
inline static int32_t get_offset_of_mib6_2() { return static_cast<int32_t>(offsetof(Win32NetworkInterface2_t2303857857, ___mib6_2)); }
inline Win32_MIB_IFROW_t851471770 get_mib6_2() const { return ___mib6_2; }
inline Win32_MIB_IFROW_t851471770 * get_address_of_mib6_2() { return &___mib6_2; }
inline void set_mib6_2(Win32_MIB_IFROW_t851471770 value)
{
___mib6_2 = value;
}
inline static int32_t get_offset_of_ip4stats_3() { return static_cast<int32_t>(offsetof(Win32NetworkInterface2_t2303857857, ___ip4stats_3)); }
inline Win32IPv4InterfaceStatistics_t3096671123 * get_ip4stats_3() const { return ___ip4stats_3; }
inline Win32IPv4InterfaceStatistics_t3096671123 ** get_address_of_ip4stats_3() { return &___ip4stats_3; }
inline void set_ip4stats_3(Win32IPv4InterfaceStatistics_t3096671123 * value)
{
___ip4stats_3 = value;
Il2CppCodeGenWriteBarrier((&___ip4stats_3), value);
}
inline static int32_t get_offset_of_ip_if_props_4() { return static_cast<int32_t>(offsetof(Win32NetworkInterface2_t2303857857, ___ip_if_props_4)); }
inline IPInterfaceProperties_t3964383369 * get_ip_if_props_4() const { return ___ip_if_props_4; }
inline IPInterfaceProperties_t3964383369 ** get_address_of_ip_if_props_4() { return &___ip_if_props_4; }
inline void set_ip_if_props_4(IPInterfaceProperties_t3964383369 * value)
{
___ip_if_props_4 = value;
Il2CppCodeGenWriteBarrier((&___ip_if_props_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32NETWORKINTERFACE2_T2303857857_H
#ifndef NETWORKINFORMATIONEXCEPTION_T2303982063_H
#define NETWORKINFORMATIONEXCEPTION_T2303982063_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInformationException
struct NetworkInformationException_t2303982063 : public Win32Exception_t3234146298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKINFORMATIONEXCEPTION_T2303982063_H
#ifndef BINDIPENDPOINT_T1029027275_H
#define BINDIPENDPOINT_T1029027275_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.BindIPEndPoint
struct BindIPEndPoint_t1029027275 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINDIPENDPOINT_T1029027275_H
#ifndef WAITCALLBACK_T2448485498_H
#define WAITCALLBACK_T2448485498_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.WaitCallback
struct WaitCallback_t2448485498 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WAITCALLBACK_T2448485498_H
#ifndef MONOREMOTECERTIFICATEVALIDATIONCALLBACK_T2521872312_H
#define MONOREMOTECERTIFICATEVALIDATIONCALLBACK_T2521872312_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback
struct MonoRemoteCertificateValidationCallback_t2521872312 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOREMOTECERTIFICATEVALIDATIONCALLBACK_T2521872312_H
#ifndef IOASYNCCALLBACK_T705871752_H
#define IOASYNCCALLBACK_T705871752_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IOAsyncCallback
struct IOAsyncCallback_t705871752 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IOASYNCCALLBACK_T705871752_H
#ifndef WIN32NETWORKINTERFACE_T3922465985_H
#define WIN32NETWORKINTERFACE_T3922465985_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32NetworkInterface
struct Win32NetworkInterface_t3922465985 : public RuntimeObject
{
public:
public:
};
struct Win32NetworkInterface_t3922465985_StaticFields
{
public:
// System.Net.NetworkInformation.Win32_FIXED_INFO System.Net.NetworkInformation.Win32NetworkInterface::fixedInfo
Win32_FIXED_INFO_t1299345856 ___fixedInfo_0;
// System.Boolean System.Net.NetworkInformation.Win32NetworkInterface::initialized
bool ___initialized_1;
public:
inline static int32_t get_offset_of_fixedInfo_0() { return static_cast<int32_t>(offsetof(Win32NetworkInterface_t3922465985_StaticFields, ___fixedInfo_0)); }
inline Win32_FIXED_INFO_t1299345856 get_fixedInfo_0() const { return ___fixedInfo_0; }
inline Win32_FIXED_INFO_t1299345856 * get_address_of_fixedInfo_0() { return &___fixedInfo_0; }
inline void set_fixedInfo_0(Win32_FIXED_INFO_t1299345856 value)
{
___fixedInfo_0 = value;
}
inline static int32_t get_offset_of_initialized_1() { return static_cast<int32_t>(offsetof(Win32NetworkInterface_t3922465985_StaticFields, ___initialized_1)); }
inline bool get_initialized_1() const { return ___initialized_1; }
inline bool* get_address_of_initialized_1() { return &___initialized_1; }
inline void set_initialized_1(bool value)
{
___initialized_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32NETWORKINTERFACE_T3922465985_H
#ifndef MONOLOCALCERTIFICATESELECTIONCALLBACK_T1375878923_H
#define MONOLOCALCERTIFICATESELECTIONCALLBACK_T1375878923_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback
struct MonoLocalCertificateSelectionCallback_t1375878923 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOLOCALCERTIFICATESELECTIONCALLBACK_T1375878923_H
#ifndef MONOTLSSETTINGS_T3666008581_H
#define MONOTLSSETTINGS_T3666008581_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Interface.MonoTlsSettings
struct MonoTlsSettings_t3666008581 : public RuntimeObject
{
public:
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback Mono.Security.Interface.MonoTlsSettings::<RemoteCertificateValidationCallback>k__BackingField
MonoRemoteCertificateValidationCallback_t2521872312 * ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0;
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback Mono.Security.Interface.MonoTlsSettings::<ClientCertificateSelectionCallback>k__BackingField
MonoLocalCertificateSelectionCallback_t1375878923 * ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1;
// System.Nullable`1<System.DateTime> Mono.Security.Interface.MonoTlsSettings::<CertificateValidationTime>k__BackingField
Nullable_1_t1166124571 ___U3CCertificateValidationTimeU3Ek__BackingField_2;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Interface.MonoTlsSettings::<TrustAnchors>k__BackingField
X509CertificateCollection_t3399372417 * ___U3CTrustAnchorsU3Ek__BackingField_3;
// System.Object Mono.Security.Interface.MonoTlsSettings::<UserSettings>k__BackingField
RuntimeObject * ___U3CUserSettingsU3Ek__BackingField_4;
// System.String[] Mono.Security.Interface.MonoTlsSettings::<CertificateSearchPaths>k__BackingField
StringU5BU5D_t1281789340* ___U3CCertificateSearchPathsU3Ek__BackingField_5;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::<SendCloseNotify>k__BackingField
bool ___U3CSendCloseNotifyU3Ek__BackingField_6;
// System.Nullable`1<Mono.Security.Interface.TlsProtocols> Mono.Security.Interface.MonoTlsSettings::<EnabledProtocols>k__BackingField
Nullable_1_t1184147377 ___U3CEnabledProtocolsU3Ek__BackingField_7;
// Mono.Security.Interface.CipherSuiteCode[] Mono.Security.Interface.MonoTlsSettings::<EnabledCiphers>k__BackingField
CipherSuiteCodeU5BU5D_t3566916850* ___U3CEnabledCiphersU3Ek__BackingField_8;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::cloned
bool ___cloned_9;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::checkCertName
bool ___checkCertName_10;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::checkCertRevocationStatus
bool ___checkCertRevocationStatus_11;
// System.Nullable`1<System.Boolean> Mono.Security.Interface.MonoTlsSettings::useServicePointManagerCallback
Nullable_1_t1819850047 ___useServicePointManagerCallback_12;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::skipSystemValidators
bool ___skipSystemValidators_13;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::callbackNeedsChain
bool ___callbackNeedsChain_14;
// Mono.Security.Interface.ICertificateValidator Mono.Security.Interface.MonoTlsSettings::certificateValidator
RuntimeObject* ___certificateValidator_15;
public:
inline static int32_t get_offset_of_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0)); }
inline MonoRemoteCertificateValidationCallback_t2521872312 * get_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() const { return ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0; }
inline MonoRemoteCertificateValidationCallback_t2521872312 ** get_address_of_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() { return &___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0; }
inline void set_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0(MonoRemoteCertificateValidationCallback_t2521872312 * value)
{
___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1)); }
inline MonoLocalCertificateSelectionCallback_t1375878923 * get_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() const { return ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1; }
inline MonoLocalCertificateSelectionCallback_t1375878923 ** get_address_of_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() { return &___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1; }
inline void set_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1(MonoLocalCertificateSelectionCallback_t1375878923 * value)
{
___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1), value);
}
inline static int32_t get_offset_of_U3CCertificateValidationTimeU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CCertificateValidationTimeU3Ek__BackingField_2)); }
inline Nullable_1_t1166124571 get_U3CCertificateValidationTimeU3Ek__BackingField_2() const { return ___U3CCertificateValidationTimeU3Ek__BackingField_2; }
inline Nullable_1_t1166124571 * get_address_of_U3CCertificateValidationTimeU3Ek__BackingField_2() { return &___U3CCertificateValidationTimeU3Ek__BackingField_2; }
inline void set_U3CCertificateValidationTimeU3Ek__BackingField_2(Nullable_1_t1166124571 value)
{
___U3CCertificateValidationTimeU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CTrustAnchorsU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CTrustAnchorsU3Ek__BackingField_3)); }
inline X509CertificateCollection_t3399372417 * get_U3CTrustAnchorsU3Ek__BackingField_3() const { return ___U3CTrustAnchorsU3Ek__BackingField_3; }
inline X509CertificateCollection_t3399372417 ** get_address_of_U3CTrustAnchorsU3Ek__BackingField_3() { return &___U3CTrustAnchorsU3Ek__BackingField_3; }
inline void set_U3CTrustAnchorsU3Ek__BackingField_3(X509CertificateCollection_t3399372417 * value)
{
___U3CTrustAnchorsU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((&___U3CTrustAnchorsU3Ek__BackingField_3), value);
}
inline static int32_t get_offset_of_U3CUserSettingsU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CUserSettingsU3Ek__BackingField_4)); }
inline RuntimeObject * get_U3CUserSettingsU3Ek__BackingField_4() const { return ___U3CUserSettingsU3Ek__BackingField_4; }
inline RuntimeObject ** get_address_of_U3CUserSettingsU3Ek__BackingField_4() { return &___U3CUserSettingsU3Ek__BackingField_4; }
inline void set_U3CUserSettingsU3Ek__BackingField_4(RuntimeObject * value)
{
___U3CUserSettingsU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((&___U3CUserSettingsU3Ek__BackingField_4), value);
}
inline static int32_t get_offset_of_U3CCertificateSearchPathsU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CCertificateSearchPathsU3Ek__BackingField_5)); }
inline StringU5BU5D_t1281789340* get_U3CCertificateSearchPathsU3Ek__BackingField_5() const { return ___U3CCertificateSearchPathsU3Ek__BackingField_5; }
inline StringU5BU5D_t1281789340** get_address_of_U3CCertificateSearchPathsU3Ek__BackingField_5() { return &___U3CCertificateSearchPathsU3Ek__BackingField_5; }
inline void set_U3CCertificateSearchPathsU3Ek__BackingField_5(StringU5BU5D_t1281789340* value)
{
___U3CCertificateSearchPathsU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((&___U3CCertificateSearchPathsU3Ek__BackingField_5), value);
}
inline static int32_t get_offset_of_U3CSendCloseNotifyU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CSendCloseNotifyU3Ek__BackingField_6)); }
inline bool get_U3CSendCloseNotifyU3Ek__BackingField_6() const { return ___U3CSendCloseNotifyU3Ek__BackingField_6; }
inline bool* get_address_of_U3CSendCloseNotifyU3Ek__BackingField_6() { return &___U3CSendCloseNotifyU3Ek__BackingField_6; }
inline void set_U3CSendCloseNotifyU3Ek__BackingField_6(bool value)
{
___U3CSendCloseNotifyU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CEnabledProtocolsU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CEnabledProtocolsU3Ek__BackingField_7)); }
inline Nullable_1_t1184147377 get_U3CEnabledProtocolsU3Ek__BackingField_7() const { return ___U3CEnabledProtocolsU3Ek__BackingField_7; }
inline Nullable_1_t1184147377 * get_address_of_U3CEnabledProtocolsU3Ek__BackingField_7() { return &___U3CEnabledProtocolsU3Ek__BackingField_7; }
inline void set_U3CEnabledProtocolsU3Ek__BackingField_7(Nullable_1_t1184147377 value)
{
___U3CEnabledProtocolsU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_U3CEnabledCiphersU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___U3CEnabledCiphersU3Ek__BackingField_8)); }
inline CipherSuiteCodeU5BU5D_t3566916850* get_U3CEnabledCiphersU3Ek__BackingField_8() const { return ___U3CEnabledCiphersU3Ek__BackingField_8; }
inline CipherSuiteCodeU5BU5D_t3566916850** get_address_of_U3CEnabledCiphersU3Ek__BackingField_8() { return &___U3CEnabledCiphersU3Ek__BackingField_8; }
inline void set_U3CEnabledCiphersU3Ek__BackingField_8(CipherSuiteCodeU5BU5D_t3566916850* value)
{
___U3CEnabledCiphersU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((&___U3CEnabledCiphersU3Ek__BackingField_8), value);
}
inline static int32_t get_offset_of_cloned_9() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___cloned_9)); }
inline bool get_cloned_9() const { return ___cloned_9; }
inline bool* get_address_of_cloned_9() { return &___cloned_9; }
inline void set_cloned_9(bool value)
{
___cloned_9 = value;
}
inline static int32_t get_offset_of_checkCertName_10() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___checkCertName_10)); }
inline bool get_checkCertName_10() const { return ___checkCertName_10; }
inline bool* get_address_of_checkCertName_10() { return &___checkCertName_10; }
inline void set_checkCertName_10(bool value)
{
___checkCertName_10 = value;
}
inline static int32_t get_offset_of_checkCertRevocationStatus_11() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___checkCertRevocationStatus_11)); }
inline bool get_checkCertRevocationStatus_11() const { return ___checkCertRevocationStatus_11; }
inline bool* get_address_of_checkCertRevocationStatus_11() { return &___checkCertRevocationStatus_11; }
inline void set_checkCertRevocationStatus_11(bool value)
{
___checkCertRevocationStatus_11 = value;
}
inline static int32_t get_offset_of_useServicePointManagerCallback_12() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___useServicePointManagerCallback_12)); }
inline Nullable_1_t1819850047 get_useServicePointManagerCallback_12() const { return ___useServicePointManagerCallback_12; }
inline Nullable_1_t1819850047 * get_address_of_useServicePointManagerCallback_12() { return &___useServicePointManagerCallback_12; }
inline void set_useServicePointManagerCallback_12(Nullable_1_t1819850047 value)
{
___useServicePointManagerCallback_12 = value;
}
inline static int32_t get_offset_of_skipSystemValidators_13() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___skipSystemValidators_13)); }
inline bool get_skipSystemValidators_13() const { return ___skipSystemValidators_13; }
inline bool* get_address_of_skipSystemValidators_13() { return &___skipSystemValidators_13; }
inline void set_skipSystemValidators_13(bool value)
{
___skipSystemValidators_13 = value;
}
inline static int32_t get_offset_of_callbackNeedsChain_14() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___callbackNeedsChain_14)); }
inline bool get_callbackNeedsChain_14() const { return ___callbackNeedsChain_14; }
inline bool* get_address_of_callbackNeedsChain_14() { return &___callbackNeedsChain_14; }
inline void set_callbackNeedsChain_14(bool value)
{
___callbackNeedsChain_14 = value;
}
inline static int32_t get_offset_of_certificateValidator_15() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581, ___certificateValidator_15)); }
inline RuntimeObject* get_certificateValidator_15() const { return ___certificateValidator_15; }
inline RuntimeObject** get_address_of_certificateValidator_15() { return &___certificateValidator_15; }
inline void set_certificateValidator_15(RuntimeObject* value)
{
___certificateValidator_15 = value;
Il2CppCodeGenWriteBarrier((&___certificateValidator_15), value);
}
};
struct MonoTlsSettings_t3666008581_StaticFields
{
public:
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::defaultSettings
MonoTlsSettings_t3666008581 * ___defaultSettings_16;
public:
inline static int32_t get_offset_of_defaultSettings_16() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t3666008581_StaticFields, ___defaultSettings_16)); }
inline MonoTlsSettings_t3666008581 * get_defaultSettings_16() const { return ___defaultSettings_16; }
inline MonoTlsSettings_t3666008581 ** get_address_of_defaultSettings_16() { return &___defaultSettings_16; }
inline void set_defaultSettings_16(MonoTlsSettings_t3666008581 * value)
{
___defaultSettings_16 = value;
Il2CppCodeGenWriteBarrier((&___defaultSettings_16), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOTLSSETTINGS_T3666008581_H
#ifndef REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#define REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.RemoteCertificateValidationCallback
struct RemoteCertificateValidationCallback_t3014364904 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#ifndef ASYNCCALLBACK_T3962456242_H
#define ASYNCCALLBACK_T3962456242_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.AsyncCallback
struct AsyncCallback_t3962456242 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYNCCALLBACK_T3962456242_H
#ifndef LOCALCERTIFICATESELECTIONCALLBACK_T2354453884_H
#define LOCALCERTIFICATESELECTIONCALLBACK_T2354453884_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.LocalCertificateSelectionCallback
struct LocalCertificateSelectionCallback_t2354453884 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOCALCERTIFICATESELECTIONCALLBACK_T2354453884_H
#ifndef MANUALRESETEVENT_T451242010_H
#define MANUALRESETEVENT_T451242010_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ManualResetEvent
struct ManualResetEvent_t451242010 : public EventWaitHandle_t777845177
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MANUALRESETEVENT_T451242010_H
#ifndef CALLBACK_T184293096_H
#define CALLBACK_T184293096_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.TimerThread/Callback
struct Callback_t184293096 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CALLBACK_T184293096_H
#ifndef LOCALCERTSELECTIONCALLBACK_T1988113036_H
#define LOCALCERTSELECTIONCALLBACK_T1988113036_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.LocalCertSelectionCallback
struct LocalCertSelectionCallback_t1988113036 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOCALCERTSELECTIONCALLBACK_T1988113036_H
#ifndef EVENTHANDLER_T1348719766_H
#define EVENTHANDLER_T1348719766_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.EventHandler
struct EventHandler_t1348719766 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTHANDLER_T1348719766_H
#ifndef EVENTHANDLER_1_T2070362453_H
#define EVENTHANDLER_1_T2070362453_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.EventHandler`1<System.Net.Sockets.SocketAsyncEventArgs>
struct EventHandler_1_t2070362453 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTHANDLER_1_T2070362453_H
#ifndef CONTEXTCALLBACK_T3823316192_H
#define CONTEXTCALLBACK_T3823316192_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ContextCallback
struct ContextCallback_t3823316192 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONTEXTCALLBACK_T3823316192_H
#ifndef WIN32IPINTERFACEPROPERTIES2_T4152818631_H
#define WIN32IPINTERFACEPROPERTIES2_T4152818631_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32IPInterfaceProperties2
struct Win32IPInterfaceProperties2_t4152818631 : public IPInterfaceProperties_t3964383369
{
public:
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES System.Net.NetworkInformation.Win32IPInterfaceProperties2::addr
Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr_0;
// System.Net.NetworkInformation.Win32_MIB_IFROW System.Net.NetworkInformation.Win32IPInterfaceProperties2::mib4
Win32_MIB_IFROW_t851471770 ___mib4_1;
// System.Net.NetworkInformation.Win32_MIB_IFROW System.Net.NetworkInformation.Win32IPInterfaceProperties2::mib6
Win32_MIB_IFROW_t851471770 ___mib6_2;
public:
inline static int32_t get_offset_of_addr_0() { return static_cast<int32_t>(offsetof(Win32IPInterfaceProperties2_t4152818631, ___addr_0)); }
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 get_addr_0() const { return ___addr_0; }
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 * get_address_of_addr_0() { return &___addr_0; }
inline void set_addr_0(Win32_IP_ADAPTER_ADDRESSES_t3463526328 value)
{
___addr_0 = value;
}
inline static int32_t get_offset_of_mib4_1() { return static_cast<int32_t>(offsetof(Win32IPInterfaceProperties2_t4152818631, ___mib4_1)); }
inline Win32_MIB_IFROW_t851471770 get_mib4_1() const { return ___mib4_1; }
inline Win32_MIB_IFROW_t851471770 * get_address_of_mib4_1() { return &___mib4_1; }
inline void set_mib4_1(Win32_MIB_IFROW_t851471770 value)
{
___mib4_1 = value;
}
inline static int32_t get_offset_of_mib6_2() { return static_cast<int32_t>(offsetof(Win32IPInterfaceProperties2_t4152818631, ___mib6_2)); }
inline Win32_MIB_IFROW_t851471770 get_mib6_2() const { return ___mib6_2; }
inline Win32_MIB_IFROW_t851471770 * get_address_of_mib6_2() { return &___mib6_2; }
inline void set_mib6_2(Win32_MIB_IFROW_t851471770 value)
{
___mib6_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32IPINTERFACEPROPERTIES2_T4152818631_H
#ifndef WIN32IPV4INTERFACESTATISTICS_T3096671123_H
#define WIN32IPV4INTERFACESTATISTICS_T3096671123_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.Win32IPv4InterfaceStatistics
struct Win32IPv4InterfaceStatistics_t3096671123 : public IPv4InterfaceStatistics_t3249312820
{
public:
// System.Net.NetworkInformation.Win32_MIB_IFROW System.Net.NetworkInformation.Win32IPv4InterfaceStatistics::info
Win32_MIB_IFROW_t851471770 ___info_0;
public:
inline static int32_t get_offset_of_info_0() { return static_cast<int32_t>(offsetof(Win32IPv4InterfaceStatistics_t3096671123, ___info_0)); }
inline Win32_MIB_IFROW_t851471770 get_info_0() const { return ___info_0; }
inline Win32_MIB_IFROW_t851471770 * get_address_of_info_0() { return &___info_0; }
inline void set_info_0(Win32_MIB_IFROW_t851471770 value)
{
___info_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WIN32IPV4INTERFACESTATISTICS_T3096671123_H
#ifndef ACTION_1_T3359742907_H
#define ACTION_1_T3359742907_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<System.Threading.Tasks.Task>
struct Action_1_t3359742907 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T3359742907_H
#ifndef SIMPLEASYNCCALLBACK_T2966023072_H
#define SIMPLEASYNCCALLBACK_T2966023072_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SimpleAsyncCallback
struct SimpleAsyncCallback_t2966023072 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SIMPLEASYNCCALLBACK_T2966023072_H
// System.Net.NetworkInformation.NetworkInterface[]
struct NetworkInterfaceU5BU5D_t3597716288 : public RuntimeArray
{
public:
ALIGN_FIELD (8) NetworkInterface_t271883373 * m_Items[1];
public:
inline NetworkInterface_t271883373 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline NetworkInterface_t271883373 ** 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, NetworkInterface_t271883373 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline NetworkInterface_t271883373 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline NetworkInterface_t271883373 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, NetworkInterface_t271883373 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Byte[]
struct ByteU5BU5D_t4116647657 : 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.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES[]
struct Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Win32_IP_ADAPTER_ADDRESSES_t3463526328 m_Items[1];
public:
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 * 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, Win32_IP_ADAPTER_ADDRESSES_t3463526328 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Win32_IP_ADAPTER_ADDRESSES_t3463526328 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Win32_IP_ADAPTER_ADDRESSES_t3463526328 value)
{
m_Items[index] = value;
}
};
// System.String[]
struct StringU5BU5D_t1281789340 : 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(m_Items + index, 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(m_Items + index, value);
}
};
// System.Char[]
struct CharU5BU5D_t3528271667 : 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.UInt32[]
struct UInt32U5BU5D_t2770800703 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint32_t m_Items[1];
public:
inline uint32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint32_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, uint32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
{
m_Items[index] = value;
}
};
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056 : public RuntimeArray
{
public:
ALIGN_FIELD (8) intptr_t m_Items[1];
public:
inline intptr_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline intptr_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, intptr_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline intptr_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline intptr_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, intptr_t value)
{
m_Items[index] = value;
}
};
// System.Delegate[]
struct DelegateU5BU5D_t1703627840 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Delegate_t1188392813 * m_Items[1];
public:
inline Delegate_t1188392813 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Delegate_t1188392813 ** 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_t1188392813 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Delegate_t1188392813 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Delegate_t1188392813 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t1188392813 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Net.IPAddress[]
struct IPAddressU5BU5D_t596328627 : public RuntimeArray
{
public:
ALIGN_FIELD (8) IPAddress_t241777590 * m_Items[1];
public:
inline IPAddress_t241777590 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline IPAddress_t241777590 ** 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, IPAddress_t241777590 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline IPAddress_t241777590 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline IPAddress_t241777590 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, IPAddress_t241777590 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Object[]
struct ObjectU5BU5D_t2843939325 : 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(m_Items + index, 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(m_Items + index, value);
}
};
// System.Runtime.InteropServices.GCHandle[]
struct GCHandleU5BU5D_t35668618 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GCHandle_t3351438187 m_Items[1];
public:
inline GCHandle_t3351438187 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GCHandle_t3351438187 * 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, GCHandle_t3351438187 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline GCHandle_t3351438187 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GCHandle_t3351438187 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GCHandle_t3351438187 value)
{
m_Items[index] = value;
}
};
// System.Net.Sockets.Socket/WSABUF[]
struct WSABUFU5BU5D_t2234152139 : public RuntimeArray
{
public:
ALIGN_FIELD (8) WSABUF_t1998059390 m_Items[1];
public:
inline WSABUF_t1998059390 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WSABUF_t1998059390 * 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, WSABUF_t1998059390 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline WSABUF_t1998059390 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WSABUF_t1998059390 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WSABUF_t1998059390 value)
{
m_Items[index] = value;
}
};
// System.Threading.WaitHandle[]
struct WaitHandleU5BU5D_t96772038 : public RuntimeArray
{
public:
ALIGN_FIELD (8) WaitHandle_t1743403487 * m_Items[1];
public:
inline WaitHandle_t1743403487 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WaitHandle_t1743403487 ** 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_t1743403487 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline WaitHandle_t1743403487 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WaitHandle_t1743403487 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WaitHandle_t1743403487 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
extern "C" void in6_addr_t3611791508_marshal_pinvoke(const in6_addr_t3611791508& unmarshaled, in6_addr_t3611791508_marshaled_pinvoke& marshaled);
extern "C" void in6_addr_t3611791508_marshal_pinvoke_back(const in6_addr_t3611791508_marshaled_pinvoke& marshaled, in6_addr_t3611791508& unmarshaled);
extern "C" void in6_addr_t3611791508_marshal_pinvoke_cleanup(in6_addr_t3611791508_marshaled_pinvoke& marshaled);
extern "C" void in6_addr_t3611791508_marshal_com(const in6_addr_t3611791508& unmarshaled, in6_addr_t3611791508_marshaled_com& marshaled);
extern "C" void in6_addr_t3611791508_marshal_com_back(const in6_addr_t3611791508_marshaled_com& marshaled, in6_addr_t3611791508& unmarshaled);
extern "C" void in6_addr_t3611791508_marshal_com_cleanup(in6_addr_t3611791508_marshaled_com& marshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke(const Win32_IP_ADDR_STRING_t1213417184& unmarshaled, Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_back(const Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled, Win32_IP_ADDR_STRING_t1213417184& unmarshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_cleanup(Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com(const Win32_IP_ADDR_STRING_t1213417184& unmarshaled, Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com_back(const Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled, Win32_IP_ADDR_STRING_t1213417184& unmarshaled);
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com_cleanup(Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled);
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke(const Win32_MIB_IFROW_t851471770& unmarshaled, Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled);
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke_back(const Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled, Win32_MIB_IFROW_t851471770& unmarshaled);
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke_cleanup(Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled);
extern "C" void Exception_t_marshal_pinvoke(const Exception_t& unmarshaled, Exception_t_marshaled_pinvoke& marshaled);
extern "C" void Exception_t_marshal_pinvoke_back(const Exception_t_marshaled_pinvoke& marshaled, Exception_t& unmarshaled);
extern "C" void Exception_t_marshal_pinvoke_cleanup(Exception_t_marshaled_pinvoke& marshaled);
extern "C" void Exception_t_marshal_com(const Exception_t& unmarshaled, Exception_t_marshaled_com& marshaled);
extern "C" void Exception_t_marshal_com_back(const Exception_t_marshaled_com& marshaled, Exception_t& unmarshaled);
extern "C" void Exception_t_marshal_com_cleanup(Exception_t_marshaled_com& marshaled);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m518943619_gshared (Dictionary_2_t132545152 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(!0,!1&)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m1996088172_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject ** p1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Add(!0,!1)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2_Add_m3105409630_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m3919933788_gshared (Dictionary_2_t132545152 * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Values()
extern "C" IL2CPP_METHOD_ATTR ValueCollection_t1848589470 * Dictionary_2_get_Values_m2492087945_gshared (Dictionary_2_t132545152 * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/ValueCollection<System.Object,System.Object>::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR Enumerator_t701438809 ValueCollection_GetEnumerator_m3808619909_gshared (ValueCollection_t1848589470 * __this, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.Object,System.Object>::get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m2014973879_gshared (Enumerator_t701438809 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.Object,System.Object>::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m181298207_gshared (Enumerator_t701438809 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.Object,System.Object>::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Enumerator_Dispose_m1051275336_gshared (Enumerator_t701438809 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m3895760431_gshared (List_1_t640633774 * __this, const RuntimeMethod* method);
// !!0 System.Runtime.InteropServices.Marshal::PtrToStructure<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR Win32_IP_ADAPTER_ADDRESSES_t3463526328 Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785_gshared (RuntimeObject * __this /* static, unused */, intptr_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR void List_1_Add_m3991070075_gshared (List_1_t640633774 * __this, Win32_IP_ADAPTER_ADDRESSES_t3463526328 p0, const RuntimeMethod* method);
// !0[] System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::ToArray()
extern "C" IL2CPP_METHOD_ATTR Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* List_1_ToArray_m650252620_gshared (List_1_t640633774 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m2321703786_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR void List_1_Add_m3338814081_gshared (List_1_t257213610 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// !!0 System.Runtime.InteropServices.Marshal::PtrToStructure<System.Net.NetworkInformation.Win32_FIXED_INFO>(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR Win32_FIXED_INFO_t1299345856 Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215_gshared (RuntimeObject * __this /* static, unused */, intptr_t p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Remove(!0)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_m2051736387_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m1581319360_gshared (List_1_t257213610 * __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Object>::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR Enumerator_t2146457487 List_1_GetEnumerator_m816315209_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m337713592_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m2142368520_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Enumerator_Dispose_m3007748546_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::ContainsKey(!0)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_m3993293265_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// !1 System.Func`2<System.Object,System.Boolean>::Invoke(!0)
extern "C" IL2CPP_METHOD_ATTR bool Func_2_Invoke_m2315818287_gshared (Func_2_t3759279471 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.Func`2<System.Object,System.Boolean>::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Func_2__ctor_m135484220_gshared (Func_2_t3759279471 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Boolean System.Nullable`1<System.Boolean>::get_HasValue()
extern "C" IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m1994351731_gshared (Nullable_1_t1819850047 * __this, const RuntimeMethod* method);
// !0 System.Nullable`1<System.Boolean>::get_Value()
extern "C" IL2CPP_METHOD_ATTR bool Nullable_1_get_Value_m2018837163_gshared (Nullable_1_t1819850047 * __this, const RuntimeMethod* method);
// System.Void System.Nullable`1<System.Boolean>::.ctor(!0)
extern "C" IL2CPP_METHOD_ATTR void Nullable_1__ctor_m509459810_gshared (Nullable_1_t1819850047 * __this, bool p0, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Item(!0)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Dictionary_2_get_Item_m4278578609_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2934127733_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_m1328026504_gshared (List_1_t257213610 * __this, int32_t p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(!0)
extern "C" IL2CPP_METHOD_ATTR bool List_1_Remove_m2390619627_gshared (List_1_t257213610 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::IndexOf(!0)
extern "C" IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m1360995952_gshared (List_1_t257213610 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Int32 System.ArraySegment`1<System.Byte>::get_Offset()
extern "C" IL2CPP_METHOD_ATTR int32_t ArraySegment_1_get_Offset_m2467593538_gshared (ArraySegment_1_t283560987 * __this, const RuntimeMethod* method);
// System.Int32 System.ArraySegment`1<System.Byte>::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t ArraySegment_1_get_Count_m1931227497_gshared (ArraySegment_1_t283560987 * __this, const RuntimeMethod* method);
// !0[] System.ArraySegment`1<System.Byte>::get_Array()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ArraySegment_1_get_Array_m3038125939_gshared (ArraySegment_1_t283560987 * __this, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.Marshal::UnsafeAddrOfPinnedArrayElement<System.Byte>(!!0[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR intptr_t Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431_gshared (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Action_1__ctor_m118522912_gshared (Action_1_t3252573759 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.EventHandler`1<System.Object>::Invoke(System.Object,!0)
extern "C" IL2CPP_METHOD_ATTR void EventHandler_1_Invoke_m341276322_gshared (EventHandler_1_t1004265597 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Void System.Func`5<System.Object,System.Int32,System.Object,System.Object,System.Object>::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Func_5__ctor_m3369453513_gshared (Func_5_t1312946854 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.TaskFactory::FromAsync<System.Object,System.Int32>(System.Func`5<!!0,!!1,System.AsyncCallback,System.Object,System.IAsyncResult>,System.Action`1<System.IAsyncResult>,!!0,!!1,System.Object)
extern "C" IL2CPP_METHOD_ATTR Task_t3187275312 * TaskFactory_FromAsync_TisRuntimeObject_TisInt32_t2950945753_m2925100725_gshared (TaskFactory_t2660013028 * __this, Func_5_t2291327587 * p0, Action_1_t939472046 * p1, RuntimeObject * p2, int32_t p3, RuntimeObject * p4, const RuntimeMethod* method);
// System.Void System.Collections.Generic.LinkedList`1<System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void LinkedList_1__ctor_m3670635350_gshared (LinkedList_1_t1919752173 * __this, const RuntimeMethod* method);
// System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1<System.Object>::AddLast(T)
extern "C" IL2CPP_METHOD_ATTR LinkedListNode_1_t2825281267 * LinkedList_1_AddLast_m1583460477_gshared (LinkedList_1_t1919752173 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::.ctor()
#define Dictionary_2__ctor_m310562627(__this, method) (( void (*) (Dictionary_2_t3754537481 *, const RuntimeMethod*))Dictionary_2__ctor_m518943619_gshared)(__this, method)
// System.Int32 System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::getifaddrs(System.IntPtr&)
extern "C" IL2CPP_METHOD_ATTR int32_t UnixNetworkInterfaceAPI_getifaddrs_m2431248539 (RuntimeObject * __this /* static, unused */, intptr_t* ___ifap0, const RuntimeMethod* method);
// System.Void System.SystemException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void SystemException__ctor_m3298527747 (SystemException_t176217640 * __this, String_t* p0, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m1620074514 (RuntimeObject * __this /* static, unused */, RuntimeTypeHandle_t3027515415 p0, const RuntimeMethod* method);
// System.Object System.Runtime.InteropServices.Marshal::PtrToStructure(System.IntPtr,System.Type)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Marshal_PtrToStructure_m771949023 (RuntimeObject * __this /* static, unused */, intptr_t p0, Type_t * p1, const RuntimeMethod* method);
// System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR bool IntPtr_op_Inequality_m3063970704 (RuntimeObject * __this /* static, unused */, intptr_t p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.Net.IPAddress::.ctor(System.Byte[],System.Int64)
extern "C" IL2CPP_METHOD_ATTR void IPAddress__ctor_m212134278 (IPAddress_t241777590 * __this, ByteU5BU5D_t4116647657* ___address0, int64_t ___scopeid1, const RuntimeMethod* method);
// System.Void System.Net.IPAddress::.ctor(System.Int64)
extern "C" IL2CPP_METHOD_ATTR void IPAddress__ctor_m921977496 (IPAddress_t241777590 * __this, int64_t ___newAddress0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.MacOsStructs.sockaddr_dl::Read(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void sockaddr_dl_Read_m1409728640 (sockaddr_dl_t1317779094 * __this, intptr_t ___ptr0, const RuntimeMethod* method);
// System.Int32 System.Math::Min(System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t Math_Min_m3468062251 (RuntimeObject * __this /* static, unused */, int32_t p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Array_Copy_m344457298 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, int32_t p1, RuntimeArray * p2, int32_t p3, int32_t p4, const RuntimeMethod* method);
// System.Boolean System.Enum::IsDefined(System.Type,System.Object)
extern "C" IL2CPP_METHOD_ATTR bool Enum_IsDefined_m1442314461 (RuntimeObject * __this /* static, unused */, Type_t * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::TryGetValue(!0,!1&)
#define Dictionary_2_TryGetValue_m3793869397(__this, p0, p1, method) (( bool (*) (Dictionary_2_t3754537481 *, String_t*, MacOsNetworkInterface_t3969281182 **, const RuntimeMethod*))Dictionary_2_TryGetValue_m1996088172_gshared)(__this, p0, p1, method)
// System.Void System.Net.NetworkInformation.MacOsNetworkInterface::.ctor(System.String,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void MacOsNetworkInterface__ctor_m2205294491 (MacOsNetworkInterface_t3969281182 * __this, String_t* ___name0, uint32_t ___ifa_flags1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::Add(!0,!1)
#define Dictionary_2_Add_m753723603(__this, p0, p1, method) (( void (*) (Dictionary_2_t3754537481 *, String_t*, MacOsNetworkInterface_t3969281182 *, const RuntimeMethod*))Dictionary_2_Add_m3105409630_gshared)(__this, p0, p1, method)
// System.Void System.Net.NetworkInformation.UnixNetworkInterface::AddAddress(System.Net.IPAddress)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterface_AddAddress_m32632039 (UnixNetworkInterface_t2401762829 * __this, IPAddress_t241777590 * ___address0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.UnixNetworkInterface::SetLinkLayerInfo(System.Int32,System.Byte[],System.Net.NetworkInformation.NetworkInterfaceType)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterface_SetLinkLayerInfo_m2970882883 (UnixNetworkInterface_t2401762829 * __this, int32_t ___index0, ByteU5BU5D_t4116647657* ___macAddress1, int32_t ___type2, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::freeifaddrs(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterfaceAPI_freeifaddrs_m4234587285 (RuntimeObject * __this /* static, unused */, intptr_t ___ifap0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::get_Count()
#define Dictionary_2_get_Count_m602751768(__this, method) (( int32_t (*) (Dictionary_2_t3754537481 *, const RuntimeMethod*))Dictionary_2_get_Count_m3919933788_gshared)(__this, method)
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::get_Values()
#define Dictionary_2_get_Values_m2228828089(__this, method) (( ValueCollection_t1175614503 * (*) (Dictionary_2_t3754537481 *, const RuntimeMethod*))Dictionary_2_get_Values_m2492087945_gshared)(__this, method)
// System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::GetEnumerator()
#define ValueCollection_GetEnumerator_m314112853(__this, method) (( Enumerator_t28463842 (*) (ValueCollection_t1175614503 *, const RuntimeMethod*))ValueCollection_GetEnumerator_m3808619909_gshared)(__this, method)
// !1 System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::get_Current()
#define Enumerator_get_Current_m4064348663(__this, method) (( MacOsNetworkInterface_t3969281182 * (*) (Enumerator_t28463842 *, const RuntimeMethod*))Enumerator_get_Current_m2014973879_gshared)(__this, method)
// System.Boolean System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::MoveNext()
#define Enumerator_MoveNext_m2764203907(__this, method) (( bool (*) (Enumerator_t28463842 *, const RuntimeMethod*))Enumerator_MoveNext_m181298207_gshared)(__this, method)
// System.Void System.Collections.Generic.Dictionary`2/ValueCollection/Enumerator<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>::Dispose()
#define Enumerator_Dispose_m3848008877(__this, method) (( void (*) (Enumerator_t28463842 *, const RuntimeMethod*))Enumerator_Dispose_m1051275336_gshared)(__this, method)
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::.ctor()
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterfaceAPI__ctor_m1070154817 (UnixNetworkInterfaceAPI_t1061423219 * __this, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory::.ctor()
extern "C" IL2CPP_METHOD_ATTR void NetworkInterfaceFactory__ctor_m2168700888 (NetworkInterfaceFactory_t1756522298 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::GetAdaptersAddresses(System.UInt32,System.UInt32,System.IntPtr,System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270 (RuntimeObject * __this /* static, unused */, uint32_t ___family0, uint32_t ___flags1, intptr_t ___reserved2, intptr_t ___info3, int32_t* ___size4, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.Marshal::AllocHGlobal(System.Int32)
extern "C" IL2CPP_METHOD_ATTR intptr_t Marshal_AllocHGlobal_m491131085 (RuntimeObject * __this /* static, unused */, int32_t p0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.NetworkInformationException::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkInformationException__ctor_m4062806937 (NetworkInformationException_t2303982063 * __this, int32_t ___errorCode0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::.ctor()
#define List_1__ctor_m3895760431(__this, method) (( void (*) (List_1_t640633774 *, const RuntimeMethod*))List_1__ctor_m3895760431_gshared)(__this, method)
// !!0 System.Runtime.InteropServices.Marshal::PtrToStructure<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>(System.IntPtr)
#define Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785(__this /* static, unused */, p0, method) (( Win32_IP_ADAPTER_ADDRESSES_t3463526328 (*) (RuntimeObject * /* static, unused */, intptr_t, const RuntimeMethod*))Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785_gshared)(__this /* static, unused */, p0, method)
// System.Void System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::Add(!0)
#define List_1_Add_m3991070075(__this, p0, method) (( void (*) (List_1_t640633774 *, Win32_IP_ADAPTER_ADDRESSES_t3463526328 , const RuntimeMethod*))List_1_Add_m3991070075_gshared)(__this, p0, method)
// !0[] System.Collections.Generic.List`1<System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES>::ToArray()
#define List_1_ToArray_m650252620(__this, method) (( Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* (*) (List_1_t640633774 *, const RuntimeMethod*))List_1_ToArray_m650252620_gshared)(__this, method)
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES[] System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::GetAdaptersAddresses()
extern "C" IL2CPP_METHOD_ATTR Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32NetworkInterface2::.ctor(System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES)
extern "C" IL2CPP_METHOD_ATTR void Win32NetworkInterface2__ctor_m3652556675 (Win32NetworkInterface2_t2303857857 * __this, Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr0, const RuntimeMethod* method);
// System.Net.NetworkInformation.NetworkInterfaceFactory System.Net.NetworkInformation.NetworkInterfaceFactory::Create()
extern "C" IL2CPP_METHOD_ATTR NetworkInterfaceFactory_t1756522298 * NetworkInterfaceFactory_Create_m1912302726 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.CommonUnixIPGlobalProperties::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CommonUnixIPGlobalProperties__ctor_m2334165341 (CommonUnixIPGlobalProperties_t1338606518 * __this, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.IPInterfaceProperties::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IPInterfaceProperties__ctor_m3384018393 (IPInterfaceProperties_t3964383369 * __this, const RuntimeMethod* method);
// System.DateTime System.IO.File::GetLastWriteTime(System.String)
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 File_GetLastWriteTime_m2185149203 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_LessThanOrEqual(System.DateTime,System.DateTime)
extern "C" IL2CPP_METHOD_ATTR bool DateTime_op_LessThanOrEqual_m2360948759 (RuntimeObject * __this /* static, unused */, DateTime_t3738529785 p0, DateTime_t3738529785 p1, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.IPAddressCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IPAddressCollection__ctor_m2872148604 (IPAddressCollection_t2315030214 * __this, const RuntimeMethod* method);
// System.Void System.IO.StreamReader::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void StreamReader__ctor_m1616861391 (StreamReader_t4009935899 * __this, String_t* p0, const RuntimeMethod* method);
// System.String System.String::Trim()
extern "C" IL2CPP_METHOD_ATTR String_t* String_Trim_m923598732 (String_t* __this, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t String_get_Length_m3847582255 (String_t* __this, const RuntimeMethod* method);
// System.Char System.String::get_Chars(System.Int32)
extern "C" IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_m2986988803 (String_t* __this, int32_t p0, const RuntimeMethod* method);
// System.Text.RegularExpressions.Match System.Text.RegularExpressions.Regex::Match(System.String)
extern "C" IL2CPP_METHOD_ATTR Match_t3408321083 * Regex_Match_m2255756165 (Regex_t3657309853 * __this, String_t* ___input0, const RuntimeMethod* method);
// System.Boolean System.Text.RegularExpressions.Group::get_Success()
extern "C" IL2CPP_METHOD_ATTR bool Group_get_Success_m3823591889 (Group_t2468205786 * __this, const RuntimeMethod* method);
// System.Text.RegularExpressions.Group System.Text.RegularExpressions.GroupCollection::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR Group_t2468205786 * GroupCollection_get_Item_m3293401907 (GroupCollection_t69770484 * __this, String_t* ___groupname0, const RuntimeMethod* method);
// System.String System.Text.RegularExpressions.Capture::get_Value()
extern "C" IL2CPP_METHOD_ATTR String_t* Capture_get_Value_m3919646039 (Capture_t2232016050 * __this, const RuntimeMethod* method);
// System.Net.IPAddress System.Net.IPAddress::Parse(System.String)
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * IPAddress_Parse_m2200822423 (RuntimeObject * __this /* static, unused */, String_t* ___ipString0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.IPAddressCollection::InternalAdd(System.Net.IPAddress)
extern "C" IL2CPP_METHOD_ATTR void IPAddressCollection_InternalAdd_m1969234359 (IPAddressCollection_t2315030214 * __this, IPAddress_t241777590 * ___address0, const RuntimeMethod* method);
// System.String[] System.String::Split(System.Char[])
extern "C" IL2CPP_METHOD_ATTR StringU5BU5D_t1281789340* String_Split_m3646115398 (String_t* __this, CharU5BU5D_t3528271667* p0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.UnixIPInterfaceProperties::ParseResolvConf()
extern "C" IL2CPP_METHOD_ATTR void UnixIPInterfaceProperties_ParseResolvConf_m1682475313 (UnixIPInterfaceProperties_t1296234392 * __this, const RuntimeMethod* method);
// System.Void System.Text.RegularExpressions.Regex::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void Regex__ctor_m3948448025 (Regex_t3657309853 * __this, String_t* ___pattern0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.NetworkInterface::.ctor()
extern "C" IL2CPP_METHOD_ATTR void NetworkInterface__ctor_m3378270272 (NetworkInterface_t271883373 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Net.IPAddress>::.ctor()
#define List_1__ctor_m3256145658(__this, method) (( void (*) (List_1_t1713852332 *, const RuntimeMethod*))List_1__ctor_m2321703786_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<System.Net.IPAddress>::Add(!0)
#define List_1_Add_m141914884(__this, p0, method) (( void (*) (List_1_t1713852332 *, IPAddress_t241777590 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method)
// System.Void System.Net.IPAddress::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void IPAddress__ctor_m4041053470 (IPAddress_t241777590 * __this, ByteU5BU5D_t4116647657* ___address0, const RuntimeMethod* method);
// System.Net.IPAddress System.Net.NetworkInformation.Win32_SOCKET_ADDRESS::GetIPAddress()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974 (Win32_SOCKET_ADDRESS_t1936753419 * __this, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::AddSubsequentlyString(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection_AddSubsequentlyString_m1641297060 (Win32IPAddressCollection_t1156671415 * __this, intptr_t ___head0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection__ctor_m2193866191 (Win32IPAddressCollection_t1156671415 * __this, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::.ctor(System.IntPtr[])
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection__ctor_m2557507173 (Win32IPAddressCollection_t1156671415 * __this, IntPtrU5BU5D_t4013366056* ___heads0, const RuntimeMethod* method);
// System.Net.NetworkInformation.Win32_FIXED_INFO System.Net.NetworkInformation.Win32NetworkInterface::get_FixedInfo()
extern "C" IL2CPP_METHOD_ATTR Win32_FIXED_INFO_t1299345856 Win32NetworkInterface_get_FixedInfo_m3715854652 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.IPGlobalProperties::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IPGlobalProperties__ctor_m2997729991 (IPGlobalProperties_t3113415935 * __this, const RuntimeMethod* method);
// System.Net.NetworkInformation.Win32IPAddressCollection System.Net.NetworkInformation.Win32IPAddressCollection::FromDnsServer(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR Win32IPAddressCollection_t1156671415 * Win32IPAddressCollection_FromDnsServer_m3970823291 (RuntimeObject * __this /* static, unused */, intptr_t ___ptr0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.IPv4InterfaceStatistics::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IPv4InterfaceStatistics__ctor_m1045009817 (IPv4InterfaceStatistics_t3249312820 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.NetworkInformation.Win32NetworkInterface::GetNetworkParams(System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterface_GetNetworkParams_m2297365948 (RuntimeObject * __this /* static, unused */, intptr_t ___ptr0, int32_t* ___size1, const RuntimeMethod* method);
// !!0 System.Runtime.InteropServices.Marshal::PtrToStructure<System.Net.NetworkInformation.Win32_FIXED_INFO>(System.IntPtr)
#define Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215(__this /* static, unused */, p0, method) (( Win32_FIXED_INFO_t1299345856 (*) (RuntimeObject * /* static, unused */, intptr_t, const RuntimeMethod*))Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215_gshared)(__this /* static, unused */, p0, method)
// System.Int32 System.Net.NetworkInformation.Win32NetworkInterface2::GetIfEntry(System.Net.NetworkInformation.Win32_MIB_IFROW&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterface2_GetIfEntry_m2343960915 (RuntimeObject * __this /* static, unused */, Win32_MIB_IFROW_t851471770 * ___row0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32IPv4InterfaceStatistics::.ctor(System.Net.NetworkInformation.Win32_MIB_IFROW)
extern "C" IL2CPP_METHOD_ATTR void Win32IPv4InterfaceStatistics__ctor_m1977771501 (Win32IPv4InterfaceStatistics_t3096671123 * __this, Win32_MIB_IFROW_t851471770 ___info0, const RuntimeMethod* method);
// System.Void System.Net.NetworkInformation.Win32IPInterfaceProperties2::.ctor(System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES,System.Net.NetworkInformation.Win32_MIB_IFROW,System.Net.NetworkInformation.Win32_MIB_IFROW)
extern "C" IL2CPP_METHOD_ATTR void Win32IPInterfaceProperties2__ctor_m25771527 (Win32IPInterfaceProperties2_t4152818631 * __this, Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr0, Win32_MIB_IFROW_t851471770 ___mib41, Win32_MIB_IFROW_t851471770 ___mib62, const RuntimeMethod* method);
// System.Void System.Collections.SortedList::.ctor(System.Collections.IComparer)
extern "C" IL2CPP_METHOD_ATTR void SortedList__ctor_m3247584155 (SortedList_t2427694641 * __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Collections.SortedList System.Collections.SortedList::Synchronized(System.Collections.SortedList)
extern "C" IL2CPP_METHOD_ATTR SortedList_t2427694641 * SortedList_Synchronized_m3588493120 (RuntimeObject * __this /* static, unused */, SortedList_t2427694641 * p0, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Object__ctor_m297566312 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Object System.Net.PathList::get_SyncRoot()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * PathList_get_SyncRoot_m2516597328 (PathList_t2806410337 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Enter_m984175629 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, bool* p1, const RuntimeMethod* method);
// System.Int32 System.Net.CookieCollection::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t CookieCollection_get_Count_m3988188318 (CookieCollection_t3881042616 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Exit(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Exit_m3585316909 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.String System.Net.CookieParser::CheckQuoted(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* CookieParser_CheckQuoted_m3844255685 (RuntimeObject * __this /* static, unused */, String_t* ___value0, const RuntimeMethod* method);
// System.Void System.Net.PathList/PathListComparer::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PathListComparer__ctor_m2457711856 (PathListComparer_t1123825266 * __this, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m2734335978 (InvalidOperationException_t56020091 * __this, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m237278729 (InvalidOperationException_t56020091 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m262609521 (InvalidOperationException_t56020091 * __this, SerializationInfo_t950877179 * p0, StreamingContext_t3711869237 p1, const RuntimeMethod* method);
// System.Void System.Exception::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void Exception_GetObjectData_m1103241326 (Exception_t * __this, SerializationInfo_t950877179 * p0, StreamingContext_t3711869237 p1, const RuntimeMethod* method);
// System.Void System.IO.Stream::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Stream__ctor_m3881936881 (Stream_t1273022909 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m1170824041 (ArgumentNullException_t1615371798 * __this, String_t* p0, const RuntimeMethod* method);
// System.String SR::GetString(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* SR_GetString_m1137630943 (RuntimeObject * __this /* static, unused */, String_t* ___name0, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentException__ctor_m1216717135 (ArgumentException_t132251570 * __this, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void System.IO.Stream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Stream_Dispose_m874059170 (Stream_t1273022909 * __this, bool p0, const RuntimeMethod* method);
// System.Void System.Net.Security.SslStream::CheckDisposed()
extern "C" IL2CPP_METHOD_ATTR void SslStream_CheckDisposed_m108984730 (SslStream_t2700741536 * __this, const RuntimeMethod* method);
// Mono.Security.Interface.MonoTlsProvider Mono.Security.Interface.MonoTlsProviderFactory::GetProvider()
extern "C" IL2CPP_METHOD_ATTR MonoTlsProvider_t3152003291 * MonoTlsProviderFactory_GetProvider_m2948620693 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m3370516085 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, const RuntimeMethod* method);
// System.Void System.Net.Security.AuthenticatedStream::.ctor(System.IO.Stream,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void AuthenticatedStream__ctor_m2546959456 (AuthenticatedStream_t3415418016 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, const RuntimeMethod* method);
// Mono.Security.Interface.MonoTlsProvider System.Net.Security.SslStream::GetProvider()
extern "C" IL2CPP_METHOD_ATTR MonoTlsProvider_t3152003291 * SslStream_GetProvider_m949158172 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::CopyDefaultSettings()
extern "C" IL2CPP_METHOD_ATTR MonoTlsSettings_t3666008581 * MonoTlsSettings_CopyDefaultSettings_m2564289867 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback Mono.Net.Security.Private.CallbackHelpers::PublicToMono(System.Net.Security.RemoteCertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR MonoRemoteCertificateValidationCallback_t2521872312 * CallbackHelpers_PublicToMono_m1353445300 (RuntimeObject * __this /* static, unused */, RemoteCertificateValidationCallback_t3014364904 * ___callback0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_RemoteCertificateValidationCallback(Mono.Security.Interface.MonoRemoteCertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR void MonoTlsSettings_set_RemoteCertificateValidationCallback_m2930080471 (MonoTlsSettings_t3666008581 * __this, MonoRemoteCertificateValidationCallback_t2521872312 * p0, const RuntimeMethod* method);
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback Mono.Net.Security.Private.CallbackHelpers::PublicToMono(System.Net.Security.LocalCertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR MonoLocalCertificateSelectionCallback_t1375878923 * CallbackHelpers_PublicToMono_m1584406174 (RuntimeObject * __this /* static, unused */, LocalCertificateSelectionCallback_t2354453884 * ___callback0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_ClientCertificateSelectionCallback(Mono.Security.Interface.MonoLocalCertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void MonoTlsSettings_set_ClientCertificateSelectionCallback_m1417183984 (MonoTlsSettings_t3666008581 * __this, MonoLocalCertificateSelectionCallback_t1375878923 * p0, const RuntimeMethod* method);
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsProvider,Mono.Security.Interface.MonoTlsSettings)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m669531117 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, MonoTlsProvider_t3152003291 * ___provider2, MonoTlsSettings_t3666008581 * ___settings3, const RuntimeMethod* method);
// Mono.Security.Interface.IMonoSslStream System.Net.Security.SslStream::get_Impl()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslStream_get_Impl_m3149891854 (SslStream_t2700741536 * __this, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m2494070935 (NotSupportedException_t1314879016 * __this, String_t* p0, const RuntimeMethod* method);
// System.IO.Stream System.Net.Security.AuthenticatedStream::get_InnerStream()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * AuthenticatedStream_get_InnerStream_m4066215780 (AuthenticatedStream_t3415418016 * __this, const RuntimeMethod* method);
// System.Void System.ObjectDisposedException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_m3603759869 (ObjectDisposedException_t21392786 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void System.Net.Security.AuthenticatedStream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void AuthenticatedStream_Dispose_m2809320002 (AuthenticatedStream_t3415418016 * __this, bool ___disposing0, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::Capture()
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR ExecutionContext_t1748372627 * ExecutionContext_Capture_m681135907 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean System.Net.Security.RemoteCertificateValidationCallback::Invoke(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR bool RemoteCertificateValidationCallback_Invoke_m727898444 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject * ___sender0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::CreateCopy()
extern "C" IL2CPP_METHOD_ATTR ExecutionContext_t1748372627 * ExecutionContext_CreateCopy_m2226522409 (ExecutionContext_t1748372627 * __this, const RuntimeMethod* method);
// System.Void System.Net.ServerCertValidationCallback/CallbackContext::.ctor(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR void CallbackContext__ctor_m463300618 (CallbackContext_t314704580 * __this, RuntimeObject * ___request0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method);
// System.Void System.Threading.ContextCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void ContextCallback__ctor_m752899909 (ContextCallback_t3823316192 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.Threading.ExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void ExecutionContext_Run_m1300924372 (RuntimeObject * __this /* static, unused */, ExecutionContext_t1748372627 * p0, ContextCallback_t3823316192 * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_UtcNow()
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 DateTime_get_UtcNow_m1393945741 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::set_SendContinue(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_SendContinue_m3004714502 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean System.Version::op_Equality(System.Version,System.Version)
extern "C" IL2CPP_METHOD_ATTR bool Version_op_Equality_m3804852517 (RuntimeObject * __this /* static, unused */, Version_t3456873960 * p0, Version_t3456873960 * p1, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m282481429 (ArgumentOutOfRangeException_t777629997 * __this, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::PutBytes(System.Byte[],System.UInt32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_PutBytes_m1954185421 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bytes0, uint32_t ___v1, int32_t ___offset2, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::IOControl(System.Net.Sockets.IOControlCode,System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_m2060869247 (Socket_t1119025450 * __this, int64_t ___ioControlCode0, ByteU5BU5D_t4116647657* ___optionInValue1, ByteU5BU5D_t4116647657* ___optionOutValue2, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::TryGetValue(!0,!1&)
#define Dictionary_2_TryGetValue_m1280158263(__this, p0, p1, method) (( bool (*) (Dictionary_2_t1497636287 *, String_t*, WebConnectionGroup_t1712379988 **, const RuntimeMethod*))Dictionary_2_TryGetValue_m1996088172_gshared)(__this, p0, p1, method)
// System.Void System.Net.WebConnectionGroup::.ctor(System.Net.ServicePoint,System.String)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionGroup__ctor_m4209428564 (WebConnectionGroup_t1712379988 * __this, ServicePoint_t2786966844 * ___sPoint0, String_t* ___name1, const RuntimeMethod* method);
// System.Void System.EventHandler::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void EventHandler__ctor_m3449229857 (EventHandler_t1348719766 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionGroup::add_ConnectionClosed(System.EventHandler)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionGroup_add_ConnectionClosed_m43227740 (WebConnectionGroup_t1712379988 * __this, EventHandler_t1348719766 * ___value0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::.ctor()
#define Dictionary_2__ctor_m1434311162(__this, method) (( void (*) (Dictionary_2_t1497636287 *, const RuntimeMethod*))Dictionary_2__ctor_m518943619_gshared)(__this, method)
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::Add(!0,!1)
#define Dictionary_2_Add_m4174132196(__this, p0, p1, method) (( void (*) (Dictionary_2_t1497636287 *, String_t*, WebConnectionGroup_t1712379988 *, const RuntimeMethod*))Dictionary_2_Add_m3105409630_gshared)(__this, p0, p1, method)
// System.Int32 System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::get_Count()
#define Dictionary_2_get_Count_m872003180(__this, method) (( int32_t (*) (Dictionary_2_t1497636287 *, const RuntimeMethod*))Dictionary_2_get_Count_m3919933788_gshared)(__this, method)
// System.String System.Net.WebConnectionGroup::get_Name()
extern "C" IL2CPP_METHOD_ATTR String_t* WebConnectionGroup_get_Name_m837259254 (WebConnectionGroup_t1712379988 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::Remove(!0)
#define Dictionary_2_Remove_m2793562534(__this, p0, method) (( bool (*) (Dictionary_2_t1497636287 *, String_t*, const RuntimeMethod*))Dictionary_2_Remove_m2051736387_gshared)(__this, p0, method)
// System.TimeSpan System.TimeSpan::FromMilliseconds(System.Double)
extern "C" IL2CPP_METHOD_ATTR TimeSpan_t881159249 TimeSpan_FromMilliseconds_m579366253 (RuntimeObject * __this /* static, unused */, double p0, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::get_Values()
#define Dictionary_2_get_Values_m1588207892(__this, method) (( ValueCollection_t3213680605 * (*) (Dictionary_2_t1497636287 *, const RuntimeMethod*))Dictionary_2_get_Values_m2492087945_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<System.Net.WebConnectionGroup>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1__ctor_m3955212303(__this, p0, method) (( void (*) (List_1_t3184454730 *, RuntimeObject*, const RuntimeMethod*))List_1__ctor_m1581319360_gshared)(__this, p0, method)
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Net.WebConnectionGroup>::GetEnumerator()
#define List_1_GetEnumerator_m3502109974(__this, method) (( Enumerator_t778731311 (*) (List_1_t3184454730 *, const RuntimeMethod*))List_1_GetEnumerator_m816315209_gshared)(__this, method)
// !0 System.Collections.Generic.List`1/Enumerator<System.Net.WebConnectionGroup>::get_Current()
#define Enumerator_get_Current_m1256489352(__this, method) (( WebConnectionGroup_t1712379988 * (*) (Enumerator_t778731311 *, const RuntimeMethod*))Enumerator_get_Current_m337713592_gshared)(__this, method)
// System.Boolean System.Net.WebConnectionGroup::TryRecycle(System.TimeSpan,System.DateTime&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnectionGroup_TryRecycle_m3555446477 (WebConnectionGroup_t1712379988 * __this, TimeSpan_t881159249 ___maxIdleTime0, DateTime_t3738529785 * ___idleSince1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Net.WebConnectionGroup>::.ctor()
#define List_1__ctor_m4249390948(__this, method) (( void (*) (List_1_t3184454730 *, const RuntimeMethod*))List_1__ctor_m2321703786_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<System.Net.WebConnectionGroup>::Add(!0)
#define List_1_Add_m3228098512(__this, p0, method) (( void (*) (List_1_t3184454730 *, WebConnectionGroup_t1712379988 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Net.WebConnectionGroup>::MoveNext()
#define Enumerator_MoveNext_m993890802(__this, method) (( bool (*) (Enumerator_t778731311 *, const RuntimeMethod*))Enumerator_MoveNext_m2142368520_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<System.Net.WebConnectionGroup>::Dispose()
#define Enumerator_Dispose_m721246676(__this, method) (( void (*) (Enumerator_t778731311 *, const RuntimeMethod*))Enumerator_Dispose_m3007748546_gshared)(__this, method)
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Net.WebConnectionGroup>::ContainsKey(!0)
#define Dictionary_2_ContainsKey_m1518347499(__this, p0, method) (( bool (*) (Dictionary_2_t1497636287 *, String_t*, const RuntimeMethod*))Dictionary_2_ContainsKey_m3993293265_gshared)(__this, p0, method)
// System.Void System.Net.ServicePoint::RemoveConnectionGroup(System.Net.WebConnectionGroup)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_RemoveConnectionGroup_m1619826718 (ServicePoint_t2786966844 * __this, WebConnectionGroup_t1712379988 * ___group0, const RuntimeMethod* method);
// System.Void System.Threading.Timer::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Timer_Dispose_m671628881 (Timer_t716671026 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::CheckAvailableForRecycling(System.DateTime&)
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_CheckAvailableForRecycling_m2511650943 (ServicePoint_t2786966844 * __this, DateTime_t3738529785 * ___outIdleSince0, const RuntimeMethod* method);
// System.Int32 System.Net.ServicePointManager::get_DnsRefreshTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t ServicePointManager_get_DnsRefreshTimeout_m2777228149 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.DateTime System.DateTime::op_Addition(System.DateTime,System.TimeSpan)
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 DateTime_op_Addition_m1857121695 (RuntimeObject * __this /* static, unused */, DateTime_t3738529785 p0, TimeSpan_t881159249 p1, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_LessThan(System.DateTime,System.DateTime)
extern "C" IL2CPP_METHOD_ATTR bool DateTime_op_LessThan_m2497205152 (RuntimeObject * __this /* static, unused */, DateTime_t3738529785 p0, DateTime_t3738529785 p1, const RuntimeMethod* method);
// System.String System.Uri::get_Host()
extern "C" IL2CPP_METHOD_ATTR String_t* Uri_get_Host_m42857288 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.UriHostNameType System.Uri::get_HostNameType()
extern "C" IL2CPP_METHOD_ATTR int32_t Uri_get_HostNameType_m1143766868 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Substring_m1610150815 (String_t* __this, int32_t p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Net.IPHostEntry::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IPHostEntry__ctor_m3185986391 (IPHostEntry_t263743900 * __this, const RuntimeMethod* method);
// System.Void System.Net.IPHostEntry::set_AddressList(System.Net.IPAddress[])
extern "C" IL2CPP_METHOD_ATTR void IPHostEntry_set_AddressList_m895991257 (IPHostEntry_t263743900 * __this, IPAddressU5BU5D_t596328627* ___value0, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::get_HasTimedOut()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_HasTimedOut_m2870516460 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Net.IPHostEntry System.Net.Dns::GetHostEntry(System.String)
extern "C" IL2CPP_METHOD_ATTR IPHostEntry_t263743900 * Dns_GetHostEntry_m2165252375 (RuntimeObject * __this /* static, unused */, String_t* ___hostNameOrAddress0, const RuntimeMethod* method);
// System.Net.WebConnectionGroup System.Net.ServicePoint::GetConnectionGroup(System.String)
extern "C" IL2CPP_METHOD_ATTR WebConnectionGroup_t1712379988 * ServicePoint_GetConnectionGroup_m2497020374 (ServicePoint_t2786966844 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Net.WebConnection System.Net.WebConnectionGroup::GetConnection(System.Net.HttpWebRequest,System.Boolean&)
extern "C" IL2CPP_METHOD_ATTR WebConnection_t3982808322 * WebConnectionGroup_GetConnection_m3713157279 (WebConnectionGroup_t1712379988 * __this, HttpWebRequest_t1669436515 * ___request0, bool* ___created1, const RuntimeMethod* method);
// System.Void System.Threading.TimerCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void TimerCallback__ctor_m3981479132 (TimerCallback_t1438585625 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.Threading.Timer::.ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Timer__ctor_m3853467752 (Timer_t716671026 * __this, TimerCallback_t1438585625 * p0, RuntimeObject * p1, int32_t p2, int32_t p3, const RuntimeMethod* method);
// System.EventHandler System.Net.WebConnection::SendRequest(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR EventHandler_t1348719766 * WebConnection_SendRequest_m4284869211 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method);
// System.Net.IPEndPoint System.Net.BindIPEndPoint::Invoke(System.Net.ServicePoint,System.Net.IPEndPoint,System.Int32)
extern "C" IL2CPP_METHOD_ATTR IPEndPoint_t3791887218 * BindIPEndPoint_Invoke_m1788714159 (BindIPEndPoint_t1029027275 * __this, ServicePoint_t2786966844 * ___servicePoint0, IPEndPoint_t3791887218 * ___remoteEndPoint1, int32_t ___retryCount2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Bind(System.Net.EndPoint)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_m1387808352 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___localEP0, const RuntimeMethod* method);
// System.Void System.Collections.Specialized.HybridDictionary::.ctor()
extern "C" IL2CPP_METHOD_ATTR void HybridDictionary__ctor_m2970901694 (HybridDictionary_t4070033136 * __this, const RuntimeMethod* method);
// System.Object System.Configuration.ConfigurationManager::GetSection(System.String)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * ConfigurationManager_GetSection_m3606555405 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void System.Net.Configuration.ConnectionManagementData::.ctor(System.Object)
extern "C" IL2CPP_METHOD_ATTR void ConnectionManagementData__ctor_m1336018396 (ConnectionManagementData_t2003128658 * __this, RuntimeObject * ___parent0, const RuntimeMethod* method);
// System.Net.Configuration.ConnectionManagementElementCollection System.Net.Configuration.ConnectionManagementSection::get_ConnectionManagement()
extern "C" IL2CPP_METHOD_ATTR ConnectionManagementElementCollection_t3860227195 * ConnectionManagementSection_get_ConnectionManagement_m3719502710 (ConnectionManagementSection_t1603642748 * __this, const RuntimeMethod* method);
// System.Collections.IEnumerator System.Configuration.ConfigurationElementCollection::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ConfigurationElementCollection_GetEnumerator_m4043183664 (ConfigurationElementCollection_t446763386 * __this, const RuntimeMethod* method);
// System.String System.Net.Configuration.ConnectionManagementElement::get_Address()
extern "C" IL2CPP_METHOD_ATTR String_t* ConnectionManagementElement_get_Address_m427527083 (ConnectionManagementElement_t3857438253 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.Configuration.ConnectionManagementElement::get_MaxConnection()
extern "C" IL2CPP_METHOD_ATTR int32_t ConnectionManagementElement_get_MaxConnection_m3860966341 (ConnectionManagementElement_t3857438253 * __this, const RuntimeMethod* method);
// System.Void System.Net.Configuration.ConnectionManagementData::Add(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ConnectionManagementData_Add_m3862416831 (ConnectionManagementData_t2003128658 * __this, String_t* ___address0, int32_t ___nconns1, const RuntimeMethod* method);
// System.UInt32 System.Net.Configuration.ConnectionManagementData::GetMaxConnections(System.String)
extern "C" IL2CPP_METHOD_ATTR uint32_t ConnectionManagementData_GetMaxConnections_m2384803309 (ConnectionManagementData_t2003128658 * __this, String_t* ___hostOrIP0, const RuntimeMethod* method);
// System.Object System.Configuration.ConfigurationSettings::GetConfig(System.String)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * ConfigurationSettings_GetConfig_m1015220656 (RuntimeObject * __this /* static, unused */, String_t* ___sectionName0, const RuntimeMethod* method);
// System.Void System.Net.DefaultCertificatePolicy::.ctor()
extern "C" IL2CPP_METHOD_ATTR void DefaultCertificatePolicy__ctor_m1887337884 (DefaultCertificatePolicy_t3607119947 * __this, const RuntimeMethod* method);
// System.Net.Security.RemoteCertificateValidationCallback System.Net.ServerCertValidationCallback::get_ValidationCallback()
extern "C" IL2CPP_METHOD_ATTR RemoteCertificateValidationCallback_t3014364904 * ServerCertValidationCallback_get_ValidationCallback_m3775939199 (ServerCertValidationCallback_t1488468298 * __this, const RuntimeMethod* method);
// System.Boolean System.Uri::op_Equality(System.Uri,System.Uri)
extern "C" IL2CPP_METHOD_ATTR bool Uri_op_Equality_m685520154 (RuntimeObject * __this /* static, unused */, Uri_t100236324 * ___uri10, Uri_t100236324 * ___uri21, const RuntimeMethod* method);
// System.String System.Uri::get_Scheme()
extern "C" IL2CPP_METHOD_ATTR String_t* Uri_get_Scheme_m2109479391 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.String System.Uri::get_Authority()
extern "C" IL2CPP_METHOD_ATTR String_t* Uri_get_Authority_m3816772302 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m3755062657 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, String_t* p2, const RuntimeMethod* method);
// System.Void System.Uri::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void Uri__ctor_m800430703 (Uri_t100236324 * __this, String_t* ___uriString0, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_op_Equality_m920492651 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_op_Inequality_m215368492 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void System.Net.ServicePointManager/SPKey::.ctor(System.Uri,System.Uri,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SPKey__ctor_m2807051469 (SPKey_t3654231119 * __this, Uri_t100236324 * ___uri0, Uri_t100236324 * ___proxy1, bool ___use_connect2, const RuntimeMethod* method);
// System.Object System.Collections.Specialized.HybridDictionary::get_Item(System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * HybridDictionary_get_Item_m319681963 (HybridDictionary_t4070033136 * __this, RuntimeObject * ___key0, const RuntimeMethod* method);
// System.Int32 System.Collections.Specialized.HybridDictionary::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t HybridDictionary_get_Count_m1166314536 (HybridDictionary_t4070033136 * __this, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::.ctor(System.Uri,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint__ctor_m4022457269 (ServicePoint_t2786966844 * __this, Uri_t100236324 * ___uri0, int32_t ___connectionLimit1, int32_t ___maxIdleTime2, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::set_Expect100Continue(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_Expect100Continue_m1237635858 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::set_UseNagleAlgorithm(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UseNagleAlgorithm_m1374731041 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::set_UsesProxy(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UsesProxy_m2758604003 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::set_UseConnect(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UseConnect_m1377758489 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::SetTcpKeepAlive(System.Boolean,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_SetTcpKeepAlive_m1397995104 (ServicePoint_t2786966844 * __this, bool ___enabled0, int32_t ___keepAliveTime1, int32_t ___keepAliveInterval2, const RuntimeMethod* method);
// System.Void System.Collections.Specialized.HybridDictionary::Add(System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR void HybridDictionary_Add_m912320053 (HybridDictionary_t4070033136 * __this, RuntimeObject * ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.Uri::op_Inequality(System.Uri,System.Uri)
extern "C" IL2CPP_METHOD_ATTR bool Uri_op_Inequality_m839253362 (RuntimeObject * __this /* static, unused */, Uri_t100236324 * ___uri10, Uri_t100236324 * ___uri21, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePointManager/SPKey::get_UsesProxy()
extern "C" IL2CPP_METHOD_ATTR bool SPKey_get_UsesProxy_m3161922308 (SPKey_t3654231119 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult/<>c__DisplayClass9_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0__ctor_m2402425430 (U3CU3Ec__DisplayClass9_0_t2879543744 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncCallback__ctor_m2647477404 (SimpleAsyncCallback_t2966023072 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::.ctor(System.Net.SimpleAsyncCallback)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult__ctor_m2857079850 (SimpleAsyncResult_t3946017618 * __this, SimpleAsyncCallback_t2966023072 * ___cb0, const RuntimeMethod* method);
// !1 System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>::Invoke(!0)
#define Func_2_Invoke_m3001332830(__this, p0, method) (( bool (*) (Func_2_t2426439321 *, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*))Func_2_Invoke_m2315818287_gshared)(__this, p0, method)
// System.Void System.Net.SimpleAsyncResult::SetCompleted(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_m3748086251 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::SetCompleted(System.Boolean,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_m515399313 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, Exception_t * ___e1, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0__ctor_m3459980745 (U3CU3Ec__DisplayClass11_0_t377749183 * __this, const RuntimeMethod* method);
// System.Void System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>::.ctor(System.Object,System.IntPtr)
#define Func_2__ctor_m1373340260(__this, p0, p1, method) (( void (*) (Func_2_t2426439321 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_2__ctor_m135484220_gshared)(__this, p0, p1, method)
// System.Void System.Net.SimpleAsyncResult::Run(System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>,System.Net.SimpleAsyncCallback)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_Run_m2632813164 (RuntimeObject * __this /* static, unused */, Func_2_t2426439321 * ___func0, SimpleAsyncCallback_t2966023072 * ___callback1, const RuntimeMethod* method);
// System.Boolean System.Threading.EventWaitHandle::Reset()
extern "C" IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m3348053200 (EventWaitHandle_t777845177 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::SetCompleted_internal(System.Boolean,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_internal_m1548663497 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, Exception_t * ___e1, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::DoCallback_private()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_DoCallback_private_m3635007888 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::SetCompleted_internal(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_internal_m3990539307 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, const RuntimeMethod* method);
// System.Boolean System.Threading.EventWaitHandle::Set()
extern "C" IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_m2445193251 (EventWaitHandle_t777845177 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncCallback::Invoke(System.Net.SimpleAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncCallback_Invoke_m1556536928 (SimpleAsyncCallback_t2966023072 * __this, SimpleAsyncResult_t3946017618 * ___result0, const RuntimeMethod* method);
// System.Boolean System.Net.SimpleAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_IsCompleted_m1032228256 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Threading.WaitHandle System.Net.SimpleAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * SimpleAsyncResult_get_AsyncWaitHandle_m2590763727 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m4010886457 (ManualResetEvent_t451242010 * __this, bool p0, const RuntimeMethod* method);
// System.Boolean System.Nullable`1<System.Boolean>::get_HasValue()
#define Nullable_1_get_HasValue_m1994351731(__this, method) (( bool (*) (Nullable_1_t1819850047 *, const RuntimeMethod*))Nullable_1_get_HasValue_m1994351731_gshared)(__this, method)
// !0 System.Nullable`1<System.Boolean>::get_Value()
#define Nullable_1_get_Value_m2018837163(__this, method) (( bool (*) (Nullable_1_t1819850047 *, const RuntimeMethod*))Nullable_1_get_Value_m2018837163_gshared)(__this, method)
// System.Void System.Nullable`1<System.Boolean>::.ctor(!0)
#define Nullable_1__ctor_m509459810(__this, p0, method) (( void (*) (Nullable_1_t1819850047 *, bool, const RuntimeMethod*))Nullable_1__ctor_m509459810_gshared)(__this, p0, method)
// System.Boolean System.Net.SimpleAsyncResult::get_GotException()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_GotException_m3693335075 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Enter(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Enter_m2249409497 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.AsyncCallback::Invoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void AsyncCallback_Invoke_m3156993048 (AsyncCallback_t3962456242 * __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Int32 System.Net.SocketAddress::get_Size()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAddress_get_Size_m3420662108 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method);
// System.Void System.IndexOutOfRangeException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void IndexOutOfRangeException__ctor_m2441337274 (IndexOutOfRangeException_t1578797820 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m3628145864 (ArgumentOutOfRangeException_t777629997 * __this, String_t* p0, const RuntimeMethod* method);
// System.Int32 System.IntPtr::get_Size()
extern "C" IL2CPP_METHOD_ATTR int32_t IntPtr_get_Size_m370911744 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Net.Sockets.AddressFamily System.Net.IPAddress::get_AddressFamily()
extern "C" IL2CPP_METHOD_ATTR int32_t IPAddress_get_AddressFamily_m1010663936 (IPAddress_t241777590 * __this, const RuntimeMethod* method);
// System.Void System.Net.SocketAddress::.ctor(System.Net.Sockets.AddressFamily,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAddress__ctor_m487026317 (SocketAddress_t3739769427 * __this, int32_t ___family0, int32_t ___size1, const RuntimeMethod* method);
// System.Int64 System.Net.IPAddress::get_ScopeId()
extern "C" IL2CPP_METHOD_ATTR int64_t IPAddress_get_ScopeId_m4237202723 (IPAddress_t241777590 * __this, const RuntimeMethod* method);
// System.Byte[] System.Net.IPAddress::GetAddressBytes()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* IPAddress_GetAddressBytes_m3103618290 (IPAddress_t241777590 * __this, const RuntimeMethod* method);
// System.Void System.Net.SocketAddress::.ctor(System.Net.IPAddress)
extern "C" IL2CPP_METHOD_ATTR void SocketAddress__ctor_m3121787210 (SocketAddress_t3739769427 * __this, IPAddress_t241777590 * ___ipAddress0, const RuntimeMethod* method);
// System.Net.Sockets.AddressFamily System.Net.SocketAddress::get_Family()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAddress_get_Family_m3641031639 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketException::.ctor(System.Net.Sockets.SocketError)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m985972657 (SocketException_t3852068672 * __this, int32_t ___socketError0, const RuntimeMethod* method);
// System.Net.IPAddress System.Net.SocketAddress::GetIPAddress()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * SocketAddress_GetIPAddress_m1387719498 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method);
// System.Void System.Net.IPEndPoint::.ctor(System.Net.IPAddress,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void IPEndPoint__ctor_m2833647099 (IPEndPoint_t3791887218 * __this, IPAddress_t241777590 * ___address0, int32_t ___port1, const RuntimeMethod* method);
// System.Byte System.Net.SocketAddress::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR uint8_t SocketAddress_get_Item_m4142520260 (SocketAddress_t3739769427 * __this, int32_t ___offset0, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
extern "C" IL2CPP_METHOD_ATTR void StringBuilder__ctor_m3121283359 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m1965104174 (StringBuilder_t * __this, String_t* p0, const RuntimeMethod* method);
// System.Globalization.NumberFormatInfo System.Globalization.NumberFormatInfo::get_InvariantInfo()
extern "C" IL2CPP_METHOD_ATTR NumberFormatInfo_t435877138 * NumberFormatInfo_get_InvariantInfo_m349577018 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR String_t* Byte_ToString_m2335342258 (uint8_t* __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.String System.Int32::ToString(System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR String_t* Int32_ToString_m1760361794 (int32_t* __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.String System.String::Concat(System.String[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m1809518182 (RuntimeObject * __this /* static, unused */, StringU5BU5D_t1281789340* p0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.LingerOption::set_Enabled(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void LingerOption_set_Enabled_m1826728409 (LingerOption_t2688985448 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.LingerOption::set_LingerTime(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void LingerOption_set_LingerTime_m4070974897 (LingerOption_t2688985448 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.NetworkStream::InitNetworkStream(System.Net.Sockets.Socket,System.IO.FileAccess)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_InitNetworkStream_m961292768 (NetworkStream_t4071955934 * __this, Socket_t1119025450 * ___socket0, int32_t ___Access1, const RuntimeMethod* method);
// System.Object System.Net.Sockets.Socket::GetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Socket_GetSocketOption_m419986124 (Socket_t1119025450 * __this, int32_t ___optionLevel0, int32_t ___optionName1, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_Blocking()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_Blocking_m140927673 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Void System.IO.IOException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void IOException__ctor_m3662782713 (IOException_t4088381929 * __this, String_t* p0, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_Connected()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_Connected_m2875145796 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Net.Sockets.SocketType System.Net.Sockets.Socket::get_SocketType()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_SocketType_m1610605419 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Type System.Object::GetType()
extern "C" IL2CPP_METHOD_ATTR Type_t * Object_GetType_m88164663 (RuntimeObject * __this, const RuntimeMethod* method);
// System.String SR::GetString(System.String,System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* SR_GetString_m2133537544 (RuntimeObject * __this /* static, unused */, String_t* ___name0, ObjectU5BU5D_t2843939325* ___args1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m3794758455 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, const RuntimeMethod* method);
// System.Void System.IO.IOException::.ctor(System.String,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void IOException__ctor_m3246761956 (IOException_t4088381929 * __this, String_t* p0, Exception_t * p1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m2509318470 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::InternalShutdown(System.Net.Sockets.SocketShutdown)
extern "C" IL2CPP_METHOD_ATTR void Socket_InternalShutdown_m1075955397 (Socket_t1119025450 * __this, int32_t ___how0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Close(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_m2076598688 (Socket_t1119025450 * __this, int32_t ___timeout0, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
extern "C" IL2CPP_METHOD_ATTR void Object_Finalize_m3076187857 (RuntimeObject * __this, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginReceive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginReceive_m2439065097 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___state5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndReceive(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceive_m2385446150 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginSend(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginSend_m2697766330 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___state5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndSend(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSend_m2816431255 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid::.ctor(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SafeHandleZeroOrMinusOneIsInvalid__ctor_m2667299826 (SafeHandleZeroOrMinusOneIsInvalid_t1182193648 * __this, bool p0, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.SafeHandle::SetHandle(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void SafeHandle_SetHandle_m2809947802 (SafeHandle_t3273388951 * __this, intptr_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>::.ctor()
#define Dictionary_2__ctor_m1446229865(__this, method) (( void (*) (Dictionary_2_t922677896 *, const RuntimeMethod*))Dictionary_2__ctor_m518943619_gshared)(__this, method)
// System.Void System.Net.Sockets.Socket::Blocking_internal(System.IntPtr,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Blocking_internal_m937501832 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, bool ___block1, int32_t* ___error2, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendLine(System.String)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendLine_m1438862993 (StringBuilder_t * __this, String_t* p0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Threading.Thread>::GetEnumerator()
#define List_1_GetEnumerator_m179237162(__this, method) (( Enumerator_t1367187392 (*) (List_1_t3772910811 *, const RuntimeMethod*))List_1_GetEnumerator_m816315209_gshared)(__this, method)
// !0 System.Collections.Generic.List`1/Enumerator<System.Threading.Thread>::get_Current()
#define Enumerator_get_Current_m953840108(__this, method) (( Thread_t2300836069 * (*) (Enumerator_t1367187392 *, const RuntimeMethod*))Enumerator_get_Current_m337713592_gshared)(__this, method)
// !1 System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>::get_Item(!0)
#define Dictionary_2_get_Item_m508500528(__this, p0, method) (( StackTrace_t1598645457 * (*) (Dictionary_2_t922677896 *, Thread_t2300836069 *, const RuntimeMethod*))Dictionary_2_get_Item_m4278578609_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Threading.Thread>::MoveNext()
#define Enumerator_MoveNext_m480169131(__this, method) (( bool (*) (Enumerator_t1367187392 *, const RuntimeMethod*))Enumerator_MoveNext_m2142368520_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<System.Threading.Thread>::Dispose()
#define Enumerator_Dispose_m3364478653(__this, method) (( void (*) (Enumerator_t1367187392 *, const RuntimeMethod*))Enumerator_Dispose_m3007748546_gshared)(__this, method)
// System.Text.StringBuilder System.Text.StringBuilder::AppendLine()
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendLine_m2783356575 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void Exception__ctor_m1152696503 (Exception_t * __this, String_t* p0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Threading.Thread>::get_Count()
#define List_1_get_Count_m3880499525(__this, method) (( int32_t (*) (List_1_t3772910811 *, const RuntimeMethod*))List_1_get_Count_m2934127733_gshared)(__this, method)
// !0 System.Collections.Generic.List`1<System.Threading.Thread>::get_Item(System.Int32)
#define List_1_get_Item_m3301963937(__this, p0, method) (( Thread_t2300836069 * (*) (List_1_t3772910811 *, int32_t, const RuntimeMethod*))List_1_get_Item_m1328026504_gshared)(__this, p0, method)
// System.Threading.Thread System.Threading.Thread::get_CurrentThread()
extern "C" IL2CPP_METHOD_ATTR Thread_t2300836069 * Thread_get_CurrentThread_m4142136012 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::cancel_blocking_socket_operation(System.Threading.Thread)
extern "C" IL2CPP_METHOD_ATTR void Socket_cancel_blocking_socket_operation_m922726505 (RuntimeObject * __this /* static, unused */, Thread_t2300836069 * ___thread0, const RuntimeMethod* method);
// System.Boolean System.Threading.Monitor::Wait(System.Object,System.Int32)
extern "C" IL2CPP_METHOD_ATTR bool Monitor_Wait_m1121125180 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Close_internal(System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_internal_m3541237784 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t* ___error1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Threading.Thread>::.ctor()
#define List_1__ctor_m184824557(__this, method) (( void (*) (List_1_t3772910811 *, const RuntimeMethod*))List_1__ctor_m2321703786_gshared)(__this, method)
// System.Void System.Runtime.InteropServices.SafeHandle::DangerousAddRef(System.Boolean&)
extern "C" IL2CPP_METHOD_ATTR void SafeHandle_DangerousAddRef_m614714386 (SafeHandle_t3273388951 * __this, bool* p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Threading.Thread>::Add(!0)
#define List_1_Add_m1133289729(__this, p0, method) (( void (*) (List_1_t3772910811 *, Thread_t2300836069 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method)
// System.Void System.Diagnostics.StackTrace::.ctor(System.Boolean)
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void StackTrace__ctor_m1120275749 (StackTrace_t1598645457 * __this, bool p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>::Add(!0,!1)
#define Dictionary_2_Add_m2169306730(__this, p0, p1, method) (( void (*) (Dictionary_2_t922677896 *, Thread_t2300836069 *, StackTrace_t1598645457 *, const RuntimeMethod*))Dictionary_2_Add_m3105409630_gshared)(__this, p0, p1, method)
// System.Void System.Runtime.InteropServices.SafeHandle::DangerousRelease()
extern "C" IL2CPP_METHOD_ATTR void SafeHandle_DangerousRelease_m190326290 (SafeHandle_t3273388951 * __this, const RuntimeMethod* method);
// System.Boolean System.Runtime.InteropServices.SafeHandle::get_IsClosed()
extern "C" IL2CPP_METHOD_ATTR bool SafeHandle_get_IsClosed_m4017142519 (SafeHandle_t3273388951 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketException::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m1369613389 (SocketException_t3852068672 * __this, int32_t ___errorCode0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Threading.Thread>::Remove(!0)
#define List_1_Remove_m937484048(__this, p0, method) (( bool (*) (List_1_t3772910811 *, Thread_t2300836069 *, const RuntimeMethod*))List_1_Remove_m2390619627_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<System.Threading.Thread>::IndexOf(!0)
#define List_1_IndexOf_m1056369912(__this, p0, method) (( int32_t (*) (List_1_t3772910811 *, Thread_t2300836069 *, const RuntimeMethod*))List_1_IndexOf_m1360995952_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.Dictionary`2<System.Threading.Thread,System.Diagnostics.StackTrace>::Remove(!0)
#define Dictionary_2_Remove_m645676874(__this, p0, method) (( bool (*) (Dictionary_2_t922677896 *, Thread_t2300836069 *, const RuntimeMethod*))Dictionary_2_Remove_m2051736387_gshared)(__this, p0, method)
// System.Void System.Threading.Monitor::Pulse(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Pulse_m82725344 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.String System.Environment::GetEnvironmentVariable(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Environment_GetEnvironmentVariable_m394552009 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void System.Threading.SemaphoreSlim::.ctor(System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SemaphoreSlim__ctor_m4204614050 (SemaphoreSlim_t2974092902 * __this, int32_t p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::InitializeSockets()
extern "C" IL2CPP_METHOD_ATTR void Socket_InitializeSockets_m3417479393 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.IntPtr System.Net.Sockets.Socket::Socket_internal(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_Socket_internal_m1681190592 (Socket_t1119025450 * __this, int32_t ___family0, int32_t ___type1, int32_t ___proto2, int32_t* ___error3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SafeSocketHandle::.ctor(System.IntPtr,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle__ctor_m339710951 (SafeSocketHandle_t610293888 * __this, intptr_t ___preexistingHandle0, bool ___ownsHandle1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m480722159 (SocketException_t3852068672 * __this, const RuntimeMethod* method);
// System.Net.Configuration.SettingsSectionInternal System.Net.Configuration.SettingsSectionInternal::get_Section()
extern "C" IL2CPP_METHOD_ATTR SettingsSectionInternal_t781171337 * SettingsSectionInternal_get_Section_m1539574765 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::SetIPProtectionLevel(System.Net.Sockets.IPProtectionLevel)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetIPProtectionLevel_m702436415 (Socket_t1119025450 * __this, int32_t ___level0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::SocketDefaults()
extern "C" IL2CPP_METHOD_ATTR void Socket_SocketDefaults_m2103159556 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.SafeHandle::DangerousGetHandle()
extern "C" IL2CPP_METHOD_ATTR intptr_t SafeHandle_DangerousGetHandle_m3697436134 (SafeHandle_t3273388951 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::SetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_m483522974 (Socket_t1119025450 * __this, int32_t ___optionLevel0, int32_t ___optionName1, int32_t ___optionValue2, const RuntimeMethod* method);
// System.Net.Sockets.AddressFamily System.Net.Sockets.Socket::get_AddressFamily()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_AddressFamily_m51841532 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_DualMode()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_DualMode_m1709958258 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_IsDualMode()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_IsDualMode_m3276226869 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m4178278673 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, int32_t* ___errorCode2, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m576183475 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m840169338 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m2053758874 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, int32_t* ___errorCode2, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::IOControl(System.Int32,System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_m449145276 (Socket_t1119025450 * __this, int32_t ___ioControlCode0, ByteU5BU5D_t4116647657* ___optionInValue1, ByteU5BU5D_t4116647657* ___optionOutValue2, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_CleanedUp()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_CleanedUp_m691785454 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.ValidationHelper::ValidateTcpPort(System.Int32)
extern "C" IL2CPP_METHOD_ATTR bool ValidationHelper_ValidateTcpPort_m2411968702 (RuntimeObject * __this /* static, unused */, int32_t ___port0, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::CanTryAddressFamily(System.Net.Sockets.AddressFamily)
extern "C" IL2CPP_METHOD_ATTR bool Socket_CanTryAddressFamily_m17219266 (Socket_t1119025450 * __this, int32_t ___family0, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginConnect(System.Net.EndPoint,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginConnect_m609780744 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___remoteEP0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginSend(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginSend_m385981137 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, AsyncCallback_t3962456242 * ___callback5, RuntimeObject * ___state6, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndSend(System.IAsyncResult,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSend_m1244041542 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, int32_t* ___errorCode1, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginReceive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginReceive_m2742014887 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, AsyncCallback_t3962456242 * ___callback5, RuntimeObject * ___state6, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndReceive(System.IAsyncResult,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceive_m3009256849 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, int32_t* ___errorCode1, const RuntimeMethod* method);
// System.Object System.Threading.Interlocked::CompareExchange(System.Object&,System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Interlocked_CompareExchange_m1590826108 (RuntimeObject * __this /* static, unused */, RuntimeObject ** p0, RuntimeObject * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.Object System.Net.Sockets.Socket::get_InternalSyncObject()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Socket_get_InternalSyncObject_m390753244 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::IsProtocolSupported(System.Net.NetworkInformation.NetworkInterfaceComponent)
extern "C" IL2CPP_METHOD_ATTR bool Socket_IsProtocolSupported_m2744406924 (RuntimeObject * __this /* static, unused */, int32_t ___networkInterface0, const RuntimeMethod* method);
// System.Boolean System.Net.Configuration.SettingsSectionInternal::get_Ipv6Enabled()
extern "C" IL2CPP_METHOD_ATTR bool SettingsSectionInternal_get_Ipv6Enabled_m2663990904 (SettingsSectionInternal_t781171337 * __this, const RuntimeMethod* method);
// System.Void System.GC::SuppressFinalize(System.Object)
extern "C" IL2CPP_METHOD_ATTR void GC_SuppressFinalize_m1177400158 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Shutdown_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketShutdown,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Shutdown_internal_m3507063392 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___how1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::set_DontFragment(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_DontFragment_m1311305537 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::set_NoDelay(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_NoDelay_m3209939872 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::set_DualMode(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_DualMode_m3338159327 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::ThrowIfDisposedAndClosed()
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfDisposedAndClosed_m2521335859 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Net.SocketAddress System.Net.Sockets.Socket::LocalEndPoint_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_LocalEndPoint_internal_m1475836735 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method);
// System.Net.SocketAddress System.Net.Sockets.Socket::LocalEndPoint_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_LocalEndPoint_internal_m3061712115 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Blocking_internal(System.Net.Sockets.SafeSocketHandle,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Blocking_internal_m257811699 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, bool ___block1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::ThrowIfUdp()
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfUdp_m3991967902 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Net.SocketAddress System.Net.Sockets.Socket::RemoteEndPoint_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_RemoteEndPoint_internal_m586495991 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method);
// System.Net.SocketAddress System.Net.Sockets.Socket::RemoteEndPoint_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_RemoteEndPoint_internal_m3956013554 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::Poll_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SelectMode,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_internal_m3148478813 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___mode1, int32_t ___timeout2, int32_t* ___error3, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::Poll_internal(System.IntPtr,System.Net.Sockets.SelectMode,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_internal_m3742261368 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___mode1, int32_t ___timeout2, int32_t* ___error3, const RuntimeMethod* method);
// System.Net.Sockets.SafeSocketHandle System.Net.Sockets.Socket::Accept_internal(System.Net.Sockets.SafeSocketHandle,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR SafeSocketHandle_t610293888 * Socket_Accept_internal_m868353226 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t* ___error1, bool ___blocking2, const RuntimeMethod* method);
// System.Net.Sockets.ProtocolType System.Net.Sockets.Socket::get_ProtocolType()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_ProtocolType_m1935110519 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::.ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,System.Net.Sockets.SafeSocketHandle)
extern "C" IL2CPP_METHOD_ATTR void Socket__ctor_m3891211138 (Socket_t1119025450 * __this, int32_t ___family0, int32_t ___type1, int32_t ___proto2, SafeSocketHandle_t610293888 * ___safe_handle3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::set_Blocking(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_Blocking_m2255852279 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method);
// System.Net.Sockets.Socket System.Net.Sockets.Socket::EndAccept(System.Byte[]&,System.Int32&,System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_EndAccept_m1313896210 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657** ___buffer0, int32_t* ___bytesTransferred1, RuntimeObject* ___asyncResult2, const RuntimeMethod* method);
// System.Net.Sockets.SocketAsyncResult System.Net.Sockets.Socket::ValidateEndIAsyncResult(System.IAsyncResult,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR SocketAsyncResult_t3523156467 * Socket_ValidateEndIAsyncResult_m3260976934 (Socket_t1119025450 * __this, RuntimeObject* ___ares0, String_t* ___methodName1, String_t* ___argName2, const RuntimeMethod* method);
// System.Boolean System.IOAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool IOAsyncResult_get_IsCompleted_m4009731917 (IOAsyncResult_t3640145766 * __this, const RuntimeMethod* method);
// System.Threading.WaitHandle System.IOAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * IOAsyncResult_get_AsyncWaitHandle_m782089690 (IOAsyncResult_t3640145766 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::CheckIfThrowDelayedException()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_CheckIfThrowDelayedException_m1791470585 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SafeSocketHandle::RegisterForBlockingSyscall()
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle_RegisterForBlockingSyscall_m2358257996 (SafeSocketHandle_t610293888 * __this, const RuntimeMethod* method);
// System.IntPtr System.Net.Sockets.Socket::Accept_internal(System.IntPtr,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_Accept_internal_m3246009452 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t* ___error1, bool ___blocking2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SafeSocketHandle::UnRegisterForBlockingSyscall()
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727 (SafeSocketHandle_t610293888 * __this, const RuntimeMethod* method);
// System.Net.IPEndPoint System.Net.Sockets.Socket::RemapIPEndPoint(System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR IPEndPoint_t3791887218 * Socket_RemapIPEndPoint_m3015939529 (Socket_t1119025450 * __this, IPEndPoint_t3791887218 * ___input0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Bind_internal(System.Net.Sockets.SafeSocketHandle,System.Net.SocketAddress,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_internal_m2670275492 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Bind_internal(System.IntPtr,System.Net.SocketAddress,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_internal_m2004496361 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Listen_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Listen_internal_m2767807186 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___backlog1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Listen_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Listen_internal_m314292295 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t ___backlog1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Connect(System.Net.EndPoint)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_m798630981 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___remoteEP0, const RuntimeMethod* method);
// System.Net.IPAddress System.Net.IPEndPoint::get_Address()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * IPEndPoint_get_Address_m834732349 (IPEndPoint_t3791887218 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Connect_internal(System.Net.Sockets.SafeSocketHandle,System.Net.SocketAddress,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_internal_m3396660944 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, bool ___blocking3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::.ctor(System.Net.Sockets.Socket,System.AsyncCallback,System.Object,System.Net.Sockets.SocketOperation)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult__ctor_m2222378430 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___socket0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, int32_t ___operation3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::BeginSConnect(System.Net.Sockets.SocketAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginSConnect_m4212968585 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Exception,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m1649959738 (SocketAsyncResult_t3523156467 * __this, Exception_t * ___e0, bool ___synch1, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.SafeHandle::Dispose()
extern "C" IL2CPP_METHOD_ATTR void SafeHandle_Dispose_m817995135 (SafeHandle_t3273388951 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m4036770188 (SocketAsyncResult_t3523156467 * __this, bool ___synch0, const RuntimeMethod* method);
// System.IntPtr System.Net.Sockets.SocketAsyncResult::get_Handle()
extern "C" IL2CPP_METHOD_ATTR intptr_t SocketAsyncResult_get_Handle_m3169920889 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method);
// System.Void System.IOSelectorJob::.ctor(System.IOOperation,System.IOAsyncCallback,System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void IOSelectorJob__ctor_m1611324785 (IOSelectorJob_t2199748873 * __this, int32_t ___operation0, IOAsyncCallback_t705871752 * ___callback1, IOAsyncResult_t3640145766 * ___state2, const RuntimeMethod* method);
// System.Void System.IOSelector::Add(System.IntPtr,System.IOSelectorJob)
extern "C" IL2CPP_METHOD_ATTR void IOSelector_Add_m2838266828 (RuntimeObject * __this /* static, unused */, intptr_t ___handle0, IOSelectorJob_t2199748873 * ___job1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Connect_internal(System.IntPtr,System.Net.SocketAddress,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_internal_m1130612002 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, bool ___blocking3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Disconnect_internal(System.Net.Sockets.SafeSocketHandle,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_internal_m1225498763 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, bool ___reuse1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.PlatformNotSupportedException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PlatformNotSupportedException__ctor_m1787918017 (PlatformNotSupportedException_t3572244504 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Disconnect_internal(System.IntPtr,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_internal_m3671451617 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, bool ___reuse1, int32_t* ___error2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::ThrowIfBufferNull(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfBufferNull_m3748732293 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::ThrowIfBufferOutOfRange(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfBufferOutOfRange_m1472522590 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m3910046341 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Int32 System.ArraySegment`1<System.Byte>::get_Offset()
#define ArraySegment_1_get_Offset_m2467593538(__this, method) (( int32_t (*) (ArraySegment_1_t283560987 *, const RuntimeMethod*))ArraySegment_1_get_Offset_m2467593538_gshared)(__this, method)
// System.Int32 System.ArraySegment`1<System.Byte>::get_Count()
#define ArraySegment_1_get_Count_m1931227497(__this, method) (( int32_t (*) (ArraySegment_1_t283560987 *, const RuntimeMethod*))ArraySegment_1_get_Count_m1931227497_gshared)(__this, method)
// !0[] System.ArraySegment`1<System.Byte>::get_Array()
#define ArraySegment_1_get_Array_m3038125939(__this, method) (( ByteU5BU5D_t4116647657* (*) (ArraySegment_1_t283560987 *, const RuntimeMethod*))ArraySegment_1_get_Array_m3038125939_gshared)(__this, method)
// System.Runtime.InteropServices.GCHandle System.Runtime.InteropServices.GCHandle::Alloc(System.Object,System.Runtime.InteropServices.GCHandleType)
extern "C" IL2CPP_METHOD_ATTR GCHandle_t3351438187 GCHandle_Alloc_m3823409740 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, int32_t p1, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.Marshal::UnsafeAddrOfPinnedArrayElement<System.Byte>(!!0[],System.Int32)
#define Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431(__this /* static, unused */, p0, p1, method) (( intptr_t (*) (RuntimeObject * /* static, unused */, ByteU5BU5D_t4116647657*, int32_t, const RuntimeMethod*))Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431_gshared)(__this /* static, unused */, p0, p1, method)
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1088206903 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Boolean System.Runtime.InteropServices.GCHandle::get_IsAllocated()
extern "C" IL2CPP_METHOD_ATTR bool GCHandle_get_IsAllocated_m1058226959 (GCHandle_t3351438187 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.GCHandle::Free()
extern "C" IL2CPP_METHOD_ATTR void GCHandle_Free_m1457699368 (GCHandle_t3351438187 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::QueueIOSelectorJob(System.Threading.SemaphoreSlim,System.IntPtr,System.IOSelectorJob)
extern "C" IL2CPP_METHOD_ATTR void Socket_QueueIOSelectorJob_m1532315495 (Socket_t1119025450 * __this, SemaphoreSlim_t2974092902 * ___sem0, intptr_t ___handle1, IOSelectorJob_t2199748873 * ___job2, const RuntimeMethod* method);
// System.Net.Sockets.SocketError System.Net.Sockets.SocketAsyncResult::get_ErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAsyncResult_get_ErrorCode_m3197843861 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.IntPtr,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1041794929 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1850300390 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Net.SocketAddress&,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_internal_m3020781080 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, SocketAddress_t3739769427 ** ___sockaddr4, int32_t* ___error5, bool ___blocking6, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Net.SocketAddress&,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_internal_m3325136542 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, SocketAddress_t3739769427 ** ___sockaddr4, int32_t* ___error5, bool ___blocking6, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m796698044 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m1960113657 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Void System.IOAsyncCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void IOAsyncCallback__ctor_m3248627329 (IOAsyncCallback_t705871752 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket/<>c__DisplayClass242_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass242_0__ctor_m571730096 (U3CU3Ec__DisplayClass242_0_t616583391 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m772415312 (SocketAsyncResult_t3523156467 * __this, Exception_t * ___e0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m2013919124 (SocketAsyncResult_t3523156467 * __this, int32_t ___total0, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.IntPtr,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m3765077036 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m3843698549 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::GetSocketOption_obj_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_GetSocketOption_obj_internal_m533670452 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___level1, int32_t ___name2, RuntimeObject ** ___obj_val3, int32_t* ___error4, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::GetSocketOption_obj_internal(System.IntPtr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_GetSocketOption_obj_internal_m3909434119 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___level1, int32_t ___name2, RuntimeObject ** ___obj_val3, int32_t* ___error4, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::SetSocketOption_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object,System.Byte[],System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_internal_m2968096094 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___level1, int32_t ___name2, RuntimeObject * ___obj_val3, ByteU5BU5D_t4116647657* ___byte_val4, int32_t ___int_val5, int32_t* ___error6, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ArgumentException__ctor_m3698743796 (ArgumentException_t132251570 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::SetSocketOption_internal(System.IntPtr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object,System.Byte[],System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_internal_m2890815837 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___level1, int32_t ___name2, RuntimeObject * ___obj_val3, ByteU5BU5D_t4116647657* ___byte_val4, int32_t ___int_val5, int32_t* ___error6, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::IOControl_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Byte[],System.Byte[],System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_internal_m3809077560 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___ioctl_code1, ByteU5BU5D_t4116647657* ___input2, ByteU5BU5D_t4116647657* ___output3, int32_t* ___error4, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::IOControl_internal(System.IntPtr,System.Int32,System.Byte[],System.Byte[],System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_internal_m676748339 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t ___ioctl_code1, ByteU5BU5D_t4116647657* ___input2, ByteU5BU5D_t4116647657* ___output3, int32_t* ___error4, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Socket_Dispose_m614819465 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Shutdown_internal(System.IntPtr,System.Net.Sockets.SocketShutdown,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Shutdown_internal_m4083092300 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___how1, int32_t* ___error2, const RuntimeMethod* method);
// System.IntPtr System.Net.Sockets.Socket::get_Handle()
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_get_Handle_m2249751627 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Linger(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Socket_Linger_m363798742 (Socket_t1119025450 * __this, intptr_t ___handle0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.LingerOption::.ctor(System.Boolean,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void LingerOption__ctor_m2538367620 (LingerOption_t2688985448 * __this, bool ___enable0, int32_t ___seconds1, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t Interlocked_CompareExchange_m3023855514 (RuntimeObject * __this /* static, unused */, int32_t* p0, int32_t p1, int32_t p2, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m3937257545 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket/<>c__DisplayClass298_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass298_0__ctor_m3200109011 (U3CU3Ec__DisplayClass298_0_t616190186 * __this, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.SemaphoreSlim::WaitAsync()
extern "C" IL2CPP_METHOD_ATTR Task_t3187275312 * SemaphoreSlim_WaitAsync_m3107910213 (SemaphoreSlim_t2974092902 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool Task_get_IsCompleted_m1406118445 (Task_t3187275312 * __this, const RuntimeMethod* method);
// System.Void System.IOSelectorJob::MarkDisposed()
extern "C" IL2CPP_METHOD_ATTR void IOSelectorJob_MarkDisposed_m1053029016 (IOSelectorJob_t2199748873 * __this, const RuntimeMethod* method);
// System.Void System.Action`1<System.Threading.Tasks.Task>::.ctor(System.Object,System.IntPtr)
#define Action_1__ctor_m3608992093(__this, p0, p1, method) (( void (*) (Action_1_t3359742907 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_m118522912_gshared)(__this, p0, p1, method)
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`1<System.Threading.Tasks.Task>)
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Task_t3187275312 * Task_ContinueWith_m693071538 (Task_t3187275312 * __this, Action_1_t3359742907 * p0, const RuntimeMethod* method);
// System.Net.IPAddress System.Net.IPAddress::MapToIPv6()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * IPAddress_MapToIPv6_m4027273287 (IPAddress_t241777590 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.IPEndPoint::get_Port()
extern "C" IL2CPP_METHOD_ATTR int32_t IPEndPoint_get_Port_m2842923226 (IPEndPoint_t3791887218 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_OSSupportsIPv4()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_OSSupportsIPv4_m1922873662 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::get_OSSupportsIPv6()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_OSSupportsIPv6_m760074248 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::IsProtocolSupported_internal(System.Net.NetworkInformation.NetworkInterfaceComponent)
extern "C" IL2CPP_METHOD_ATTR bool Socket_IsProtocolSupported_internal_m3759258780 (RuntimeObject * __this /* static, unused */, int32_t ___networkInterface0, const RuntimeMethod* method);
// System.Void System.AsyncCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void AsyncCallback__ctor_m530647953 (AsyncCallback_t3962456242 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m2896289733 (U3CU3Ec_t240325972 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::BeginSendCallback(System.Net.Sockets.SocketAsyncResult,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginSendCallback_m1460608609 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, int32_t ___sent_so_far1, const RuntimeMethod* method);
// System.Object System.IOAsyncResult::get_AsyncState()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * IOAsyncResult_get_AsyncState_m2837164062 (IOAsyncResult_t3640145766 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::Exchange(System.Int32&,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t Interlocked_Exchange_m435211442 (RuntimeObject * __this /* static, unused */, int32_t* p0, int32_t p1, const RuntimeMethod* method);
// System.Net.Sockets.Socket System.Net.Sockets.Socket::EndAccept(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_EndAccept_m2591091503 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_AcceptSocket(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_AcceptSocket_m803500985 (SocketAsyncEventArgs_t4146203020 * __this, Socket_t1119025450 * ___value0, const RuntimeMethod* method);
// System.Net.Sockets.SocketError System.Net.Sockets.SocketException::get_SocketErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketException_get_SocketErrorCode_m2767669540 (SocketException_t3852068672 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_SocketError(System.Net.Sockets.SocketError)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_SocketError_m2833015933 (SocketAsyncEventArgs_t4146203020 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Net.Sockets.Socket System.Net.Sockets.SocketAsyncEventArgs::get_AcceptSocket()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * SocketAsyncEventArgs_get_AcceptSocket_m2976413550 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Complete()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Complete_m640063065 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method);
// System.Net.Sockets.Socket System.Net.Sockets.Socket::Accept()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_Accept_m4157022177 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Accept(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void Socket_Accept_m789917158 (Socket_t1119025450 * __this, Socket_t1119025450 * ___acceptSocket0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m4080713924 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___s0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Net.Sockets.Socket,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m3033430476 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___s0, int32_t ___total1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::EndConnect(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_EndConnect_m498417972 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult::Complete()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m2139287463 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::BeginMConnect(System.Net.Sockets.SocketAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginMConnect_m4086520346 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::EndDisconnect(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_EndDisconnect_m4234608499 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Disconnect(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_m1621188342 (Socket_t1119025450 * __this, bool ___reuseSocket0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_BytesTransferred(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_BytesTransferred_m3887301794 (SocketAsyncEventArgs_t4146203020 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m2722177980 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndReceiveFrom(System.IAsyncResult,System.Net.EndPoint&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceiveFrom_m1036960845 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, EndPoint_t982345378 ** ___endPoint1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint&,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_m4213975345 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, EndPoint_t982345378 ** ___remoteEP4, int32_t* ___errorCode5, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m1328269865 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::EndSendTo(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSendTo_m3552536842 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Dispose_m1052872840 (SocketAsyncEventArgs_t4146203020 * __this, bool ___disposing0, const RuntimeMethod* method);
// System.Void System.EventHandler`1<System.Net.Sockets.SocketAsyncEventArgs>::Invoke(System.Object,!0)
#define EventHandler_1_Invoke_m4083598229(__this, p0, p1, method) (( void (*) (EventHandler_1_t2070362453 *, RuntimeObject *, SocketAsyncEventArgs_t4146203020 *, const RuntimeMethod*))EventHandler_1_Invoke_m341276322_gshared)(__this, p0, p1, method)
// System.Void System.IOAsyncResult::.ctor(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void IOAsyncResult__ctor_m1044573569 (IOAsyncResult_t3640145766 * __this, AsyncCallback_t3962456242 * ___async_callback0, RuntimeObject * ___async_state1, const RuntimeMethod* method);
// System.Void System.IOAsyncResult::set_IsCompleted(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void IOAsyncResult_set_IsCompleted_m2347043755 (IOAsyncResult_t3640145766 * __this, bool ___value0, const RuntimeMethod* method);
// System.AsyncCallback System.IOAsyncResult::get_AsyncCallback()
extern "C" IL2CPP_METHOD_ATTR AsyncCallback_t3962456242 * IOAsyncResult_get_AsyncCallback_m426656779 (IOAsyncResult_t3640145766 * __this, const RuntimeMethod* method);
// System.Void System.Threading.WaitCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void WaitCallback__ctor_m1893321019 (WaitCallback_t2448485498 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_UnsafeQueueUserWorkItem_m247000765 (RuntimeObject * __this /* static, unused */, WaitCallback_t2448485498 * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Int32 System.Threading.SemaphoreSlim::Release()
extern "C" IL2CPP_METHOD_ATTR int32_t SemaphoreSlim_Release_m4077912144 (SemaphoreSlim_t2974092902 * __this, const RuntimeMethod* method);
// System.Void System.IOAsyncResult::set_CompletedSynchronously(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void IOAsyncResult_set_CompletedSynchronously_m3658237697 (IOAsyncResult_t3640145766 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.SocketAsyncResult/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m944601489 (U3CU3Ec_t3573335103 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.SocketException::WSAGetLastError_internal()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketException_WSAGetLastError_internal_m1236276956 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Win32Exception__ctor_m3118723333 (Win32Exception_t3234146298 * __this, int32_t ___error0, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32,System.String)
extern "C" IL2CPP_METHOD_ATTR void Win32Exception__ctor_m11747318 (Win32Exception_t3234146298 * __this, int32_t ___error0, String_t* ___message1, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void Win32Exception__ctor_m3265219078 (Win32Exception_t3234146298 * __this, SerializationInfo_t950877179 * ___info0, StreamingContext_t3711869237 ___context1, const RuntimeMethod* method);
// System.String System.Exception::get_Message()
extern "C" IL2CPP_METHOD_ATTR String_t* Exception_get_Message_m3320461627 (Exception_t * __this, const RuntimeMethod* method);
// System.Int32 System.ComponentModel.Win32Exception::get_NativeErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t Win32Exception_get_NativeErrorCode_m4105802931 (Win32Exception_t3234146298 * __this, const RuntimeMethod* method);
// System.Threading.Tasks.TaskFactory System.Threading.Tasks.Task::get_Factory()
extern "C" IL2CPP_METHOD_ATTR TaskFactory_t2660013028 * Task_get_Factory_m1867023094 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Func`5<System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object,System.IAsyncResult>::.ctor(System.Object,System.IntPtr)
#define Func_5__ctor_m2195064123(__this, p0, p1, method) (( void (*) (Func_5_t3425908549 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_5__ctor_m3369453513_gshared)(__this, p0, p1, method)
// System.Void System.Action`1<System.IAsyncResult>::.ctor(System.Object,System.IntPtr)
#define Action_1__ctor_m65104179(__this, p0, p1, method) (( void (*) (Action_1_t939472046 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_m118522912_gshared)(__this, p0, p1, method)
// System.Threading.Tasks.Task System.Threading.Tasks.TaskFactory::FromAsync<System.Net.IPAddress,System.Int32>(System.Func`5<!!0,!!1,System.AsyncCallback,System.Object,System.IAsyncResult>,System.Action`1<System.IAsyncResult>,!!0,!!1,System.Object)
#define TaskFactory_FromAsync_TisIPAddress_t241777590_TisInt32_t2950945753_m1783330966(__this, p0, p1, p2, p3, p4, method) (( Task_t3187275312 * (*) (TaskFactory_t2660013028 *, Func_5_t3425908549 *, Action_1_t939472046 *, IPAddress_t241777590 *, int32_t, RuntimeObject *, const RuntimeMethod*))TaskFactory_FromAsync_TisRuntimeObject_TisInt32_t2950945753_m2925100725_gshared)(__this, p0, p1, p2, p3, p4, method)
// System.Void System.Net.Sockets.SocketTaskExtensions/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m3225629985 (U3CU3Ec_t3618281371 * __this, const RuntimeMethod* method);
// System.IAsyncResult System.Net.Sockets.Socket::BeginConnect(System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginConnect_m1384072037 (Socket_t1119025450 * __this, IPAddress_t241777590 * ___address0, int32_t ___port1, AsyncCallback_t3962456242 * ___requestCallback2, RuntimeObject * ___state3, const RuntimeMethod* method);
// System.Void System.Net.Sockets.TcpClient::Connect(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Connect_m3508995652 (TcpClient_t822906377 * __this, String_t* ___hostname0, int32_t ___port1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Close()
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_m3289097516 (Socket_t1119025450 * __this, const RuntimeMethod* method);
// System.Net.IPAddress[] System.Net.Dns::GetHostAddresses(System.String)
extern "C" IL2CPP_METHOD_ATTR IPAddressU5BU5D_t596328627* Dns_GetHostAddresses_m878956259 (RuntimeObject * __this /* static, unused */, String_t* ___hostNameOrAddress0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::.ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Socket__ctor_m3479084642 (Socket_t1119025450 * __this, int32_t ___addressFamily0, int32_t ___socketType1, int32_t ___protocolType2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Connect(System.Net.IPAddress,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_m1862028144 (Socket_t1119025450 * __this, IPAddress_t241777590 * ___address0, int32_t ___port1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.TcpClient::Connect(System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Connect_m3565396920 (TcpClient_t822906377 * __this, IPEndPoint_t3791887218 * ___remoteEP0, const RuntimeMethod* method);
// System.Net.Sockets.Socket System.Net.Sockets.TcpClient::get_Client()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * TcpClient_get_Client_m139203108 (TcpClient_t822906377 * __this, const RuntimeMethod* method);
// System.Void System.Net.Sockets.NetworkStream::.ctor(System.Net.Sockets.Socket,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream__ctor_m594102681 (NetworkStream_t4071955934 * __this, Socket_t1119025450 * ___socket0, bool ___ownsSocket1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.TcpClient::set_Client(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_set_Client_m713463720 (TcpClient_t822906377 * __this, Socket_t1119025450 * ___value0, const RuntimeMethod* method);
// System.Void System.Net.NetworkCredential::.ctor(System.String,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void NetworkCredential__ctor_m3496297373 (NetworkCredential_t3282608323 * __this, String_t* ___userName0, String_t* ___password1, String_t* ___domain2, const RuntimeMethod* method);
// System.Void System.Net.SystemNetworkCredential::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SystemNetworkCredential__ctor_m3792767285 (SystemNetworkCredential_t3685288932 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.LinkedList`1<System.WeakReference>::.ctor()
#define LinkedList_1__ctor_m3208008944(__this, method) (( void (*) (LinkedList_1_t174532725 *, const RuntimeMethod*))LinkedList_1__ctor_m3670635350_gshared)(__this, method)
// System.Void System.Threading.AutoResetEvent::.ctor(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void AutoResetEvent__ctor_m3710433672 (AutoResetEvent_t1333520283 * __this, bool p0, const RuntimeMethod* method);
// System.Void System.Collections.Hashtable::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Hashtable__ctor_m1815022027 (Hashtable_t1853889766 * __this, const RuntimeMethod* method);
// System.AppDomain System.AppDomain::get_CurrentDomain()
extern "C" IL2CPP_METHOD_ATTR AppDomain_t1571427825 * AppDomain_get_CurrentDomain_m182766250 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.AppDomain::add_DomainUnload(System.EventHandler)
extern "C" IL2CPP_METHOD_ATTR void AppDomain_add_DomainUnload_m1849916032 (AppDomain_t1571427825 * __this, EventHandler_t1348719766 * p0, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/InfiniteTimerQueue::.ctor()
extern "C" IL2CPP_METHOD_ATTR void InfiniteTimerQueue__ctor_m1392887597 (InfiniteTimerQueue_t1413340381 * __this, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/TimerQueue::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TimerQueue__ctor_m68967505 (TimerQueue_t322928133 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method);
// System.Void System.WeakReference::.ctor(System.Object)
extern "C" IL2CPP_METHOD_ATTR void WeakReference__ctor_m2401547918 (WeakReference_t1334886716 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Collections.Generic.LinkedListNode`1<T> System.Collections.Generic.LinkedList`1<System.WeakReference>::AddLast(T)
#define LinkedList_1_AddLast_m2995625390(__this, p0, method) (( LinkedListNode_1_t1080061819 * (*) (LinkedList_1_t174532725 *, WeakReference_t1334886716 *, const RuntimeMethod*))LinkedList_1_AddLast_m1583460477_gshared)(__this, p0, method)
// System.Void System.Net.TimerThread::StopTimerThread()
extern "C" IL2CPP_METHOD_ATTR void TimerThread_StopTimerThread_m1476219093 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/Queue::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Queue__ctor_m1094493313 (Queue_t4148454536 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method);
// System.Int32 System.Environment::get_TickCount()
extern "C" IL2CPP_METHOD_ATTR int32_t Environment_get_TickCount_m2088073110 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/Timer::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Timer__ctor_m3542848881 (Timer_t4150598332 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method);
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::get_Next()
extern "C" IL2CPP_METHOD_ATTR TimerNode_t2186732230 * TimerNode_get_Next_m1150785631 (TimerNode_t2186732230 * __this, const RuntimeMethod* method);
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::get_Prev()
extern "C" IL2CPP_METHOD_ATTR TimerNode_t2186732230 * TimerNode_get_Prev_m2370560326 (TimerNode_t2186732230 * __this, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/TimerNode::set_Prev(System.Net.TimerThread/TimerNode)
extern "C" IL2CPP_METHOD_ATTR void TimerNode_set_Prev_m1257715160 (TimerNode_t2186732230 * __this, TimerNode_t2186732230 * ___value0, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/TimerNode::set_Next(System.Net.TimerThread/TimerNode)
extern "C" IL2CPP_METHOD_ATTR void TimerNode_set_Next_m162860594 (TimerNode_t2186732230 * __this, TimerNode_t2186732230 * ___value0, const RuntimeMethod* method);
// System.Void System.Net.TimerThread/TimerNode::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TimerNode__ctor_m1623469998 (TimerNode_t2186732230 * __this, const RuntimeMethod* method);
// System.Int32 System.Security.SecureString::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t SecureString_get_Length_m2668828297 (SecureString_t3041467854 * __this, const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.Marshal::SecureStringToGlobalAllocUnicode(System.Security.SecureString)
extern "C" IL2CPP_METHOD_ATTR intptr_t Marshal_SecureStringToGlobalAllocUnicode_m2008075760 (RuntimeObject * __this /* static, unused */, SecureString_t3041467854 * p0, const RuntimeMethod* method);
// System.String System.Runtime.InteropServices.Marshal::PtrToStringUni(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR String_t* Marshal_PtrToStringUni_m175561854 (RuntimeObject * __this /* static, unused */, intptr_t p0, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.Marshal::ZeroFreeGlobalAllocUnicode(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Marshal_ZeroFreeGlobalAllocUnicode_m1136939103 (RuntimeObject * __this /* static, unused */, intptr_t p0, const RuntimeMethod* method);
// System.Void System.Security.SecureString::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SecureString__ctor_m3758011503 (SecureString_t3041467854 * __this, const RuntimeMethod* method);
// System.Int32 System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
extern "C" IL2CPP_METHOD_ATTR int32_t RuntimeHelpers_get_OffsetToStringData_m2192601476 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.SecureString::.ctor(System.Char*,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SecureString__ctor_m3858760223 (SecureString_t3041467854 * __this, Il2CppChar* p0, int32_t p1, const RuntimeMethod* method);
// System.Exception System.Exception::get_InnerException()
extern "C" IL2CPP_METHOD_ATTR Exception_t * Exception_get_InnerException_m3836775 (Exception_t * __this, const RuntimeMethod* method);
// System.String System.Net.ValidationHelper::ExceptionMessage(System.Exception)
extern "C" IL2CPP_METHOD_ATTR String_t* ValidationHelper_ExceptionMessage_m1265427269 (RuntimeObject * __this /* static, unused */, Exception_t * ___exception0, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m2163913788 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, String_t* p2, String_t* p3, const RuntimeMethod* method);
// System.String System.IntPtr::ToString(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* IntPtr_ToString_m900170569 (intptr_t* __this, String_t* p0, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
extern "C" IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m3117905507 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, RuntimeFieldHandle_t1871169219 p1, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::.ctor(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult__ctor_m302284371 (SimpleAsyncResult_t3946017618 * __this, AsyncCallback_t3962456242 * ___cb0, RuntimeObject * ___state1, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::Reset_internal()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_Reset_internal_m1051157640 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Void System.Net.SimpleAsyncResult::DoCallback_internal()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_DoCallback_internal_m3054769675 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionData::.ctor()
extern "C" IL2CPP_METHOD_ATTR void WebConnectionData__ctor_m2596484140 (WebConnectionData_t3835660455 * __this, const RuntimeMethod* method);
// System.Collections.Queue System.Net.WebConnectionGroup::get_Queue()
extern "C" IL2CPP_METHOD_ATTR Queue_t3637523393 * WebConnectionGroup_get_Queue_m2310519839 (WebConnectionGroup_t1712379988 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnection/AbortHelper::.ctor()
extern "C" IL2CPP_METHOD_ATTR void AbortHelper__ctor_m842092169 (AbortHelper_t1490877826 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::Poll(System.Int32,System.Net.Sockets.SelectMode)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_m391414345 (Socket_t1119025450 * __this, int32_t ___microSeconds0, int32_t ___mode1, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::CanReuse()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CanReuse_m2827124740 (WebConnection_t3982808322 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::CompleteChunkedRead()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CompleteChunkedRead_m618073306 (WebConnection_t3982808322 * __this, const RuntimeMethod* method);
// System.Net.IPHostEntry System.Net.ServicePoint::get_HostEntry()
extern "C" IL2CPP_METHOD_ATTR IPHostEntry_t263743900 * ServicePoint_get_HostEntry_m1249515277 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::get_UsesProxy()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UsesProxy_m174711556 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Net.IPAddress[] System.Net.IPHostEntry::get_AddressList()
extern "C" IL2CPP_METHOD_ATTR IPAddressU5BU5D_t596328627* IPHostEntry_get_AddressList_m1351062776 (IPHostEntry_t263743900 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.HttpWebRequest::get_Aborted()
extern "C" IL2CPP_METHOD_ATTR bool HttpWebRequest_get_Aborted_m1961501758 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Uri System.Net.ServicePoint::get_Address()
extern "C" IL2CPP_METHOD_ATTR Uri_t100236324 * ServicePoint_get_Address_m4189969258 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Int32 System.Uri::get_Port()
extern "C" IL2CPP_METHOD_ATTR int32_t Uri_get_Port_m184067428 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::get_UseNagleAlgorithm()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UseNagleAlgorithm_m633218140 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::KeepAliveSetup(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_KeepAliveSetup_m1439766054 (ServicePoint_t2786966844 * __this, Socket_t1119025450 * ___socket0, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::CallEndPointDelegate(System.Net.Sockets.Socket,System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_CallEndPointDelegate_m2947487287 (ServicePoint_t2786966844 * __this, Socket_t1119025450 * ___sock0, IPEndPoint_t3791887218 * ___remote1, const RuntimeMethod* method);
// System.Uri System.Net.HttpWebRequest::get_Address()
extern "C" IL2CPP_METHOD_ATTR Uri_t100236324 * HttpWebRequest_get_Address_m1609525404 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Char)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m2383614642 (StringBuilder_t * __this, Il2CppChar p0, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Int32)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m890240332 (StringBuilder_t * __this, int32_t p0, const RuntimeMethod* method);
// System.Net.ServicePoint System.Net.HttpWebRequest::get_ServicePoint()
extern "C" IL2CPP_METHOD_ATTR ServicePoint_t2786966844 * HttpWebRequest_get_ServicePoint_m1080482337 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.String System.Collections.Specialized.NameValueCollection::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* NameValueCollection_get_Item_m3979995533 (NameValueCollection_t407452768 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.String System.String::ToUpper()
extern "C" IL2CPP_METHOD_ATTR String_t* String_ToUpper_m3324454496 (String_t* __this, const RuntimeMethod* method);
// System.Boolean System.String::Contains(System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_Contains_m1147431944 (String_t* __this, String_t* p0, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m2971454694 (RuntimeObject * __this /* static, unused */, ObjectU5BU5D_t2843939325* p0, const RuntimeMethod* method);
// System.Net.WebRequest System.Net.WebRequest::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR WebRequest_t1939381076 * WebRequest_Create_m1521009289 (RuntimeObject * __this /* static, unused */, String_t* ___requestUriString0, const RuntimeMethod* method);
// System.Net.Authorization System.Net.AuthenticationManager::Authenticate(System.String,System.Net.WebRequest,System.Net.ICredentials)
extern "C" IL2CPP_METHOD_ATTR Authorization_t542416582 * AuthenticationManager_Authenticate_m220441371 (RuntimeObject * __this /* static, unused */, String_t* ___challenge0, WebRequest_t1939381076 * ___request1, RuntimeObject* ___credentials2, const RuntimeMethod* method);
// System.String System.Net.Authorization::get_Message()
extern "C" IL2CPP_METHOD_ATTR String_t* Authorization_get_Message_m457444391 (Authorization_t542416582 * __this, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_Default()
extern "C" IL2CPP_METHOD_ATTR Encoding_t1523322056 * Encoding_get_Default_m1632902165 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Net.WebHeaderCollection System.Net.WebConnection::ReadHeaders(System.IO.Stream,System.Byte[]&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR WebHeaderCollection_t1942268960 * WebConnection_ReadHeaders_m1556875581 (WebConnection_t3982808322 * __this, Stream_t1273022909 * ___stream0, ByteU5BU5D_t4116647657** ___retBuffer1, int32_t* ___status2, const RuntimeMethod* method);
// System.Boolean System.String::IsNullOrEmpty(System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_m2969720369 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.String System.String::ToLower()
extern "C" IL2CPP_METHOD_ATTR String_t* String_ToLower_m2029374922 (String_t* __this, const RuntimeMethod* method);
// System.Void System.IO.MemoryStream::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MemoryStream__ctor_m2678285228 (MemoryStream_t94973147 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::HandleError(System.Net.WebExceptionStatus,System.Exception,System.String)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_HandleError_m738788885 (WebConnection_t3982808322 * __this, int32_t ___st0, Exception_t * ___e1, String_t* ___where2, const RuntimeMethod* method);
// System.Void System.Net.WebHeaderCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void WebHeaderCollection__ctor_m896654210 (WebHeaderCollection_t1942268960 * __this, const RuntimeMethod* method);
// System.Int32 System.Int32::Parse(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t Int32_Parse_m1033611559 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Buffer_BlockCopy_m2884209081 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, int32_t p1, RuntimeArray * p2, int32_t p3, int32_t p4, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::FlushContents(System.IO.Stream,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_FlushContents_m3149390488 (WebConnection_t3982808322 * __this, Stream_t1273022909 * ___stream0, int32_t ___contentLength1, const RuntimeMethod* method);
// System.Void System.Net.WebHeaderCollection::Add(System.String)
extern "C" IL2CPP_METHOD_ATTR void WebHeaderCollection_Add_m928193981 (WebHeaderCollection_t1942268960 * __this, String_t* ___header0, const RuntimeMethod* method);
// System.Int32 System.String::Compare(System.String,System.String,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t String_Compare_m1071830722 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, bool p2, const RuntimeMethod* method);
// System.UInt32 System.UInt32::Parse(System.String)
extern "C" IL2CPP_METHOD_ATTR uint32_t UInt32_Parse_m3270868885 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.String System.String::Join(System.String,System.String[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Join_m29736248 (RuntimeObject * __this /* static, unused */, String_t* p0, StringU5BU5D_t1281789340* p1, int32_t p2, int32_t p3, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::ReadLine(System.Byte[],System.Int32&,System.Int32,System.String&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_ReadLine_m1318917240 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___buffer0, int32_t* ___start1, int32_t ___max2, String_t** ___output3, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePoint::get_UseConnect()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UseConnect_m2085353846 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::CreateTunnel(System.Net.HttpWebRequest,System.Uri,System.IO.Stream,System.Byte[]&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CreateTunnel_m94461872 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, Uri_t100236324 * ___connectUri1, Stream_t1273022909 * ___stream2, ByteU5BU5D_t4116647657** ___buffer3, const RuntimeMethod* method);
// System.Void Mono.Net.Security.MonoTlsStream::.ctor(System.Net.HttpWebRequest,System.Net.Sockets.NetworkStream)
extern "C" IL2CPP_METHOD_ATTR void MonoTlsStream__ctor_m2909716305 (MonoTlsStream_t1980138907 * __this, HttpWebRequest_t1669436515 * ___request0, NetworkStream_t4071955934 * ___networkStream1, const RuntimeMethod* method);
// System.IO.Stream Mono.Net.Security.MonoTlsStream::CreateStream(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * MonoTlsStream_CreateStream_m973768516 (MonoTlsStream_t1980138907 * __this, ByteU5BU5D_t4116647657* ___buffer0, const RuntimeMethod* method);
// System.Net.WebExceptionStatus Mono.Net.Security.MonoTlsStream::get_ExceptionStatus()
extern "C" IL2CPP_METHOD_ATTR int32_t MonoTlsStream_get_ExceptionStatus_m2449772005 (MonoTlsStream_t1980138907 * __this, const RuntimeMethod* method);
// System.Void System.Diagnostics.StackTrace::.ctor()
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void StackTrace__ctor_m206492268 (StackTrace_t1598645457 * __this, const RuntimeMethod* method);
// System.Net.HttpWebRequest System.Net.WebConnectionData::get_request()
extern "C" IL2CPP_METHOD_ATTR HttpWebRequest_t1669436515 * WebConnectionData_get_request_m2565424488 (WebConnectionData_t3835660455 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::Close(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_Close_m1464903054 (WebConnection_t3982808322 * __this, bool ___sendNext0, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::set_FinishedReading(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_set_FinishedReading_m2455679796 (HttpWebRequest_t1669436515 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::SetResponseError(System.Net.WebExceptionStatus,System.Exception,System.String)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_SetResponseError_m4064263808 (HttpWebRequest_t1669436515 * __this, int32_t ___status0, Exception_t * ___e1, String_t* ___where2, const RuntimeMethod* method);
// System.Net.ReadState System.Net.WebConnectionData::get_ReadState()
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnectionData_get_ReadState_m4024752547 (WebConnectionData_t3835660455 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.WebConnection::GetResponse(System.Net.WebConnectionData,System.Net.ServicePoint,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_GetResponse_m3731018748 (RuntimeObject * __this /* static, unused */, WebConnectionData_t3835660455 * ___data0, ServicePoint_t2786966844 * ___sPoint1, ByteU5BU5D_t4116647657* ___buffer2, int32_t ___max3, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionData::set_ReadState(System.Net.ReadState)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionData_set_ReadState_m1219866531 (WebConnectionData_t3835660455 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::InitRead()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_InitRead_m3547797554 (WebConnection_t3982808322 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::.ctor(System.Net.WebConnection,System.Net.WebConnectionData)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream__ctor_m3833248332 (WebConnectionStream_t2170064850 * __this, WebConnection_t3982808322 * ___cnc0, WebConnectionData_t3835660455 * ___data1, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::ExpectContent(System.Int32,System.String)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_ExpectContent_m3637777693 (RuntimeObject * __this /* static, unused */, int32_t ___statusCode0, String_t* ___method1, const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.String,System.StringComparison)
extern "C" IL2CPP_METHOD_ATTR int32_t String_IndexOf_m1298810678 (String_t* __this, String_t* p0, int32_t p1, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::set_ReadBuffer(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream_set_ReadBuffer_m2380223665 (WebConnectionStream_t2170064850 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::set_ReadBufferOffset(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream_set_ReadBufferOffset_m2243374622 (WebConnectionStream_t2170064850 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::set_ReadBufferSize(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream_set_ReadBufferSize_m3389230 (WebConnectionStream_t2170064850 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::CheckResponseInBuffer()
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream_CheckResponseInBuffer_m3201279978 (WebConnectionStream_t2170064850 * __this, const RuntimeMethod* method);
// System.Void System.Net.MonoChunkStream::.ctor(System.Byte[],System.Int32,System.Int32,System.Net.WebHeaderCollection)
extern "C" IL2CPP_METHOD_ATTR void MonoChunkStream__ctor_m2491428210 (MonoChunkStream_t2034754733 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, WebHeaderCollection_t1942268960 * ___headers3, const RuntimeMethod* method);
// System.Void System.Net.MonoChunkStream::ResetBuffer()
extern "C" IL2CPP_METHOD_ATTR void MonoChunkStream_ResetBuffer_m3146850297 (MonoChunkStream_t2034754733 * __this, const RuntimeMethod* method);
// System.Void System.Net.MonoChunkStream::Write(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MonoChunkStream_Write_m3040529004 (MonoChunkStream_t2034754733 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::ForceCompletion()
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream_ForceCompletion_m543651373 (WebConnectionStream_t2170064850 * __this, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::SetResponseData(System.Net.WebConnectionData)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_SetResponseData_m1747650150 (HttpWebRequest_t1669436515 * __this, WebConnectionData_t3835660455 * ___data0, const RuntimeMethod* method);
// System.Void System.Net.ServicePoint::SetVersion(System.Version)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_SetVersion_m218713483 (ServicePoint_t2786966844 * __this, Version_t3456873960 * ___version0, const RuntimeMethod* method);
// System.Void System.Collections.ArrayList::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ArrayList__ctor_m4254721275 (ArrayList_t2718874744 * __this, const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.Char)
extern "C" IL2CPP_METHOD_ATTR int32_t String_IndexOf_m363431711 (String_t* __this, Il2CppChar p0, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Substring_m2848979100 (String_t* __this, int32_t p0, const RuntimeMethod* method);
// System.Boolean System.Net.WebHeaderCollection::AllowMultiValues(System.String)
extern "C" IL2CPP_METHOD_ATTR bool WebHeaderCollection_AllowMultiValues_m3519361423 (RuntimeObject * __this /* static, unused */, String_t* ___name0, const RuntimeMethod* method);
// System.Void System.Net.WebHeaderCollection::AddInternal(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void WebHeaderCollection_AddInternal_m3052165385 (WebHeaderCollection_t1942268960 * __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method);
// System.Void System.Net.WebHeaderCollection::SetInternal(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void WebHeaderCollection_SetInternal_m126443775 (WebHeaderCollection_t1942268960 * __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method);
// System.Boolean System.Net.HttpWebRequest::get_ExpectContinue()
extern "C" IL2CPP_METHOD_ATTR bool HttpWebRequest_get_ExpectContinue_m1265660027 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::DoContinueDelegate(System.Int32,System.Net.WebHeaderCollection)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_DoContinueDelegate_m3383944917 (HttpWebRequest_t1669436515 * __this, int32_t ___statusCode0, WebHeaderCollection_t1942268960 * ___headers1, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::set_ExpectContinue(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_set_ExpectContinue_m494724185 (HttpWebRequest_t1669436515 * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean System.Net.HttpWebRequest::get_ReuseConnection()
extern "C" IL2CPP_METHOD_ATTR bool HttpWebRequest_get_ReuseConnection_m3470145138 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.HttpWebRequest::get_KeepAlive()
extern "C" IL2CPP_METHOD_ATTR bool HttpWebRequest_get_KeepAlive_m125307640 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionData::.ctor(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionData__ctor_m3924339920 (WebConnectionData_t3835660455 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::Connect(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_Connect_m2850066444 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::SetWriteStreamError(System.Net.WebExceptionStatus,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_SetWriteStreamError_m336408989 (HttpWebRequest_t1669436515 * __this, int32_t ___status0, Exception_t * ___exc1, const RuntimeMethod* method);
// System.Boolean System.Net.WebConnection::CreateStream(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CreateStream_m3387195587 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method);
// System.Void System.Net.HttpWebResponse::.ctor(System.Uri,System.String,System.Net.WebConnectionData,System.Net.CookieContainer)
extern "C" IL2CPP_METHOD_ATTR void HttpWebResponse__ctor_m470181940 (HttpWebResponse_t3286585418 * __this, Uri_t100236324 * ___uri0, String_t* ___method1, WebConnectionData_t3835660455 * ___data2, CookieContainer_t2331592909 * ___container3, const RuntimeMethod* method);
// System.Void System.Net.WebException::.ctor(System.String,System.Exception,System.Net.WebExceptionStatus,System.Net.WebResponse)
extern "C" IL2CPP_METHOD_ATTR void WebException__ctor_m2761056832 (WebException_t3237156354 * __this, String_t* ___message0, Exception_t * ___innerException1, int32_t ___status2, WebResponse_t229922639 * ___response3, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionStream::.ctor(System.Net.WebConnection,System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionStream__ctor_m1091771122 (WebConnectionStream_t2170064850 * __this, WebConnection_t3982808322 * ___cnc0, HttpWebRequest_t1669436515 * ___request1, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::SetWriteStream(System.Net.WebConnectionStream)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_SetWriteStream_m2739138088 (HttpWebRequest_t1669436515 * __this, WebConnectionStream_t2170064850 * ___stream0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)
extern "C" IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItem_m1526970260 (RuntimeObject * __this /* static, unused */, WaitCallback_t2448485498 * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Boolean System.Version::op_Inequality(System.Version,System.Version)
extern "C" IL2CPP_METHOD_ATTR bool Version_op_Inequality_m1696193441 (RuntimeObject * __this /* static, unused */, Version_t3456873960 * p0, Version_t3456873960 * p1, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::SendNext()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_SendNext_m1567013439 (WebConnection_t3982808322 * __this, const RuntimeMethod* method);
// System.Int32 System.Text.StringBuilder::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t StringBuilder_get_Length_m3238060835 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Char System.Text.StringBuilder::get_Chars(System.Int32)
extern "C" IL2CPP_METHOD_ATTR Il2CppChar StringBuilder_get_Chars_m1819843468 (StringBuilder_t * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::set_Length(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void StringBuilder_set_Length_m1410065908 (StringBuilder_t * __this, int32_t p0, const RuntimeMethod* method);
// System.Boolean System.Net.MonoChunkStream::get_DataAvailable()
extern "C" IL2CPP_METHOD_ATTR bool MonoChunkStream_get_DataAvailable_m306863724 (MonoChunkStream_t2034754733 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.MonoChunkStream::get_WantMore()
extern "C" IL2CPP_METHOD_ATTR bool MonoChunkStream_get_WantMore_m2502286912 (MonoChunkStream_t2034754733 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebAsyncResult::.ctor(System.AsyncCallback,System.Object,System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult__ctor_m4245223108 (WebAsyncResult_t3421962937 * __this, AsyncCallback_t3962456242 * ___cb0, RuntimeObject * ___state1, ByteU5BU5D_t4116647657* ___buffer2, int32_t ___offset3, int32_t ___size4, const RuntimeMethod* method);
// System.Void System.Net.WebAsyncResult::set_InnerAsyncResult(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_set_InnerAsyncResult_m4260877195 (WebAsyncResult_t3421962937 * __this, RuntimeObject* ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebAsyncResult::DoCallback()
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_DoCallback_m1336537550 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebException::.ctor(System.String,System.Net.WebExceptionStatus)
extern "C" IL2CPP_METHOD_ATTR void WebException__ctor_m2864788884 (WebException_t3237156354 * __this, String_t* ___message0, int32_t ___status1, const RuntimeMethod* method);
// System.IAsyncResult System.Net.WebAsyncResult::get_InnerAsyncResult()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WebAsyncResult_get_InnerAsyncResult_m4134833752 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method);
// System.Byte[] System.Net.WebAsyncResult::get_Buffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* WebAsyncResult_get_Buffer_m1662146309 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.WebAsyncResult::get_Offset()
extern "C" IL2CPP_METHOD_ATTR int32_t WebAsyncResult_get_Offset_m368370234 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.WebAsyncResult::get_Size()
extern "C" IL2CPP_METHOD_ATTR int32_t WebAsyncResult_get_Size_m4148452880 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method);
// System.Void System.Net.MonoChunkStream::WriteAndReadBack(System.Byte[],System.Int32,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void MonoChunkStream_WriteAndReadBack_m2930844533 (MonoChunkStream_t2034754733 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t* ___read3, const RuntimeMethod* method);
// System.Int32 System.Net.WebConnection::EnsureRead(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_EnsureRead_m1250887662 (WebConnection_t3982808322 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method);
// System.Int32 System.Net.MonoChunkStream::get_ChunkLeft()
extern "C" IL2CPP_METHOD_ATTR int32_t MonoChunkStream_get_ChunkLeft_m2121264135 (MonoChunkStream_t2034754733 * __this, const RuntimeMethod* method);
// System.Int32 System.Net.MonoChunkStream::Read(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t MonoChunkStream_Read_m2449136904 (MonoChunkStream_t2034754733 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method);
// System.Void System.Net.HttpWebRequest::set_ReuseConnection(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void HttpWebRequest_set_ReuseConnection_m3288622955 (HttpWebRequest_t1669436515 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::ResetNtlm()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_ResetNtlm_m1997409512 (WebConnection_t3982808322 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.HttpWebRequest::get_FinishedReading()
extern "C" IL2CPP_METHOD_ATTR bool HttpWebRequest_get_FinishedReading_m1895117237 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Void System.Net.WebConnectionData::set_request(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnectionData_set_request_m2687368876 (WebConnectionData_t3835660455 * __this, HttpWebRequest_t1669436515 * ___value0, const RuntimeMethod* method);
// System.Void System.Net.WebConnection::InitConnection(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_InitConnection_m1346209371 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.NetworkInformation.NetworkInterface[] System.Net.NetworkInformation.NetworkInterfaceFactory/MacOsNetworkInterfaceAPI::GetAllNetworkInterfaces()
extern "C" IL2CPP_METHOD_ATTR NetworkInterfaceU5BU5D_t3597716288* MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937 (MacOsNetworkInterfaceAPI_t1249733612 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937_RuntimeMethod_var);
Dictionary_2_t3754537481 * V_0 = NULL;
intptr_t V_1;
memset(&V_1, 0, sizeof(V_1));
NetworkInterfaceU5BU5D_t3597716288* V_2 = NULL;
int32_t V_3 = 0;
intptr_t V_4;
memset(&V_4, 0, sizeof(V_4));
ifaddrs_t2169824096 V_5;
memset(&V_5, 0, sizeof(V_5));
IPAddress_t241777590 * V_6 = NULL;
String_t* V_7 = NULL;
int32_t V_8 = 0;
ByteU5BU5D_t4116647657* V_9 = NULL;
int32_t V_10 = 0;
MacOsNetworkInterface_t3969281182 * V_11 = NULL;
sockaddr_t371844119 V_12;
memset(&V_12, 0, sizeof(V_12));
sockaddr_in6_t2080844659 V_13;
memset(&V_13, 0, sizeof(V_13));
sockaddr_dl_t1317779094 V_14;
memset(&V_14, 0, sizeof(V_14));
int32_t V_15 = 0;
int32_t V_16 = 0;
Enumerator_t28463842 V_17;
memset(&V_17, 0, sizeof(V_17));
NetworkInterface_t271883373 * V_18 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
Dictionary_2_t3754537481 * L_0 = (Dictionary_2_t3754537481 *)il2cpp_codegen_object_new(Dictionary_2_t3754537481_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m310562627(L_0, /*hidden argument*/Dictionary_2__ctor_m310562627_RuntimeMethod_var);
V_0 = L_0;
int32_t L_1 = UnixNetworkInterfaceAPI_getifaddrs_m2431248539(NULL /*static, unused*/, (intptr_t*)(&V_1), /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
SystemException_t176217640 * L_2 = (SystemException_t176217640 *)il2cpp_codegen_object_new(SystemException_t176217640_il2cpp_TypeInfo_var);
SystemException__ctor_m3298527747(L_2, _stringLiteral609276676, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, MacOsNetworkInterfaceAPI_GetAllNetworkInterfaces_m1635951937_RuntimeMethod_var);
}
IL_001a:
{
}
IL_001b:
try
{ // begin try (depth: 1)
{
intptr_t L_3 = V_1;
V_4 = L_3;
goto IL_0247;
}
IL_0023:
{
intptr_t L_4 = V_4;
RuntimeTypeHandle_t3027515415 L_5 = { reinterpret_cast<intptr_t> (ifaddrs_t2169824096_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_6 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_7 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_4, L_6, /*hidden argument*/NULL);
V_5 = ((*(ifaddrs_t2169824096 *)((ifaddrs_t2169824096 *)UnBox(L_7, ifaddrs_t2169824096_il2cpp_TypeInfo_var))));
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_8 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_None_3();
V_6 = L_8;
ifaddrs_t2169824096 L_9 = V_5;
String_t* L_10 = L_9.get_ifa_name_1();
V_7 = L_10;
V_8 = (-1);
V_9 = (ByteU5BU5D_t4116647657*)NULL;
V_10 = 1;
ifaddrs_t2169824096 L_11 = V_5;
intptr_t L_12 = L_11.get_ifa_addr_3();
bool L_13 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_12, (intptr_t)(0), /*hidden argument*/NULL);
if (!L_13)
{
goto IL_01e7;
}
}
IL_006a:
{
ifaddrs_t2169824096 L_14 = V_5;
intptr_t L_15 = L_14.get_ifa_addr_3();
RuntimeTypeHandle_t3027515415 L_16 = { reinterpret_cast<intptr_t> (sockaddr_t371844119_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_17 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_18 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_15, L_17, /*hidden argument*/NULL);
V_12 = ((*(sockaddr_t371844119 *)((sockaddr_t371844119 *)UnBox(L_18, sockaddr_t371844119_il2cpp_TypeInfo_var))));
sockaddr_t371844119 L_19 = V_12;
uint8_t L_20 = L_19.get_sa_family_1();
if ((!(((uint32_t)L_20) == ((uint32_t)((int32_t)30)))))
{
goto IL_00cf;
}
}
IL_0092:
{
ifaddrs_t2169824096 L_21 = V_5;
intptr_t L_22 = L_21.get_ifa_addr_3();
RuntimeTypeHandle_t3027515415 L_23 = { reinterpret_cast<intptr_t> (sockaddr_in6_t2080844659_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_24 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_23, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_25 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_22, L_24, /*hidden argument*/NULL);
V_13 = ((*(sockaddr_in6_t2080844659 *)((sockaddr_in6_t2080844659 *)UnBox(L_25, sockaddr_in6_t2080844659_il2cpp_TypeInfo_var))));
sockaddr_in6_t2080844659 L_26 = V_13;
in6_addr_t1417766092 L_27 = L_26.get_sin6_addr_4();
ByteU5BU5D_t4116647657* L_28 = L_27.get_u6_addr8_0();
sockaddr_in6_t2080844659 L_29 = V_13;
uint32_t L_30 = L_29.get_sin6_scope_id_5();
IPAddress_t241777590 * L_31 = (IPAddress_t241777590 *)il2cpp_codegen_object_new(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress__ctor_m212134278(L_31, L_28, (((int64_t)((uint64_t)L_30))), /*hidden argument*/NULL);
V_6 = L_31;
goto IL_01e7;
}
IL_00cf:
{
sockaddr_t371844119 L_32 = V_12;
uint8_t L_33 = L_32.get_sa_family_1();
if ((!(((uint32_t)L_33) == ((uint32_t)2))))
{
goto IL_0106;
}
}
IL_00d9:
{
ifaddrs_t2169824096 L_34 = V_5;
intptr_t L_35 = L_34.get_ifa_addr_3();
RuntimeTypeHandle_t3027515415 L_36 = { reinterpret_cast<intptr_t> (sockaddr_in_t1317910171_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_37 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_38 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_35, L_37, /*hidden argument*/NULL);
uint32_t L_39 = ((*(sockaddr_in_t1317910171 *)((sockaddr_in_t1317910171 *)UnBox(L_38, sockaddr_in_t1317910171_il2cpp_TypeInfo_var)))).get_sin_addr_3();
IPAddress_t241777590 * L_40 = (IPAddress_t241777590 *)il2cpp_codegen_object_new(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress__ctor_m921977496(L_40, (((int64_t)((uint64_t)L_39))), /*hidden argument*/NULL);
V_6 = L_40;
goto IL_01e7;
}
IL_0106:
{
sockaddr_t371844119 L_41 = V_12;
uint8_t L_42 = L_41.get_sa_family_1();
if ((!(((uint32_t)L_42) == ((uint32_t)((int32_t)18)))))
{
goto IL_01e7;
}
}
IL_0114:
{
il2cpp_codegen_initobj((&V_14), sizeof(sockaddr_dl_t1317779094 ));
ifaddrs_t2169824096 L_43 = V_5;
intptr_t L_44 = L_43.get_ifa_addr_3();
sockaddr_dl_Read_m1409728640((sockaddr_dl_t1317779094 *)(&V_14), L_44, /*hidden argument*/NULL);
sockaddr_dl_t1317779094 L_45 = V_14;
uint8_t L_46 = L_45.get_sdl_alen_5();
ByteU5BU5D_t4116647657* L_47 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_46);
V_9 = L_47;
sockaddr_dl_t1317779094 L_48 = V_14;
ByteU5BU5D_t4116647657* L_49 = L_48.get_sdl_data_7();
sockaddr_dl_t1317779094 L_50 = V_14;
uint8_t L_51 = L_50.get_sdl_nlen_4();
ByteU5BU5D_t4116647657* L_52 = V_9;
ByteU5BU5D_t4116647657* L_53 = V_9;
NullCheck(L_53);
sockaddr_dl_t1317779094 L_54 = V_14;
ByteU5BU5D_t4116647657* L_55 = L_54.get_sdl_data_7();
NullCheck(L_55);
sockaddr_dl_t1317779094 L_56 = V_14;
uint8_t L_57 = L_56.get_sdl_nlen_4();
IL2CPP_RUNTIME_CLASS_INIT(Math_t1671470975_il2cpp_TypeInfo_var);
int32_t L_58 = Math_Min_m3468062251(NULL /*static, unused*/, (((int32_t)((int32_t)(((RuntimeArray *)L_53)->max_length)))), ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_55)->max_length)))), (int32_t)L_57)), /*hidden argument*/NULL);
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_49, L_51, (RuntimeArray *)(RuntimeArray *)L_52, 0, L_58, /*hidden argument*/NULL);
sockaddr_dl_t1317779094 L_59 = V_14;
uint16_t L_60 = L_59.get_sdl_index_2();
V_8 = L_60;
sockaddr_dl_t1317779094 L_61 = V_14;
uint8_t L_62 = L_61.get_sdl_type_3();
V_15 = L_62;
RuntimeTypeHandle_t3027515415 L_63 = { reinterpret_cast<intptr_t> (MacOsArpHardware_t4198534184_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_64 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_63, /*hidden argument*/NULL);
int32_t L_65 = V_15;
int32_t L_66 = L_65;
RuntimeObject * L_67 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_66);
IL2CPP_RUNTIME_CLASS_INIT(Enum_t4135868527_il2cpp_TypeInfo_var);
bool L_68 = Enum_IsDefined_m1442314461(NULL /*static, unused*/, L_64, L_67, /*hidden argument*/NULL);
if (!L_68)
{
goto IL_01e7;
}
}
IL_0192:
{
int32_t L_69 = V_15;
V_16 = L_69;
int32_t L_70 = V_16;
if ((((int32_t)L_70) > ((int32_t)((int32_t)23))))
{
goto IL_01af;
}
}
IL_019c:
{
int32_t L_71 = V_16;
if ((((int32_t)L_71) == ((int32_t)6)))
{
goto IL_01c3;
}
}
IL_01a1:
{
int32_t L_72 = V_16;
if ((((int32_t)L_72) == ((int32_t)((int32_t)15))))
{
goto IL_01e3;
}
}
IL_01a7:
{
int32_t L_73 = V_16;
if ((((int32_t)L_73) == ((int32_t)((int32_t)23))))
{
goto IL_01d4;
}
}
IL_01ad:
{
goto IL_01e7;
}
IL_01af:
{
int32_t L_74 = V_16;
if ((((int32_t)L_74) == ((int32_t)((int32_t)24))))
{
goto IL_01da;
}
}
IL_01b5:
{
int32_t L_75 = V_16;
if ((((int32_t)L_75) == ((int32_t)((int32_t)28))))
{
goto IL_01ce;
}
}
IL_01bb:
{
int32_t L_76 = V_16;
if ((((int32_t)L_76) == ((int32_t)((int32_t)37))))
{
goto IL_01c8;
}
}
IL_01c1:
{
goto IL_01e7;
}
IL_01c3:
{
V_10 = 6;
goto IL_01e7;
}
IL_01c8:
{
V_10 = ((int32_t)37);
goto IL_01e7;
}
IL_01ce:
{
V_10 = ((int32_t)28);
goto IL_01e7;
}
IL_01d4:
{
V_10 = ((int32_t)23);
goto IL_01e7;
}
IL_01da:
{
V_10 = ((int32_t)24);
V_9 = (ByteU5BU5D_t4116647657*)NULL;
goto IL_01e7;
}
IL_01e3:
{
V_10 = ((int32_t)15);
}
IL_01e7:
{
V_11 = (MacOsNetworkInterface_t3969281182 *)NULL;
Dictionary_2_t3754537481 * L_77 = V_0;
String_t* L_78 = V_7;
NullCheck(L_77);
bool L_79 = Dictionary_2_TryGetValue_m3793869397(L_77, L_78, (MacOsNetworkInterface_t3969281182 **)(&V_11), /*hidden argument*/Dictionary_2_TryGetValue_m3793869397_RuntimeMethod_var);
if (L_79)
{
goto IL_0210;
}
}
IL_01f6:
{
String_t* L_80 = V_7;
ifaddrs_t2169824096 L_81 = V_5;
uint32_t L_82 = L_81.get_ifa_flags_2();
MacOsNetworkInterface_t3969281182 * L_83 = (MacOsNetworkInterface_t3969281182 *)il2cpp_codegen_object_new(MacOsNetworkInterface_t3969281182_il2cpp_TypeInfo_var);
MacOsNetworkInterface__ctor_m2205294491(L_83, L_80, L_82, /*hidden argument*/NULL);
V_11 = L_83;
Dictionary_2_t3754537481 * L_84 = V_0;
String_t* L_85 = V_7;
MacOsNetworkInterface_t3969281182 * L_86 = V_11;
NullCheck(L_84);
Dictionary_2_Add_m753723603(L_84, L_85, L_86, /*hidden argument*/Dictionary_2_Add_m753723603_RuntimeMethod_var);
}
IL_0210:
{
IPAddress_t241777590 * L_87 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_88 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_None_3();
NullCheck(L_87);
bool L_89 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_87, L_88);
if (L_89)
{
goto IL_0227;
}
}
IL_021e:
{
MacOsNetworkInterface_t3969281182 * L_90 = V_11;
IPAddress_t241777590 * L_91 = V_6;
NullCheck(L_90);
UnixNetworkInterface_AddAddress_m32632039(L_90, L_91, /*hidden argument*/NULL);
}
IL_0227:
{
ByteU5BU5D_t4116647657* L_92 = V_9;
if (L_92)
{
goto IL_0231;
}
}
IL_022b:
{
int32_t L_93 = V_10;
if ((!(((uint32_t)L_93) == ((uint32_t)((int32_t)24)))))
{
goto IL_023e;
}
}
IL_0231:
{
MacOsNetworkInterface_t3969281182 * L_94 = V_11;
int32_t L_95 = V_8;
ByteU5BU5D_t4116647657* L_96 = V_9;
int32_t L_97 = V_10;
NullCheck(L_94);
UnixNetworkInterface_SetLinkLayerInfo_m2970882883(L_94, L_95, L_96, L_97, /*hidden argument*/NULL);
}
IL_023e:
{
ifaddrs_t2169824096 L_98 = V_5;
intptr_t L_99 = L_98.get_ifa_next_0();
V_4 = L_99;
}
IL_0247:
{
intptr_t L_100 = V_4;
bool L_101 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_100, (intptr_t)(0), /*hidden argument*/NULL);
if (L_101)
{
goto IL_0023;
}
}
IL_0258:
{
IL2CPP_LEAVE(0x261, FINALLY_025a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_025a;
}
FINALLY_025a:
{ // begin finally (depth: 1)
intptr_t L_102 = V_1;
UnixNetworkInterfaceAPI_freeifaddrs_m4234587285(NULL /*static, unused*/, L_102, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(602)
} // end finally (depth: 1)
IL2CPP_CLEANUP(602)
{
IL2CPP_JUMP_TBL(0x261, IL_0261)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0261:
{
Dictionary_2_t3754537481 * L_103 = V_0;
NullCheck(L_103);
int32_t L_104 = Dictionary_2_get_Count_m602751768(L_103, /*hidden argument*/Dictionary_2_get_Count_m602751768_RuntimeMethod_var);
NetworkInterfaceU5BU5D_t3597716288* L_105 = (NetworkInterfaceU5BU5D_t3597716288*)SZArrayNew(NetworkInterfaceU5BU5D_t3597716288_il2cpp_TypeInfo_var, (uint32_t)L_104);
V_2 = L_105;
V_3 = 0;
Dictionary_2_t3754537481 * L_106 = V_0;
NullCheck(L_106);
ValueCollection_t1175614503 * L_107 = Dictionary_2_get_Values_m2228828089(L_106, /*hidden argument*/Dictionary_2_get_Values_m2228828089_RuntimeMethod_var);
NullCheck(L_107);
Enumerator_t28463842 L_108 = ValueCollection_GetEnumerator_m314112853(L_107, /*hidden argument*/ValueCollection_GetEnumerator_m314112853_RuntimeMethod_var);
V_17 = L_108;
}
IL_027c:
try
{ // begin try (depth: 1)
{
goto IL_0290;
}
IL_027e:
{
MacOsNetworkInterface_t3969281182 * L_109 = Enumerator_get_Current_m4064348663((Enumerator_t28463842 *)(&V_17), /*hidden argument*/Enumerator_get_Current_m4064348663_RuntimeMethod_var);
V_18 = L_109;
NetworkInterfaceU5BU5D_t3597716288* L_110 = V_2;
int32_t L_111 = V_3;
NetworkInterface_t271883373 * L_112 = V_18;
NullCheck(L_110);
ArrayElementTypeCheck (L_110, L_112);
(L_110)->SetAt(static_cast<il2cpp_array_size_t>(L_111), (NetworkInterface_t271883373 *)L_112);
int32_t L_113 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_113, (int32_t)1));
}
IL_0290:
{
bool L_114 = Enumerator_MoveNext_m2764203907((Enumerator_t28463842 *)(&V_17), /*hidden argument*/Enumerator_MoveNext_m2764203907_RuntimeMethod_var);
if (L_114)
{
goto IL_027e;
}
}
IL_0299:
{
IL2CPP_LEAVE(0x2A9, FINALLY_029b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_029b;
}
FINALLY_029b:
{ // begin finally (depth: 1)
Enumerator_Dispose_m3848008877((Enumerator_t28463842 *)(&V_17), /*hidden argument*/Enumerator_Dispose_m3848008877_RuntimeMethod_var);
IL2CPP_END_FINALLY(667)
} // end finally (depth: 1)
IL2CPP_CLEANUP(667)
{
IL2CPP_JUMP_TBL(0x2A9, IL_02a9)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_02a9:
{
NetworkInterfaceU5BU5D_t3597716288* L_115 = V_2;
return L_115;
}
}
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/MacOsNetworkInterfaceAPI::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MacOsNetworkInterfaceAPI__ctor_m2624048932 (MacOsNetworkInterfaceAPI_t1249733612 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MacOsNetworkInterfaceAPI__ctor_m2624048932_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(MacOsNetworkInterfaceAPI__ctor_m2624048932_RuntimeMethod_var);
{
UnixNetworkInterfaceAPI__ctor_m1070154817(__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.Int32 System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::getifaddrs(System.IntPtr&)
extern "C" IL2CPP_METHOD_ATTR int32_t UnixNetworkInterfaceAPI_getifaddrs_m2431248539 (RuntimeObject * __this /* static, unused */, intptr_t* ___ifap0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterfaceAPI_getifaddrs_m2431248539_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterfaceAPI_getifaddrs_m2431248539_RuntimeMethod_var);
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (intptr_t*);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("libc"), "getifaddrs", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'getifaddrs'"), NULL, NULL);
}
}
// Marshaling of parameter '___ifap0' to native representation
intptr_t ____ifap0_empty = 0;
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc((&____ifap0_empty));
// Marshaling of parameter '___ifap0' back from native representation
*___ifap0 = ____ifap0_empty;
return returnValue;
}
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::freeifaddrs(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterfaceAPI_freeifaddrs_m4234587285 (RuntimeObject * __this /* static, unused */, intptr_t ___ifap0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterfaceAPI_freeifaddrs_m4234587285_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterfaceAPI_freeifaddrs_m4234587285_RuntimeMethod_var);
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("libc"), "freeifaddrs", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'freeifaddrs'"), NULL, NULL);
}
}
// Native function invocation
il2cppPInvokeFunc(___ifap0);
}
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/UnixNetworkInterfaceAPI::.ctor()
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterfaceAPI__ctor_m1070154817 (UnixNetworkInterfaceAPI_t1061423219 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterfaceAPI__ctor_m1070154817_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterfaceAPI__ctor_m1070154817_RuntimeMethod_var);
{
NetworkInterfaceFactory__ctor_m2168700888(__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.Int32 System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::GetAdaptersAddresses(System.UInt32,System.UInt32,System.IntPtr,System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270 (RuntimeObject * __this /* static, unused */, uint32_t ___family0, uint32_t ___flags1, intptr_t ___reserved2, intptr_t ___info3, int32_t* ___size4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270_RuntimeMethod_var);
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (uint32_t, uint32_t, intptr_t, intptr_t, int32_t*);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(uint32_t) + sizeof(uint32_t) + sizeof(intptr_t) + sizeof(intptr_t) + sizeof(int32_t*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("iphlpapi.dll"), "GetAdaptersAddresses", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetAdaptersAddresses'"), NULL, NULL);
}
}
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(___family0, ___flags1, ___reserved2, ___info3, ___size4);
il2cpp_codegen_marshal_store_last_error();
return returnValue;
}
// System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES[] System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::GetAdaptersAddresses()
extern "C" IL2CPP_METHOD_ATTR Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236_RuntimeMethod_var);
intptr_t V_0;
memset(&V_0, 0, sizeof(V_0));
int32_t V_1 = 0;
int32_t V_2 = 0;
List_1_t640633774 * V_3 = NULL;
Win32_IP_ADAPTER_ADDRESSES_t3463526328 V_4;
memset(&V_4, 0, sizeof(V_4));
intptr_t V_5;
memset(&V_5, 0, sizeof(V_5));
{
V_0 = (intptr_t)(0);
V_1 = 0;
intptr_t L_0 = V_0;
Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270(NULL /*static, unused*/, 0, 0, (intptr_t)(0), L_0, (int32_t*)(&V_1), /*hidden argument*/NULL);
int32_t L_1 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
intptr_t L_2 = Marshal_AllocHGlobal_m491131085(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
intptr_t L_3 = V_0;
int32_t L_4 = Win32NetworkInterfaceAPI_GetAdaptersAddresses_m2847866270(NULL /*static, unused*/, 0, 0, (intptr_t)(0), L_3, (int32_t*)(&V_1), /*hidden argument*/NULL);
V_2 = L_4;
int32_t L_5 = V_2;
if (!L_5)
{
goto IL_0039;
}
}
{
int32_t L_6 = V_2;
NetworkInformationException_t2303982063 * L_7 = (NetworkInformationException_t2303982063 *)il2cpp_codegen_object_new(NetworkInformationException_t2303982063_il2cpp_TypeInfo_var);
NetworkInformationException__ctor_m4062806937(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236_RuntimeMethod_var);
}
IL_0039:
{
List_1_t640633774 * L_8 = (List_1_t640633774 *)il2cpp_codegen_object_new(List_1_t640633774_il2cpp_TypeInfo_var);
List_1__ctor_m3895760431(L_8, /*hidden argument*/List_1__ctor_m3895760431_RuntimeMethod_var);
V_3 = L_8;
intptr_t L_9 = V_0;
V_5 = L_9;
goto IL_005e;
}
IL_0044:
{
intptr_t L_10 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_11 = Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785(NULL /*static, unused*/, L_10, /*hidden argument*/Marshal_PtrToStructure_TisWin32_IP_ADAPTER_ADDRESSES_t3463526328_m266777785_RuntimeMethod_var);
V_4 = L_11;
List_1_t640633774 * L_12 = V_3;
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_13 = V_4;
NullCheck(L_12);
List_1_Add_m3991070075(L_12, L_13, /*hidden argument*/List_1_Add_m3991070075_RuntimeMethod_var);
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_14 = V_4;
intptr_t L_15 = L_14.get_Next_1();
V_5 = L_15;
}
IL_005e:
{
intptr_t L_16 = V_5;
bool L_17 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_16, (intptr_t)(0), /*hidden argument*/NULL);
if (L_17)
{
goto IL_0044;
}
}
{
List_1_t640633774 * L_18 = V_3;
NullCheck(L_18);
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* L_19 = List_1_ToArray_m650252620(L_18, /*hidden argument*/List_1_ToArray_m650252620_RuntimeMethod_var);
return L_19;
}
}
// System.Net.NetworkInformation.NetworkInterface[] System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::GetAllNetworkInterfaces()
extern "C" IL2CPP_METHOD_ATTR NetworkInterfaceU5BU5D_t3597716288* Win32NetworkInterfaceAPI_GetAllNetworkInterfaces_m1936883101 (Win32NetworkInterfaceAPI_t912414909 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterfaceAPI_GetAllNetworkInterfaces_m1936883101_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterfaceAPI_GetAllNetworkInterfaces_m1936883101_RuntimeMethod_var);
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* V_0 = NULL;
NetworkInterfaceU5BU5D_t3597716288* V_1 = NULL;
int32_t V_2 = 0;
{
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* L_0 = Win32NetworkInterfaceAPI_GetAdaptersAddresses_m132920236(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* L_1 = V_0;
NullCheck(L_1);
NetworkInterfaceU5BU5D_t3597716288* L_2 = (NetworkInterfaceU5BU5D_t3597716288*)SZArrayNew(NetworkInterfaceU5BU5D_t3597716288_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))));
V_1 = L_2;
V_2 = 0;
goto IL_0026;
}
IL_0013:
{
NetworkInterfaceU5BU5D_t3597716288* L_3 = V_1;
int32_t L_4 = V_2;
Win32_IP_ADAPTER_ADDRESSESU5BU5D_t3385662057* L_5 = V_0;
int32_t L_6 = V_2;
NullCheck(L_5);
int32_t L_7 = L_6;
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
Win32NetworkInterface2_t2303857857 * L_9 = (Win32NetworkInterface2_t2303857857 *)il2cpp_codegen_object_new(Win32NetworkInterface2_t2303857857_il2cpp_TypeInfo_var);
Win32NetworkInterface2__ctor_m3652556675(L_9, L_8, /*hidden argument*/NULL);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_9);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_4), (NetworkInterface_t271883373 *)L_9);
int32_t L_10 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_0026:
{
int32_t L_11 = V_2;
NetworkInterfaceU5BU5D_t3597716288* 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_0013;
}
}
{
NetworkInterfaceU5BU5D_t3597716288* L_13 = V_1;
return L_13;
}
}
// System.Void System.Net.NetworkInformation.NetworkInterfaceFactory/Win32NetworkInterfaceAPI::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Win32NetworkInterfaceAPI__ctor_m1459962338 (Win32NetworkInterfaceAPI_t912414909 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterfaceAPI__ctor_m1459962338_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterfaceAPI__ctor_m1459962338_RuntimeMethod_var);
{
NetworkInterfaceFactory__ctor_m2168700888(__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
#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.Net.NetworkInformation.sockaddr_in6
extern "C" void sockaddr_in6_t2790242023_marshal_pinvoke(const sockaddr_in6_t2790242023& unmarshaled, sockaddr_in6_t2790242023_marshaled_pinvoke& marshaled)
{
marshaled.___sin6_family_0 = unmarshaled.get_sin6_family_0();
marshaled.___sin6_port_1 = unmarshaled.get_sin6_port_1();
marshaled.___sin6_flowinfo_2 = unmarshaled.get_sin6_flowinfo_2();
in6_addr_t3611791508_marshal_pinvoke(unmarshaled.get_sin6_addr_3(), marshaled.___sin6_addr_3);
marshaled.___sin6_scope_id_4 = unmarshaled.get_sin6_scope_id_4();
}
extern "C" void sockaddr_in6_t2790242023_marshal_pinvoke_back(const sockaddr_in6_t2790242023_marshaled_pinvoke& marshaled, sockaddr_in6_t2790242023& unmarshaled)
{
uint16_t unmarshaled_sin6_family_temp_0 = 0;
unmarshaled_sin6_family_temp_0 = marshaled.___sin6_family_0;
unmarshaled.set_sin6_family_0(unmarshaled_sin6_family_temp_0);
uint16_t unmarshaled_sin6_port_temp_1 = 0;
unmarshaled_sin6_port_temp_1 = marshaled.___sin6_port_1;
unmarshaled.set_sin6_port_1(unmarshaled_sin6_port_temp_1);
uint32_t unmarshaled_sin6_flowinfo_temp_2 = 0;
unmarshaled_sin6_flowinfo_temp_2 = marshaled.___sin6_flowinfo_2;
unmarshaled.set_sin6_flowinfo_2(unmarshaled_sin6_flowinfo_temp_2);
in6_addr_t3611791508 unmarshaled_sin6_addr_temp_3;
memset(&unmarshaled_sin6_addr_temp_3, 0, sizeof(unmarshaled_sin6_addr_temp_3));
in6_addr_t3611791508_marshal_pinvoke_back(marshaled.___sin6_addr_3, unmarshaled_sin6_addr_temp_3);
unmarshaled.set_sin6_addr_3(unmarshaled_sin6_addr_temp_3);
uint32_t unmarshaled_sin6_scope_id_temp_4 = 0;
unmarshaled_sin6_scope_id_temp_4 = marshaled.___sin6_scope_id_4;
unmarshaled.set_sin6_scope_id_4(unmarshaled_sin6_scope_id_temp_4);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.sockaddr_in6
extern "C" void sockaddr_in6_t2790242023_marshal_pinvoke_cleanup(sockaddr_in6_t2790242023_marshaled_pinvoke& marshaled)
{
in6_addr_t3611791508_marshal_pinvoke_cleanup(marshaled.___sin6_addr_3);
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.sockaddr_in6
extern "C" void sockaddr_in6_t2790242023_marshal_com(const sockaddr_in6_t2790242023& unmarshaled, sockaddr_in6_t2790242023_marshaled_com& marshaled)
{
marshaled.___sin6_family_0 = unmarshaled.get_sin6_family_0();
marshaled.___sin6_port_1 = unmarshaled.get_sin6_port_1();
marshaled.___sin6_flowinfo_2 = unmarshaled.get_sin6_flowinfo_2();
in6_addr_t3611791508_marshal_com(unmarshaled.get_sin6_addr_3(), marshaled.___sin6_addr_3);
marshaled.___sin6_scope_id_4 = unmarshaled.get_sin6_scope_id_4();
}
extern "C" void sockaddr_in6_t2790242023_marshal_com_back(const sockaddr_in6_t2790242023_marshaled_com& marshaled, sockaddr_in6_t2790242023& unmarshaled)
{
uint16_t unmarshaled_sin6_family_temp_0 = 0;
unmarshaled_sin6_family_temp_0 = marshaled.___sin6_family_0;
unmarshaled.set_sin6_family_0(unmarshaled_sin6_family_temp_0);
uint16_t unmarshaled_sin6_port_temp_1 = 0;
unmarshaled_sin6_port_temp_1 = marshaled.___sin6_port_1;
unmarshaled.set_sin6_port_1(unmarshaled_sin6_port_temp_1);
uint32_t unmarshaled_sin6_flowinfo_temp_2 = 0;
unmarshaled_sin6_flowinfo_temp_2 = marshaled.___sin6_flowinfo_2;
unmarshaled.set_sin6_flowinfo_2(unmarshaled_sin6_flowinfo_temp_2);
in6_addr_t3611791508 unmarshaled_sin6_addr_temp_3;
memset(&unmarshaled_sin6_addr_temp_3, 0, sizeof(unmarshaled_sin6_addr_temp_3));
in6_addr_t3611791508_marshal_com_back(marshaled.___sin6_addr_3, unmarshaled_sin6_addr_temp_3);
unmarshaled.set_sin6_addr_3(unmarshaled_sin6_addr_temp_3);
uint32_t unmarshaled_sin6_scope_id_temp_4 = 0;
unmarshaled_sin6_scope_id_temp_4 = marshaled.___sin6_scope_id_4;
unmarshaled.set_sin6_scope_id_4(unmarshaled_sin6_scope_id_temp_4);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.sockaddr_in6
extern "C" void sockaddr_in6_t2790242023_marshal_com_cleanup(sockaddr_in6_t2790242023_marshaled_com& marshaled)
{
in6_addr_t3611791508_marshal_com_cleanup(marshaled.___sin6_addr_3);
}
#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.Net.NetworkInformation.sockaddr_ll
extern "C" void sockaddr_ll_t3978606313_marshal_pinvoke(const sockaddr_ll_t3978606313& unmarshaled, sockaddr_ll_t3978606313_marshaled_pinvoke& marshaled)
{
marshaled.___sll_family_0 = unmarshaled.get_sll_family_0();
marshaled.___sll_protocol_1 = unmarshaled.get_sll_protocol_1();
marshaled.___sll_ifindex_2 = unmarshaled.get_sll_ifindex_2();
marshaled.___sll_hatype_3 = unmarshaled.get_sll_hatype_3();
marshaled.___sll_pkttype_4 = unmarshaled.get_sll_pkttype_4();
marshaled.___sll_halen_5 = unmarshaled.get_sll_halen_5();
if (unmarshaled.get_sll_addr_6() != NULL)
{
if (8 > (unmarshaled.get_sll_addr_6())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___sll_addr_6)[i] = (unmarshaled.get_sll_addr_6())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void sockaddr_ll_t3978606313_marshal_pinvoke_back(const sockaddr_ll_t3978606313_marshaled_pinvoke& marshaled, sockaddr_ll_t3978606313& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (sockaddr_ll_t3978606313_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint16_t unmarshaled_sll_family_temp_0 = 0;
unmarshaled_sll_family_temp_0 = marshaled.___sll_family_0;
unmarshaled.set_sll_family_0(unmarshaled_sll_family_temp_0);
uint16_t unmarshaled_sll_protocol_temp_1 = 0;
unmarshaled_sll_protocol_temp_1 = marshaled.___sll_protocol_1;
unmarshaled.set_sll_protocol_1(unmarshaled_sll_protocol_temp_1);
int32_t unmarshaled_sll_ifindex_temp_2 = 0;
unmarshaled_sll_ifindex_temp_2 = marshaled.___sll_ifindex_2;
unmarshaled.set_sll_ifindex_2(unmarshaled_sll_ifindex_temp_2);
uint16_t unmarshaled_sll_hatype_temp_3 = 0;
unmarshaled_sll_hatype_temp_3 = marshaled.___sll_hatype_3;
unmarshaled.set_sll_hatype_3(unmarshaled_sll_hatype_temp_3);
uint8_t unmarshaled_sll_pkttype_temp_4 = 0x0;
unmarshaled_sll_pkttype_temp_4 = marshaled.___sll_pkttype_4;
unmarshaled.set_sll_pkttype_4(unmarshaled_sll_pkttype_temp_4);
uint8_t unmarshaled_sll_halen_temp_5 = 0x0;
unmarshaled_sll_halen_temp_5 = marshaled.___sll_halen_5;
unmarshaled.set_sll_halen_5(unmarshaled_sll_halen_temp_5);
unmarshaled.set_sll_addr_6(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_sll_addr_6())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___sll_addr_6)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.sockaddr_ll
extern "C" void sockaddr_ll_t3978606313_marshal_pinvoke_cleanup(sockaddr_ll_t3978606313_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.sockaddr_ll
extern "C" void sockaddr_ll_t3978606313_marshal_com(const sockaddr_ll_t3978606313& unmarshaled, sockaddr_ll_t3978606313_marshaled_com& marshaled)
{
marshaled.___sll_family_0 = unmarshaled.get_sll_family_0();
marshaled.___sll_protocol_1 = unmarshaled.get_sll_protocol_1();
marshaled.___sll_ifindex_2 = unmarshaled.get_sll_ifindex_2();
marshaled.___sll_hatype_3 = unmarshaled.get_sll_hatype_3();
marshaled.___sll_pkttype_4 = unmarshaled.get_sll_pkttype_4();
marshaled.___sll_halen_5 = unmarshaled.get_sll_halen_5();
if (unmarshaled.get_sll_addr_6() != NULL)
{
if (8 > (unmarshaled.get_sll_addr_6())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___sll_addr_6)[i] = (unmarshaled.get_sll_addr_6())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void sockaddr_ll_t3978606313_marshal_com_back(const sockaddr_ll_t3978606313_marshaled_com& marshaled, sockaddr_ll_t3978606313& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (sockaddr_ll_t3978606313_com_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint16_t unmarshaled_sll_family_temp_0 = 0;
unmarshaled_sll_family_temp_0 = marshaled.___sll_family_0;
unmarshaled.set_sll_family_0(unmarshaled_sll_family_temp_0);
uint16_t unmarshaled_sll_protocol_temp_1 = 0;
unmarshaled_sll_protocol_temp_1 = marshaled.___sll_protocol_1;
unmarshaled.set_sll_protocol_1(unmarshaled_sll_protocol_temp_1);
int32_t unmarshaled_sll_ifindex_temp_2 = 0;
unmarshaled_sll_ifindex_temp_2 = marshaled.___sll_ifindex_2;
unmarshaled.set_sll_ifindex_2(unmarshaled_sll_ifindex_temp_2);
uint16_t unmarshaled_sll_hatype_temp_3 = 0;
unmarshaled_sll_hatype_temp_3 = marshaled.___sll_hatype_3;
unmarshaled.set_sll_hatype_3(unmarshaled_sll_hatype_temp_3);
uint8_t unmarshaled_sll_pkttype_temp_4 = 0x0;
unmarshaled_sll_pkttype_temp_4 = marshaled.___sll_pkttype_4;
unmarshaled.set_sll_pkttype_4(unmarshaled_sll_pkttype_temp_4);
uint8_t unmarshaled_sll_halen_temp_5 = 0x0;
unmarshaled_sll_halen_temp_5 = marshaled.___sll_halen_5;
unmarshaled.set_sll_halen_5(unmarshaled_sll_halen_temp_5);
unmarshaled.set_sll_addr_6(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_sll_addr_6())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___sll_addr_6)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.sockaddr_ll
extern "C" void sockaddr_ll_t3978606313_marshal_com_cleanup(sockaddr_ll_t3978606313_marshaled_com& marshaled)
{
}
#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.Net.NetworkInformation.NetworkInterface[] System.Net.NetworkInformation.SystemNetworkInterface::GetNetworkInterfaces()
extern "C" IL2CPP_METHOD_ATTR NetworkInterfaceU5BU5D_t3597716288* SystemNetworkInterface_GetNetworkInterfaces_m1470478155 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SystemNetworkInterface_GetNetworkInterfaces_m1470478155_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SystemNetworkInterface_GetNetworkInterfaces_m1470478155_RuntimeMethod_var);
NetworkInterfaceU5BU5D_t3597716288* 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
IL2CPP_RUNTIME_CLASS_INIT(SystemNetworkInterface_t699244148_il2cpp_TypeInfo_var);
NetworkInterfaceFactory_t1756522298 * L_0 = ((SystemNetworkInterface_t699244148_StaticFields*)il2cpp_codegen_static_fields_for(SystemNetworkInterface_t699244148_il2cpp_TypeInfo_var))->get_nif_0();
NullCheck(L_0);
NetworkInterfaceU5BU5D_t3597716288* L_1 = VirtFuncInvoker0< NetworkInterfaceU5BU5D_t3597716288* >::Invoke(4 /* System.Net.NetworkInformation.NetworkInterface[] System.Net.NetworkInformation.NetworkInterfaceFactory::GetAllNetworkInterfaces() */, L_0);
V_0 = L_1;
goto IL_0017;
} // 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_000d;
throw e;
}
CATCH_000d:
{ // begin catch(System.Object)
NetworkInterfaceU5BU5D_t3597716288* L_2 = (NetworkInterfaceU5BU5D_t3597716288*)SZArrayNew(NetworkInterfaceU5BU5D_t3597716288_il2cpp_TypeInfo_var, (uint32_t)0);
V_0 = L_2;
goto IL_0017;
} // end catch (depth: 1)
IL_0017:
{
NetworkInterfaceU5BU5D_t3597716288* L_3 = V_0;
return L_3;
}
}
// System.Void System.Net.NetworkInformation.SystemNetworkInterface::.cctor()
extern "C" IL2CPP_METHOD_ATTR void SystemNetworkInterface__cctor_m2883236336 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SystemNetworkInterface__cctor_m2883236336_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SystemNetworkInterface__cctor_m2883236336_RuntimeMethod_var);
{
NetworkInterfaceFactory_t1756522298 * L_0 = NetworkInterfaceFactory_Create_m1912302726(NULL /*static, unused*/, /*hidden argument*/NULL);
((SystemNetworkInterface_t699244148_StaticFields*)il2cpp_codegen_static_fields_for(SystemNetworkInterface_t699244148_il2cpp_TypeInfo_var))->set_nif_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.Net.NetworkInformation.UnixIPGlobalProperties::.ctor()
extern "C" IL2CPP_METHOD_ATTR void UnixIPGlobalProperties__ctor_m131705248 (UnixIPGlobalProperties_t1460024316 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixIPGlobalProperties__ctor_m131705248_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixIPGlobalProperties__ctor_m131705248_RuntimeMethod_var);
{
CommonUnixIPGlobalProperties__ctor_m2334165341(__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.Net.NetworkInformation.UnixIPInterfaceProperties::.ctor(System.Net.NetworkInformation.UnixNetworkInterface,System.Collections.Generic.List`1<System.Net.IPAddress>)
extern "C" IL2CPP_METHOD_ATTR void UnixIPInterfaceProperties__ctor_m4289841366 (UnixIPInterfaceProperties_t1296234392 * __this, UnixNetworkInterface_t2401762829 * ___iface0, List_1_t1713852332 * ___addresses1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixIPInterfaceProperties__ctor_m4289841366_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixIPInterfaceProperties__ctor_m4289841366_RuntimeMethod_var);
{
IPInterfaceProperties__ctor_m3384018393(__this, /*hidden argument*/NULL);
UnixNetworkInterface_t2401762829 * L_0 = ___iface0;
__this->set_iface_0(L_0);
List_1_t1713852332 * L_1 = ___addresses1;
__this->set_addresses_1(L_1);
return;
}
}
// System.Void System.Net.NetworkInformation.UnixIPInterfaceProperties::ParseResolvConf()
extern "C" IL2CPP_METHOD_ATTR void UnixIPInterfaceProperties_ParseResolvConf_m1682475313 (UnixIPInterfaceProperties_t1296234392 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixIPInterfaceProperties_ParseResolvConf_m1682475313_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixIPInterfaceProperties_ParseResolvConf_m1682475313_RuntimeMethod_var);
DateTime_t3738529785 V_0;
memset(&V_0, 0, sizeof(V_0));
StreamReader_t4009935899 * V_1 = NULL;
String_t* V_2 = NULL;
String_t* V_3 = NULL;
Match_t3408321083 * V_4 = NULL;
StringU5BU5D_t1281789340* 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
DateTime_t3738529785 L_0 = File_GetLastWriteTime_m2185149203(NULL /*static, unused*/, _stringLiteral1377102178, /*hidden argument*/NULL);
V_0 = L_0;
DateTime_t3738529785 L_1 = V_0;
DateTime_t3738529785 L_2 = __this->get_last_parse_6();
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
bool L_3 = DateTime_op_LessThanOrEqual_m2360948759(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001e;
}
}
IL_0019:
{
goto IL_0122;
}
IL_001e:
{
DateTime_t3738529785 L_4 = V_0;
__this->set_last_parse_6(L_4);
__this->set_dns_suffix_5(_stringLiteral757602046);
IPAddressCollection_t2315030214 * L_5 = (IPAddressCollection_t2315030214 *)il2cpp_codegen_object_new(IPAddressCollection_t2315030214_il2cpp_TypeInfo_var);
IPAddressCollection__ctor_m2872148604(L_5, /*hidden argument*/NULL);
__this->set_dns_servers_2(L_5);
StreamReader_t4009935899 * L_6 = (StreamReader_t4009935899 *)il2cpp_codegen_object_new(StreamReader_t4009935899_il2cpp_TypeInfo_var);
StreamReader__ctor_m1616861391(L_6, _stringLiteral1377102178, /*hidden argument*/NULL);
V_1 = L_6;
}
IL_0046:
try
{ // begin try (depth: 2)
{
goto IL_0104;
}
IL_004b:
{
String_t* L_7 = V_3;
NullCheck(L_7);
String_t* L_8 = String_Trim_m923598732(L_7, /*hidden argument*/NULL);
V_3 = L_8;
String_t* L_9 = V_3;
NullCheck(L_9);
int32_t L_10 = String_get_Length_m3847582255(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0104;
}
}
IL_005d:
{
String_t* L_11 = V_3;
NullCheck(L_11);
Il2CppChar L_12 = String_get_Chars_m2986988803(L_11, 0, /*hidden argument*/NULL);
if ((((int32_t)L_12) == ((int32_t)((int32_t)35))))
{
goto IL_0104;
}
}
IL_006b:
{
IL2CPP_RUNTIME_CLASS_INIT(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var);
Regex_t3657309853 * L_13 = ((UnixIPInterfaceProperties_t1296234392_StaticFields*)il2cpp_codegen_static_fields_for(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var))->get_ns_3();
String_t* L_14 = V_3;
NullCheck(L_13);
Match_t3408321083 * L_15 = Regex_Match_m2255756165(L_13, L_14, /*hidden argument*/NULL);
V_4 = L_15;
Match_t3408321083 * L_16 = V_4;
NullCheck(L_16);
bool L_17 = Group_get_Success_m3823591889(L_16, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00b5;
}
}
IL_0081:
try
{ // begin try (depth: 3)
Match_t3408321083 * L_18 = V_4;
NullCheck(L_18);
GroupCollection_t69770484 * L_19 = VirtFuncInvoker0< GroupCollection_t69770484 * >::Invoke(5 /* System.Text.RegularExpressions.GroupCollection System.Text.RegularExpressions.Match::get_Groups() */, L_18);
NullCheck(L_19);
Group_t2468205786 * L_20 = GroupCollection_get_Item_m3293401907(L_19, _stringLiteral2350156779, /*hidden argument*/NULL);
NullCheck(L_20);
String_t* L_21 = Capture_get_Value_m3919646039(L_20, /*hidden argument*/NULL);
V_2 = L_21;
String_t* L_22 = V_2;
NullCheck(L_22);
String_t* L_23 = String_Trim_m923598732(L_22, /*hidden argument*/NULL);
V_2 = L_23;
IPAddressCollection_t2315030214 * L_24 = __this->get_dns_servers_2();
String_t* L_25 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_26 = IPAddress_Parse_m2200822423(NULL /*static, unused*/, L_25, /*hidden argument*/NULL);
NullCheck(L_24);
IPAddressCollection_InternalAdd_m1969234359(L_24, L_26, /*hidden argument*/NULL);
goto IL_0104;
} // end try (depth: 3)
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_00b2;
throw e;
}
CATCH_00b2:
{ // begin catch(System.Object)
goto IL_0104;
} // end catch (depth: 3)
IL_00b5:
{
IL2CPP_RUNTIME_CLASS_INIT(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var);
Regex_t3657309853 * L_27 = ((UnixIPInterfaceProperties_t1296234392_StaticFields*)il2cpp_codegen_static_fields_for(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var))->get_search_4();
String_t* L_28 = V_3;
NullCheck(L_27);
Match_t3408321083 * L_29 = Regex_Match_m2255756165(L_27, L_28, /*hidden argument*/NULL);
V_4 = L_29;
Match_t3408321083 * L_30 = V_4;
NullCheck(L_30);
bool L_31 = Group_get_Success_m3823591889(L_30, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_0104;
}
}
IL_00cb:
{
Match_t3408321083 * L_32 = V_4;
NullCheck(L_32);
GroupCollection_t69770484 * L_33 = VirtFuncInvoker0< GroupCollection_t69770484 * >::Invoke(5 /* System.Text.RegularExpressions.GroupCollection System.Text.RegularExpressions.Match::get_Groups() */, L_32);
NullCheck(L_33);
Group_t2468205786 * L_34 = GroupCollection_get_Item_m3293401907(L_33, _stringLiteral3929789730, /*hidden argument*/NULL);
NullCheck(L_34);
String_t* L_35 = Capture_get_Value_m3919646039(L_34, /*hidden argument*/NULL);
V_2 = L_35;
String_t* L_36 = V_2;
CharU5BU5D_t3528271667* L_37 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t3528271667* L_38 = L_37;
NullCheck(L_38);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)44));
NullCheck(L_36);
StringU5BU5D_t1281789340* L_39 = String_Split_m3646115398(L_36, L_38, /*hidden argument*/NULL);
V_5 = L_39;
StringU5BU5D_t1281789340* L_40 = V_5;
NullCheck(L_40);
int32_t L_41 = 0;
String_t* L_42 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
NullCheck(L_42);
String_t* L_43 = String_Trim_m923598732(L_42, /*hidden argument*/NULL);
__this->set_dns_suffix_5(L_43);
}
IL_0104:
{
StreamReader_t4009935899 * L_44 = V_1;
NullCheck(L_44);
String_t* L_45 = VirtFuncInvoker0< String_t* >::Invoke(13 /* System.String System.IO.TextReader::ReadLine() */, L_44);
String_t* L_46 = L_45;
V_3 = L_46;
if (L_46)
{
goto IL_004b;
}
}
IL_0111:
{
IL2CPP_LEAVE(0x11D, FINALLY_0113);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0113;
}
FINALLY_0113:
{ // begin finally (depth: 2)
{
StreamReader_t4009935899 * L_47 = V_1;
if (!L_47)
{
goto IL_011c;
}
}
IL_0116:
{
StreamReader_t4009935899 * L_48 = V_1;
NullCheck(L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_48);
}
IL_011c:
{
IL2CPP_END_FINALLY(275)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(275)
{
IL2CPP_JUMP_TBL(0x11D, IL_011d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_011d:
{
goto IL_0122;
}
} // 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_011f;
throw e;
}
CATCH_011f:
{ // begin catch(System.Object)
goto IL_0122;
} // end catch (depth: 1)
IL_0122:
{
return;
}
}
// System.Net.NetworkInformation.IPAddressCollection System.Net.NetworkInformation.UnixIPInterfaceProperties::get_DnsAddresses()
extern "C" IL2CPP_METHOD_ATTR IPAddressCollection_t2315030214 * UnixIPInterfaceProperties_get_DnsAddresses_m3950094434 (UnixIPInterfaceProperties_t1296234392 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixIPInterfaceProperties_get_DnsAddresses_m3950094434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixIPInterfaceProperties_get_DnsAddresses_m3950094434_RuntimeMethod_var);
{
UnixIPInterfaceProperties_ParseResolvConf_m1682475313(__this, /*hidden argument*/NULL);
IPAddressCollection_t2315030214 * L_0 = __this->get_dns_servers_2();
return L_0;
}
}
// System.Void System.Net.NetworkInformation.UnixIPInterfaceProperties::.cctor()
extern "C" IL2CPP_METHOD_ATTR void UnixIPInterfaceProperties__cctor_m2971563289 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixIPInterfaceProperties__cctor_m2971563289_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixIPInterfaceProperties__cctor_m2971563289_RuntimeMethod_var);
{
Regex_t3657309853 * L_0 = (Regex_t3657309853 *)il2cpp_codegen_object_new(Regex_t3657309853_il2cpp_TypeInfo_var);
Regex__ctor_m3948448025(L_0, _stringLiteral1422690951, /*hidden argument*/NULL);
((UnixIPInterfaceProperties_t1296234392_StaticFields*)il2cpp_codegen_static_fields_for(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var))->set_ns_3(L_0);
Regex_t3657309853 * L_1 = (Regex_t3657309853 *)il2cpp_codegen_object_new(Regex_t3657309853_il2cpp_TypeInfo_var);
Regex__ctor_m3948448025(L_1, _stringLiteral3068199316, /*hidden argument*/NULL);
((UnixIPInterfaceProperties_t1296234392_StaticFields*)il2cpp_codegen_static_fields_for(UnixIPInterfaceProperties_t1296234392_il2cpp_TypeInfo_var))->set_search_4(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
// System.Void System.Net.NetworkInformation.UnixNetworkInterface::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterface__ctor_m3875175445 (UnixNetworkInterface_t2401762829 * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterface__ctor_m3875175445_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterface__ctor_m3875175445_RuntimeMethod_var);
{
NetworkInterface__ctor_m3378270272(__this, /*hidden argument*/NULL);
String_t* L_0 = ___name0;
__this->set_name_1(L_0);
List_1_t1713852332 * L_1 = (List_1_t1713852332 *)il2cpp_codegen_object_new(List_1_t1713852332_il2cpp_TypeInfo_var);
List_1__ctor_m3256145658(L_1, /*hidden argument*/List_1__ctor_m3256145658_RuntimeMethod_var);
__this->set_addresses_2(L_1);
return;
}
}
// System.Void System.Net.NetworkInformation.UnixNetworkInterface::AddAddress(System.Net.IPAddress)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterface_AddAddress_m32632039 (UnixNetworkInterface_t2401762829 * __this, IPAddress_t241777590 * ___address0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterface_AddAddress_m32632039_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterface_AddAddress_m32632039_RuntimeMethod_var);
{
List_1_t1713852332 * L_0 = __this->get_addresses_2();
IPAddress_t241777590 * L_1 = ___address0;
NullCheck(L_0);
List_1_Add_m141914884(L_0, L_1, /*hidden argument*/List_1_Add_m141914884_RuntimeMethod_var);
return;
}
}
// System.Void System.Net.NetworkInformation.UnixNetworkInterface::SetLinkLayerInfo(System.Int32,System.Byte[],System.Net.NetworkInformation.NetworkInterfaceType)
extern "C" IL2CPP_METHOD_ATTR void UnixNetworkInterface_SetLinkLayerInfo_m2970882883 (UnixNetworkInterface_t2401762829 * __this, int32_t ___index0, ByteU5BU5D_t4116647657* ___macAddress1, int32_t ___type2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterface_SetLinkLayerInfo_m2970882883_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterface_SetLinkLayerInfo_m2970882883_RuntimeMethod_var);
{
ByteU5BU5D_t4116647657* L_0 = ___macAddress1;
__this->set_macAddress_3(L_0);
int32_t L_1 = ___type2;
__this->set_type_4(L_1);
return;
}
}
// System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.UnixNetworkInterface::get_NetworkInterfaceType()
extern "C" IL2CPP_METHOD_ATTR int32_t UnixNetworkInterface_get_NetworkInterfaceType_m4006398691 (UnixNetworkInterface_t2401762829 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnixNetworkInterface_get_NetworkInterfaceType_m4006398691_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(UnixNetworkInterface_get_NetworkInterfaceType_m4006398691_RuntimeMethod_var);
{
int32_t L_0 = __this->get_type_4();
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
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_FIXED_INFO
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_pinvoke(const Win32_FIXED_INFO_t1299345856& unmarshaled, Win32_FIXED_INFO_t1299345856_marshaled_pinvoke& marshaled)
{
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_HostName_0(), (char*)&marshaled.___HostName_0, 132);
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_DomainName_1(), (char*)&marshaled.___DomainName_1, 132);
marshaled.___CurrentDnsServer_2 = unmarshaled.get_CurrentDnsServer_2();
Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke(unmarshaled.get_DnsServerList_3(), marshaled.___DnsServerList_3);
marshaled.___NodeType_4 = unmarshaled.get_NodeType_4();
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_ScopeId_5(), (char*)&marshaled.___ScopeId_5, 260);
marshaled.___EnableRouting_6 = unmarshaled.get_EnableRouting_6();
marshaled.___EnableProxy_7 = unmarshaled.get_EnableProxy_7();
marshaled.___EnableDns_8 = unmarshaled.get_EnableDns_8();
}
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_pinvoke_back(const Win32_FIXED_INFO_t1299345856_marshaled_pinvoke& marshaled, Win32_FIXED_INFO_t1299345856& unmarshaled)
{
unmarshaled.set_HostName_0(il2cpp_codegen_marshal_string_result(marshaled.___HostName_0));
unmarshaled.set_DomainName_1(il2cpp_codegen_marshal_string_result(marshaled.___DomainName_1));
intptr_t unmarshaled_CurrentDnsServer_temp_2;
memset(&unmarshaled_CurrentDnsServer_temp_2, 0, sizeof(unmarshaled_CurrentDnsServer_temp_2));
unmarshaled_CurrentDnsServer_temp_2 = marshaled.___CurrentDnsServer_2;
unmarshaled.set_CurrentDnsServer_2(unmarshaled_CurrentDnsServer_temp_2);
Win32_IP_ADDR_STRING_t1213417184 unmarshaled_DnsServerList_temp_3;
memset(&unmarshaled_DnsServerList_temp_3, 0, sizeof(unmarshaled_DnsServerList_temp_3));
Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_back(marshaled.___DnsServerList_3, unmarshaled_DnsServerList_temp_3);
unmarshaled.set_DnsServerList_3(unmarshaled_DnsServerList_temp_3);
int32_t unmarshaled_NodeType_temp_4 = 0;
unmarshaled_NodeType_temp_4 = marshaled.___NodeType_4;
unmarshaled.set_NodeType_4(unmarshaled_NodeType_temp_4);
unmarshaled.set_ScopeId_5(il2cpp_codegen_marshal_string_result(marshaled.___ScopeId_5));
uint32_t unmarshaled_EnableRouting_temp_6 = 0;
unmarshaled_EnableRouting_temp_6 = marshaled.___EnableRouting_6;
unmarshaled.set_EnableRouting_6(unmarshaled_EnableRouting_temp_6);
uint32_t unmarshaled_EnableProxy_temp_7 = 0;
unmarshaled_EnableProxy_temp_7 = marshaled.___EnableProxy_7;
unmarshaled.set_EnableProxy_7(unmarshaled_EnableProxy_temp_7);
uint32_t unmarshaled_EnableDns_temp_8 = 0;
unmarshaled_EnableDns_temp_8 = marshaled.___EnableDns_8;
unmarshaled.set_EnableDns_8(unmarshaled_EnableDns_temp_8);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_FIXED_INFO
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_pinvoke_cleanup(Win32_FIXED_INFO_t1299345856_marshaled_pinvoke& marshaled)
{
Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_cleanup(marshaled.___DnsServerList_3);
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_FIXED_INFO
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_com(const Win32_FIXED_INFO_t1299345856& unmarshaled, Win32_FIXED_INFO_t1299345856_marshaled_com& marshaled)
{
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_HostName_0(), (char*)&marshaled.___HostName_0, 132);
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_DomainName_1(), (char*)&marshaled.___DomainName_1, 132);
marshaled.___CurrentDnsServer_2 = unmarshaled.get_CurrentDnsServer_2();
Win32_IP_ADDR_STRING_t1213417184_marshal_com(unmarshaled.get_DnsServerList_3(), marshaled.___DnsServerList_3);
marshaled.___NodeType_4 = unmarshaled.get_NodeType_4();
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_ScopeId_5(), (char*)&marshaled.___ScopeId_5, 260);
marshaled.___EnableRouting_6 = unmarshaled.get_EnableRouting_6();
marshaled.___EnableProxy_7 = unmarshaled.get_EnableProxy_7();
marshaled.___EnableDns_8 = unmarshaled.get_EnableDns_8();
}
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_com_back(const Win32_FIXED_INFO_t1299345856_marshaled_com& marshaled, Win32_FIXED_INFO_t1299345856& unmarshaled)
{
unmarshaled.set_HostName_0(il2cpp_codegen_marshal_string_result(marshaled.___HostName_0));
unmarshaled.set_DomainName_1(il2cpp_codegen_marshal_string_result(marshaled.___DomainName_1));
intptr_t unmarshaled_CurrentDnsServer_temp_2;
memset(&unmarshaled_CurrentDnsServer_temp_2, 0, sizeof(unmarshaled_CurrentDnsServer_temp_2));
unmarshaled_CurrentDnsServer_temp_2 = marshaled.___CurrentDnsServer_2;
unmarshaled.set_CurrentDnsServer_2(unmarshaled_CurrentDnsServer_temp_2);
Win32_IP_ADDR_STRING_t1213417184 unmarshaled_DnsServerList_temp_3;
memset(&unmarshaled_DnsServerList_temp_3, 0, sizeof(unmarshaled_DnsServerList_temp_3));
Win32_IP_ADDR_STRING_t1213417184_marshal_com_back(marshaled.___DnsServerList_3, unmarshaled_DnsServerList_temp_3);
unmarshaled.set_DnsServerList_3(unmarshaled_DnsServerList_temp_3);
int32_t unmarshaled_NodeType_temp_4 = 0;
unmarshaled_NodeType_temp_4 = marshaled.___NodeType_4;
unmarshaled.set_NodeType_4(unmarshaled_NodeType_temp_4);
unmarshaled.set_ScopeId_5(il2cpp_codegen_marshal_string_result(marshaled.___ScopeId_5));
uint32_t unmarshaled_EnableRouting_temp_6 = 0;
unmarshaled_EnableRouting_temp_6 = marshaled.___EnableRouting_6;
unmarshaled.set_EnableRouting_6(unmarshaled_EnableRouting_temp_6);
uint32_t unmarshaled_EnableProxy_temp_7 = 0;
unmarshaled_EnableProxy_temp_7 = marshaled.___EnableProxy_7;
unmarshaled.set_EnableProxy_7(unmarshaled_EnableProxy_temp_7);
uint32_t unmarshaled_EnableDns_temp_8 = 0;
unmarshaled_EnableDns_temp_8 = marshaled.___EnableDns_8;
unmarshaled.set_EnableDns_8(unmarshaled_EnableDns_temp_8);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_FIXED_INFO
extern "C" void Win32_FIXED_INFO_t1299345856_marshal_com_cleanup(Win32_FIXED_INFO_t1299345856_marshaled_com& marshaled)
{
Win32_IP_ADDR_STRING_t1213417184_marshal_com_cleanup(marshaled.___DnsServerList_3);
}
#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.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_pinvoke(const Win32_IP_ADAPTER_ADDRESSES_t3463526328& unmarshaled, Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_pinvoke& marshaled)
{
marshaled.___Alignment_0 = unmarshaled.get_Alignment_0();
marshaled.___Next_1 = unmarshaled.get_Next_1();
marshaled.___AdapterName_2 = il2cpp_codegen_marshal_string(unmarshaled.get_AdapterName_2());
marshaled.___FirstUnicastAddress_3 = unmarshaled.get_FirstUnicastAddress_3();
marshaled.___FirstAnycastAddress_4 = unmarshaled.get_FirstAnycastAddress_4();
marshaled.___FirstMulticastAddress_5 = unmarshaled.get_FirstMulticastAddress_5();
marshaled.___FirstDnsServerAddress_6 = unmarshaled.get_FirstDnsServerAddress_6();
marshaled.___DnsSuffix_7 = il2cpp_codegen_marshal_wstring(unmarshaled.get_DnsSuffix_7());
marshaled.___Description_8 = il2cpp_codegen_marshal_wstring(unmarshaled.get_Description_8());
marshaled.___FriendlyName_9 = il2cpp_codegen_marshal_wstring(unmarshaled.get_FriendlyName_9());
if (unmarshaled.get_PhysicalAddress_10() != NULL)
{
if (8 > (unmarshaled.get_PhysicalAddress_10())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___PhysicalAddress_10)[i] = (unmarshaled.get_PhysicalAddress_10())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
marshaled.___PhysicalAddressLength_11 = unmarshaled.get_PhysicalAddressLength_11();
marshaled.___Flags_12 = unmarshaled.get_Flags_12();
marshaled.___Mtu_13 = unmarshaled.get_Mtu_13();
marshaled.___IfType_14 = unmarshaled.get_IfType_14();
marshaled.___OperStatus_15 = unmarshaled.get_OperStatus_15();
marshaled.___Ipv6IfIndex_16 = unmarshaled.get_Ipv6IfIndex_16();
if (unmarshaled.get_ZoneIndices_17() != NULL)
{
if (64 > (unmarshaled.get_ZoneIndices_17())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(64); i++)
{
(marshaled.___ZoneIndices_17)[i] = (unmarshaled.get_ZoneIndices_17())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_pinvoke_back(const Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_pinvoke& marshaled, Win32_IP_ADAPTER_ADDRESSES_t3463526328& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_IP_ADAPTER_ADDRESSES_t3463526328_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AlignmentUnion_t208902285 unmarshaled_Alignment_temp_0;
memset(&unmarshaled_Alignment_temp_0, 0, sizeof(unmarshaled_Alignment_temp_0));
unmarshaled_Alignment_temp_0 = marshaled.___Alignment_0;
unmarshaled.set_Alignment_0(unmarshaled_Alignment_temp_0);
intptr_t unmarshaled_Next_temp_1;
memset(&unmarshaled_Next_temp_1, 0, sizeof(unmarshaled_Next_temp_1));
unmarshaled_Next_temp_1 = marshaled.___Next_1;
unmarshaled.set_Next_1(unmarshaled_Next_temp_1);
unmarshaled.set_AdapterName_2(il2cpp_codegen_marshal_string_result(marshaled.___AdapterName_2));
intptr_t unmarshaled_FirstUnicastAddress_temp_3;
memset(&unmarshaled_FirstUnicastAddress_temp_3, 0, sizeof(unmarshaled_FirstUnicastAddress_temp_3));
unmarshaled_FirstUnicastAddress_temp_3 = marshaled.___FirstUnicastAddress_3;
unmarshaled.set_FirstUnicastAddress_3(unmarshaled_FirstUnicastAddress_temp_3);
intptr_t unmarshaled_FirstAnycastAddress_temp_4;
memset(&unmarshaled_FirstAnycastAddress_temp_4, 0, sizeof(unmarshaled_FirstAnycastAddress_temp_4));
unmarshaled_FirstAnycastAddress_temp_4 = marshaled.___FirstAnycastAddress_4;
unmarshaled.set_FirstAnycastAddress_4(unmarshaled_FirstAnycastAddress_temp_4);
intptr_t unmarshaled_FirstMulticastAddress_temp_5;
memset(&unmarshaled_FirstMulticastAddress_temp_5, 0, sizeof(unmarshaled_FirstMulticastAddress_temp_5));
unmarshaled_FirstMulticastAddress_temp_5 = marshaled.___FirstMulticastAddress_5;
unmarshaled.set_FirstMulticastAddress_5(unmarshaled_FirstMulticastAddress_temp_5);
intptr_t unmarshaled_FirstDnsServerAddress_temp_6;
memset(&unmarshaled_FirstDnsServerAddress_temp_6, 0, sizeof(unmarshaled_FirstDnsServerAddress_temp_6));
unmarshaled_FirstDnsServerAddress_temp_6 = marshaled.___FirstDnsServerAddress_6;
unmarshaled.set_FirstDnsServerAddress_6(unmarshaled_FirstDnsServerAddress_temp_6);
unmarshaled.set_DnsSuffix_7(il2cpp_codegen_marshal_wstring_result(marshaled.___DnsSuffix_7));
unmarshaled.set_Description_8(il2cpp_codegen_marshal_wstring_result(marshaled.___Description_8));
unmarshaled.set_FriendlyName_9(il2cpp_codegen_marshal_wstring_result(marshaled.___FriendlyName_9));
unmarshaled.set_PhysicalAddress_10(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_PhysicalAddress_10())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___PhysicalAddress_10)[i]);
}
uint32_t unmarshaled_PhysicalAddressLength_temp_11 = 0;
unmarshaled_PhysicalAddressLength_temp_11 = marshaled.___PhysicalAddressLength_11;
unmarshaled.set_PhysicalAddressLength_11(unmarshaled_PhysicalAddressLength_temp_11);
uint32_t unmarshaled_Flags_temp_12 = 0;
unmarshaled_Flags_temp_12 = marshaled.___Flags_12;
unmarshaled.set_Flags_12(unmarshaled_Flags_temp_12);
uint32_t unmarshaled_Mtu_temp_13 = 0;
unmarshaled_Mtu_temp_13 = marshaled.___Mtu_13;
unmarshaled.set_Mtu_13(unmarshaled_Mtu_temp_13);
int32_t unmarshaled_IfType_temp_14 = 0;
unmarshaled_IfType_temp_14 = marshaled.___IfType_14;
unmarshaled.set_IfType_14(unmarshaled_IfType_temp_14);
int32_t unmarshaled_OperStatus_temp_15 = 0;
unmarshaled_OperStatus_temp_15 = marshaled.___OperStatus_15;
unmarshaled.set_OperStatus_15(unmarshaled_OperStatus_temp_15);
int32_t unmarshaled_Ipv6IfIndex_temp_16 = 0;
unmarshaled_Ipv6IfIndex_temp_16 = marshaled.___Ipv6IfIndex_16;
unmarshaled.set_Ipv6IfIndex_16(unmarshaled_Ipv6IfIndex_temp_16);
unmarshaled.set_ZoneIndices_17(reinterpret_cast<UInt32U5BU5D_t2770800703*>(SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, 64)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(64); i++)
{
(unmarshaled.get_ZoneIndices_17())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___ZoneIndices_17)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_pinvoke_cleanup(Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_pinvoke& marshaled)
{
il2cpp_codegen_marshal_free(marshaled.___AdapterName_2);
marshaled.___AdapterName_2 = NULL;
il2cpp_codegen_marshal_free(marshaled.___DnsSuffix_7);
marshaled.___DnsSuffix_7 = NULL;
il2cpp_codegen_marshal_free(marshaled.___Description_8);
marshaled.___Description_8 = NULL;
il2cpp_codegen_marshal_free(marshaled.___FriendlyName_9);
marshaled.___FriendlyName_9 = NULL;
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_com(const Win32_IP_ADAPTER_ADDRESSES_t3463526328& unmarshaled, Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_com& marshaled)
{
marshaled.___Alignment_0 = unmarshaled.get_Alignment_0();
marshaled.___Next_1 = unmarshaled.get_Next_1();
marshaled.___AdapterName_2 = il2cpp_codegen_marshal_string(unmarshaled.get_AdapterName_2());
marshaled.___FirstUnicastAddress_3 = unmarshaled.get_FirstUnicastAddress_3();
marshaled.___FirstAnycastAddress_4 = unmarshaled.get_FirstAnycastAddress_4();
marshaled.___FirstMulticastAddress_5 = unmarshaled.get_FirstMulticastAddress_5();
marshaled.___FirstDnsServerAddress_6 = unmarshaled.get_FirstDnsServerAddress_6();
marshaled.___DnsSuffix_7 = il2cpp_codegen_marshal_bstring(unmarshaled.get_DnsSuffix_7());
marshaled.___Description_8 = il2cpp_codegen_marshal_bstring(unmarshaled.get_Description_8());
marshaled.___FriendlyName_9 = il2cpp_codegen_marshal_bstring(unmarshaled.get_FriendlyName_9());
if (unmarshaled.get_PhysicalAddress_10() != NULL)
{
if (8 > (unmarshaled.get_PhysicalAddress_10())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___PhysicalAddress_10)[i] = (unmarshaled.get_PhysicalAddress_10())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
marshaled.___PhysicalAddressLength_11 = unmarshaled.get_PhysicalAddressLength_11();
marshaled.___Flags_12 = unmarshaled.get_Flags_12();
marshaled.___Mtu_13 = unmarshaled.get_Mtu_13();
marshaled.___IfType_14 = unmarshaled.get_IfType_14();
marshaled.___OperStatus_15 = unmarshaled.get_OperStatus_15();
marshaled.___Ipv6IfIndex_16 = unmarshaled.get_Ipv6IfIndex_16();
if (unmarshaled.get_ZoneIndices_17() != NULL)
{
if (64 > (unmarshaled.get_ZoneIndices_17())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(64); i++)
{
(marshaled.___ZoneIndices_17)[i] = (unmarshaled.get_ZoneIndices_17())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_com_back(const Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_com& marshaled, Win32_IP_ADAPTER_ADDRESSES_t3463526328& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_IP_ADAPTER_ADDRESSES_t3463526328_com_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AlignmentUnion_t208902285 unmarshaled_Alignment_temp_0;
memset(&unmarshaled_Alignment_temp_0, 0, sizeof(unmarshaled_Alignment_temp_0));
unmarshaled_Alignment_temp_0 = marshaled.___Alignment_0;
unmarshaled.set_Alignment_0(unmarshaled_Alignment_temp_0);
intptr_t unmarshaled_Next_temp_1;
memset(&unmarshaled_Next_temp_1, 0, sizeof(unmarshaled_Next_temp_1));
unmarshaled_Next_temp_1 = marshaled.___Next_1;
unmarshaled.set_Next_1(unmarshaled_Next_temp_1);
unmarshaled.set_AdapterName_2(il2cpp_codegen_marshal_string_result(marshaled.___AdapterName_2));
intptr_t unmarshaled_FirstUnicastAddress_temp_3;
memset(&unmarshaled_FirstUnicastAddress_temp_3, 0, sizeof(unmarshaled_FirstUnicastAddress_temp_3));
unmarshaled_FirstUnicastAddress_temp_3 = marshaled.___FirstUnicastAddress_3;
unmarshaled.set_FirstUnicastAddress_3(unmarshaled_FirstUnicastAddress_temp_3);
intptr_t unmarshaled_FirstAnycastAddress_temp_4;
memset(&unmarshaled_FirstAnycastAddress_temp_4, 0, sizeof(unmarshaled_FirstAnycastAddress_temp_4));
unmarshaled_FirstAnycastAddress_temp_4 = marshaled.___FirstAnycastAddress_4;
unmarshaled.set_FirstAnycastAddress_4(unmarshaled_FirstAnycastAddress_temp_4);
intptr_t unmarshaled_FirstMulticastAddress_temp_5;
memset(&unmarshaled_FirstMulticastAddress_temp_5, 0, sizeof(unmarshaled_FirstMulticastAddress_temp_5));
unmarshaled_FirstMulticastAddress_temp_5 = marshaled.___FirstMulticastAddress_5;
unmarshaled.set_FirstMulticastAddress_5(unmarshaled_FirstMulticastAddress_temp_5);
intptr_t unmarshaled_FirstDnsServerAddress_temp_6;
memset(&unmarshaled_FirstDnsServerAddress_temp_6, 0, sizeof(unmarshaled_FirstDnsServerAddress_temp_6));
unmarshaled_FirstDnsServerAddress_temp_6 = marshaled.___FirstDnsServerAddress_6;
unmarshaled.set_FirstDnsServerAddress_6(unmarshaled_FirstDnsServerAddress_temp_6);
unmarshaled.set_DnsSuffix_7(il2cpp_codegen_marshal_bstring_result(marshaled.___DnsSuffix_7));
unmarshaled.set_Description_8(il2cpp_codegen_marshal_bstring_result(marshaled.___Description_8));
unmarshaled.set_FriendlyName_9(il2cpp_codegen_marshal_bstring_result(marshaled.___FriendlyName_9));
unmarshaled.set_PhysicalAddress_10(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_PhysicalAddress_10())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___PhysicalAddress_10)[i]);
}
uint32_t unmarshaled_PhysicalAddressLength_temp_11 = 0;
unmarshaled_PhysicalAddressLength_temp_11 = marshaled.___PhysicalAddressLength_11;
unmarshaled.set_PhysicalAddressLength_11(unmarshaled_PhysicalAddressLength_temp_11);
uint32_t unmarshaled_Flags_temp_12 = 0;
unmarshaled_Flags_temp_12 = marshaled.___Flags_12;
unmarshaled.set_Flags_12(unmarshaled_Flags_temp_12);
uint32_t unmarshaled_Mtu_temp_13 = 0;
unmarshaled_Mtu_temp_13 = marshaled.___Mtu_13;
unmarshaled.set_Mtu_13(unmarshaled_Mtu_temp_13);
int32_t unmarshaled_IfType_temp_14 = 0;
unmarshaled_IfType_temp_14 = marshaled.___IfType_14;
unmarshaled.set_IfType_14(unmarshaled_IfType_temp_14);
int32_t unmarshaled_OperStatus_temp_15 = 0;
unmarshaled_OperStatus_temp_15 = marshaled.___OperStatus_15;
unmarshaled.set_OperStatus_15(unmarshaled_OperStatus_temp_15);
int32_t unmarshaled_Ipv6IfIndex_temp_16 = 0;
unmarshaled_Ipv6IfIndex_temp_16 = marshaled.___Ipv6IfIndex_16;
unmarshaled.set_Ipv6IfIndex_16(unmarshaled_Ipv6IfIndex_temp_16);
unmarshaled.set_ZoneIndices_17(reinterpret_cast<UInt32U5BU5D_t2770800703*>(SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, 64)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(64); i++)
{
(unmarshaled.get_ZoneIndices_17())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___ZoneIndices_17)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES
extern "C" void Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshal_com_cleanup(Win32_IP_ADAPTER_ADDRESSES_t3463526328_marshaled_com& marshaled)
{
il2cpp_codegen_marshal_free(marshaled.___AdapterName_2);
marshaled.___AdapterName_2 = NULL;
il2cpp_codegen_marshal_free_bstring(marshaled.___DnsSuffix_7);
marshaled.___DnsSuffix_7 = NULL;
il2cpp_codegen_marshal_free_bstring(marshaled.___Description_8);
marshaled.___Description_8 = NULL;
il2cpp_codegen_marshal_free_bstring(marshaled.___FriendlyName_9);
marshaled.___FriendlyName_9 = NULL;
}
#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
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_IP_ADDR_STRING
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke(const Win32_IP_ADDR_STRING_t1213417184& unmarshaled, Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled)
{
marshaled.___Next_0 = unmarshaled.get_Next_0();
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_IpAddress_1(), (char*)&marshaled.___IpAddress_1, 16);
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_IpMask_2(), (char*)&marshaled.___IpMask_2, 16);
marshaled.___Context_3 = unmarshaled.get_Context_3();
}
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_back(const Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled, Win32_IP_ADDR_STRING_t1213417184& unmarshaled)
{
intptr_t unmarshaled_Next_temp_0;
memset(&unmarshaled_Next_temp_0, 0, sizeof(unmarshaled_Next_temp_0));
unmarshaled_Next_temp_0 = marshaled.___Next_0;
unmarshaled.set_Next_0(unmarshaled_Next_temp_0);
unmarshaled.set_IpAddress_1(il2cpp_codegen_marshal_string_result(marshaled.___IpAddress_1));
unmarshaled.set_IpMask_2(il2cpp_codegen_marshal_string_result(marshaled.___IpMask_2));
uint32_t unmarshaled_Context_temp_3 = 0;
unmarshaled_Context_temp_3 = marshaled.___Context_3;
unmarshaled.set_Context_3(unmarshaled_Context_temp_3);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_IP_ADDR_STRING
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_pinvoke_cleanup(Win32_IP_ADDR_STRING_t1213417184_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_IP_ADDR_STRING
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com(const Win32_IP_ADDR_STRING_t1213417184& unmarshaled, Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled)
{
marshaled.___Next_0 = unmarshaled.get_Next_0();
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_IpAddress_1(), (char*)&marshaled.___IpAddress_1, 16);
il2cpp_codegen_marshal_string_fixed(unmarshaled.get_IpMask_2(), (char*)&marshaled.___IpMask_2, 16);
marshaled.___Context_3 = unmarshaled.get_Context_3();
}
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com_back(const Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled, Win32_IP_ADDR_STRING_t1213417184& unmarshaled)
{
intptr_t unmarshaled_Next_temp_0;
memset(&unmarshaled_Next_temp_0, 0, sizeof(unmarshaled_Next_temp_0));
unmarshaled_Next_temp_0 = marshaled.___Next_0;
unmarshaled.set_Next_0(unmarshaled_Next_temp_0);
unmarshaled.set_IpAddress_1(il2cpp_codegen_marshal_string_result(marshaled.___IpAddress_1));
unmarshaled.set_IpMask_2(il2cpp_codegen_marshal_string_result(marshaled.___IpMask_2));
uint32_t unmarshaled_Context_temp_3 = 0;
unmarshaled_Context_temp_3 = marshaled.___Context_3;
unmarshaled.set_Context_3(unmarshaled_Context_temp_3);
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_IP_ADDR_STRING
extern "C" void Win32_IP_ADDR_STRING_t1213417184_marshal_com_cleanup(Win32_IP_ADDR_STRING_t1213417184_marshaled_com& marshaled)
{
}
#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.Net.NetworkInformation.Win32_MIB_IFROW
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke(const Win32_MIB_IFROW_t851471770& unmarshaled, Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled)
{
if (unmarshaled.get_Name_0() != NULL)
{
if (512 > (unmarshaled.get_Name_0())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(512); i++)
{
(marshaled.___Name_0)[i] = static_cast<uint8_t>((unmarshaled.get_Name_0())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i)));
}
}
marshaled.___Index_1 = unmarshaled.get_Index_1();
marshaled.___Type_2 = unmarshaled.get_Type_2();
marshaled.___Mtu_3 = unmarshaled.get_Mtu_3();
marshaled.___Speed_4 = unmarshaled.get_Speed_4();
marshaled.___PhysAddrLen_5 = unmarshaled.get_PhysAddrLen_5();
if (unmarshaled.get_PhysAddr_6() != NULL)
{
if (8 > (unmarshaled.get_PhysAddr_6())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___PhysAddr_6)[i] = (unmarshaled.get_PhysAddr_6())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
marshaled.___AdminStatus_7 = unmarshaled.get_AdminStatus_7();
marshaled.___OperStatus_8 = unmarshaled.get_OperStatus_8();
marshaled.___LastChange_9 = unmarshaled.get_LastChange_9();
marshaled.___InOctets_10 = unmarshaled.get_InOctets_10();
marshaled.___InUcastPkts_11 = unmarshaled.get_InUcastPkts_11();
marshaled.___InNUcastPkts_12 = unmarshaled.get_InNUcastPkts_12();
marshaled.___InDiscards_13 = unmarshaled.get_InDiscards_13();
marshaled.___InErrors_14 = unmarshaled.get_InErrors_14();
marshaled.___InUnknownProtos_15 = unmarshaled.get_InUnknownProtos_15();
marshaled.___OutOctets_16 = unmarshaled.get_OutOctets_16();
marshaled.___OutUcastPkts_17 = unmarshaled.get_OutUcastPkts_17();
marshaled.___OutNUcastPkts_18 = unmarshaled.get_OutNUcastPkts_18();
marshaled.___OutDiscards_19 = unmarshaled.get_OutDiscards_19();
marshaled.___OutErrors_20 = unmarshaled.get_OutErrors_20();
marshaled.___OutQLen_21 = unmarshaled.get_OutQLen_21();
marshaled.___DescrLen_22 = unmarshaled.get_DescrLen_22();
if (unmarshaled.get_Descr_23() != NULL)
{
if (256 > (unmarshaled.get_Descr_23())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(256); i++)
{
(marshaled.___Descr_23)[i] = (unmarshaled.get_Descr_23())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke_back(const Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled, Win32_MIB_IFROW_t851471770& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_MIB_IFROW_t851471770_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
unmarshaled.set_Name_0(reinterpret_cast<CharU5BU5D_t3528271667*>(SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, 512)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(512); i++)
{
(unmarshaled.get_Name_0())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), static_cast<Il2CppChar>((marshaled.___Name_0)[i]));
}
int32_t unmarshaled_Index_temp_1 = 0;
unmarshaled_Index_temp_1 = marshaled.___Index_1;
unmarshaled.set_Index_1(unmarshaled_Index_temp_1);
int32_t unmarshaled_Type_temp_2 = 0;
unmarshaled_Type_temp_2 = marshaled.___Type_2;
unmarshaled.set_Type_2(unmarshaled_Type_temp_2);
int32_t unmarshaled_Mtu_temp_3 = 0;
unmarshaled_Mtu_temp_3 = marshaled.___Mtu_3;
unmarshaled.set_Mtu_3(unmarshaled_Mtu_temp_3);
uint32_t unmarshaled_Speed_temp_4 = 0;
unmarshaled_Speed_temp_4 = marshaled.___Speed_4;
unmarshaled.set_Speed_4(unmarshaled_Speed_temp_4);
int32_t unmarshaled_PhysAddrLen_temp_5 = 0;
unmarshaled_PhysAddrLen_temp_5 = marshaled.___PhysAddrLen_5;
unmarshaled.set_PhysAddrLen_5(unmarshaled_PhysAddrLen_temp_5);
unmarshaled.set_PhysAddr_6(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_PhysAddr_6())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___PhysAddr_6)[i]);
}
uint32_t unmarshaled_AdminStatus_temp_7 = 0;
unmarshaled_AdminStatus_temp_7 = marshaled.___AdminStatus_7;
unmarshaled.set_AdminStatus_7(unmarshaled_AdminStatus_temp_7);
uint32_t unmarshaled_OperStatus_temp_8 = 0;
unmarshaled_OperStatus_temp_8 = marshaled.___OperStatus_8;
unmarshaled.set_OperStatus_8(unmarshaled_OperStatus_temp_8);
uint32_t unmarshaled_LastChange_temp_9 = 0;
unmarshaled_LastChange_temp_9 = marshaled.___LastChange_9;
unmarshaled.set_LastChange_9(unmarshaled_LastChange_temp_9);
int32_t unmarshaled_InOctets_temp_10 = 0;
unmarshaled_InOctets_temp_10 = marshaled.___InOctets_10;
unmarshaled.set_InOctets_10(unmarshaled_InOctets_temp_10);
int32_t unmarshaled_InUcastPkts_temp_11 = 0;
unmarshaled_InUcastPkts_temp_11 = marshaled.___InUcastPkts_11;
unmarshaled.set_InUcastPkts_11(unmarshaled_InUcastPkts_temp_11);
int32_t unmarshaled_InNUcastPkts_temp_12 = 0;
unmarshaled_InNUcastPkts_temp_12 = marshaled.___InNUcastPkts_12;
unmarshaled.set_InNUcastPkts_12(unmarshaled_InNUcastPkts_temp_12);
int32_t unmarshaled_InDiscards_temp_13 = 0;
unmarshaled_InDiscards_temp_13 = marshaled.___InDiscards_13;
unmarshaled.set_InDiscards_13(unmarshaled_InDiscards_temp_13);
int32_t unmarshaled_InErrors_temp_14 = 0;
unmarshaled_InErrors_temp_14 = marshaled.___InErrors_14;
unmarshaled.set_InErrors_14(unmarshaled_InErrors_temp_14);
int32_t unmarshaled_InUnknownProtos_temp_15 = 0;
unmarshaled_InUnknownProtos_temp_15 = marshaled.___InUnknownProtos_15;
unmarshaled.set_InUnknownProtos_15(unmarshaled_InUnknownProtos_temp_15);
int32_t unmarshaled_OutOctets_temp_16 = 0;
unmarshaled_OutOctets_temp_16 = marshaled.___OutOctets_16;
unmarshaled.set_OutOctets_16(unmarshaled_OutOctets_temp_16);
int32_t unmarshaled_OutUcastPkts_temp_17 = 0;
unmarshaled_OutUcastPkts_temp_17 = marshaled.___OutUcastPkts_17;
unmarshaled.set_OutUcastPkts_17(unmarshaled_OutUcastPkts_temp_17);
int32_t unmarshaled_OutNUcastPkts_temp_18 = 0;
unmarshaled_OutNUcastPkts_temp_18 = marshaled.___OutNUcastPkts_18;
unmarshaled.set_OutNUcastPkts_18(unmarshaled_OutNUcastPkts_temp_18);
int32_t unmarshaled_OutDiscards_temp_19 = 0;
unmarshaled_OutDiscards_temp_19 = marshaled.___OutDiscards_19;
unmarshaled.set_OutDiscards_19(unmarshaled_OutDiscards_temp_19);
int32_t unmarshaled_OutErrors_temp_20 = 0;
unmarshaled_OutErrors_temp_20 = marshaled.___OutErrors_20;
unmarshaled.set_OutErrors_20(unmarshaled_OutErrors_temp_20);
int32_t unmarshaled_OutQLen_temp_21 = 0;
unmarshaled_OutQLen_temp_21 = marshaled.___OutQLen_21;
unmarshaled.set_OutQLen_21(unmarshaled_OutQLen_temp_21);
int32_t unmarshaled_DescrLen_temp_22 = 0;
unmarshaled_DescrLen_temp_22 = marshaled.___DescrLen_22;
unmarshaled.set_DescrLen_22(unmarshaled_DescrLen_temp_22);
unmarshaled.set_Descr_23(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 256)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(256); i++)
{
(unmarshaled.get_Descr_23())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___Descr_23)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_MIB_IFROW
extern "C" void Win32_MIB_IFROW_t851471770_marshal_pinvoke_cleanup(Win32_MIB_IFROW_t851471770_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_MIB_IFROW
extern "C" void Win32_MIB_IFROW_t851471770_marshal_com(const Win32_MIB_IFROW_t851471770& unmarshaled, Win32_MIB_IFROW_t851471770_marshaled_com& marshaled)
{
if (unmarshaled.get_Name_0() != NULL)
{
if (512 > (unmarshaled.get_Name_0())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(512); i++)
{
(marshaled.___Name_0)[i] = static_cast<uint8_t>((unmarshaled.get_Name_0())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i)));
}
}
marshaled.___Index_1 = unmarshaled.get_Index_1();
marshaled.___Type_2 = unmarshaled.get_Type_2();
marshaled.___Mtu_3 = unmarshaled.get_Mtu_3();
marshaled.___Speed_4 = unmarshaled.get_Speed_4();
marshaled.___PhysAddrLen_5 = unmarshaled.get_PhysAddrLen_5();
if (unmarshaled.get_PhysAddr_6() != NULL)
{
if (8 > (unmarshaled.get_PhysAddr_6())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(marshaled.___PhysAddr_6)[i] = (unmarshaled.get_PhysAddr_6())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
marshaled.___AdminStatus_7 = unmarshaled.get_AdminStatus_7();
marshaled.___OperStatus_8 = unmarshaled.get_OperStatus_8();
marshaled.___LastChange_9 = unmarshaled.get_LastChange_9();
marshaled.___InOctets_10 = unmarshaled.get_InOctets_10();
marshaled.___InUcastPkts_11 = unmarshaled.get_InUcastPkts_11();
marshaled.___InNUcastPkts_12 = unmarshaled.get_InNUcastPkts_12();
marshaled.___InDiscards_13 = unmarshaled.get_InDiscards_13();
marshaled.___InErrors_14 = unmarshaled.get_InErrors_14();
marshaled.___InUnknownProtos_15 = unmarshaled.get_InUnknownProtos_15();
marshaled.___OutOctets_16 = unmarshaled.get_OutOctets_16();
marshaled.___OutUcastPkts_17 = unmarshaled.get_OutUcastPkts_17();
marshaled.___OutNUcastPkts_18 = unmarshaled.get_OutNUcastPkts_18();
marshaled.___OutDiscards_19 = unmarshaled.get_OutDiscards_19();
marshaled.___OutErrors_20 = unmarshaled.get_OutErrors_20();
marshaled.___OutQLen_21 = unmarshaled.get_OutQLen_21();
marshaled.___DescrLen_22 = unmarshaled.get_DescrLen_22();
if (unmarshaled.get_Descr_23() != NULL)
{
if (256 > (unmarshaled.get_Descr_23())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(256); i++)
{
(marshaled.___Descr_23)[i] = (unmarshaled.get_Descr_23())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_MIB_IFROW_t851471770_marshal_com_back(const Win32_MIB_IFROW_t851471770_marshaled_com& marshaled, Win32_MIB_IFROW_t851471770& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_MIB_IFROW_t851471770_com_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
unmarshaled.set_Name_0(reinterpret_cast<CharU5BU5D_t3528271667*>(SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, 512)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(512); i++)
{
(unmarshaled.get_Name_0())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), static_cast<Il2CppChar>((marshaled.___Name_0)[i]));
}
int32_t unmarshaled_Index_temp_1 = 0;
unmarshaled_Index_temp_1 = marshaled.___Index_1;
unmarshaled.set_Index_1(unmarshaled_Index_temp_1);
int32_t unmarshaled_Type_temp_2 = 0;
unmarshaled_Type_temp_2 = marshaled.___Type_2;
unmarshaled.set_Type_2(unmarshaled_Type_temp_2);
int32_t unmarshaled_Mtu_temp_3 = 0;
unmarshaled_Mtu_temp_3 = marshaled.___Mtu_3;
unmarshaled.set_Mtu_3(unmarshaled_Mtu_temp_3);
uint32_t unmarshaled_Speed_temp_4 = 0;
unmarshaled_Speed_temp_4 = marshaled.___Speed_4;
unmarshaled.set_Speed_4(unmarshaled_Speed_temp_4);
int32_t unmarshaled_PhysAddrLen_temp_5 = 0;
unmarshaled_PhysAddrLen_temp_5 = marshaled.___PhysAddrLen_5;
unmarshaled.set_PhysAddrLen_5(unmarshaled_PhysAddrLen_temp_5);
unmarshaled.set_PhysAddr_6(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 8)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(8); i++)
{
(unmarshaled.get_PhysAddr_6())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___PhysAddr_6)[i]);
}
uint32_t unmarshaled_AdminStatus_temp_7 = 0;
unmarshaled_AdminStatus_temp_7 = marshaled.___AdminStatus_7;
unmarshaled.set_AdminStatus_7(unmarshaled_AdminStatus_temp_7);
uint32_t unmarshaled_OperStatus_temp_8 = 0;
unmarshaled_OperStatus_temp_8 = marshaled.___OperStatus_8;
unmarshaled.set_OperStatus_8(unmarshaled_OperStatus_temp_8);
uint32_t unmarshaled_LastChange_temp_9 = 0;
unmarshaled_LastChange_temp_9 = marshaled.___LastChange_9;
unmarshaled.set_LastChange_9(unmarshaled_LastChange_temp_9);
int32_t unmarshaled_InOctets_temp_10 = 0;
unmarshaled_InOctets_temp_10 = marshaled.___InOctets_10;
unmarshaled.set_InOctets_10(unmarshaled_InOctets_temp_10);
int32_t unmarshaled_InUcastPkts_temp_11 = 0;
unmarshaled_InUcastPkts_temp_11 = marshaled.___InUcastPkts_11;
unmarshaled.set_InUcastPkts_11(unmarshaled_InUcastPkts_temp_11);
int32_t unmarshaled_InNUcastPkts_temp_12 = 0;
unmarshaled_InNUcastPkts_temp_12 = marshaled.___InNUcastPkts_12;
unmarshaled.set_InNUcastPkts_12(unmarshaled_InNUcastPkts_temp_12);
int32_t unmarshaled_InDiscards_temp_13 = 0;
unmarshaled_InDiscards_temp_13 = marshaled.___InDiscards_13;
unmarshaled.set_InDiscards_13(unmarshaled_InDiscards_temp_13);
int32_t unmarshaled_InErrors_temp_14 = 0;
unmarshaled_InErrors_temp_14 = marshaled.___InErrors_14;
unmarshaled.set_InErrors_14(unmarshaled_InErrors_temp_14);
int32_t unmarshaled_InUnknownProtos_temp_15 = 0;
unmarshaled_InUnknownProtos_temp_15 = marshaled.___InUnknownProtos_15;
unmarshaled.set_InUnknownProtos_15(unmarshaled_InUnknownProtos_temp_15);
int32_t unmarshaled_OutOctets_temp_16 = 0;
unmarshaled_OutOctets_temp_16 = marshaled.___OutOctets_16;
unmarshaled.set_OutOctets_16(unmarshaled_OutOctets_temp_16);
int32_t unmarshaled_OutUcastPkts_temp_17 = 0;
unmarshaled_OutUcastPkts_temp_17 = marshaled.___OutUcastPkts_17;
unmarshaled.set_OutUcastPkts_17(unmarshaled_OutUcastPkts_temp_17);
int32_t unmarshaled_OutNUcastPkts_temp_18 = 0;
unmarshaled_OutNUcastPkts_temp_18 = marshaled.___OutNUcastPkts_18;
unmarshaled.set_OutNUcastPkts_18(unmarshaled_OutNUcastPkts_temp_18);
int32_t unmarshaled_OutDiscards_temp_19 = 0;
unmarshaled_OutDiscards_temp_19 = marshaled.___OutDiscards_19;
unmarshaled.set_OutDiscards_19(unmarshaled_OutDiscards_temp_19);
int32_t unmarshaled_OutErrors_temp_20 = 0;
unmarshaled_OutErrors_temp_20 = marshaled.___OutErrors_20;
unmarshaled.set_OutErrors_20(unmarshaled_OutErrors_temp_20);
int32_t unmarshaled_OutQLen_temp_21 = 0;
unmarshaled_OutQLen_temp_21 = marshaled.___OutQLen_21;
unmarshaled.set_OutQLen_21(unmarshaled_OutQLen_temp_21);
int32_t unmarshaled_DescrLen_temp_22 = 0;
unmarshaled_DescrLen_temp_22 = marshaled.___DescrLen_22;
unmarshaled.set_DescrLen_22(unmarshaled_DescrLen_temp_22);
unmarshaled.set_Descr_23(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 256)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(256); i++)
{
(unmarshaled.get_Descr_23())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___Descr_23)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_MIB_IFROW
extern "C" void Win32_MIB_IFROW_t851471770_marshal_com_cleanup(Win32_MIB_IFROW_t851471770_marshaled_com& marshaled)
{
}
#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.Net.NetworkInformation.Win32_SOCKADDR
extern "C" void Win32_SOCKADDR_t2504501424_marshal_pinvoke(const Win32_SOCKADDR_t2504501424& unmarshaled, Win32_SOCKADDR_t2504501424_marshaled_pinvoke& marshaled)
{
marshaled.___AddressFamily_0 = unmarshaled.get_AddressFamily_0();
if (unmarshaled.get_AddressData_1() != NULL)
{
if (28 > (unmarshaled.get_AddressData_1())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(28); i++)
{
(marshaled.___AddressData_1)[i] = (unmarshaled.get_AddressData_1())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_SOCKADDR_t2504501424_marshal_pinvoke_back(const Win32_SOCKADDR_t2504501424_marshaled_pinvoke& marshaled, Win32_SOCKADDR_t2504501424& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_SOCKADDR_t2504501424_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint16_t unmarshaled_AddressFamily_temp_0 = 0;
unmarshaled_AddressFamily_temp_0 = marshaled.___AddressFamily_0;
unmarshaled.set_AddressFamily_0(unmarshaled_AddressFamily_temp_0);
unmarshaled.set_AddressData_1(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 28)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(28); i++)
{
(unmarshaled.get_AddressData_1())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___AddressData_1)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_SOCKADDR
extern "C" void Win32_SOCKADDR_t2504501424_marshal_pinvoke_cleanup(Win32_SOCKADDR_t2504501424_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Net.NetworkInformation.Win32_SOCKADDR
extern "C" void Win32_SOCKADDR_t2504501424_marshal_com(const Win32_SOCKADDR_t2504501424& unmarshaled, Win32_SOCKADDR_t2504501424_marshaled_com& marshaled)
{
marshaled.___AddressFamily_0 = unmarshaled.get_AddressFamily_0();
if (unmarshaled.get_AddressData_1() != NULL)
{
if (28 > (unmarshaled.get_AddressData_1())->max_length)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_exception("", "Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout."), NULL, NULL);
}
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(28); i++)
{
(marshaled.___AddressData_1)[i] = (unmarshaled.get_AddressData_1())->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
}
}
}
extern "C" void Win32_SOCKADDR_t2504501424_marshal_com_back(const Win32_SOCKADDR_t2504501424_marshaled_com& marshaled, Win32_SOCKADDR_t2504501424& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_SOCKADDR_t2504501424_com_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint16_t unmarshaled_AddressFamily_temp_0 = 0;
unmarshaled_AddressFamily_temp_0 = marshaled.___AddressFamily_0;
unmarshaled.set_AddressFamily_0(unmarshaled_AddressFamily_temp_0);
unmarshaled.set_AddressData_1(reinterpret_cast<ByteU5BU5D_t4116647657*>(SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, 28)));
for (int32_t i = 0; i < ARRAY_LENGTH_AS_INT32(28); i++)
{
(unmarshaled.get_AddressData_1())->SetAtUnchecked(static_cast<il2cpp_array_size_t>(i), (marshaled.___AddressData_1)[i]);
}
}
// Conversion method for clean up from marshalling of: System.Net.NetworkInformation.Win32_SOCKADDR
extern "C" void Win32_SOCKADDR_t2504501424_marshal_com_cleanup(Win32_SOCKADDR_t2504501424_marshaled_com& marshaled)
{
}
#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.Net.IPAddress System.Net.NetworkInformation.Win32_SOCKET_ADDRESS::GetIPAddress()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974 (Win32_SOCKET_ADDRESS_t1936753419 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974_RuntimeMethod_var);
Win32_SOCKADDR_t2504501424 V_0;
memset(&V_0, 0, sizeof(V_0));
ByteU5BU5D_t4116647657* V_1 = NULL;
{
intptr_t L_0 = __this->get_Sockaddr_0();
RuntimeTypeHandle_t3027515415 L_1 = { reinterpret_cast<intptr_t> (Win32_SOCKADDR_t2504501424_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_2 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_3 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_0, L_2, /*hidden argument*/NULL);
V_0 = ((*(Win32_SOCKADDR_t2504501424 *)((Win32_SOCKADDR_t2504501424 *)UnBox(L_3, Win32_SOCKADDR_t2504501424_il2cpp_TypeInfo_var))));
Win32_SOCKADDR_t2504501424 L_4 = V_0;
uint16_t L_5 = L_4.get_AddressFamily_0();
if ((!(((uint32_t)L_5) == ((uint32_t)((int32_t)23)))))
{
goto IL_003f;
}
}
{
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
V_1 = L_6;
Win32_SOCKADDR_t2504501424 L_7 = V_0;
ByteU5BU5D_t4116647657* L_8 = L_7.get_AddressData_1();
ByteU5BU5D_t4116647657* L_9 = V_1;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_8, 6, (RuntimeArray *)(RuntimeArray *)L_9, 0, ((int32_t)16), /*hidden argument*/NULL);
goto IL_0055;
}
IL_003f:
{
ByteU5BU5D_t4116647657* L_10 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
V_1 = L_10;
Win32_SOCKADDR_t2504501424 L_11 = V_0;
ByteU5BU5D_t4116647657* L_12 = L_11.get_AddressData_1();
ByteU5BU5D_t4116647657* L_13 = V_1;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, 2, (RuntimeArray *)(RuntimeArray *)L_13, 0, 4, /*hidden argument*/NULL);
}
IL_0055:
{
ByteU5BU5D_t4116647657* L_14 = V_1;
IPAddress_t241777590 * L_15 = (IPAddress_t241777590 *)il2cpp_codegen_object_new(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress__ctor_m4041053470(L_15, L_14, /*hidden argument*/NULL);
return L_15;
}
}
extern "C" IPAddress_t241777590 * Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Win32_SOCKET_ADDRESS_t1936753419 * _thisAdjusted = reinterpret_cast<Win32_SOCKET_ADDRESS_t1936753419 *>(__this + 1);
return Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974(_thisAdjusted, method);
}
#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.Net.NetworkInformation.Win32IPAddressCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection__ctor_m2193866191 (Win32IPAddressCollection_t1156671415 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPAddressCollection__ctor_m2193866191_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPAddressCollection__ctor_m2193866191_RuntimeMethod_var);
{
IPAddressCollection__ctor_m2872148604(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::.ctor(System.IntPtr[])
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection__ctor_m2557507173 (Win32IPAddressCollection_t1156671415 * __this, IntPtrU5BU5D_t4013366056* ___heads0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPAddressCollection__ctor_m2557507173_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPAddressCollection__ctor_m2557507173_RuntimeMethod_var);
IntPtrU5BU5D_t4013366056* V_0 = NULL;
int32_t V_1 = 0;
intptr_t V_2;
memset(&V_2, 0, sizeof(V_2));
{
IPAddressCollection__ctor_m2872148604(__this, /*hidden argument*/NULL);
IntPtrU5BU5D_t4013366056* L_0 = ___heads0;
V_0 = L_0;
V_1 = 0;
goto IL_001b;
}
IL_000c:
{
IntPtrU5BU5D_t4013366056* L_1 = V_0;
int32_t L_2 = V_1;
NullCheck(L_1);
int32_t L_3 = L_2;
intptr_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_2 = L_4;
intptr_t L_5 = V_2;
Win32IPAddressCollection_AddSubsequentlyString_m1641297060(__this, 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_001b:
{
int32_t L_7 = V_1;
IntPtrU5BU5D_t4013366056* L_8 = V_0;
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))))))
{
goto IL_000c;
}
}
{
return;
}
}
// System.Net.NetworkInformation.Win32IPAddressCollection System.Net.NetworkInformation.Win32IPAddressCollection::FromDnsServer(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR Win32IPAddressCollection_t1156671415 * Win32IPAddressCollection_FromDnsServer_m3970823291 (RuntimeObject * __this /* static, unused */, intptr_t ___ptr0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPAddressCollection_FromDnsServer_m3970823291_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPAddressCollection_FromDnsServer_m3970823291_RuntimeMethod_var);
Win32IPAddressCollection_t1156671415 * V_0 = NULL;
Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100 V_1;
memset(&V_1, 0, sizeof(V_1));
intptr_t V_2;
memset(&V_2, 0, sizeof(V_2));
{
Win32IPAddressCollection_t1156671415 * L_0 = (Win32IPAddressCollection_t1156671415 *)il2cpp_codegen_object_new(Win32IPAddressCollection_t1156671415_il2cpp_TypeInfo_var);
Win32IPAddressCollection__ctor_m2193866191(L_0, /*hidden argument*/NULL);
V_0 = L_0;
intptr_t L_1 = ___ptr0;
V_2 = L_1;
goto IL_0039;
}
IL_000a:
{
intptr_t L_2 = V_2;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_5 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_2, L_4, /*hidden argument*/NULL);
V_1 = ((*(Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100 *)((Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100 *)UnBox(L_5, Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100_il2cpp_TypeInfo_var))));
Win32IPAddressCollection_t1156671415 * L_6 = V_0;
Win32_SOCKET_ADDRESS_t1936753419 * L_7 = (&V_1)->get_address_of_Address_2();
IPAddress_t241777590 * L_8 = Win32_SOCKET_ADDRESS_GetIPAddress_m3694328974((Win32_SOCKET_ADDRESS_t1936753419 *)L_7, /*hidden argument*/NULL);
NullCheck(L_6);
IPAddressCollection_InternalAdd_m1969234359(L_6, L_8, /*hidden argument*/NULL);
Win32_IP_ADAPTER_DNS_SERVER_ADDRESS_t3053140100 L_9 = V_1;
intptr_t L_10 = L_9.get_Next_1();
V_2 = L_10;
}
IL_0039:
{
intptr_t L_11 = V_2;
bool L_12 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_11, (intptr_t)(0), /*hidden argument*/NULL);
if (L_12)
{
goto IL_000a;
}
}
{
Win32IPAddressCollection_t1156671415 * L_13 = V_0;
return L_13;
}
}
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::AddSubsequentlyString(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection_AddSubsequentlyString_m1641297060 (Win32IPAddressCollection_t1156671415 * __this, intptr_t ___head0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPAddressCollection_AddSubsequentlyString_m1641297060_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPAddressCollection_AddSubsequentlyString_m1641297060_RuntimeMethod_var);
Win32_IP_ADDR_STRING_t1213417184 V_0;
memset(&V_0, 0, sizeof(V_0));
intptr_t V_1;
memset(&V_1, 0, sizeof(V_1));
{
intptr_t L_0 = ___head0;
V_1 = L_0;
goto IL_0032;
}
IL_0004:
{
intptr_t L_1 = V_1;
RuntimeTypeHandle_t3027515415 L_2 = { reinterpret_cast<intptr_t> (Win32_IP_ADDR_STRING_t1213417184_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_3 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
RuntimeObject * L_4 = Marshal_PtrToStructure_m771949023(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL);
V_0 = ((*(Win32_IP_ADDR_STRING_t1213417184 *)((Win32_IP_ADDR_STRING_t1213417184 *)UnBox(L_4, Win32_IP_ADDR_STRING_t1213417184_il2cpp_TypeInfo_var))));
Win32_IP_ADDR_STRING_t1213417184 L_5 = V_0;
String_t* L_6 = L_5.get_IpAddress_1();
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_7 = IPAddress_Parse_m2200822423(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
IPAddressCollection_InternalAdd_m1969234359(__this, L_7, /*hidden argument*/NULL);
Win32_IP_ADDR_STRING_t1213417184 L_8 = V_0;
intptr_t L_9 = L_8.get_Next_0();
V_1 = L_9;
}
IL_0032:
{
intptr_t L_10 = V_1;
bool L_11 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_10, (intptr_t)(0), /*hidden argument*/NULL);
if (L_11)
{
goto IL_0004;
}
}
{
return;
}
}
// System.Void System.Net.NetworkInformation.Win32IPAddressCollection::.cctor()
extern "C" IL2CPP_METHOD_ATTR void Win32IPAddressCollection__cctor_m1698907131 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPAddressCollection__cctor_m1698907131_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPAddressCollection__cctor_m1698907131_RuntimeMethod_var);
{
IntPtrU5BU5D_t4013366056* L_0 = (IntPtrU5BU5D_t4013366056*)SZArrayNew(IntPtrU5BU5D_t4013366056_il2cpp_TypeInfo_var, (uint32_t)1);
IntPtrU5BU5D_t4013366056* L_1 = L_0;
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (intptr_t)(0));
Win32IPAddressCollection_t1156671415 * L_2 = (Win32IPAddressCollection_t1156671415 *)il2cpp_codegen_object_new(Win32IPAddressCollection_t1156671415_il2cpp_TypeInfo_var);
Win32IPAddressCollection__ctor_m2557507173(L_2, L_1, /*hidden argument*/NULL);
((Win32IPAddressCollection_t1156671415_StaticFields*)il2cpp_codegen_static_fields_for(Win32IPAddressCollection_t1156671415_il2cpp_TypeInfo_var))->set_Empty_1(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.String System.Net.NetworkInformation.Win32IPGlobalProperties::get_DomainName()
extern "C" IL2CPP_METHOD_ATTR String_t* Win32IPGlobalProperties_get_DomainName_m3467829811 (Win32IPGlobalProperties_t3375126358 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPGlobalProperties_get_DomainName_m3467829811_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPGlobalProperties_get_DomainName_m3467829811_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var);
Win32_FIXED_INFO_t1299345856 L_0 = Win32NetworkInterface_get_FixedInfo_m3715854652(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_1 = L_0.get_DomainName_1();
return L_1;
}
}
// System.Void System.Net.NetworkInformation.Win32IPGlobalProperties::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Win32IPGlobalProperties__ctor_m1772432178 (Win32IPGlobalProperties_t3375126358 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPGlobalProperties__ctor_m1772432178_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPGlobalProperties__ctor_m1772432178_RuntimeMethod_var);
{
IPGlobalProperties__ctor_m2997729991(__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.Net.NetworkInformation.Win32IPInterfaceProperties2::.ctor(System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES,System.Net.NetworkInformation.Win32_MIB_IFROW,System.Net.NetworkInformation.Win32_MIB_IFROW)
extern "C" IL2CPP_METHOD_ATTR void Win32IPInterfaceProperties2__ctor_m25771527 (Win32IPInterfaceProperties2_t4152818631 * __this, Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr0, Win32_MIB_IFROW_t851471770 ___mib41, Win32_MIB_IFROW_t851471770 ___mib62, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPInterfaceProperties2__ctor_m25771527_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPInterfaceProperties2__ctor_m25771527_RuntimeMethod_var);
{
IPInterfaceProperties__ctor_m3384018393(__this, /*hidden argument*/NULL);
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_0 = ___addr0;
__this->set_addr_0(L_0);
Win32_MIB_IFROW_t851471770 L_1 = ___mib41;
__this->set_mib4_1(L_1);
Win32_MIB_IFROW_t851471770 L_2 = ___mib62;
__this->set_mib6_2(L_2);
return;
}
}
// System.Net.NetworkInformation.IPAddressCollection System.Net.NetworkInformation.Win32IPInterfaceProperties2::get_DnsAddresses()
extern "C" IL2CPP_METHOD_ATTR IPAddressCollection_t2315030214 * Win32IPInterfaceProperties2_get_DnsAddresses_m3756475339 (Win32IPInterfaceProperties2_t4152818631 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPInterfaceProperties2_get_DnsAddresses_m3756475339_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPInterfaceProperties2_get_DnsAddresses_m3756475339_RuntimeMethod_var);
{
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_0 = __this->get_addr_0();
intptr_t L_1 = L_0.get_FirstDnsServerAddress_6();
IL2CPP_RUNTIME_CLASS_INIT(Win32IPAddressCollection_t1156671415_il2cpp_TypeInfo_var);
Win32IPAddressCollection_t1156671415 * L_2 = Win32IPAddressCollection_FromDnsServer_m3970823291(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
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.Net.NetworkInformation.Win32IPv4InterfaceStatistics::.ctor(System.Net.NetworkInformation.Win32_MIB_IFROW)
extern "C" IL2CPP_METHOD_ATTR void Win32IPv4InterfaceStatistics__ctor_m1977771501 (Win32IPv4InterfaceStatistics_t3096671123 * __this, Win32_MIB_IFROW_t851471770 ___info0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32IPv4InterfaceStatistics__ctor_m1977771501_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32IPv4InterfaceStatistics__ctor_m1977771501_RuntimeMethod_var);
{
IPv4InterfaceStatistics__ctor_m1045009817(__this, /*hidden argument*/NULL);
Win32_MIB_IFROW_t851471770 L_0 = ___info0;
__this->set_info_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
#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.Net.NetworkInformation.Win32NetworkInterface::GetNetworkParams(System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterface_GetNetworkParams_m2297365948 (RuntimeObject * __this /* static, unused */, intptr_t ___ptr0, int32_t* ___size1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface_GetNetworkParams_m2297365948_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface_GetNetworkParams_m2297365948_RuntimeMethod_var);
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (intptr_t, int32_t*);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(int32_t*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("iphlpapi.dll"), "GetNetworkParams", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetNetworkParams'"), NULL, NULL);
}
}
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(___ptr0, ___size1);
il2cpp_codegen_marshal_store_last_error();
return returnValue;
}
// System.Net.NetworkInformation.Win32_FIXED_INFO System.Net.NetworkInformation.Win32NetworkInterface::get_FixedInfo()
extern "C" IL2CPP_METHOD_ATTR Win32_FIXED_INFO_t1299345856 Win32NetworkInterface_get_FixedInfo_m3715854652 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface_get_FixedInfo_m3715854652_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface_get_FixedInfo_m3715854652_RuntimeMethod_var);
int32_t V_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var);
bool L_0 = ((Win32NetworkInterface_t3922465985_StaticFields*)il2cpp_codegen_static_fields_for(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var))->get_initialized_1();
if (L_0)
{
goto IL_0035;
}
}
{
V_0 = 0;
IL2CPP_RUNTIME_CLASS_INIT(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var);
Win32NetworkInterface_GetNetworkParams_m2297365948(NULL /*static, unused*/, (intptr_t)(0), (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
intptr_t L_2 = Marshal_AllocHGlobal_m491131085(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
intptr_t L_3 = L_2;
Win32NetworkInterface_GetNetworkParams_m2297365948(NULL /*static, unused*/, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
Win32_FIXED_INFO_t1299345856 L_4 = Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215(NULL /*static, unused*/, L_3, /*hidden argument*/Marshal_PtrToStructure_TisWin32_FIXED_INFO_t1299345856_m4277728215_RuntimeMethod_var);
((Win32NetworkInterface_t3922465985_StaticFields*)il2cpp_codegen_static_fields_for(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var))->set_fixedInfo_0(L_4);
((Win32NetworkInterface_t3922465985_StaticFields*)il2cpp_codegen_static_fields_for(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var))->set_initialized_1((bool)1);
}
IL_0035:
{
IL2CPP_RUNTIME_CLASS_INIT(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var);
Win32_FIXED_INFO_t1299345856 L_5 = ((Win32NetworkInterface_t3922465985_StaticFields*)il2cpp_codegen_static_fields_for(Win32NetworkInterface_t3922465985_il2cpp_TypeInfo_var))->get_fixedInfo_0();
return L_5;
}
}
// System.Void System.Net.NetworkInformation.Win32NetworkInterface::.cctor()
extern "C" IL2CPP_METHOD_ATTR void Win32NetworkInterface__cctor_m1329161106 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface__cctor_m1329161106_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface__cctor_m1329161106_RuntimeMethod_var);
{
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.Net.NetworkInformation.Win32NetworkInterface2::GetIfEntry(System.Net.NetworkInformation.Win32_MIB_IFROW&)
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterface2_GetIfEntry_m2343960915 (RuntimeObject * __this /* static, unused */, Win32_MIB_IFROW_t851471770 * ___row0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface2_GetIfEntry_m2343960915_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface2_GetIfEntry_m2343960915_RuntimeMethod_var);
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (Win32_MIB_IFROW_t851471770_marshaled_pinvoke*);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(Win32_MIB_IFROW_t851471770_marshaled_pinvoke*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("iphlpapi.dll"), "GetIfEntry", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetIfEntry'"), NULL, NULL);
}
}
// Marshaling of parameter '___row0' to native representation
Win32_MIB_IFROW_t851471770_marshaled_pinvoke* ____row0_marshaled = NULL;
Win32_MIB_IFROW_t851471770_marshaled_pinvoke ____row0_marshaled_dereferenced = {};
Win32_MIB_IFROW_t851471770_marshal_pinvoke(*___row0, ____row0_marshaled_dereferenced);
____row0_marshaled = &____row0_marshaled_dereferenced;
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(____row0_marshaled);
il2cpp_codegen_marshal_store_last_error();
// Marshaling of parameter '___row0' back from native representation
Win32_MIB_IFROW_t851471770 _____row0_marshaled_unmarshaled_dereferenced;
memset(&_____row0_marshaled_unmarshaled_dereferenced, 0, sizeof(_____row0_marshaled_unmarshaled_dereferenced));
Win32_MIB_IFROW_t851471770_marshal_pinvoke_back(*____row0_marshaled, _____row0_marshaled_unmarshaled_dereferenced);
*___row0 = _____row0_marshaled_unmarshaled_dereferenced;
// Marshaling cleanup of parameter '___row0' native representation
Win32_MIB_IFROW_t851471770_marshal_pinvoke_cleanup(*____row0_marshaled);
return returnValue;
}
// System.Void System.Net.NetworkInformation.Win32NetworkInterface2::.ctor(System.Net.NetworkInformation.Win32_IP_ADAPTER_ADDRESSES)
extern "C" IL2CPP_METHOD_ATTR void Win32NetworkInterface2__ctor_m3652556675 (Win32NetworkInterface2_t2303857857 * __this, Win32_IP_ADAPTER_ADDRESSES_t3463526328 ___addr0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface2__ctor_m3652556675_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface2__ctor_m3652556675_RuntimeMethod_var);
{
NetworkInterface__ctor_m3378270272(__this, /*hidden argument*/NULL);
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_0 = ___addr0;
__this->set_addr_0(L_0);
Win32_MIB_IFROW_t851471770 * L_1 = __this->get_address_of_mib4_1();
il2cpp_codegen_initobj(L_1, sizeof(Win32_MIB_IFROW_t851471770 ));
Win32_MIB_IFROW_t851471770 * L_2 = __this->get_address_of_mib4_1();
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_3 = ___addr0;
AlignmentUnion_t208902285 L_4 = L_3.get_Alignment_0();
int32_t L_5 = L_4.get_IfIndex_2();
L_2->set_Index_1(L_5);
Win32_MIB_IFROW_t851471770 * L_6 = __this->get_address_of_mib4_1();
int32_t L_7 = Win32NetworkInterface2_GetIfEntry_m2343960915(NULL /*static, unused*/, (Win32_MIB_IFROW_t851471770 *)L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0048;
}
}
{
Win32_MIB_IFROW_t851471770 * L_8 = __this->get_address_of_mib4_1();
L_8->set_Index_1((-1));
}
IL_0048:
{
Win32_MIB_IFROW_t851471770 * L_9 = __this->get_address_of_mib6_2();
il2cpp_codegen_initobj(L_9, sizeof(Win32_MIB_IFROW_t851471770 ));
Win32_MIB_IFROW_t851471770 * L_10 = __this->get_address_of_mib6_2();
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_11 = ___addr0;
int32_t L_12 = L_11.get_Ipv6IfIndex_16();
L_10->set_Index_1(L_12);
Win32_MIB_IFROW_t851471770 * L_13 = __this->get_address_of_mib6_2();
int32_t L_14 = Win32NetworkInterface2_GetIfEntry_m2343960915(NULL /*static, unused*/, (Win32_MIB_IFROW_t851471770 *)L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_007e;
}
}
{
Win32_MIB_IFROW_t851471770 * L_15 = __this->get_address_of_mib6_2();
L_15->set_Index_1((-1));
}
IL_007e:
{
Win32_MIB_IFROW_t851471770 L_16 = __this->get_mib4_1();
Win32IPv4InterfaceStatistics_t3096671123 * L_17 = (Win32IPv4InterfaceStatistics_t3096671123 *)il2cpp_codegen_object_new(Win32IPv4InterfaceStatistics_t3096671123_il2cpp_TypeInfo_var);
Win32IPv4InterfaceStatistics__ctor_m1977771501(L_17, L_16, /*hidden argument*/NULL);
__this->set_ip4stats_3(L_17);
Win32_IP_ADAPTER_ADDRESSES_t3463526328 L_18 = ___addr0;
Win32_MIB_IFROW_t851471770 L_19 = __this->get_mib4_1();
Win32_MIB_IFROW_t851471770 L_20 = __this->get_mib6_2();
Win32IPInterfaceProperties2_t4152818631 * L_21 = (Win32IPInterfaceProperties2_t4152818631 *)il2cpp_codegen_object_new(Win32IPInterfaceProperties2_t4152818631_il2cpp_TypeInfo_var);
Win32IPInterfaceProperties2__ctor_m25771527(L_21, L_18, L_19, L_20, /*hidden argument*/NULL);
__this->set_ip_if_props_4(L_21);
return;
}
}
// System.Net.NetworkInformation.IPInterfaceProperties System.Net.NetworkInformation.Win32NetworkInterface2::GetIPProperties()
extern "C" IL2CPP_METHOD_ATTR IPInterfaceProperties_t3964383369 * Win32NetworkInterface2_GetIPProperties_m4029715813 (Win32NetworkInterface2_t2303857857 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface2_GetIPProperties_m4029715813_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface2_GetIPProperties_m4029715813_RuntimeMethod_var);
{
IPInterfaceProperties_t3964383369 * L_0 = __this->get_ip_if_props_4();
return L_0;
}
}
// System.Net.NetworkInformation.NetworkInterfaceType System.Net.NetworkInformation.Win32NetworkInterface2::get_NetworkInterfaceType()
extern "C" IL2CPP_METHOD_ATTR int32_t Win32NetworkInterface2_get_NetworkInterfaceType_m1531412495 (Win32NetworkInterface2_t2303857857 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Win32NetworkInterface2_get_NetworkInterfaceType_m1531412495_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Win32NetworkInterface2_get_NetworkInterfaceType_m1531412495_RuntimeMethod_var);
{
Win32_IP_ADAPTER_ADDRESSES_t3463526328 * L_0 = __this->get_address_of_addr_0();
int32_t L_1 = L_0->get_IfType_14();
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.Net.PathList::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PathList__ctor_m2594618257 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList__ctor_m2594618257_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList__ctor_m2594618257_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(PathListComparer_t1123825266_il2cpp_TypeInfo_var);
PathListComparer_t1123825266 * L_0 = ((PathListComparer_t1123825266_StaticFields*)il2cpp_codegen_static_fields_for(PathListComparer_t1123825266_il2cpp_TypeInfo_var))->get_StaticInstance_0();
SortedList_t2427694641 * L_1 = (SortedList_t2427694641 *)il2cpp_codegen_object_new(SortedList_t2427694641_il2cpp_TypeInfo_var);
SortedList__ctor_m3247584155(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(SortedList_t2427694641_il2cpp_TypeInfo_var);
SortedList_t2427694641 * L_2 = SortedList_Synchronized_m3588493120(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
__this->set_m_list_0(L_2);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 System.Net.PathList::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t PathList_get_Count_m669527148 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_get_Count_m669527148_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_get_Count_m669527148_RuntimeMethod_var);
{
SortedList_t2427694641 * L_0 = __this->get_m_list_0();
NullCheck(L_0);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.SortedList::get_Count() */, L_0);
return L_1;
}
}
// System.Int32 System.Net.PathList::GetCookiesCount()
extern "C" IL2CPP_METHOD_ATTR int32_t PathList_GetCookiesCount_m4012631531 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_GetCookiesCount_m4012631531_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_GetCookiesCount_m4012631531_RuntimeMethod_var);
int32_t V_0 = 0;
RuntimeObject * V_1 = NULL;
bool V_2 = false;
RuntimeObject* V_3 = NULL;
CookieCollection_t3881042616 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = 0;
RuntimeObject * L_0 = PathList_get_SyncRoot_m2516597328(__this, /*hidden argument*/NULL);
V_1 = L_0;
V_2 = (bool)0;
}
IL_000b:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_2), /*hidden argument*/NULL);
SortedList_t2427694641 * L_2 = __this->get_m_list_0();
NullCheck(L_2);
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(25 /* System.Collections.ICollection System.Collections.SortedList::get_Values() */, L_2);
NullCheck(L_3);
RuntimeObject* L_4 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t1941168011_il2cpp_TypeInfo_var, L_3);
V_3 = L_4;
}
IL_0024:
try
{ // begin try (depth: 2)
{
goto IL_003d;
}
IL_0026:
{
RuntimeObject* L_5 = V_3;
NullCheck(L_5);
RuntimeObject * L_6 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_5);
V_4 = ((CookieCollection_t3881042616 *)CastclassClass((RuntimeObject*)L_6, CookieCollection_t3881042616_il2cpp_TypeInfo_var));
int32_t L_7 = V_0;
CookieCollection_t3881042616 * L_8 = V_4;
NullCheck(L_8);
int32_t L_9 = CookieCollection_get_Count_m3988188318(L_8, /*hidden argument*/NULL);
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_9));
}
IL_003d:
{
RuntimeObject* L_10 = V_3;
NullCheck(L_10);
bool L_11 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_10);
if (L_11)
{
goto IL_0026;
}
}
IL_0045:
{
IL2CPP_LEAVE(0x65, FINALLY_0047);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0047;
}
FINALLY_0047:
{ // begin finally (depth: 2)
{
RuntimeObject* L_12 = V_3;
V_5 = ((RuntimeObject*)IsInst((RuntimeObject*)L_12, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_13 = V_5;
if (!L_13)
{
goto IL_005a;
}
}
IL_0053:
{
RuntimeObject* L_14 = V_5;
NullCheck(L_14);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_14);
}
IL_005a:
{
IL2CPP_END_FINALLY(71)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(71)
{
IL2CPP_END_CLEANUP(0x65, FINALLY_005b);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005b;
}
FINALLY_005b:
{ // begin finally (depth: 1)
{
bool L_15 = V_2;
if (!L_15)
{
goto IL_0064;
}
}
IL_005e:
{
RuntimeObject * L_16 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
}
IL_0064:
{
IL2CPP_END_FINALLY(91)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(91)
{
IL2CPP_JUMP_TBL(0x65, IL_0065)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0065:
{
int32_t L_17 = V_0;
return L_17;
}
}
// System.Collections.ICollection System.Net.PathList::get_Values()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* PathList_get_Values_m2441809375 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_get_Values_m2441809375_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_get_Values_m2441809375_RuntimeMethod_var);
{
SortedList_t2427694641 * L_0 = __this->get_m_list_0();
NullCheck(L_0);
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(25 /* System.Collections.ICollection System.Collections.SortedList::get_Values() */, L_0);
return L_1;
}
}
// System.Object System.Net.PathList::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * PathList_get_Item_m433719466 (PathList_t2806410337 * __this, String_t* ___s0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_get_Item_m433719466_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_get_Item_m433719466_RuntimeMethod_var);
{
SortedList_t2427694641 * L_0 = __this->get_m_list_0();
String_t* L_1 = ___s0;
NullCheck(L_0);
RuntimeObject * L_2 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(40 /* System.Object System.Collections.SortedList::get_Item(System.Object) */, L_0, L_1);
return L_2;
}
}
// System.Void System.Net.PathList::set_Item(System.String,System.Object)
extern "C" IL2CPP_METHOD_ATTR void PathList_set_Item_m2496539297 (PathList_t2806410337 * __this, String_t* ___s0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_set_Item_m2496539297_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_set_Item_m2496539297_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = PathList_get_SyncRoot_m2516597328(__this, /*hidden argument*/NULL);
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
SortedList_t2427694641 * L_2 = __this->get_m_list_0();
String_t* L_3 = ___s0;
RuntimeObject * L_4 = ___value1;
NullCheck(L_2);
VirtActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(41 /* System.Void System.Collections.SortedList::set_Item(System.Object,System.Object) */, L_2, L_3, L_4);
IL2CPP_LEAVE(0x2A, FINALLY_0020);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0020;
}
FINALLY_0020:
{ // begin finally (depth: 1)
{
bool L_5 = V_1;
if (!L_5)
{
goto IL_0029;
}
}
IL_0023:
{
RuntimeObject * L_6 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
}
IL_0029:
{
IL2CPP_END_FINALLY(32)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(32)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
return;
}
}
// System.Collections.IEnumerator System.Net.PathList::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* PathList_GetEnumerator_m3707745332 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_GetEnumerator_m3707745332_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_GetEnumerator_m3707745332_RuntimeMethod_var);
{
SortedList_t2427694641 * L_0 = __this->get_m_list_0();
NullCheck(L_0);
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(36 /* System.Collections.IDictionaryEnumerator System.Collections.SortedList::GetEnumerator() */, L_0);
return L_1;
}
}
// System.Object System.Net.PathList::get_SyncRoot()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * PathList_get_SyncRoot_m2516597328 (PathList_t2806410337 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathList_get_SyncRoot_m2516597328_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathList_get_SyncRoot_m2516597328_RuntimeMethod_var);
{
SortedList_t2427694641 * L_0 = __this->get_m_list_0();
NullCheck(L_0);
RuntimeObject * L_1 = VirtFuncInvoker0< RuntimeObject * >::Invoke(28 /* System.Object System.Collections.SortedList::get_SyncRoot() */, 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.Int32 System.Net.PathList/PathListComparer::System.Collections.IComparer.Compare(System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR int32_t PathListComparer_System_Collections_IComparer_Compare_m3318255939 (PathListComparer_t1123825266 * __this, RuntimeObject * ___ol0, RuntimeObject * ___or1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathListComparer_System_Collections_IComparer_Compare_m3318255939_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathListComparer_System_Collections_IComparer_Compare_m3318255939_RuntimeMethod_var);
String_t* V_0 = NULL;
String_t* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
{
RuntimeObject * L_0 = ___ol0;
String_t* L_1 = CookieParser_CheckQuoted_m3844255685(NULL /*static, unused*/, ((String_t*)CastclassSealed((RuntimeObject*)L_0, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = L_1;
RuntimeObject * L_2 = ___or1;
String_t* L_3 = CookieParser_CheckQuoted_m3844255685(NULL /*static, unused*/, ((String_t*)CastclassSealed((RuntimeObject*)L_2, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_1 = L_3;
String_t* L_4 = V_0;
NullCheck(L_4);
int32_t L_5 = String_get_Length_m3847582255(L_4, /*hidden argument*/NULL);
V_2 = L_5;
String_t* L_6 = V_1;
NullCheck(L_6);
int32_t L_7 = String_get_Length_m3847582255(L_6, /*hidden argument*/NULL);
V_3 = L_7;
int32_t L_8 = V_2;
int32_t L_9 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Math_t1671470975_il2cpp_TypeInfo_var);
int32_t L_10 = Math_Min_m3468062251(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
V_4 = L_10;
V_5 = 0;
goto IL_005e;
}
IL_0034:
{
String_t* L_11 = V_0;
int32_t L_12 = V_5;
NullCheck(L_11);
Il2CppChar L_13 = String_get_Chars_m2986988803(L_11, L_12, /*hidden argument*/NULL);
String_t* L_14 = V_1;
int32_t L_15 = V_5;
NullCheck(L_14);
Il2CppChar L_16 = String_get_Chars_m2986988803(L_14, L_15, /*hidden argument*/NULL);
if ((((int32_t)L_13) == ((int32_t)L_16)))
{
goto IL_0058;
}
}
{
String_t* L_17 = V_0;
int32_t L_18 = V_5;
NullCheck(L_17);
Il2CppChar L_19 = String_get_Chars_m2986988803(L_17, L_18, /*hidden argument*/NULL);
String_t* L_20 = V_1;
int32_t L_21 = V_5;
NullCheck(L_20);
Il2CppChar L_22 = String_get_Chars_m2986988803(L_20, L_21, /*hidden argument*/NULL);
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)L_22));
}
IL_0058:
{
int32_t L_23 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_005e:
{
int32_t L_24 = V_5;
int32_t L_25 = V_4;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_0034;
}
}
{
int32_t L_26 = V_3;
int32_t L_27 = V_2;
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)L_27));
}
}
// System.Void System.Net.PathList/PathListComparer::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PathListComparer__ctor_m2457711856 (PathListComparer_t1123825266 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathListComparer__ctor_m2457711856_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathListComparer__ctor_m2457711856_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.PathList/PathListComparer::.cctor()
extern "C" IL2CPP_METHOD_ATTR void PathListComparer__cctor_m4159747597 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PathListComparer__cctor_m4159747597_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(PathListComparer__cctor_m4159747597_RuntimeMethod_var);
{
PathListComparer_t1123825266 * L_0 = (PathListComparer_t1123825266 *)il2cpp_codegen_object_new(PathListComparer_t1123825266_il2cpp_TypeInfo_var);
PathListComparer__ctor_m2457711856(L_0, /*hidden argument*/NULL);
((PathListComparer_t1123825266_StaticFields*)il2cpp_codegen_static_fields_for(PathListComparer_t1123825266_il2cpp_TypeInfo_var))->set_StaticInstance_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.Net.ProtocolViolationException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ProtocolViolationException__ctor_m3494069637 (ProtocolViolationException_t4144007430 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ProtocolViolationException__ctor_m3494069637_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ProtocolViolationException__ctor_m3494069637_RuntimeMethod_var);
{
InvalidOperationException__ctor_m2734335978(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.ProtocolViolationException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ProtocolViolationException__ctor_m1575418383 (ProtocolViolationException_t4144007430 * __this, String_t* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ProtocolViolationException__ctor_m1575418383_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ProtocolViolationException__ctor_m1575418383_RuntimeMethod_var);
{
String_t* L_0 = ___message0;
InvalidOperationException__ctor_m237278729(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.ProtocolViolationException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void ProtocolViolationException__ctor_m1970521726 (ProtocolViolationException_t4144007430 * __this, SerializationInfo_t950877179 * ___serializationInfo0, StreamingContext_t3711869237 ___streamingContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ProtocolViolationException__ctor_m1970521726_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ProtocolViolationException__ctor_m1970521726_RuntimeMethod_var);
{
SerializationInfo_t950877179 * L_0 = ___serializationInfo0;
StreamingContext_t3711869237 L_1 = ___streamingContext1;
InvalidOperationException__ctor_m262609521(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.ProtocolViolationException::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void ProtocolViolationException_System_Runtime_Serialization_ISerializable_GetObjectData_m2045101867 (ProtocolViolationException_t4144007430 * __this, SerializationInfo_t950877179 * ___serializationInfo0, StreamingContext_t3711869237 ___streamingContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ProtocolViolationException_System_Runtime_Serialization_ISerializable_GetObjectData_m2045101867_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ProtocolViolationException_System_Runtime_Serialization_ISerializable_GetObjectData_m2045101867_RuntimeMethod_var);
{
SerializationInfo_t950877179 * L_0 = ___serializationInfo0;
StreamingContext_t3711869237 L_1 = ___streamingContext1;
Exception_GetObjectData_m1103241326(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.ProtocolViolationException::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void ProtocolViolationException_GetObjectData_m3244936269 (ProtocolViolationException_t4144007430 * __this, SerializationInfo_t950877179 * ___serializationInfo0, StreamingContext_t3711869237 ___streamingContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ProtocolViolationException_GetObjectData_m3244936269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ProtocolViolationException_GetObjectData_m3244936269_RuntimeMethod_var);
{
SerializationInfo_t950877179 * L_0 = ___serializationInfo0;
StreamingContext_t3711869237 L_1 = ___streamingContext1;
Exception_GetObjectData_m1103241326(__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.Void System.Net.Security.AuthenticatedStream::.ctor(System.IO.Stream,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void AuthenticatedStream__ctor_m2546959456 (AuthenticatedStream_t3415418016 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AuthenticatedStream__ctor_m2546959456_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(AuthenticatedStream__ctor_m2546959456_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
Stream__ctor_m3881936881(__this, /*hidden argument*/NULL);
Stream_t1273022909 * L_0 = ___innerStream0;
if (!L_0)
{
goto IL_0011;
}
}
{
Stream_t1273022909 * L_1 = ___innerStream0;
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
Stream_t1273022909 * L_2 = ((Stream_t1273022909_StaticFields*)il2cpp_codegen_static_fields_for(Stream_t1273022909_il2cpp_TypeInfo_var))->get_Null_1();
if ((!(((RuntimeObject*)(Stream_t1273022909 *)L_1) == ((RuntimeObject*)(Stream_t1273022909 *)L_2))))
{
goto IL_001c;
}
}
IL_0011:
{
ArgumentNullException_t1615371798 * L_3 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_3, _stringLiteral4156291023, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, AuthenticatedStream__ctor_m2546959456_RuntimeMethod_var);
}
IL_001c:
{
Stream_t1273022909 * L_4 = ___innerStream0;
NullCheck(L_4);
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
bool L_5 = VirtFuncInvoker0< bool >::Invoke(7 /* System.Boolean System.IO.Stream::get_CanRead() */, L_4);
if (!L_5)
{
goto IL_002c;
}
}
{
Stream_t1273022909 * L_6 = ___innerStream0;
NullCheck(L_6);
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
bool L_7 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.Stream::get_CanWrite() */, L_6);
if (L_7)
{
goto IL_0041;
}
}
IL_002c:
{
String_t* L_8 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1660013673, /*hidden argument*/NULL);
ArgumentException_t132251570 * L_9 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_9, L_8, _stringLiteral4156291023, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, AuthenticatedStream__ctor_m2546959456_RuntimeMethod_var);
}
IL_0041:
{
Stream_t1273022909 * L_10 = ___innerStream0;
__this->set__InnerStream_4(L_10);
bool L_11 = ___leaveInnerStreamOpen1;
__this->set__LeaveStreamOpen_5(L_11);
return;
}
}
// System.IO.Stream System.Net.Security.AuthenticatedStream::get_InnerStream()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * AuthenticatedStream_get_InnerStream_m4066215780 (AuthenticatedStream_t3415418016 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AuthenticatedStream_get_InnerStream_m4066215780_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(AuthenticatedStream_get_InnerStream_m4066215780_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = __this->get__InnerStream_4();
return L_0;
}
}
// System.Void System.Net.Security.AuthenticatedStream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void AuthenticatedStream_Dispose_m2809320002 (AuthenticatedStream_t3415418016 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AuthenticatedStream_Dispose_m2809320002_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(AuthenticatedStream_Dispose_m2809320002_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
bool L_0 = ___disposing0;
if (!L_0)
{
goto IL_0023;
}
}
IL_0003:
{
bool L_1 = __this->get__LeaveStreamOpen_5();
if (!L_1)
{
goto IL_0018;
}
}
IL_000b:
{
Stream_t1273022909 * L_2 = __this->get__InnerStream_4();
NullCheck(L_2);
VirtActionInvoker0::Invoke(17 /* System.Void System.IO.Stream::Flush() */, L_2);
IL2CPP_LEAVE(0x2D, FINALLY_0025);
}
IL_0018:
{
Stream_t1273022909 * L_3 = __this->get__InnerStream_4();
NullCheck(L_3);
VirtActionInvoker0::Invoke(15 /* System.Void System.IO.Stream::Close() */, L_3);
}
IL_0023:
{
IL2CPP_LEAVE(0x2D, FINALLY_0025);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0025;
}
FINALLY_0025:
{ // begin finally (depth: 1)
bool L_4 = ___disposing0;
Stream_Dispose_m874059170(__this, L_4, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(37)
} // end finally (depth: 1)
IL2CPP_CLEANUP(37)
{
IL2CPP_JUMP_TBL(0x2D, IL_002d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002d:
{
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.Net.Security.LocalCertificateSelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void LocalCertificateSelectionCallback__ctor_m717516594 (LocalCertificateSelectionCallback_t2354453884 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertificateSelectionCallback__ctor_m717516594_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertificateSelectionCallback__ctor_m717516594_RuntimeMethod_var);
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Security.Cryptography.X509Certificates.X509Certificate System.Net.Security.LocalCertificateSelectionCallback::Invoke(System.Object,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[])
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * LocalCertificateSelectionCallback_Invoke_m668452322 (LocalCertificateSelectionCallback_t2354453884 * __this, RuntimeObject * ___sender0, String_t* ___targetHost1, X509CertificateCollection_t3399372417 * ___localCertificates2, X509Certificate_t713131622 * ___remoteCertificate3, StringU5BU5D_t1281789340* ___acceptableIssuers4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertificateSelectionCallback_Invoke_m668452322_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertificateSelectionCallback_Invoke_m668452322_RuntimeMethod_var);
X509Certificate_t713131622 * result = NULL;
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((RuntimeMethod*)(__this->get_method_3()));
DelegateU5BU5D_t1703627840* delegatesToInvoke = __this->get_delegates_11();
if (delegatesToInvoke != NULL)
{
il2cpp_array_size_t length = delegatesToInvoke->max_length;
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t1188392813* currentDelegate = (delegatesToInvoke)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 5)
{
// open
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
else
{
// closed
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, void*, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 5)
{
// 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))
result = GenericInterfaceFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = GenericVirtFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = VirtFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (void*, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = GenericVirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = VirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
}
}
}
else
{
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 5)
{
// open
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
else
{
// closed
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, void*, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 5)
{
// 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))
result = GenericInterfaceFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = GenericVirtFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = VirtFuncInvoker5< X509Certificate_t713131622 *, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (void*, RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = GenericVirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
else
result = VirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___sender0, ___targetHost1, ___localCertificates2, ___remoteCertificate3, ___acceptableIssuers4, targetMethod);
}
}
}
}
return result;
}
// System.IAsyncResult System.Net.Security.LocalCertificateSelectionCallback::BeginInvoke(System.Object,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[],System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* LocalCertificateSelectionCallback_BeginInvoke_m3292356978 (LocalCertificateSelectionCallback_t2354453884 * __this, RuntimeObject * ___sender0, String_t* ___targetHost1, X509CertificateCollection_t3399372417 * ___localCertificates2, X509Certificate_t713131622 * ___remoteCertificate3, StringU5BU5D_t1281789340* ___acceptableIssuers4, AsyncCallback_t3962456242 * ___callback5, RuntimeObject * ___object6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertificateSelectionCallback_BeginInvoke_m3292356978_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertificateSelectionCallback_BeginInvoke_m3292356978_RuntimeMethod_var);
void *__d_args[6] = {0};
__d_args[0] = ___sender0;
__d_args[1] = ___targetHost1;
__d_args[2] = ___localCertificates2;
__d_args[3] = ___remoteCertificate3;
__d_args[4] = ___acceptableIssuers4;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback5, (RuntimeObject*)___object6);
}
// System.Security.Cryptography.X509Certificates.X509Certificate System.Net.Security.LocalCertificateSelectionCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * LocalCertificateSelectionCallback_EndInvoke_m561573233 (LocalCertificateSelectionCallback_t2354453884 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertificateSelectionCallback_EndInvoke_m561573233_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertificateSelectionCallback_EndInvoke_m561573233_RuntimeMethod_var);
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (X509Certificate_t713131622 *)__result;
}
#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.Net.Security.LocalCertSelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void LocalCertSelectionCallback__ctor_m386164261 (LocalCertSelectionCallback_t1988113036 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertSelectionCallback__ctor_m386164261_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertSelectionCallback__ctor_m386164261_RuntimeMethod_var);
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Security.Cryptography.X509Certificates.X509Certificate System.Net.Security.LocalCertSelectionCallback::Invoke(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[])
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * LocalCertSelectionCallback_Invoke_m1692344453 (LocalCertSelectionCallback_t1988113036 * __this, String_t* ___targetHost0, X509CertificateCollection_t3399372417 * ___localCertificates1, X509Certificate_t713131622 * ___remoteCertificate2, StringU5BU5D_t1281789340* ___acceptableIssuers3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertSelectionCallback_Invoke_m1692344453_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertSelectionCallback_Invoke_m1692344453_RuntimeMethod_var);
X509Certificate_t713131622 * result = NULL;
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((RuntimeMethod*)(__this->get_method_3()));
DelegateU5BU5D_t1703627840* delegatesToInvoke = __this->get_delegates_11();
if (delegatesToInvoke != NULL)
{
il2cpp_array_size_t length = delegatesToInvoke->max_length;
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t1188392813* currentDelegate = (delegatesToInvoke)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// open
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else
{
// closed
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, void*, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// 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))
result = GenericInterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (void*, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
}
}
}
else
{
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// open
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else
{
// closed
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, void*, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// 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))
result = GenericInterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker4< X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (void*, String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker3< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (String_t*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, StringU5BU5D_t1281789340*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
}
}
return result;
}
// System.IAsyncResult System.Net.Security.LocalCertSelectionCallback::BeginInvoke(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[],System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* LocalCertSelectionCallback_BeginInvoke_m553604038 (LocalCertSelectionCallback_t1988113036 * __this, String_t* ___targetHost0, X509CertificateCollection_t3399372417 * ___localCertificates1, X509Certificate_t713131622 * ___remoteCertificate2, StringU5BU5D_t1281789340* ___acceptableIssuers3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___object5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertSelectionCallback_BeginInvoke_m553604038_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertSelectionCallback_BeginInvoke_m553604038_RuntimeMethod_var);
void *__d_args[5] = {0};
__d_args[0] = ___targetHost0;
__d_args[1] = ___localCertificates1;
__d_args[2] = ___remoteCertificate2;
__d_args[3] = ___acceptableIssuers3;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback4, (RuntimeObject*)___object5);
}
// System.Security.Cryptography.X509Certificates.X509Certificate System.Net.Security.LocalCertSelectionCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * LocalCertSelectionCallback_EndInvoke_m3613070888 (LocalCertSelectionCallback_t1988113036 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LocalCertSelectionCallback_EndInvoke_m3613070888_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LocalCertSelectionCallback_EndInvoke_m3613070888_RuntimeMethod_var);
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (X509Certificate_t713131622 *)__result;
}
#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.Net.Security.RemoteCertificateValidationCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void RemoteCertificateValidationCallback__ctor_m1251969663 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RemoteCertificateValidationCallback__ctor_m1251969663_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(RemoteCertificateValidationCallback__ctor_m1251969663_RuntimeMethod_var);
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Boolean System.Net.Security.RemoteCertificateValidationCallback::Invoke(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR bool RemoteCertificateValidationCallback_Invoke_m727898444 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject * ___sender0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RemoteCertificateValidationCallback_Invoke_m727898444_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(RemoteCertificateValidationCallback_Invoke_m727898444_RuntimeMethod_var);
bool result = false;
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((RuntimeMethod*)(__this->get_method_3()));
DelegateU5BU5D_t1703627840* delegatesToInvoke = __this->get_delegates_11();
if (delegatesToInvoke != NULL)
{
il2cpp_array_size_t length = delegatesToInvoke->max_length;
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t1188392813* currentDelegate = (delegatesToInvoke)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// open
{
typedef bool (*FunctionPointerType) (RuntimeObject *, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else
{
// closed
{
typedef bool (*FunctionPointerType) (RuntimeObject *, void*, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// 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))
result = GenericInterfaceFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
}
}
}
else
{
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// open
{
typedef bool (*FunctionPointerType) (RuntimeObject *, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else
{
// closed
{
typedef bool (*FunctionPointerType) (RuntimeObject *, void*, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// 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))
result = GenericInterfaceFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker4< bool, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else
{
// 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))
result = GenericInterfaceFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(targetMethod, ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker3< bool, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (RuntimeObject *, X509Certificate_t713131622 *, X509Chain_t194917408 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___sender0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
}
}
return result;
}
// System.IAsyncResult System.Net.Security.RemoteCertificateValidationCallback::BeginInvoke(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RemoteCertificateValidationCallback_BeginInvoke_m1840268146 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject * ___sender0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___object5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RemoteCertificateValidationCallback_BeginInvoke_m1840268146_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(RemoteCertificateValidationCallback_BeginInvoke_m1840268146_RuntimeMethod_var);
void *__d_args[5] = {0};
__d_args[0] = ___sender0;
__d_args[1] = ___certificate1;
__d_args[2] = ___chain2;
__d_args[3] = Box(SslPolicyErrors_t2205227823_il2cpp_TypeInfo_var, &___sslPolicyErrors3);
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback4, (RuntimeObject*)___object5);
}
// System.Boolean System.Net.Security.RemoteCertificateValidationCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR bool RemoteCertificateValidationCallback_EndInvoke_m1360061860 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RemoteCertificateValidationCallback_EndInvoke_m1360061860_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(RemoteCertificateValidationCallback_EndInvoke_m1360061860_RuntimeMethod_var);
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return *(bool*)UnBox ((RuntimeObject*)__result);
}
#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
// Mono.Security.Interface.IMonoSslStream System.Net.Security.SslStream::get_Impl()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslStream_get_Impl_m3149891854 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_Impl_m3149891854_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_Impl_m3149891854_RuntimeMethod_var);
{
SslStream_CheckDisposed_m108984730(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = __this->get_impl_7();
return L_0;
}
}
// Mono.Security.Interface.MonoTlsProvider System.Net.Security.SslStream::GetProvider()
extern "C" IL2CPP_METHOD_ATTR MonoTlsProvider_t3152003291 * SslStream_GetProvider_m949158172 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_GetProvider_m949158172_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_GetProvider_m949158172_RuntimeMethod_var);
{
MonoTlsProvider_t3152003291 * L_0 = MonoTlsProviderFactory_GetProvider_m2948620693(NULL /*static, unused*/, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m2194243907 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream__ctor_m2194243907_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream__ctor_m2194243907_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = ___innerStream0;
SslStream__ctor_m3370516085(__this, L_0, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m3370516085 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream__ctor_m3370516085_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream__ctor_m3370516085_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = ___innerStream0;
bool L_1 = ___leaveInnerStreamOpen1;
AuthenticatedStream__ctor_m2546959456(__this, L_0, L_1, /*hidden argument*/NULL);
MonoTlsProvider_t3152003291 * L_2 = SslStream_GetProvider_m949158172(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_provider_6(L_2);
MonoTlsProvider_t3152003291 * L_3 = __this->get_provider_6();
Stream_t1273022909 * L_4 = ___innerStream0;
bool L_5 = ___leaveInnerStreamOpen1;
NullCheck(L_3);
RuntimeObject* L_6 = VirtFuncInvoker4< RuntimeObject*, SslStream_t2700741536 *, Stream_t1273022909 *, bool, MonoTlsSettings_t3666008581 * >::Invoke(11 /* Mono.Security.Interface.IMonoSslStream Mono.Security.Interface.MonoTlsProvider::CreateSslStreamInternal(System.Net.Security.SslStream,System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsSettings) */, L_3, __this, L_4, L_5, (MonoTlsSettings_t3666008581 *)NULL);
__this->set_impl_7(L_6);
return;
}
}
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback,System.Net.Security.LocalCertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m2028407324 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, RemoteCertificateValidationCallback_t3014364904 * ___userCertificateValidationCallback2, LocalCertificateSelectionCallback_t2354453884 * ___userCertificateSelectionCallback3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream__ctor_m2028407324_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream__ctor_m2028407324_RuntimeMethod_var);
MonoTlsSettings_t3666008581 * V_0 = NULL;
{
Stream_t1273022909 * L_0 = ___innerStream0;
bool L_1 = ___leaveInnerStreamOpen1;
AuthenticatedStream__ctor_m2546959456(__this, L_0, L_1, /*hidden argument*/NULL);
MonoTlsProvider_t3152003291 * L_2 = SslStream_GetProvider_m949158172(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_provider_6(L_2);
MonoTlsSettings_t3666008581 * L_3 = MonoTlsSettings_CopyDefaultSettings_m2564289867(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_3;
MonoTlsSettings_t3666008581 * L_4 = V_0;
RemoteCertificateValidationCallback_t3014364904 * L_5 = ___userCertificateValidationCallback2;
MonoRemoteCertificateValidationCallback_t2521872312 * L_6 = CallbackHelpers_PublicToMono_m1353445300(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
NullCheck(L_4);
MonoTlsSettings_set_RemoteCertificateValidationCallback_m2930080471(L_4, L_6, /*hidden argument*/NULL);
MonoTlsSettings_t3666008581 * L_7 = V_0;
LocalCertificateSelectionCallback_t2354453884 * L_8 = ___userCertificateSelectionCallback3;
MonoLocalCertificateSelectionCallback_t1375878923 * L_9 = CallbackHelpers_PublicToMono_m1584406174(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
NullCheck(L_7);
MonoTlsSettings_set_ClientCertificateSelectionCallback_m1417183984(L_7, L_9, /*hidden argument*/NULL);
MonoTlsProvider_t3152003291 * L_10 = __this->get_provider_6();
Stream_t1273022909 * L_11 = ___innerStream0;
bool L_12 = ___leaveInnerStreamOpen1;
MonoTlsSettings_t3666008581 * L_13 = V_0;
NullCheck(L_10);
RuntimeObject* L_14 = VirtFuncInvoker3< RuntimeObject*, Stream_t1273022909 *, bool, MonoTlsSettings_t3666008581 * >::Invoke(10 /* Mono.Security.Interface.IMonoSslStream Mono.Security.Interface.MonoTlsProvider::CreateSslStream(System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsSettings) */, L_10, L_11, L_12, L_13);
__this->set_impl_7(L_14);
return;
}
}
// System.Void System.Net.Security.SslStream::.ctor(System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsProvider,Mono.Security.Interface.MonoTlsSettings)
extern "C" IL2CPP_METHOD_ATTR void SslStream__ctor_m669531117 (SslStream_t2700741536 * __this, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, MonoTlsProvider_t3152003291 * ___provider2, MonoTlsSettings_t3666008581 * ___settings3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream__ctor_m669531117_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream__ctor_m669531117_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = ___innerStream0;
bool L_1 = ___leaveInnerStreamOpen1;
AuthenticatedStream__ctor_m2546959456(__this, L_0, L_1, /*hidden argument*/NULL);
MonoTlsProvider_t3152003291 * L_2 = ___provider2;
__this->set_provider_6(L_2);
MonoTlsProvider_t3152003291 * L_3 = ___provider2;
Stream_t1273022909 * L_4 = ___innerStream0;
bool L_5 = ___leaveInnerStreamOpen1;
MonoTlsSettings_t3666008581 * L_6 = ___settings3;
NullCheck(L_3);
RuntimeObject* L_7 = VirtFuncInvoker4< RuntimeObject*, SslStream_t2700741536 *, Stream_t1273022909 *, bool, MonoTlsSettings_t3666008581 * >::Invoke(11 /* Mono.Security.Interface.IMonoSslStream Mono.Security.Interface.MonoTlsProvider::CreateSslStreamInternal(System.Net.Security.SslStream,System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsSettings) */, L_3, __this, L_4, L_5, L_6);
__this->set_impl_7(L_7);
return;
}
}
// Mono.Security.Interface.IMonoSslStream System.Net.Security.SslStream::CreateMonoSslStream(System.IO.Stream,System.Boolean,Mono.Security.Interface.MonoTlsProvider,Mono.Security.Interface.MonoTlsSettings)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslStream_CreateMonoSslStream_m3208885458 (RuntimeObject * __this /* static, unused */, Stream_t1273022909 * ___innerStream0, bool ___leaveInnerStreamOpen1, MonoTlsProvider_t3152003291 * ___provider2, MonoTlsSettings_t3666008581 * ___settings3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_CreateMonoSslStream_m3208885458_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_CreateMonoSslStream_m3208885458_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = ___innerStream0;
bool L_1 = ___leaveInnerStreamOpen1;
MonoTlsProvider_t3152003291 * L_2 = ___provider2;
MonoTlsSettings_t3666008581 * L_3 = ___settings3;
SslStream_t2700741536 * L_4 = (SslStream_t2700741536 *)il2cpp_codegen_object_new(SslStream_t2700741536_il2cpp_TypeInfo_var);
SslStream__ctor_m669531117(L_4, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
NullCheck(L_4);
RuntimeObject* L_5 = SslStream_get_Impl_m3149891854(L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Void System.Net.Security.SslStream::AuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStream_AuthenticateAsClient_m2305196485 (SslStream_t2700741536 * __this, String_t* ___targetHost0, X509CertificateCollection_t3399372417 * ___clientCertificates1, int32_t ___enabledSslProtocols2, bool ___checkCertificateRevocation3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_AuthenticateAsClient_m2305196485_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_AuthenticateAsClient_m2305196485_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
String_t* L_1 = ___targetHost0;
X509CertificateCollection_t3399372417 * L_2 = ___clientCertificates1;
int32_t L_3 = ___enabledSslProtocols2;
bool L_4 = ___checkCertificateRevocation3;
NullCheck(L_0);
InterfaceActionInvoker4< String_t*, X509CertificateCollection_t3399372417 *, int32_t, bool >::Invoke(0 /* System.Void Mono.Security.Interface.IMonoSslStream::AuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3, L_4);
return;
}
}
// System.Threading.Tasks.Task System.Net.Security.SslStream::AuthenticateAsClientAsync(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR Task_t3187275312 * SslStream_AuthenticateAsClientAsync_m2103080311 (SslStream_t2700741536 * __this, String_t* ___targetHost0, X509CertificateCollection_t3399372417 * ___clientCertificates1, int32_t ___enabledSslProtocols2, bool ___checkCertificateRevocation3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_AuthenticateAsClientAsync_m2103080311_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_AuthenticateAsClientAsync_m2103080311_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
String_t* L_1 = ___targetHost0;
X509CertificateCollection_t3399372417 * L_2 = ___clientCertificates1;
int32_t L_3 = ___enabledSslProtocols2;
bool L_4 = ___checkCertificateRevocation3;
NullCheck(L_0);
Task_t3187275312 * L_5 = InterfaceFuncInvoker4< Task_t3187275312 *, String_t*, X509CertificateCollection_t3399372417 *, int32_t, bool >::Invoke(1 /* System.Threading.Tasks.Task Mono.Security.Interface.IMonoSslStream::AuthenticateAsClientAsync(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3, L_4);
return L_5;
}
}
// System.Boolean System.Net.Security.SslStream::get_IsAuthenticated()
extern "C" IL2CPP_METHOD_ATTR bool SslStream_get_IsAuthenticated_m4088526788 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_IsAuthenticated_m4088526788_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_IsAuthenticated_m4088526788_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_1 = InterfaceFuncInvoker0< bool >::Invoke(8 /* System.Boolean Mono.Security.Interface.IMonoSslStream::get_IsAuthenticated() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Boolean System.Net.Security.SslStream::get_CanSeek()
extern "C" IL2CPP_METHOD_ATTR bool SslStream_get_CanSeek_m102894697 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_CanSeek_m102894697_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_CanSeek_m102894697_RuntimeMethod_var);
{
return (bool)0;
}
}
// System.Boolean System.Net.Security.SslStream::get_CanRead()
extern "C" IL2CPP_METHOD_ATTR bool SslStream_get_CanRead_m1708449590 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_CanRead_m1708449590_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_CanRead_m1708449590_RuntimeMethod_var);
{
RuntimeObject* L_0 = __this->get_impl_7();
if (!L_0)
{
goto IL_0014;
}
}
{
RuntimeObject* L_1 = __this->get_impl_7();
NullCheck(L_1);
bool L_2 = InterfaceFuncInvoker0< bool >::Invoke(9 /* System.Boolean Mono.Security.Interface.IMonoSslStream::get_CanRead() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_1);
return L_2;
}
IL_0014:
{
return (bool)0;
}
}
// System.Boolean System.Net.Security.SslStream::get_CanWrite()
extern "C" IL2CPP_METHOD_ATTR bool SslStream_get_CanWrite_m1287225252 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_CanWrite_m1287225252_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_CanWrite_m1287225252_RuntimeMethod_var);
{
RuntimeObject* L_0 = __this->get_impl_7();
if (!L_0)
{
goto IL_0014;
}
}
{
RuntimeObject* L_1 = __this->get_impl_7();
NullCheck(L_1);
bool L_2 = InterfaceFuncInvoker0< bool >::Invoke(10 /* System.Boolean Mono.Security.Interface.IMonoSslStream::get_CanWrite() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_1);
return L_2;
}
IL_0014:
{
return (bool)0;
}
}
// System.Int32 System.Net.Security.SslStream::get_ReadTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t SslStream_get_ReadTimeout_m583510994 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_ReadTimeout_m583510994_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_ReadTimeout_m583510994_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 Mono.Security.Interface.IMonoSslStream::get_ReadTimeout() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Int32 System.Net.Security.SslStream::get_WriteTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t SslStream_get_WriteTimeout_m111948981 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_WriteTimeout_m111948981_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_WriteTimeout_m111948981_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 Mono.Security.Interface.IMonoSslStream::get_WriteTimeout() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Int64 System.Net.Security.SslStream::get_Length()
extern "C" IL2CPP_METHOD_ATTR int64_t SslStream_get_Length_m1403894209 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_Length_m1403894209_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_Length_m1403894209_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int64_t L_1 = InterfaceFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 Mono.Security.Interface.IMonoSslStream::get_Length() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Int64 System.Net.Security.SslStream::get_Position()
extern "C" IL2CPP_METHOD_ATTR int64_t SslStream_get_Position_m2568970827 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_get_Position_m2568970827_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_get_Position_m2568970827_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int64_t L_1 = InterfaceFuncInvoker0< int64_t >::Invoke(12 /* System.Int64 Mono.Security.Interface.IMonoSslStream::get_Position() */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Void System.Net.Security.SslStream::set_Position(System.Int64)
extern "C" IL2CPP_METHOD_ATTR void SslStream_set_Position_m2208958757 (SslStream_t2700741536 * __this, int64_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_set_Position_m2208958757_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_set_Position_m2208958757_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, SslStream_set_Position_m2208958757_RuntimeMethod_var);
}
}
// System.Void System.Net.Security.SslStream::SetLength(System.Int64)
extern "C" IL2CPP_METHOD_ATTR void SslStream_SetLength_m3567378519 (SslStream_t2700741536 * __this, int64_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_SetLength_m3567378519_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_SetLength_m3567378519_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
int64_t L_1 = ___value0;
NullCheck(L_0);
InterfaceActionInvoker1< int64_t >::Invoke(13 /* System.Void Mono.Security.Interface.IMonoSslStream::SetLength(System.Int64) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1);
return;
}
}
// System.Int64 System.Net.Security.SslStream::Seek(System.Int64,System.IO.SeekOrigin)
extern "C" IL2CPP_METHOD_ATTR int64_t SslStream_Seek_m2499592124 (SslStream_t2700741536 * __this, int64_t ___offset0, int32_t ___origin1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_Seek_m2499592124_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_Seek_m2499592124_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, SslStream_Seek_m2499592124_RuntimeMethod_var);
}
}
// System.Void System.Net.Security.SslStream::Flush()
extern "C" IL2CPP_METHOD_ATTR void SslStream_Flush_m1522960015 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_Flush_m1522960015_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_Flush_m1522960015_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = AuthenticatedStream_get_InnerStream_m4066215780(__this, /*hidden argument*/NULL);
NullCheck(L_0);
VirtActionInvoker0::Invoke(17 /* System.Void System.IO.Stream::Flush() */, L_0);
return;
}
}
// System.Void System.Net.Security.SslStream::CheckDisposed()
extern "C" IL2CPP_METHOD_ATTR void SslStream_CheckDisposed_m108984730 (SslStream_t2700741536 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_CheckDisposed_m108984730_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_CheckDisposed_m108984730_RuntimeMethod_var);
{
RuntimeObject* L_0 = __this->get_impl_7();
if (L_0)
{
goto IL_0013;
}
}
{
ObjectDisposedException_t21392786 * L_1 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_1, _stringLiteral3515861333, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, SslStream_CheckDisposed_m108984730_RuntimeMethod_var);
}
IL_0013:
{
return;
}
}
// System.Void System.Net.Security.SslStream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStream_Dispose_m3651067425 (SslStream_t2700741536 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_Dispose_m3651067425_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_Dispose_m3651067425_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
RuntimeObject* L_0 = __this->get_impl_7();
bool L_1 = ___disposing0;
if (!((int32_t)((int32_t)((!(((RuntimeObject*)(RuntimeObject*)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)&(int32_t)L_1)))
{
goto IL_001f;
}
}
IL_000d:
{
RuntimeObject* L_2 = __this->get_impl_7();
NullCheck(L_2);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_2);
__this->set_impl_7((RuntimeObject*)NULL);
}
IL_001f:
{
IL2CPP_LEAVE(0x29, FINALLY_0021);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0021;
}
FINALLY_0021:
{ // begin finally (depth: 1)
bool L_3 = ___disposing0;
AuthenticatedStream_Dispose_m2809320002(__this, L_3, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(33)
} // end finally (depth: 1)
IL2CPP_CLEANUP(33)
{
IL2CPP_JUMP_TBL(0x29, IL_0029)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0029:
{
return;
}
}
// System.Int32 System.Net.Security.SslStream::Read(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t SslStream_Read_m576235997 (SslStream_t2700741536 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___count2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_Read_m576235997_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_Read_m576235997_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___count2;
NullCheck(L_0);
int32_t L_4 = InterfaceFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(2 /* System.Int32 Mono.Security.Interface.IMonoSslStream::Read(System.Byte[],System.Int32,System.Int32) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3);
return L_4;
}
}
// System.Void System.Net.Security.SslStream::Write(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SslStream_Write_m462410050 (SslStream_t2700741536 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___count2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_Write_m462410050_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_Write_m462410050_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___count2;
NullCheck(L_0);
InterfaceActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(3 /* System.Void Mono.Security.Interface.IMonoSslStream::Write(System.Byte[],System.Int32,System.Int32) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3);
return;
}
}
// System.IAsyncResult System.Net.Security.SslStream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslStream_BeginRead_m2574812991 (SslStream_t2700741536 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___count2, AsyncCallback_t3962456242 * ___asyncCallback3, RuntimeObject * ___asyncState4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_BeginRead_m2574812991_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_BeginRead_m2574812991_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___count2;
AsyncCallback_t3962456242 * L_4 = ___asyncCallback3;
RuntimeObject * L_5 = ___asyncState4;
NullCheck(L_0);
RuntimeObject* L_6 = InterfaceFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(4 /* System.IAsyncResult Mono.Security.Interface.IMonoSslStream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3, L_4, L_5);
return L_6;
}
}
// System.Int32 System.Net.Security.SslStream::EndRead(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t SslStream_EndRead_m3563632709 (SslStream_t2700741536 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_EndRead_m3563632709_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_EndRead_m3563632709_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
RuntimeObject* L_1 = ___asyncResult0;
NullCheck(L_0);
int32_t L_2 = InterfaceFuncInvoker1< int32_t, RuntimeObject* >::Invoke(5 /* System.Int32 Mono.Security.Interface.IMonoSslStream::EndRead(System.IAsyncResult) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1);
return L_2;
}
}
// System.IAsyncResult System.Net.Security.SslStream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslStream_BeginWrite_m831482228 (SslStream_t2700741536 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___count2, AsyncCallback_t3962456242 * ___asyncCallback3, RuntimeObject * ___asyncState4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_BeginWrite_m831482228_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_BeginWrite_m831482228_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___count2;
AsyncCallback_t3962456242 * L_4 = ___asyncCallback3;
RuntimeObject * L_5 = ___asyncState4;
NullCheck(L_0);
RuntimeObject* L_6 = InterfaceFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(6 /* System.IAsyncResult Mono.Security.Interface.IMonoSslStream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, L_1, L_2, L_3, L_4, L_5);
return L_6;
}
}
// System.Void System.Net.Security.SslStream::EndWrite(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void SslStream_EndWrite_m4230550996 (SslStream_t2700741536 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslStream_EndWrite_m4230550996_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SslStream_EndWrite_m4230550996_RuntimeMethod_var);
{
RuntimeObject* L_0 = SslStream_get_Impl_m3149891854(__this, /*hidden argument*/NULL);
RuntimeObject* L_1 = ___asyncResult0;
NullCheck(L_0);
InterfaceActionInvoker1< RuntimeObject* >::Invoke(7 /* System.Void Mono.Security.Interface.IMonoSslStream::EndWrite(System.IAsyncResult) */, IMonoSslStream_t1819859871_il2cpp_TypeInfo_var, L_0, 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.Net.ServerCertValidationCallback::.ctor(System.Net.Security.RemoteCertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR void ServerCertValidationCallback__ctor_m3702464936 (ServerCertValidationCallback_t1488468298 * __this, RemoteCertificateValidationCallback_t3014364904 * ___validationCallback0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServerCertValidationCallback__ctor_m3702464936_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServerCertValidationCallback__ctor_m3702464936_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
RemoteCertificateValidationCallback_t3014364904 * L_0 = ___validationCallback0;
__this->set_m_ValidationCallback_0(L_0);
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t1748372627_il2cpp_TypeInfo_var);
ExecutionContext_t1748372627 * L_1 = ExecutionContext_Capture_m681135907(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Context_1(L_1);
return;
}
}
// System.Net.Security.RemoteCertificateValidationCallback System.Net.ServerCertValidationCallback::get_ValidationCallback()
extern "C" IL2CPP_METHOD_ATTR RemoteCertificateValidationCallback_t3014364904 * ServerCertValidationCallback_get_ValidationCallback_m3775939199 (ServerCertValidationCallback_t1488468298 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServerCertValidationCallback_get_ValidationCallback_m3775939199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServerCertValidationCallback_get_ValidationCallback_m3775939199_RuntimeMethod_var);
{
RemoteCertificateValidationCallback_t3014364904 * L_0 = __this->get_m_ValidationCallback_0();
return L_0;
}
}
// System.Void System.Net.ServerCertValidationCallback::Callback(System.Object)
extern "C" IL2CPP_METHOD_ATTR void ServerCertValidationCallback_Callback_m4094854916 (ServerCertValidationCallback_t1488468298 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServerCertValidationCallback_Callback_m4094854916_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServerCertValidationCallback_Callback_m4094854916_RuntimeMethod_var);
CallbackContext_t314704580 * V_0 = NULL;
{
RuntimeObject * L_0 = ___state0;
V_0 = ((CallbackContext_t314704580 *)CastclassClass((RuntimeObject*)L_0, CallbackContext_t314704580_il2cpp_TypeInfo_var));
CallbackContext_t314704580 * L_1 = V_0;
RemoteCertificateValidationCallback_t3014364904 * L_2 = __this->get_m_ValidationCallback_0();
CallbackContext_t314704580 * L_3 = V_0;
NullCheck(L_3);
RuntimeObject * L_4 = L_3->get_request_0();
CallbackContext_t314704580 * L_5 = V_0;
NullCheck(L_5);
X509Certificate_t713131622 * L_6 = L_5->get_certificate_1();
CallbackContext_t314704580 * L_7 = V_0;
NullCheck(L_7);
X509Chain_t194917408 * L_8 = L_7->get_chain_2();
CallbackContext_t314704580 * L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = L_9->get_sslPolicyErrors_3();
NullCheck(L_2);
bool L_11 = RemoteCertificateValidationCallback_Invoke_m727898444(L_2, L_4, L_6, L_8, L_10, /*hidden argument*/NULL);
NullCheck(L_1);
L_1->set_result_4(L_11);
return;
}
}
// System.Boolean System.Net.ServerCertValidationCallback::Invoke(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR bool ServerCertValidationCallback_Invoke_m970680335 (ServerCertValidationCallback_t1488468298 * __this, RuntimeObject * ___request0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServerCertValidationCallback_Invoke_m970680335_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServerCertValidationCallback_Invoke_m970680335_RuntimeMethod_var);
CallbackContext_t314704580 * V_0 = NULL;
{
ExecutionContext_t1748372627 * L_0 = __this->get_m_Context_1();
if (L_0)
{
goto IL_0019;
}
}
{
RemoteCertificateValidationCallback_t3014364904 * L_1 = __this->get_m_ValidationCallback_0();
RuntimeObject * L_2 = ___request0;
X509Certificate_t713131622 * L_3 = ___certificate1;
X509Chain_t194917408 * L_4 = ___chain2;
int32_t L_5 = ___sslPolicyErrors3;
NullCheck(L_1);
bool L_6 = RemoteCertificateValidationCallback_Invoke_m727898444(L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_0019:
{
ExecutionContext_t1748372627 * L_7 = __this->get_m_Context_1();
NullCheck(L_7);
ExecutionContext_t1748372627 * L_8 = ExecutionContext_CreateCopy_m2226522409(L_7, /*hidden argument*/NULL);
RuntimeObject * L_9 = ___request0;
X509Certificate_t713131622 * L_10 = ___certificate1;
X509Chain_t194917408 * L_11 = ___chain2;
int32_t L_12 = ___sslPolicyErrors3;
CallbackContext_t314704580 * L_13 = (CallbackContext_t314704580 *)il2cpp_codegen_object_new(CallbackContext_t314704580_il2cpp_TypeInfo_var);
CallbackContext__ctor_m463300618(L_13, L_9, L_10, L_11, L_12, /*hidden argument*/NULL);
V_0 = L_13;
intptr_t L_14 = (intptr_t)ServerCertValidationCallback_Callback_m4094854916_RuntimeMethod_var;
ContextCallback_t3823316192 * L_15 = (ContextCallback_t3823316192 *)il2cpp_codegen_object_new(ContextCallback_t3823316192_il2cpp_TypeInfo_var);
ContextCallback__ctor_m752899909(L_15, __this, L_14, /*hidden argument*/NULL);
CallbackContext_t314704580 * L_16 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t1748372627_il2cpp_TypeInfo_var);
ExecutionContext_Run_m1300924372(NULL /*static, unused*/, L_8, L_15, L_16, /*hidden argument*/NULL);
CallbackContext_t314704580 * L_17 = V_0;
NullCheck(L_17);
bool L_18 = L_17->get_result_4();
return L_18;
}
}
#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.Net.ServerCertValidationCallback/CallbackContext::.ctor(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR void CallbackContext__ctor_m463300618 (CallbackContext_t314704580 * __this, RuntimeObject * ___request0, X509Certificate_t713131622 * ___certificate1, X509Chain_t194917408 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CallbackContext__ctor_m463300618_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(CallbackContext__ctor_m463300618_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
RuntimeObject * L_0 = ___request0;
__this->set_request_0(L_0);
X509Certificate_t713131622 * L_1 = ___certificate1;
__this->set_certificate_1(L_1);
X509Chain_t194917408 * L_2 = ___chain2;
__this->set_chain_2(L_2);
int32_t L_3 = ___sslPolicyErrors3;
__this->set_sslPolicyErrors_3(L_3);
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.Net.ServicePoint::.ctor(System.Uri,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint__ctor_m4022457269 (ServicePoint_t2786966844 * __this, Uri_t100236324 * ___uri0, int32_t ___connectionLimit1, int32_t ___maxIdleTime2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint__ctor_m4022457269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint__ctor_m4022457269_RuntimeMethod_var);
{
__this->set_sendContinue_10((bool)1);
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_hostE_12(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
Uri_t100236324 * L_1 = ___uri0;
__this->set_uri_0(L_1);
int32_t L_2 = ___connectionLimit1;
__this->set_connectionLimit_1(L_2);
int32_t L_3 = ___maxIdleTime2;
__this->set_maxIdleTime_2(L_3);
__this->set_currentConnections_3(0);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_4 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_idleSince_4(L_4);
return;
}
}
// System.Uri System.Net.ServicePoint::get_Address()
extern "C" IL2CPP_METHOD_ATTR Uri_t100236324 * ServicePoint_get_Address_m4189969258 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_Address_m4189969258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_Address_m4189969258_RuntimeMethod_var);
{
Uri_t100236324 * L_0 = __this->get_uri_0();
return L_0;
}
}
// System.Int32 System.Net.ServicePoint::get_ConnectionLimit()
extern "C" IL2CPP_METHOD_ATTR int32_t ServicePoint_get_ConnectionLimit_m3279274329 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_ConnectionLimit_m3279274329_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_ConnectionLimit_m3279274329_RuntimeMethod_var);
{
int32_t L_0 = __this->get_connectionLimit_1();
return L_0;
}
}
// System.Version System.Net.ServicePoint::get_ProtocolVersion()
extern "C" IL2CPP_METHOD_ATTR Version_t3456873960 * ServicePoint_get_ProtocolVersion_m2707266366 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_ProtocolVersion_m2707266366_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_ProtocolVersion_m2707266366_RuntimeMethod_var);
{
Version_t3456873960 * L_0 = __this->get_protocolVersion_6();
return L_0;
}
}
// System.Void System.Net.ServicePoint::set_Expect100Continue(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_Expect100Continue_m1237635858 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_set_Expect100Continue_m1237635858_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_set_Expect100Continue_m1237635858_RuntimeMethod_var);
{
bool L_0 = ___value0;
ServicePoint_set_SendContinue_m3004714502(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Net.ServicePoint::get_UseNagleAlgorithm()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UseNagleAlgorithm_m633218140 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_UseNagleAlgorithm_m633218140_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_UseNagleAlgorithm_m633218140_RuntimeMethod_var);
{
bool L_0 = __this->get_useNagle_13();
return L_0;
}
}
// System.Void System.Net.ServicePoint::set_UseNagleAlgorithm(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UseNagleAlgorithm_m1374731041 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_set_UseNagleAlgorithm_m1374731041_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_set_UseNagleAlgorithm_m1374731041_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_useNagle_13(L_0);
return;
}
}
// System.Boolean System.Net.ServicePoint::get_SendContinue()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_SendContinue_m3018494224 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_SendContinue_m3018494224_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_SendContinue_m3018494224_RuntimeMethod_var);
{
bool L_0 = __this->get_sendContinue_10();
if (!L_0)
{
goto IL_0029;
}
}
{
Version_t3456873960 * L_1 = __this->get_protocolVersion_6();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_2 = Version_op_Equality_m3804852517(NULL /*static, unused*/, L_1, (Version_t3456873960 *)NULL, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0027;
}
}
{
Version_t3456873960 * L_3 = __this->get_protocolVersion_6();
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_4 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_5 = Version_op_Equality_m3804852517(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
IL_0027:
{
return (bool)1;
}
IL_0029:
{
return (bool)0;
}
}
// System.Void System.Net.ServicePoint::set_SendContinue(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_SendContinue_m3004714502 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_set_SendContinue_m3004714502_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_set_SendContinue_m3004714502_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_sendContinue_10(L_0);
return;
}
}
// System.Void System.Net.ServicePoint::SetTcpKeepAlive(System.Boolean,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_SetTcpKeepAlive_m1397995104 (ServicePoint_t2786966844 * __this, bool ___enabled0, int32_t ___keepAliveTime1, int32_t ___keepAliveInterval2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_SetTcpKeepAlive_m1397995104_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_SetTcpKeepAlive_m1397995104_RuntimeMethod_var);
{
bool L_0 = ___enabled0;
if (!L_0)
{
goto IL_002b;
}
}
{
int32_t L_1 = ___keepAliveTime1;
if ((((int32_t)L_1) > ((int32_t)0)))
{
goto IL_0017;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_2 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_2, _stringLiteral213775175, _stringLiteral2276030409, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, ServicePoint_SetTcpKeepAlive_m1397995104_RuntimeMethod_var);
}
IL_0017:
{
int32_t L_3 = ___keepAliveInterval2;
if ((((int32_t)L_3) > ((int32_t)0)))
{
goto IL_002b;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_4 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_4, _stringLiteral2180416045, _stringLiteral2276030409, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, ServicePoint_SetTcpKeepAlive_m1397995104_RuntimeMethod_var);
}
IL_002b:
{
bool L_5 = ___enabled0;
__this->set_tcp_keepalive_15(L_5);
int32_t L_6 = ___keepAliveTime1;
__this->set_tcp_keepalive_time_16(L_6);
int32_t L_7 = ___keepAliveInterval2;
__this->set_tcp_keepalive_interval_17(L_7);
return;
}
}
// System.Void System.Net.ServicePoint::KeepAliveSetup(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_KeepAliveSetup_m1439766054 (ServicePoint_t2786966844 * __this, Socket_t1119025450 * ___socket0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_KeepAliveSetup_m1439766054_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_KeepAliveSetup_m1439766054_RuntimeMethod_var);
ByteU5BU5D_t4116647657* V_0 = NULL;
ByteU5BU5D_t4116647657* G_B4_0 = NULL;
ByteU5BU5D_t4116647657* G_B3_0 = NULL;
int32_t G_B5_0 = 0;
ByteU5BU5D_t4116647657* G_B5_1 = NULL;
{
bool L_0 = __this->get_tcp_keepalive_15();
if (L_0)
{
goto IL_0009;
}
}
{
return;
}
IL_0009:
{
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)12));
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = V_0;
bool L_3 = __this->get_tcp_keepalive_15();
G_B3_0 = L_2;
if (L_3)
{
G_B4_0 = L_2;
goto IL_001d;
}
}
{
G_B5_0 = 0;
G_B5_1 = G_B3_0;
goto IL_001e;
}
IL_001d:
{
G_B5_0 = 1;
G_B5_1 = G_B4_0;
}
IL_001e:
{
ServicePoint_PutBytes_m1954185421(NULL /*static, unused*/, G_B5_1, G_B5_0, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = V_0;
int32_t L_5 = __this->get_tcp_keepalive_time_16();
ServicePoint_PutBytes_m1954185421(NULL /*static, unused*/, L_4, L_5, 4, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_6 = V_0;
int32_t L_7 = __this->get_tcp_keepalive_interval_17();
ServicePoint_PutBytes_m1954185421(NULL /*static, unused*/, L_6, L_7, 8, /*hidden argument*/NULL);
Socket_t1119025450 * L_8 = ___socket0;
ByteU5BU5D_t4116647657* L_9 = V_0;
NullCheck(L_8);
Socket_IOControl_m2060869247(L_8, (((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-1744830460))))))), L_9, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.ServicePoint::PutBytes(System.Byte[],System.UInt32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_PutBytes_m1954185421 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bytes0, uint32_t ___v1, int32_t ___offset2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_PutBytes_m1954185421_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_PutBytes_m1954185421_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3118986983_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3118986983_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_t3118986983_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (!L_0)
{
goto IL_0042;
}
}
{
ByteU5BU5D_t4116647657* L_1 = ___bytes0;
int32_t L_2 = ___offset2;
uint32_t L_3 = ___v1;
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(L_2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t4116647657* L_4 = ___bytes0;
int32_t L_5 = ___offset2;
uint32_t L_6 = ___v1;
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_6&(int32_t)((int32_t)65280)))>>8))))));
ByteU5BU5D_t4116647657* L_7 = ___bytes0;
int32_t L_8 = ___offset2;
uint32_t L_9 = ___v1;
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)2))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_9&(int32_t)((int32_t)16711680)))>>((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_10 = ___bytes0;
int32_t L_11 = ___offset2;
uint32_t L_12 = ___v1;
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)3))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_12&(int32_t)((int32_t)-16777216)))>>((int32_t)24)))))));
return;
}
IL_0042:
{
ByteU5BU5D_t4116647657* L_13 = ___bytes0;
int32_t L_14 = ___offset2;
uint32_t L_15 = ___v1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)3))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_15&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t4116647657* L_16 = ___bytes0;
int32_t L_17 = ___offset2;
uint32_t L_18 = ___v1;
NullCheck(L_16);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)2))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_18&(int32_t)((int32_t)65280)))>>8))))));
ByteU5BU5D_t4116647657* L_19 = ___bytes0;
int32_t L_20 = ___offset2;
uint32_t L_21 = ___v1;
NullCheck(L_19);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_21&(int32_t)((int32_t)16711680)))>>((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_22 = ___bytes0;
int32_t L_23 = ___offset2;
uint32_t L_24 = ___v1;
NullCheck(L_22);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(L_23), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)((int32_t)((int32_t)L_24&(int32_t)((int32_t)-16777216)))>>((int32_t)24)))))));
return;
}
}
// System.Boolean System.Net.ServicePoint::get_UsesProxy()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UsesProxy_m174711556 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_UsesProxy_m174711556_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_UsesProxy_m174711556_RuntimeMethod_var);
{
bool L_0 = __this->get_usesProxy_8();
return L_0;
}
}
// System.Void System.Net.ServicePoint::set_UsesProxy(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UsesProxy_m2758604003 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_set_UsesProxy_m2758604003_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_set_UsesProxy_m2758604003_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_usesProxy_8(L_0);
return;
}
}
// System.Boolean System.Net.ServicePoint::get_UseConnect()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_UseConnect_m2085353846 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_UseConnect_m2085353846_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_UseConnect_m2085353846_RuntimeMethod_var);
{
bool L_0 = __this->get_useConnect_11();
return L_0;
}
}
// System.Void System.Net.ServicePoint::set_UseConnect(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_set_UseConnect_m1377758489 (ServicePoint_t2786966844 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_set_UseConnect_m1377758489_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_set_UseConnect_m1377758489_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_useConnect_11(L_0);
return;
}
}
// System.Net.WebConnectionGroup System.Net.ServicePoint::GetConnectionGroup(System.String)
extern "C" IL2CPP_METHOD_ATTR WebConnectionGroup_t1712379988 * ServicePoint_GetConnectionGroup_m2497020374 (ServicePoint_t2786966844 * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_GetConnectionGroup_m2497020374_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_GetConnectionGroup_m2497020374_RuntimeMethod_var);
WebConnectionGroup_t1712379988 * V_0 = NULL;
{
String_t* L_0 = ___name0;
if (L_0)
{
goto IL_000a;
}
}
{
___name0 = _stringLiteral757602046;
}
IL_000a:
{
Dictionary_2_t1497636287 * L_1 = __this->get_groups_9();
if (!L_1)
{
goto IL_0024;
}
}
{
Dictionary_2_t1497636287 * L_2 = __this->get_groups_9();
String_t* L_3 = ___name0;
NullCheck(L_2);
bool L_4 = Dictionary_2_TryGetValue_m1280158263(L_2, L_3, (WebConnectionGroup_t1712379988 **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m1280158263_RuntimeMethod_var);
if (!L_4)
{
goto IL_0024;
}
}
{
WebConnectionGroup_t1712379988 * L_5 = V_0;
return L_5;
}
IL_0024:
{
String_t* L_6 = ___name0;
WebConnectionGroup_t1712379988 * L_7 = (WebConnectionGroup_t1712379988 *)il2cpp_codegen_object_new(WebConnectionGroup_t1712379988_il2cpp_TypeInfo_var);
WebConnectionGroup__ctor_m4209428564(L_7, __this, L_6, /*hidden argument*/NULL);
V_0 = L_7;
WebConnectionGroup_t1712379988 * L_8 = V_0;
intptr_t L_9 = (intptr_t)ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977_RuntimeMethod_var;
EventHandler_t1348719766 * L_10 = (EventHandler_t1348719766 *)il2cpp_codegen_object_new(EventHandler_t1348719766_il2cpp_TypeInfo_var);
EventHandler__ctor_m3449229857(L_10, __this, L_9, /*hidden argument*/NULL);
NullCheck(L_8);
WebConnectionGroup_add_ConnectionClosed_m43227740(L_8, L_10, /*hidden argument*/NULL);
Dictionary_2_t1497636287 * L_11 = __this->get_groups_9();
if (L_11)
{
goto IL_0051;
}
}
{
Dictionary_2_t1497636287 * L_12 = (Dictionary_2_t1497636287 *)il2cpp_codegen_object_new(Dictionary_2_t1497636287_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m1434311162(L_12, /*hidden argument*/Dictionary_2__ctor_m1434311162_RuntimeMethod_var);
__this->set_groups_9(L_12);
}
IL_0051:
{
Dictionary_2_t1497636287 * L_13 = __this->get_groups_9();
String_t* L_14 = ___name0;
WebConnectionGroup_t1712379988 * L_15 = V_0;
NullCheck(L_13);
Dictionary_2_Add_m4174132196(L_13, L_14, L_15, /*hidden argument*/Dictionary_2_Add_m4174132196_RuntimeMethod_var);
WebConnectionGroup_t1712379988 * L_16 = V_0;
return L_16;
}
}
// System.Void System.Net.ServicePoint::RemoveConnectionGroup(System.Net.WebConnectionGroup)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_RemoveConnectionGroup_m1619826718 (ServicePoint_t2786966844 * __this, WebConnectionGroup_t1712379988 * ___group0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_RemoveConnectionGroup_m1619826718_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_RemoveConnectionGroup_m1619826718_RuntimeMethod_var);
{
Dictionary_2_t1497636287 * L_0 = __this->get_groups_9();
if (!L_0)
{
goto IL_0015;
}
}
{
Dictionary_2_t1497636287 * L_1 = __this->get_groups_9();
NullCheck(L_1);
int32_t L_2 = Dictionary_2_get_Count_m872003180(L_1, /*hidden argument*/Dictionary_2_get_Count_m872003180_RuntimeMethod_var);
if (L_2)
{
goto IL_001b;
}
}
IL_0015:
{
InvalidOperationException_t56020091 * L_3 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m2734335978(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ServicePoint_RemoveConnectionGroup_m1619826718_RuntimeMethod_var);
}
IL_001b:
{
Dictionary_2_t1497636287 * L_4 = __this->get_groups_9();
WebConnectionGroup_t1712379988 * L_5 = ___group0;
NullCheck(L_5);
String_t* L_6 = WebConnectionGroup_get_Name_m837259254(L_5, /*hidden argument*/NULL);
NullCheck(L_4);
Dictionary_2_Remove_m2793562534(L_4, L_6, /*hidden argument*/Dictionary_2_Remove_m2793562534_RuntimeMethod_var);
return;
}
}
// System.Boolean System.Net.ServicePoint::CheckAvailableForRecycling(System.DateTime&)
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_CheckAvailableForRecycling_m2511650943 (ServicePoint_t2786966844 * __this, DateTime_t3738529785 * ___outIdleSince0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_CheckAvailableForRecycling_m2511650943_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_CheckAvailableForRecycling_m2511650943_RuntimeMethod_var);
TimeSpan_t881159249 V_0;
memset(&V_0, 0, sizeof(V_0));
List_1_t3184454730 * V_1 = NULL;
List_1_t3184454730 * V_2 = NULL;
ServicePoint_t2786966844 * V_3 = NULL;
bool V_4 = false;
bool V_5 = false;
Enumerator_t778731311 V_6;
memset(&V_6, 0, sizeof(V_6));
WebConnectionGroup_t1712379988 * V_7 = NULL;
WebConnectionGroup_t1712379988 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
DateTime_t3738529785 * L_0 = ___outIdleSince0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_1 = ((DateTime_t3738529785_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t3738529785_il2cpp_TypeInfo_var))->get_MinValue_31();
*(DateTime_t3738529785 *)L_0 = L_1;
V_1 = (List_1_t3184454730 *)NULL;
V_2 = (List_1_t3184454730 *)NULL;
V_3 = __this;
V_4 = (bool)0;
}
IL_0014:
try
{ // begin try (depth: 1)
{
ServicePoint_t2786966844 * L_2 = V_3;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_2, (bool*)(&V_4), /*hidden argument*/NULL);
Dictionary_2_t1497636287 * L_3 = __this->get_groups_9();
if (!L_3)
{
goto IL_0031;
}
}
IL_0024:
{
Dictionary_2_t1497636287 * L_4 = __this->get_groups_9();
NullCheck(L_4);
int32_t L_5 = Dictionary_2_get_Count_m872003180(L_4, /*hidden argument*/Dictionary_2_get_Count_m872003180_RuntimeMethod_var);
if (L_5)
{
goto IL_0044;
}
}
IL_0031:
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_6 = ((DateTime_t3738529785_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t3738529785_il2cpp_TypeInfo_var))->get_MinValue_31();
__this->set_idleSince_4(L_6);
V_5 = (bool)1;
IL2CPP_LEAVE(0x176, FINALLY_0064);
}
IL_0044:
{
int32_t L_7 = __this->get_maxIdleTime_2();
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t881159249_il2cpp_TypeInfo_var);
TimeSpan_t881159249 L_8 = TimeSpan_FromMilliseconds_m579366253(NULL /*static, unused*/, (((double)((double)L_7))), /*hidden argument*/NULL);
V_0 = L_8;
Dictionary_2_t1497636287 * L_9 = __this->get_groups_9();
NullCheck(L_9);
ValueCollection_t3213680605 * L_10 = Dictionary_2_get_Values_m1588207892(L_9, /*hidden argument*/Dictionary_2_get_Values_m1588207892_RuntimeMethod_var);
List_1_t3184454730 * L_11 = (List_1_t3184454730 *)il2cpp_codegen_object_new(List_1_t3184454730_il2cpp_TypeInfo_var);
List_1__ctor_m3955212303(L_11, L_10, /*hidden argument*/List_1__ctor_m3955212303_RuntimeMethod_var);
V_1 = L_11;
IL2CPP_LEAVE(0x6F, FINALLY_0064);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0064;
}
FINALLY_0064:
{ // begin finally (depth: 1)
{
bool L_12 = V_4;
if (!L_12)
{
goto IL_006e;
}
}
IL_0068:
{
ServicePoint_t2786966844 * L_13 = V_3;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
}
IL_006e:
{
IL2CPP_END_FINALLY(100)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(100)
{
IL2CPP_JUMP_TBL(0x176, IL_0176)
IL2CPP_JUMP_TBL(0x6F, IL_006f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_006f:
{
List_1_t3184454730 * L_14 = V_1;
NullCheck(L_14);
Enumerator_t778731311 L_15 = List_1_GetEnumerator_m3502109974(L_14, /*hidden argument*/List_1_GetEnumerator_m3502109974_RuntimeMethod_var);
V_6 = L_15;
}
IL_0077:
try
{ // begin try (depth: 1)
{
goto IL_009e;
}
IL_0079:
{
WebConnectionGroup_t1712379988 * L_16 = Enumerator_get_Current_m1256489352((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_get_Current_m1256489352_RuntimeMethod_var);
V_7 = L_16;
WebConnectionGroup_t1712379988 * L_17 = V_7;
TimeSpan_t881159249 L_18 = V_0;
DateTime_t3738529785 * L_19 = ___outIdleSince0;
NullCheck(L_17);
bool L_20 = WebConnectionGroup_TryRecycle_m3555446477(L_17, L_18, (DateTime_t3738529785 *)L_19, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_009e;
}
}
IL_008d:
{
List_1_t3184454730 * L_21 = V_2;
if (L_21)
{
goto IL_0096;
}
}
IL_0090:
{
List_1_t3184454730 * L_22 = (List_1_t3184454730 *)il2cpp_codegen_object_new(List_1_t3184454730_il2cpp_TypeInfo_var);
List_1__ctor_m4249390948(L_22, /*hidden argument*/List_1__ctor_m4249390948_RuntimeMethod_var);
V_2 = L_22;
}
IL_0096:
{
List_1_t3184454730 * L_23 = V_2;
WebConnectionGroup_t1712379988 * L_24 = V_7;
NullCheck(L_23);
List_1_Add_m3228098512(L_23, L_24, /*hidden argument*/List_1_Add_m3228098512_RuntimeMethod_var);
}
IL_009e:
{
bool L_25 = Enumerator_MoveNext_m993890802((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_MoveNext_m993890802_RuntimeMethod_var);
if (L_25)
{
goto IL_0079;
}
}
IL_00a7:
{
IL2CPP_LEAVE(0xB7, FINALLY_00a9);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a9;
}
FINALLY_00a9:
{ // begin finally (depth: 1)
Enumerator_Dispose_m721246676((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_Dispose_m721246676_RuntimeMethod_var);
IL2CPP_END_FINALLY(169)
} // end finally (depth: 1)
IL2CPP_CLEANUP(169)
{
IL2CPP_JUMP_TBL(0xB7, IL_00b7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b7:
{
V_3 = __this;
V_4 = (bool)0;
}
IL_00bc:
try
{ // begin try (depth: 1)
{
ServicePoint_t2786966844 * L_26 = V_3;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_26, (bool*)(&V_4), /*hidden argument*/NULL);
DateTime_t3738529785 * L_27 = ___outIdleSince0;
__this->set_idleSince_4((*(DateTime_t3738529785 *)L_27));
List_1_t3184454730 * L_28 = V_2;
if (!L_28)
{
goto IL_0123;
}
}
IL_00d3:
{
Dictionary_2_t1497636287 * L_29 = __this->get_groups_9();
if (!L_29)
{
goto IL_0123;
}
}
IL_00db:
{
List_1_t3184454730 * L_30 = V_2;
NullCheck(L_30);
Enumerator_t778731311 L_31 = List_1_GetEnumerator_m3502109974(L_30, /*hidden argument*/List_1_GetEnumerator_m3502109974_RuntimeMethod_var);
V_6 = L_31;
}
IL_00e3:
try
{ // begin try (depth: 2)
{
goto IL_010a;
}
IL_00e5:
{
WebConnectionGroup_t1712379988 * L_32 = Enumerator_get_Current_m1256489352((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_get_Current_m1256489352_RuntimeMethod_var);
V_8 = L_32;
Dictionary_2_t1497636287 * L_33 = __this->get_groups_9();
WebConnectionGroup_t1712379988 * L_34 = V_8;
NullCheck(L_34);
String_t* L_35 = WebConnectionGroup_get_Name_m837259254(L_34, /*hidden argument*/NULL);
NullCheck(L_33);
bool L_36 = Dictionary_2_ContainsKey_m1518347499(L_33, L_35, /*hidden argument*/Dictionary_2_ContainsKey_m1518347499_RuntimeMethod_var);
if (!L_36)
{
goto IL_010a;
}
}
IL_0102:
{
WebConnectionGroup_t1712379988 * L_37 = V_8;
ServicePoint_RemoveConnectionGroup_m1619826718(__this, L_37, /*hidden argument*/NULL);
}
IL_010a:
{
bool L_38 = Enumerator_MoveNext_m993890802((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_MoveNext_m993890802_RuntimeMethod_var);
if (L_38)
{
goto IL_00e5;
}
}
IL_0113:
{
IL2CPP_LEAVE(0x123, FINALLY_0115);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0115;
}
FINALLY_0115:
{ // begin finally (depth: 2)
Enumerator_Dispose_m721246676((Enumerator_t778731311 *)(&V_6), /*hidden argument*/Enumerator_Dispose_m721246676_RuntimeMethod_var);
IL2CPP_END_FINALLY(277)
} // end finally (depth: 2)
IL2CPP_CLEANUP(277)
{
IL2CPP_JUMP_TBL(0x123, IL_0123)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0123:
{
Dictionary_2_t1497636287 * L_39 = __this->get_groups_9();
if (!L_39)
{
goto IL_013f;
}
}
IL_012b:
{
Dictionary_2_t1497636287 * L_40 = __this->get_groups_9();
NullCheck(L_40);
int32_t L_41 = Dictionary_2_get_Count_m872003180(L_40, /*hidden argument*/Dictionary_2_get_Count_m872003180_RuntimeMethod_var);
if (L_41)
{
goto IL_013f;
}
}
IL_0138:
{
__this->set_groups_9((Dictionary_2_t1497636287 *)NULL);
}
IL_013f:
{
Dictionary_2_t1497636287 * L_42 = __this->get_groups_9();
if (L_42)
{
goto IL_0166;
}
}
IL_0147:
{
Timer_t716671026 * L_43 = __this->get_idleTimer_18();
if (!L_43)
{
goto IL_0161;
}
}
IL_014f:
{
Timer_t716671026 * L_44 = __this->get_idleTimer_18();
NullCheck(L_44);
Timer_Dispose_m671628881(L_44, /*hidden argument*/NULL);
__this->set_idleTimer_18((Timer_t716671026 *)NULL);
}
IL_0161:
{
V_5 = (bool)1;
IL2CPP_LEAVE(0x176, FINALLY_016b);
}
IL_0166:
{
V_5 = (bool)0;
IL2CPP_LEAVE(0x176, FINALLY_016b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_016b;
}
FINALLY_016b:
{ // begin finally (depth: 1)
{
bool L_45 = V_4;
if (!L_45)
{
goto IL_0175;
}
}
IL_016f:
{
ServicePoint_t2786966844 * L_46 = V_3;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_46, /*hidden argument*/NULL);
}
IL_0175:
{
IL2CPP_END_FINALLY(363)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(363)
{
IL2CPP_JUMP_TBL(0x176, IL_0176)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0176:
{
bool L_47 = V_5;
return L_47;
}
}
// System.Void System.Net.ServicePoint::IdleTimerCallback(System.Object)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_IdleTimerCallback_m2062114730 (ServicePoint_t2786966844 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_IdleTimerCallback_m2062114730_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_IdleTimerCallback_m2062114730_RuntimeMethod_var);
DateTime_t3738529785 V_0;
memset(&V_0, 0, sizeof(V_0));
{
ServicePoint_CheckAvailableForRecycling_m2511650943(__this, (DateTime_t3738529785 *)(&V_0), /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Net.ServicePoint::get_HasTimedOut()
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_get_HasTimedOut_m2870516460 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_HasTimedOut_m2870516460_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_HasTimedOut_m2870516460_RuntimeMethod_var);
int32_t V_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
int32_t L_0 = ServicePointManager_get_DnsRefreshTimeout_m2777228149(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)(-1))))
{
goto IL_0027;
}
}
{
DateTime_t3738529785 L_2 = __this->get_lastDnsResolve_5();
int32_t L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_t881159249_il2cpp_TypeInfo_var);
TimeSpan_t881159249 L_4 = TimeSpan_FromMilliseconds_m579366253(NULL /*static, unused*/, (((double)((double)L_3))), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_5 = DateTime_op_Addition_m1857121695(NULL /*static, unused*/, L_2, L_4, /*hidden argument*/NULL);
DateTime_t3738529785 L_6 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_7 = DateTime_op_LessThan_m2497205152(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0027:
{
return (bool)0;
}
}
// System.Net.IPHostEntry System.Net.ServicePoint::get_HostEntry()
extern "C" IL2CPP_METHOD_ATTR IPHostEntry_t263743900 * ServicePoint_get_HostEntry_m1249515277 (ServicePoint_t2786966844 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_get_HostEntry_m1249515277_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_get_HostEntry_m1249515277_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
bool V_1 = false;
String_t* V_2 = NULL;
IPHostEntry_t263743900 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_hostE_12();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
Uri_t100236324 * L_2 = __this->get_uri_0();
NullCheck(L_2);
String_t* L_3 = Uri_get_Host_m42857288(L_2, /*hidden argument*/NULL);
V_2 = L_3;
Uri_t100236324 * L_4 = __this->get_uri_0();
NullCheck(L_4);
int32_t L_5 = Uri_get_HostNameType_m1143766868(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) == ((int32_t)4)))
{
goto IL_0039;
}
}
IL_002b:
{
Uri_t100236324 * L_6 = __this->get_uri_0();
NullCheck(L_6);
int32_t L_7 = Uri_get_HostNameType_m1143766868(L_6, /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)3))))
{
goto IL_0099;
}
}
IL_0039:
{
IPHostEntry_t263743900 * L_8 = __this->get_host_7();
if (!L_8)
{
goto IL_004d;
}
}
IL_0041:
{
IPHostEntry_t263743900 * L_9 = __this->get_host_7();
V_3 = L_9;
IL2CPP_LEAVE(0xE1, FINALLY_00d0);
}
IL_004d:
{
Uri_t100236324 * L_10 = __this->get_uri_0();
NullCheck(L_10);
int32_t L_11 = Uri_get_HostNameType_m1143766868(L_10, /*hidden argument*/NULL);
if ((!(((uint32_t)L_11) == ((uint32_t)4))))
{
goto IL_006b;
}
}
IL_005b:
{
String_t* L_12 = V_2;
String_t* L_13 = V_2;
NullCheck(L_13);
int32_t L_14 = String_get_Length_m3847582255(L_13, /*hidden argument*/NULL);
NullCheck(L_12);
String_t* L_15 = String_Substring_m1610150815(L_12, 1, ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)2)), /*hidden argument*/NULL);
V_2 = L_15;
}
IL_006b:
{
IPHostEntry_t263743900 * L_16 = (IPHostEntry_t263743900 *)il2cpp_codegen_object_new(IPHostEntry_t263743900_il2cpp_TypeInfo_var);
IPHostEntry__ctor_m3185986391(L_16, /*hidden argument*/NULL);
__this->set_host_7(L_16);
IPHostEntry_t263743900 * L_17 = __this->get_host_7();
IPAddressU5BU5D_t596328627* L_18 = (IPAddressU5BU5D_t596328627*)SZArrayNew(IPAddressU5BU5D_t596328627_il2cpp_TypeInfo_var, (uint32_t)1);
IPAddressU5BU5D_t596328627* L_19 = L_18;
String_t* L_20 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_21 = IPAddress_Parse_m2200822423(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_21);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(0), (IPAddress_t241777590 *)L_21);
NullCheck(L_17);
IPHostEntry_set_AddressList_m895991257(L_17, L_19, /*hidden argument*/NULL);
IPHostEntry_t263743900 * L_22 = __this->get_host_7();
V_3 = L_22;
IL2CPP_LEAVE(0xE1, FINALLY_00d0);
}
IL_0099:
{
bool L_23 = ServicePoint_get_HasTimedOut_m2870516460(__this, /*hidden argument*/NULL);
if (L_23)
{
goto IL_00b2;
}
}
IL_00a1:
{
IPHostEntry_t263743900 * L_24 = __this->get_host_7();
if (!L_24)
{
goto IL_00b2;
}
}
IL_00a9:
{
IPHostEntry_t263743900 * L_25 = __this->get_host_7();
V_3 = L_25;
IL2CPP_LEAVE(0xE1, FINALLY_00d0);
}
IL_00b2:
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_26 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_lastDnsResolve_5(L_26);
}
IL_00bd:
try
{ // begin try (depth: 2)
String_t* L_27 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Dns_t384099571_il2cpp_TypeInfo_var);
IPHostEntry_t263743900 * L_28 = Dns_GetHostEntry_m2165252375(NULL /*static, unused*/, L_27, /*hidden argument*/NULL);
__this->set_host_7(L_28);
IL2CPP_LEAVE(0xDA, FINALLY_00d0);
} // end try (depth: 2)
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_00cb;
throw e;
}
CATCH_00cb:
{ // begin catch(System.Object)
V_3 = (IPHostEntry_t263743900 *)NULL;
IL2CPP_LEAVE(0xE1, FINALLY_00d0);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00d0;
}
FINALLY_00d0:
{ // begin finally (depth: 1)
{
bool L_29 = V_1;
if (!L_29)
{
goto IL_00d9;
}
}
IL_00d3:
{
RuntimeObject * L_30 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_30, /*hidden argument*/NULL);
}
IL_00d9:
{
IL2CPP_END_FINALLY(208)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(208)
{
IL2CPP_JUMP_TBL(0xE1, IL_00e1)
IL2CPP_JUMP_TBL(0xDA, IL_00da)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00da:
{
IPHostEntry_t263743900 * L_31 = __this->get_host_7();
return L_31;
}
IL_00e1:
{
IPHostEntry_t263743900 * L_32 = V_3;
return L_32;
}
}
// System.Void System.Net.ServicePoint::SetVersion(System.Version)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_SetVersion_m218713483 (ServicePoint_t2786966844 * __this, Version_t3456873960 * ___version0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_SetVersion_m218713483_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_SetVersion_m218713483_RuntimeMethod_var);
{
Version_t3456873960 * L_0 = ___version0;
__this->set_protocolVersion_6(L_0);
return;
}
}
// System.EventHandler System.Net.ServicePoint::SendRequest(System.Net.HttpWebRequest,System.String)
extern "C" IL2CPP_METHOD_ATTR EventHandler_t1348719766 * ServicePoint_SendRequest_m1850173641 (ServicePoint_t2786966844 * __this, HttpWebRequest_t1669436515 * ___request0, String_t* ___groupName1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_SendRequest_m1850173641_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_SendRequest_m1850173641_RuntimeMethod_var);
WebConnection_t3982808322 * V_0 = NULL;
ServicePoint_t2786966844 * V_1 = NULL;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_1 = __this;
V_2 = (bool)0;
}
IL_0004:
try
{ // begin try (depth: 1)
{
ServicePoint_t2786966844 * L_0 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_2), /*hidden argument*/NULL);
String_t* L_1 = ___groupName1;
WebConnectionGroup_t1712379988 * L_2 = ServicePoint_GetConnectionGroup_m2497020374(__this, L_1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_3 = ___request0;
NullCheck(L_2);
WebConnection_t3982808322 * L_4 = WebConnectionGroup_GetConnection_m3713157279(L_2, L_3, (bool*)(&V_3), /*hidden argument*/NULL);
V_0 = L_4;
bool L_5 = V_3;
if (!L_5)
{
goto IL_0059;
}
}
IL_001f:
{
int32_t L_6 = __this->get_currentConnections_3();
__this->set_currentConnections_3(((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)));
Timer_t716671026 * L_7 = __this->get_idleTimer_18();
if (L_7)
{
goto IL_0059;
}
}
IL_0035:
{
intptr_t L_8 = (intptr_t)ServicePoint_IdleTimerCallback_m2062114730_RuntimeMethod_var;
TimerCallback_t1438585625 * L_9 = (TimerCallback_t1438585625 *)il2cpp_codegen_object_new(TimerCallback_t1438585625_il2cpp_TypeInfo_var);
TimerCallback__ctor_m3981479132(L_9, __this, L_8, /*hidden argument*/NULL);
int32_t L_10 = __this->get_maxIdleTime_2();
int32_t L_11 = __this->get_maxIdleTime_2();
Timer_t716671026 * L_12 = (Timer_t716671026 *)il2cpp_codegen_object_new(Timer_t716671026_il2cpp_TypeInfo_var);
Timer__ctor_m3853467752(L_12, L_9, NULL, L_10, L_11, /*hidden argument*/NULL);
__this->set_idleTimer_18(L_12);
}
IL_0059:
{
IL2CPP_LEAVE(0x65, FINALLY_005b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005b;
}
FINALLY_005b:
{ // begin finally (depth: 1)
{
bool L_13 = V_2;
if (!L_13)
{
goto IL_0064;
}
}
IL_005e:
{
ServicePoint_t2786966844 * L_14 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
}
IL_0064:
{
IL2CPP_END_FINALLY(91)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(91)
{
IL2CPP_JUMP_TBL(0x65, IL_0065)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0065:
{
WebConnection_t3982808322 * L_15 = V_0;
HttpWebRequest_t1669436515 * L_16 = ___request0;
NullCheck(L_15);
EventHandler_t1348719766 * L_17 = WebConnection_SendRequest_m4284869211(L_15, L_16, /*hidden argument*/NULL);
return L_17;
}
}
// System.Void System.Net.ServicePoint::UpdateServerCertificate(System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_UpdateServerCertificate_m400846069 (ServicePoint_t2786966844 * __this, X509Certificate_t713131622 * ___certificate0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_UpdateServerCertificate_m400846069_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_UpdateServerCertificate_m400846069_RuntimeMethod_var);
{
X509Certificate_t713131622 * L_0 = ___certificate0;
if (!L_0)
{
goto IL_0010;
}
}
{
X509Certificate_t713131622 * L_1 = ___certificate0;
NullCheck(L_1);
ByteU5BU5D_t4116647657* L_2 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(13 /* System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::GetRawCertData() */, L_1);
__this->set_m_ServerCertificateOrBytes_19((RuntimeObject *)L_2);
return;
}
IL_0010:
{
__this->set_m_ServerCertificateOrBytes_19(NULL);
return;
}
}
// System.Void System.Net.ServicePoint::UpdateClientCertificate(System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_UpdateClientCertificate_m3591076172 (ServicePoint_t2786966844 * __this, X509Certificate_t713131622 * ___certificate0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_UpdateClientCertificate_m3591076172_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_UpdateClientCertificate_m3591076172_RuntimeMethod_var);
{
X509Certificate_t713131622 * L_0 = ___certificate0;
if (!L_0)
{
goto IL_0010;
}
}
{
X509Certificate_t713131622 * L_1 = ___certificate0;
NullCheck(L_1);
ByteU5BU5D_t4116647657* L_2 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(13 /* System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::GetRawCertData() */, L_1);
__this->set_m_ClientCertificateOrBytes_20((RuntimeObject *)L_2);
return;
}
IL_0010:
{
__this->set_m_ClientCertificateOrBytes_20(NULL);
return;
}
}
// System.Boolean System.Net.ServicePoint::CallEndPointDelegate(System.Net.Sockets.Socket,System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR bool ServicePoint_CallEndPointDelegate_m2947487287 (ServicePoint_t2786966844 * __this, Socket_t1119025450 * ___sock0, IPEndPoint_t3791887218 * ___remote1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_CallEndPointDelegate_m2947487287_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_CallEndPointDelegate_m2947487287_RuntimeMethod_var);
int32_t V_0 = 0;
IPEndPoint_t3791887218 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
BindIPEndPoint_t1029027275 * L_0 = __this->get_endPointCallback_14();
if (L_0)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
V_0 = 0;
}
IL_000c:
{
V_1 = (IPEndPoint_t3791887218 *)NULL;
}
IL_000e:
try
{ // begin try (depth: 1)
BindIPEndPoint_t1029027275 * L_1 = __this->get_endPointCallback_14();
IPEndPoint_t3791887218 * L_2 = ___remote1;
int32_t L_3 = V_0;
NullCheck(L_1);
IPEndPoint_t3791887218 * L_4 = BindIPEndPoint_Invoke_m1788714159(L_1, __this, L_2, L_3, /*hidden argument*/NULL);
V_1 = L_4;
goto IL_0024;
} // 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_001f;
throw e;
}
CATCH_001f:
{ // begin catch(System.Object)
V_2 = (bool)0;
goto IL_003c;
} // end catch (depth: 1)
IL_0024:
{
IPEndPoint_t3791887218 * L_5 = V_1;
if (L_5)
{
goto IL_0029;
}
}
{
return (bool)1;
}
IL_0029:
{
}
IL_002a:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_6 = ___sock0;
IPEndPoint_t3791887218 * L_7 = V_1;
NullCheck(L_6);
Socket_Bind_m1387808352(L_6, L_7, /*hidden argument*/NULL);
goto IL_003a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0033;
throw e;
}
CATCH_0033:
{ // begin catch(System.Net.Sockets.SocketException)
int32_t L_8 = V_0;
if (((int64_t)L_8 + (int64_t)1 < (int64_t)kIl2CppInt32Min) || ((int64_t)L_8 + (int64_t)1 > (int64_t)kIl2CppInt32Max))
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), NULL, ServicePoint_CallEndPointDelegate_m2947487287_RuntimeMethod_var);
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
goto IL_000c;
} // end catch (depth: 1)
IL_003a:
{
return (bool)1;
}
IL_003c:
{
bool L_9 = V_2;
return L_9;
}
}
// System.Void System.Net.ServicePoint::<GetConnectionGroup>b__66_0(System.Object,System.EventArgs)
extern "C" IL2CPP_METHOD_ATTR void ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977 (ServicePoint_t2786966844 * __this, RuntimeObject * ___s0, EventArgs_t3591816995 * ___e1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePoint_U3CGetConnectionGroupU3Eb__66_0_m2384897977_RuntimeMethod_var);
{
int32_t L_0 = __this->get_currentConnections_3();
__this->set_currentConnections_3(((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)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
// System.Void System.Net.ServicePointManager::.cctor()
extern "C" IL2CPP_METHOD_ATTR void ServicePointManager__cctor_m3222177795 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager__cctor_m3222177795_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager__cctor_m3222177795_RuntimeMethod_var);
ConnectionManagementSection_t1603642748 * V_0 = NULL;
RuntimeObject* V_1 = NULL;
ConnectionManagementElement_t3857438253 * V_2 = NULL;
RuntimeObject* 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
HybridDictionary_t4070033136 * L_0 = (HybridDictionary_t4070033136 *)il2cpp_codegen_object_new(HybridDictionary_t4070033136_il2cpp_TypeInfo_var);
HybridDictionary__ctor_m2970901694(L_0, /*hidden argument*/NULL);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_servicePoints_0(L_0);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_defaultConnectionLimit_2(2);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_maxServicePointIdleTime_3(((int32_t)100000));
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_maxServicePoints_4(0);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_dnsRefreshTimeout_5(((int32_t)120000));
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set__checkCRL_6((bool)0);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set__securityProtocol_7(((int32_t)4032));
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_expectContinue_8((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(ConfigurationManager_t386529156_il2cpp_TypeInfo_var);
RuntimeObject * L_1 = ConfigurationManager_GetSection_m3606555405(NULL /*static, unused*/, _stringLiteral2890506517, /*hidden argument*/NULL);
V_0 = ((ConnectionManagementSection_t1603642748 *)IsInstSealed((RuntimeObject*)L_1, ConnectionManagementSection_t1603642748_il2cpp_TypeInfo_var));
ConnectionManagementSection_t1603642748 * L_2 = V_0;
if (!L_2)
{
goto IL_00be;
}
}
{
ConnectionManagementData_t2003128658 * L_3 = (ConnectionManagementData_t2003128658 *)il2cpp_codegen_object_new(ConnectionManagementData_t2003128658_il2cpp_TypeInfo_var);
ConnectionManagementData__ctor_m1336018396(L_3, NULL, /*hidden argument*/NULL);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_manager_14(L_3);
ConnectionManagementSection_t1603642748 * L_4 = V_0;
NullCheck(L_4);
ConnectionManagementElementCollection_t3860227195 * L_5 = ConnectionManagementSection_get_ConnectionManagement_m3719502710(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
RuntimeObject* L_6 = ConfigurationElementCollection_GetEnumerator_m4043183664(L_5, /*hidden argument*/NULL);
V_1 = L_6;
}
IL_006a:
try
{ // begin try (depth: 1)
{
goto IL_008e;
}
IL_006c:
{
RuntimeObject* L_7 = V_1;
NullCheck(L_7);
RuntimeObject * L_8 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_7);
V_2 = ((ConnectionManagementElement_t3857438253 *)CastclassSealed((RuntimeObject*)L_8, ConnectionManagementElement_t3857438253_il2cpp_TypeInfo_var));
ConnectionManagementData_t2003128658 * L_9 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_manager_14();
ConnectionManagementElement_t3857438253 * L_10 = V_2;
NullCheck(L_10);
String_t* L_11 = ConnectionManagementElement_get_Address_m427527083(L_10, /*hidden argument*/NULL);
ConnectionManagementElement_t3857438253 * L_12 = V_2;
NullCheck(L_12);
int32_t L_13 = ConnectionManagementElement_get_MaxConnection_m3860966341(L_12, /*hidden argument*/NULL);
NullCheck(L_9);
ConnectionManagementData_Add_m3862416831(L_9, L_11, L_13, /*hidden argument*/NULL);
}
IL_008e:
{
RuntimeObject* L_14 = V_1;
NullCheck(L_14);
bool L_15 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_14);
if (L_15)
{
goto IL_006c;
}
}
IL_0096:
{
IL2CPP_LEAVE(0xA9, 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)
{
RuntimeObject* L_16 = V_1;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_16, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_17 = V_3;
if (!L_17)
{
goto IL_00a8;
}
}
IL_00a2:
{
RuntimeObject* L_18 = V_3;
NullCheck(L_18);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_18);
}
IL_00a8:
{
IL2CPP_END_FINALLY(152)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(152)
{
IL2CPP_JUMP_TBL(0xA9, IL_00a9)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00a9:
{
ConnectionManagementData_t2003128658 * L_19 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_manager_14();
NullCheck(L_19);
uint32_t L_20 = ConnectionManagementData_GetMaxConnections_m2384803309(L_19, _stringLiteral3452614534, /*hidden argument*/NULL);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_defaultConnectionLimit_2(L_20);
return;
}
IL_00be:
{
IL2CPP_RUNTIME_CLASS_INIT(ConfigurationSettings_t822951835_il2cpp_TypeInfo_var);
RuntimeObject * L_21 = ConfigurationSettings_GetConfig_m1015220656(NULL /*static, unused*/, _stringLiteral2890506517, /*hidden argument*/NULL);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_manager_14(((ConnectionManagementData_t2003128658 *)CastclassClass((RuntimeObject*)L_21, ConnectionManagementData_t2003128658_il2cpp_TypeInfo_var)));
ConnectionManagementData_t2003128658 * L_22 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_manager_14();
if (!L_22)
{
goto IL_00ed;
}
}
{
ConnectionManagementData_t2003128658 * L_23 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_manager_14();
NullCheck(L_23);
uint32_t L_24 = ConnectionManagementData_GetMaxConnections_m2384803309(L_23, _stringLiteral3452614534, /*hidden argument*/NULL);
((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->set_defaultConnectionLimit_2(L_24);
}
IL_00ed:
{
return;
}
}
// System.Net.ICertificatePolicy System.Net.ServicePointManager::get_CertificatePolicy()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ServicePointManager_get_CertificatePolicy_m1966679142 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_CertificatePolicy_m1966679142_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_CertificatePolicy_m1966679142_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RuntimeObject* L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_policy_1();
if (L_0)
{
goto IL_0018;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
DefaultCertificatePolicy_t3607119947 * L_1 = (DefaultCertificatePolicy_t3607119947 *)il2cpp_codegen_object_new(DefaultCertificatePolicy_t3607119947_il2cpp_TypeInfo_var);
DefaultCertificatePolicy__ctor_m1887337884(L_1, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject*>((RuntimeObject**)(((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_address_of_policy_1()), L_1, (RuntimeObject*)NULL);
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RuntimeObject* L_2 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_policy_1();
return L_2;
}
}
// System.Net.ICertificatePolicy System.Net.ServicePointManager::GetLegacyCertificatePolicy()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ServicePointManager_GetLegacyCertificatePolicy_m1373482136 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_GetLegacyCertificatePolicy_m1373482136_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_GetLegacyCertificatePolicy_m1373482136_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RuntimeObject* L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_policy_1();
return L_0;
}
}
// System.Boolean System.Net.ServicePointManager::get_CheckCertificateRevocationList()
extern "C" IL2CPP_METHOD_ATTR bool ServicePointManager_get_CheckCertificateRevocationList_m1716454075 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_CheckCertificateRevocationList_m1716454075_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_CheckCertificateRevocationList_m1716454075_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
bool L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get__checkCRL_6();
return L_0;
}
}
// System.Int32 System.Net.ServicePointManager::get_DnsRefreshTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t ServicePointManager_get_DnsRefreshTimeout_m2777228149 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_DnsRefreshTimeout_m2777228149_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_DnsRefreshTimeout_m2777228149_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
int32_t L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_dnsRefreshTimeout_5();
return L_0;
}
}
// System.Net.SecurityProtocolType System.Net.ServicePointManager::get_SecurityProtocol()
extern "C" IL2CPP_METHOD_ATTR int32_t ServicePointManager_get_SecurityProtocol_m4259357356 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_SecurityProtocol_m4259357356_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_SecurityProtocol_m4259357356_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
int32_t L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get__securityProtocol_7();
return L_0;
}
}
// System.Net.ServerCertValidationCallback System.Net.ServicePointManager::get_ServerCertValidationCallback()
extern "C" IL2CPP_METHOD_ATTR ServerCertValidationCallback_t1488468298 * ServicePointManager_get_ServerCertValidationCallback_m261155263 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_ServerCertValidationCallback_m261155263_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_ServerCertValidationCallback_m261155263_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
ServerCertValidationCallback_t1488468298 * L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_server_cert_cb_10();
return L_0;
}
}
// System.Net.Security.RemoteCertificateValidationCallback System.Net.ServicePointManager::get_ServerCertificateValidationCallback()
extern "C" IL2CPP_METHOD_ATTR RemoteCertificateValidationCallback_t3014364904 * ServicePointManager_get_ServerCertificateValidationCallback_m984921647 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_get_ServerCertificateValidationCallback_m984921647_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_get_ServerCertificateValidationCallback_m984921647_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
ServerCertValidationCallback_t1488468298 * L_0 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_server_cert_cb_10();
if (L_0)
{
goto IL_0009;
}
}
{
return (RemoteCertificateValidationCallback_t3014364904 *)NULL;
}
IL_0009:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
ServerCertValidationCallback_t1488468298 * L_1 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_server_cert_cb_10();
NullCheck(L_1);
RemoteCertificateValidationCallback_t3014364904 * L_2 = ServerCertValidationCallback_get_ValidationCallback_m3775939199(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Net.ServicePoint System.Net.ServicePointManager::FindServicePoint(System.Uri,System.Net.IWebProxy)
extern "C" IL2CPP_METHOD_ATTR ServicePoint_t2786966844 * ServicePointManager_FindServicePoint_m4119451290 (RuntimeObject * __this /* static, unused */, Uri_t100236324 * ___address0, RuntimeObject* ___proxy1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ServicePointManager_FindServicePoint_m4119451290_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ServicePointManager_FindServicePoint_m4119451290_RuntimeMethod_var);
bool V_0 = false;
bool V_1 = false;
ServicePoint_t2786966844 * V_2 = NULL;
SPKey_t3654231119 * V_3 = NULL;
HybridDictionary_t4070033136 * V_4 = NULL;
bool V_5 = false;
int32_t V_6 = 0;
String_t* V_7 = NULL;
ServicePoint_t2786966844 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
Uri_t100236324 * G_B9_0 = NULL;
Uri_t100236324 * G_B3_0 = NULL;
Uri_t100236324 * G_B4_0 = NULL;
bool G_B6_0 = false;
Uri_t100236324 * G_B6_1 = NULL;
bool G_B5_0 = false;
Uri_t100236324 * G_B5_1 = NULL;
Uri_t100236324 * G_B7_0 = NULL;
Uri_t100236324 * G_B8_0 = NULL;
Uri_t100236324 * G_B11_0 = NULL;
Uri_t100236324 * G_B10_0 = NULL;
Uri_t100236324 * G_B12_0 = NULL;
Uri_t100236324 * G_B12_1 = NULL;
{
Uri_t100236324 * L_0 = ___address0;
IL2CPP_RUNTIME_CLASS_INIT(Uri_t100236324_il2cpp_TypeInfo_var);
bool L_1 = Uri_op_Equality_m685520154(NULL /*static, unused*/, L_0, (Uri_t100236324 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0014;
}
}
{
ArgumentNullException_t1615371798 * L_2 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_2, _stringLiteral2350156779, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, ServicePointManager_FindServicePoint_m4119451290_RuntimeMethod_var);
}
IL_0014:
{
Uri_t100236324 * L_3 = ___address0;
NullCheck(L_3);
String_t* L_4 = Uri_get_Scheme_m2109479391(L_3, /*hidden argument*/NULL);
Uri_t100236324 * L_5 = ___address0;
NullCheck(L_5);
String_t* L_6 = Uri_get_Authority_m3816772302(L_5, /*hidden argument*/NULL);
String_t* L_7 = String_Concat_m3755062657(NULL /*static, unused*/, L_4, _stringLiteral1057238085, L_6, /*hidden argument*/NULL);
Uri_t100236324 * L_8 = (Uri_t100236324 *)il2cpp_codegen_object_new(Uri_t100236324_il2cpp_TypeInfo_var);
Uri__ctor_m800430703(L_8, L_7, /*hidden argument*/NULL);
V_0 = (bool)0;
V_1 = (bool)0;
RuntimeObject* L_9 = ___proxy1;
G_B3_0 = L_8;
if (!L_9)
{
G_B9_0 = L_8;
goto IL_008d;
}
}
{
RuntimeObject* L_10 = ___proxy1;
Uri_t100236324 * L_11 = ___address0;
NullCheck(L_10);
bool L_12 = InterfaceFuncInvoker1< bool, Uri_t100236324 * >::Invoke(1 /* System.Boolean System.Net.IWebProxy::IsBypassed(System.Uri) */, IWebProxy_t688979836_il2cpp_TypeInfo_var, L_10, L_11);
G_B4_0 = G_B3_0;
if (L_12)
{
G_B9_0 = G_B3_0;
goto IL_008d;
}
}
{
V_0 = (bool)1;
Uri_t100236324 * L_13 = ___address0;
NullCheck(L_13);
String_t* L_14 = Uri_get_Scheme_m2109479391(L_13, /*hidden argument*/NULL);
bool L_15 = String_op_Equality_m920492651(NULL /*static, unused*/, L_14, _stringLiteral1973861653, /*hidden argument*/NULL);
RuntimeObject* L_16 = ___proxy1;
Uri_t100236324 * L_17 = ___address0;
NullCheck(L_16);
Uri_t100236324 * L_18 = InterfaceFuncInvoker1< Uri_t100236324 *, Uri_t100236324 * >::Invoke(0 /* System.Uri System.Net.IWebProxy::GetProxy(System.Uri) */, IWebProxy_t688979836_il2cpp_TypeInfo_var, L_16, L_17);
___address0 = L_18;
Uri_t100236324 * L_19 = ___address0;
NullCheck(L_19);
String_t* L_20 = Uri_get_Scheme_m2109479391(L_19, /*hidden argument*/NULL);
bool L_21 = String_op_Inequality_m215368492(NULL /*static, unused*/, L_20, _stringLiteral3140485902, /*hidden argument*/NULL);
G_B5_0 = L_15;
G_B5_1 = G_B4_0;
if (!L_21)
{
G_B6_0 = L_15;
G_B6_1 = G_B4_0;
goto IL_0077;
}
}
{
NotSupportedException_t1314879016 * L_22 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_22, _stringLiteral2054884799, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, NULL, ServicePointManager_FindServicePoint_m4119451290_RuntimeMethod_var);
}
IL_0077:
{
G_B7_0 = G_B6_1;
if (!G_B6_0)
{
G_B9_0 = G_B6_1;
goto IL_008d;
}
}
{
Uri_t100236324 * L_23 = ___address0;
NullCheck(L_23);
String_t* L_24 = Uri_get_Scheme_m2109479391(L_23, /*hidden argument*/NULL);
bool L_25 = String_op_Equality_m920492651(NULL /*static, unused*/, L_24, _stringLiteral3140485902, /*hidden argument*/NULL);
G_B8_0 = G_B7_0;
if (!L_25)
{
G_B9_0 = G_B7_0;
goto IL_008d;
}
}
{
V_1 = (bool)1;
G_B9_0 = G_B8_0;
}
IL_008d:
{
Uri_t100236324 * L_26 = ___address0;
NullCheck(L_26);
String_t* L_27 = Uri_get_Scheme_m2109479391(L_26, /*hidden argument*/NULL);
Uri_t100236324 * L_28 = ___address0;
NullCheck(L_28);
String_t* L_29 = Uri_get_Authority_m3816772302(L_28, /*hidden argument*/NULL);
String_t* L_30 = String_Concat_m3755062657(NULL /*static, unused*/, L_27, _stringLiteral1057238085, L_29, /*hidden argument*/NULL);
Uri_t100236324 * L_31 = (Uri_t100236324 *)il2cpp_codegen_object_new(Uri_t100236324_il2cpp_TypeInfo_var);
Uri__ctor_m800430703(L_31, L_30, /*hidden argument*/NULL);
___address0 = L_31;
V_2 = (ServicePoint_t2786966844 *)NULL;
bool L_32 = V_0;
G_B10_0 = G_B9_0;
if (L_32)
{
G_B11_0 = G_B9_0;
goto IL_00b2;
}
}
{
G_B12_0 = ((Uri_t100236324 *)(NULL));
G_B12_1 = G_B10_0;
goto IL_00b3;
}
IL_00b2:
{
Uri_t100236324 * L_33 = ___address0;
G_B12_0 = L_33;
G_B12_1 = G_B11_0;
}
IL_00b3:
{
bool L_34 = V_1;
SPKey_t3654231119 * L_35 = (SPKey_t3654231119 *)il2cpp_codegen_object_new(SPKey_t3654231119_il2cpp_TypeInfo_var);
SPKey__ctor_m2807051469(L_35, G_B12_1, G_B12_0, L_34, /*hidden argument*/NULL);
V_3 = L_35;
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
HybridDictionary_t4070033136 * L_36 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_servicePoints_0();
V_4 = L_36;
V_5 = (bool)0;
}
IL_00c4:
try
{ // begin try (depth: 1)
{
HybridDictionary_t4070033136 * L_37 = V_4;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_37, (bool*)(&V_5), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
HybridDictionary_t4070033136 * L_38 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_servicePoints_0();
SPKey_t3654231119 * L_39 = V_3;
NullCheck(L_38);
RuntimeObject * L_40 = HybridDictionary_get_Item_m319681963(L_38, L_39, /*hidden argument*/NULL);
V_2 = ((ServicePoint_t2786966844 *)IsInstClass((RuntimeObject*)L_40, ServicePoint_t2786966844_il2cpp_TypeInfo_var));
ServicePoint_t2786966844 * L_41 = V_2;
if (!L_41)
{
goto IL_00e9;
}
}
IL_00e1:
{
ServicePoint_t2786966844 * L_42 = V_2;
V_8 = L_42;
IL2CPP_LEAVE(0x186, FINALLY_0178);
}
IL_00e9:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
int32_t L_43 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_maxServicePoints_4();
if ((((int32_t)L_43) <= ((int32_t)0)))
{
goto IL_010d;
}
}
IL_00f1:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
HybridDictionary_t4070033136 * L_44 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_servicePoints_0();
NullCheck(L_44);
int32_t L_45 = HybridDictionary_get_Count_m1166314536(L_44, /*hidden argument*/NULL);
int32_t L_46 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_maxServicePoints_4();
if ((((int32_t)L_45) < ((int32_t)L_46)))
{
goto IL_010d;
}
}
IL_0102:
{
InvalidOperationException_t56020091 * L_47 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_47, _stringLiteral4122273294, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_47, NULL, ServicePointManager_FindServicePoint_m4119451290_RuntimeMethod_var);
}
IL_010d:
{
Uri_t100236324 * L_48 = ___address0;
NullCheck(L_48);
String_t* L_49 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_48);
V_7 = L_49;
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
ConnectionManagementData_t2003128658 * L_50 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_manager_14();
String_t* L_51 = V_7;
NullCheck(L_50);
uint32_t L_52 = ConnectionManagementData_GetMaxConnections_m2384803309(L_50, L_51, /*hidden argument*/NULL);
V_6 = L_52;
Uri_t100236324 * L_53 = ___address0;
int32_t L_54 = V_6;
int32_t L_55 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_maxServicePointIdleTime_3();
ServicePoint_t2786966844 * L_56 = (ServicePoint_t2786966844 *)il2cpp_codegen_object_new(ServicePoint_t2786966844_il2cpp_TypeInfo_var);
ServicePoint__ctor_m4022457269(L_56, L_53, L_54, L_55, /*hidden argument*/NULL);
V_2 = L_56;
ServicePoint_t2786966844 * L_57 = V_2;
bool L_58 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_expectContinue_8();
NullCheck(L_57);
ServicePoint_set_Expect100Continue_m1237635858(L_57, L_58, /*hidden argument*/NULL);
ServicePoint_t2786966844 * L_59 = V_2;
bool L_60 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_useNagle_9();
NullCheck(L_59);
ServicePoint_set_UseNagleAlgorithm_m1374731041(L_59, L_60, /*hidden argument*/NULL);
ServicePoint_t2786966844 * L_61 = V_2;
bool L_62 = V_0;
NullCheck(L_61);
ServicePoint_set_UsesProxy_m2758604003(L_61, L_62, /*hidden argument*/NULL);
ServicePoint_t2786966844 * L_63 = V_2;
bool L_64 = V_1;
NullCheck(L_63);
ServicePoint_set_UseConnect_m1377758489(L_63, L_64, /*hidden argument*/NULL);
ServicePoint_t2786966844 * L_65 = V_2;
bool L_66 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_tcp_keepalive_11();
int32_t L_67 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_tcp_keepalive_time_12();
int32_t L_68 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_tcp_keepalive_interval_13();
NullCheck(L_65);
ServicePoint_SetTcpKeepAlive_m1397995104(L_65, L_66, L_67, L_68, /*hidden argument*/NULL);
HybridDictionary_t4070033136 * L_69 = ((ServicePointManager_t170559685_StaticFields*)il2cpp_codegen_static_fields_for(ServicePointManager_t170559685_il2cpp_TypeInfo_var))->get_servicePoints_0();
SPKey_t3654231119 * L_70 = V_3;
ServicePoint_t2786966844 * L_71 = V_2;
NullCheck(L_69);
HybridDictionary_Add_m912320053(L_69, L_70, L_71, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x184, FINALLY_0178);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0178;
}
FINALLY_0178:
{ // begin finally (depth: 1)
{
bool L_72 = V_5;
if (!L_72)
{
goto IL_0183;
}
}
IL_017c:
{
HybridDictionary_t4070033136 * L_73 = V_4;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_73, /*hidden argument*/NULL);
}
IL_0183:
{
IL2CPP_END_FINALLY(376)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(376)
{
IL2CPP_JUMP_TBL(0x186, IL_0186)
IL2CPP_JUMP_TBL(0x184, IL_0184)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0184:
{
ServicePoint_t2786966844 * L_74 = V_2;
return L_74;
}
IL_0186:
{
ServicePoint_t2786966844 * L_75 = V_8;
return L_75;
}
}
#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.Net.ServicePointManager/SPKey::.ctor(System.Uri,System.Uri,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SPKey__ctor_m2807051469 (SPKey_t3654231119 * __this, Uri_t100236324 * ___uri0, Uri_t100236324 * ___proxy1, bool ___use_connect2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SPKey__ctor_m2807051469_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SPKey__ctor_m2807051469_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
Uri_t100236324 * L_0 = ___uri0;
__this->set_uri_0(L_0);
Uri_t100236324 * L_1 = ___proxy1;
__this->set_proxy_1(L_1);
bool L_2 = ___use_connect2;
__this->set_use_connect_2(L_2);
return;
}
}
// System.Boolean System.Net.ServicePointManager/SPKey::get_UsesProxy()
extern "C" IL2CPP_METHOD_ATTR bool SPKey_get_UsesProxy_m3161922308 (SPKey_t3654231119 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SPKey_get_UsesProxy_m3161922308_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SPKey_get_UsesProxy_m3161922308_RuntimeMethod_var);
{
Uri_t100236324 * L_0 = __this->get_proxy_1();
IL2CPP_RUNTIME_CLASS_INIT(Uri_t100236324_il2cpp_TypeInfo_var);
bool L_1 = Uri_op_Inequality_m839253362(NULL /*static, unused*/, L_0, (Uri_t100236324 *)NULL, /*hidden argument*/NULL);
return L_1;
}
}
// System.Int32 System.Net.ServicePointManager/SPKey::GetHashCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SPKey_GetHashCode_m1832733826 (SPKey_t3654231119 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SPKey_GetHashCode_m1832733826_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SPKey_GetHashCode_m1832733826_RuntimeMethod_var);
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B5_0 = 0;
int32_t G_B4_0 = 0;
int32_t G_B6_0 = 0;
int32_t G_B6_1 = 0;
{
bool L_0 = __this->get_use_connect_2();
G_B1_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)23), (int32_t)((int32_t)31)));
if (L_0)
{
G_B2_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)23), (int32_t)((int32_t)31)));
goto IL_0010;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
goto IL_0011;
}
IL_0010:
{
G_B3_0 = 1;
G_B3_1 = G_B2_0;
}
IL_0011:
{
Uri_t100236324 * L_1 = __this->get_uri_0();
NullCheck(L_1);
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_1);
Uri_t100236324 * L_3 = __this->get_proxy_1();
IL2CPP_RUNTIME_CLASS_INIT(Uri_t100236324_il2cpp_TypeInfo_var);
bool L_4 = Uri_op_Inequality_m839253362(NULL /*static, unused*/, L_3, (Uri_t100236324 *)NULL, /*hidden argument*/NULL);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)G_B3_1, (int32_t)G_B3_0)), (int32_t)((int32_t)31))), (int32_t)L_2)), (int32_t)((int32_t)31)));
if (L_4)
{
G_B5_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)G_B3_1, (int32_t)G_B3_0)), (int32_t)((int32_t)31))), (int32_t)L_2)), (int32_t)((int32_t)31)));
goto IL_0035;
}
}
{
G_B6_0 = 0;
G_B6_1 = G_B4_0;
goto IL_0040;
}
IL_0035:
{
Uri_t100236324 * L_5 = __this->get_proxy_1();
NullCheck(L_5);
int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_5);
G_B6_0 = L_6;
G_B6_1 = G_B5_0;
}
IL_0040:
{
return ((int32_t)il2cpp_codegen_add((int32_t)G_B6_1, (int32_t)G_B6_0));
}
}
// System.Boolean System.Net.ServicePointManager/SPKey::Equals(System.Object)
extern "C" IL2CPP_METHOD_ATTR bool SPKey_Equals_m4205549017 (SPKey_t3654231119 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SPKey_Equals_m4205549017_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SPKey_Equals_m4205549017_RuntimeMethod_var);
SPKey_t3654231119 * V_0 = NULL;
{
RuntimeObject * L_0 = ___obj0;
V_0 = ((SPKey_t3654231119 *)IsInstClass((RuntimeObject*)L_0, SPKey_t3654231119_il2cpp_TypeInfo_var));
RuntimeObject * L_1 = ___obj0;
if (L_1)
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_000c:
{
Uri_t100236324 * L_2 = __this->get_uri_0();
SPKey_t3654231119 * L_3 = V_0;
NullCheck(L_3);
Uri_t100236324 * L_4 = L_3->get_uri_0();
NullCheck(L_2);
bool L_5 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_2, L_4);
if (L_5)
{
goto IL_0021;
}
}
{
return (bool)0;
}
IL_0021:
{
bool L_6 = __this->get_use_connect_2();
SPKey_t3654231119 * L_7 = V_0;
NullCheck(L_7);
bool L_8 = L_7->get_use_connect_2();
if ((!(((uint32_t)L_6) == ((uint32_t)L_8))))
{
goto IL_003d;
}
}
{
bool L_9 = SPKey_get_UsesProxy_m3161922308(__this, /*hidden argument*/NULL);
SPKey_t3654231119 * L_10 = V_0;
NullCheck(L_10);
bool L_11 = SPKey_get_UsesProxy_m3161922308(L_10, /*hidden argument*/NULL);
if ((((int32_t)L_9) == ((int32_t)L_11)))
{
goto IL_003f;
}
}
IL_003d:
{
return (bool)0;
}
IL_003f:
{
bool L_12 = SPKey_get_UsesProxy_m3161922308(__this, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_005c;
}
}
{
Uri_t100236324 * L_13 = __this->get_proxy_1();
SPKey_t3654231119 * L_14 = V_0;
NullCheck(L_14);
Uri_t100236324 * L_15 = L_14->get_proxy_1();
NullCheck(L_13);
bool L_16 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_13, L_15);
if (L_16)
{
goto IL_005c;
}
}
{
return (bool)0;
}
IL_005c:
{
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.Net.SimpleAsyncCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncCallback__ctor_m2647477404 (SimpleAsyncCallback_t2966023072 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncCallback__ctor_m2647477404_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncCallback__ctor_m2647477404_RuntimeMethod_var);
__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.Net.SimpleAsyncCallback::Invoke(System.Net.SimpleAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncCallback_Invoke_m1556536928 (SimpleAsyncCallback_t2966023072 * __this, SimpleAsyncResult_t3946017618 * ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncCallback_Invoke_m1556536928_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncCallback_Invoke_m1556536928_RuntimeMethod_var);
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((RuntimeMethod*)(__this->get_method_3()));
DelegateU5BU5D_t1703627840* delegatesToInvoke = __this->get_delegates_11();
if (delegatesToInvoke != NULL)
{
il2cpp_array_size_t length = delegatesToInvoke->max_length;
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t1188392813* currentDelegate = (delegatesToInvoke)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, ___result0, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___result0, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// 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))
GenericInterfaceActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(targetMethod, targetThis, ___result0);
else
GenericVirtActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(targetMethod, targetThis, ___result0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___result0);
else
VirtActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___result0);
}
}
else
{
typedef void (*FunctionPointerType) (void*, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___result0, targetMethod);
}
}
else
{
// 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, ___result0);
else
GenericVirtActionInvoker0::Invoke(targetMethod, ___result0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___result0);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___result0);
}
}
else
{
typedef void (*FunctionPointerType) (SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___result0, targetMethod);
}
}
}
}
}
else
{
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, ___result0, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___result0, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// 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))
GenericInterfaceActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(targetMethod, targetThis, ___result0);
else
GenericVirtActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(targetMethod, targetThis, ___result0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___result0);
else
VirtActionInvoker1< SimpleAsyncResult_t3946017618 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___result0);
}
}
else
{
typedef void (*FunctionPointerType) (void*, SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___result0, targetMethod);
}
}
else
{
// 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, ___result0);
else
GenericVirtActionInvoker0::Invoke(targetMethod, ___result0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___result0);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___result0);
}
}
else
{
typedef void (*FunctionPointerType) (SimpleAsyncResult_t3946017618 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___result0, targetMethod);
}
}
}
}
}
// System.IAsyncResult System.Net.SimpleAsyncCallback::BeginInvoke(System.Net.SimpleAsyncResult,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SimpleAsyncCallback_BeginInvoke_m3748162143 (SimpleAsyncCallback_t2966023072 * __this, SimpleAsyncResult_t3946017618 * ___result0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncCallback_BeginInvoke_m3748162143_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncCallback_BeginInvoke_m3748162143_RuntimeMethod_var);
void *__d_args[2] = {0};
__d_args[0] = ___result0;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
}
// System.Void System.Net.SimpleAsyncCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncCallback_EndInvoke_m843864638 (SimpleAsyncCallback_t2966023072 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncCallback_EndInvoke_m843864638_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncCallback_EndInvoke_m843864638_RuntimeMethod_var);
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.Void System.Net.SimpleAsyncResult::.ctor(System.Net.SimpleAsyncCallback)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult__ctor_m2857079850 (SimpleAsyncResult_t3946017618 * __this, SimpleAsyncCallback_t2966023072 * ___cb0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult__ctor_m2857079850_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult__ctor_m2857079850_RuntimeMethod_var);
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_locker_7(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
SimpleAsyncCallback_t2966023072 * L_1 = ___cb0;
__this->set_cb_3(L_1);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::.ctor(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult__ctor_m302284371 (SimpleAsyncResult_t3946017618 * __this, AsyncCallback_t3962456242 * ___cb0, RuntimeObject * ___state1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult__ctor_m302284371_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult__ctor_m302284371_RuntimeMethod_var);
U3CU3Ec__DisplayClass9_0_t2879543744 * V_0 = NULL;
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_locker_7(L_0);
U3CU3Ec__DisplayClass9_0_t2879543744 * L_1 = (U3CU3Ec__DisplayClass9_0_t2879543744 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass9_0_t2879543744_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass9_0__ctor_m2402425430(L_1, /*hidden argument*/NULL);
V_0 = L_1;
U3CU3Ec__DisplayClass9_0_t2879543744 * L_2 = V_0;
AsyncCallback_t3962456242 * L_3 = ___cb0;
NullCheck(L_2);
L_2->set_cb_0(L_3);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
U3CU3Ec__DisplayClass9_0_t2879543744 * L_4 = V_0;
NullCheck(L_4);
L_4->set_U3CU3E4__this_1(__this);
RuntimeObject * L_5 = ___state1;
__this->set_state_4(L_5);
U3CU3Ec__DisplayClass9_0_t2879543744 * L_6 = V_0;
intptr_t L_7 = (intptr_t)U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517_RuntimeMethod_var;
SimpleAsyncCallback_t2966023072 * L_8 = (SimpleAsyncCallback_t2966023072 *)il2cpp_codegen_object_new(SimpleAsyncCallback_t2966023072_il2cpp_TypeInfo_var);
SimpleAsyncCallback__ctor_m2647477404(L_8, L_6, L_7, /*hidden argument*/NULL);
__this->set_cb_3(L_8);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::Run(System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>,System.Net.SimpleAsyncCallback)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_Run_m2632813164 (RuntimeObject * __this /* static, unused */, Func_2_t2426439321 * ___func0, SimpleAsyncCallback_t2966023072 * ___callback1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_Run_m2632813164_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_Run_m2632813164_RuntimeMethod_var);
SimpleAsyncResult_t3946017618 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
SimpleAsyncCallback_t2966023072 * L_0 = ___callback1;
SimpleAsyncResult_t3946017618 * L_1 = (SimpleAsyncResult_t3946017618 *)il2cpp_codegen_object_new(SimpleAsyncResult_t3946017618_il2cpp_TypeInfo_var);
SimpleAsyncResult__ctor_m2857079850(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
}
IL_0007:
try
{ // begin try (depth: 1)
{
Func_2_t2426439321 * L_2 = ___func0;
SimpleAsyncResult_t3946017618 * L_3 = V_0;
NullCheck(L_2);
bool L_4 = Func_2_Invoke_m3001332830(L_2, L_3, /*hidden argument*/Func_2_Invoke_m3001332830_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0010:
{
SimpleAsyncResult_t3946017618 * L_5 = V_0;
NullCheck(L_5);
SimpleAsyncResult_SetCompleted_m3748086251(L_5, (bool)1, /*hidden argument*/NULL);
}
IL_0017:
{
goto IL_0024;
}
} // 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_0019;
throw e;
}
CATCH_0019:
{ // begin catch(System.Exception)
V_1 = ((Exception_t *)__exception_local);
SimpleAsyncResult_t3946017618 * L_6 = V_0;
Exception_t * L_7 = V_1;
NullCheck(L_6);
SimpleAsyncResult_SetCompleted_m515399313(L_6, (bool)1, L_7, /*hidden argument*/NULL);
goto IL_0024;
} // end catch (depth: 1)
IL_0024:
{
return;
}
}
// System.Void System.Net.SimpleAsyncResult::RunWithLock(System.Object,System.Func`2<System.Net.SimpleAsyncResult,System.Boolean>,System.Net.SimpleAsyncCallback)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_RunWithLock_m2419669062 (RuntimeObject * __this /* static, unused */, RuntimeObject * ___locker0, Func_2_t2426439321 * ___func1, SimpleAsyncCallback_t2966023072 * ___callback2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_RunWithLock_m2419669062_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_RunWithLock_m2419669062_RuntimeMethod_var);
U3CU3Ec__DisplayClass11_0_t377749183 * V_0 = NULL;
{
U3CU3Ec__DisplayClass11_0_t377749183 * L_0 = (U3CU3Ec__DisplayClass11_0_t377749183 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass11_0_t377749183_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass11_0__ctor_m3459980745(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CU3Ec__DisplayClass11_0_t377749183 * L_1 = V_0;
Func_2_t2426439321 * L_2 = ___func1;
NullCheck(L_1);
L_1->set_func_0(L_2);
U3CU3Ec__DisplayClass11_0_t377749183 * L_3 = V_0;
RuntimeObject * L_4 = ___locker0;
NullCheck(L_3);
L_3->set_locker_1(L_4);
U3CU3Ec__DisplayClass11_0_t377749183 * L_5 = V_0;
SimpleAsyncCallback_t2966023072 * L_6 = ___callback2;
NullCheck(L_5);
L_5->set_callback_2(L_6);
U3CU3Ec__DisplayClass11_0_t377749183 * L_7 = V_0;
intptr_t L_8 = (intptr_t)U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198_RuntimeMethod_var;
Func_2_t2426439321 * L_9 = (Func_2_t2426439321 *)il2cpp_codegen_object_new(Func_2_t2426439321_il2cpp_TypeInfo_var);
Func_2__ctor_m1373340260(L_9, L_7, L_8, /*hidden argument*/Func_2__ctor_m1373340260_RuntimeMethod_var);
U3CU3Ec__DisplayClass11_0_t377749183 * L_10 = V_0;
intptr_t L_11 = (intptr_t)U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549_RuntimeMethod_var;
SimpleAsyncCallback_t2966023072 * L_12 = (SimpleAsyncCallback_t2966023072 *)il2cpp_codegen_object_new(SimpleAsyncCallback_t2966023072_il2cpp_TypeInfo_var);
SimpleAsyncCallback__ctor_m2647477404(L_12, L_10, L_11, /*hidden argument*/NULL);
SimpleAsyncResult_Run_m2632813164(NULL /*static, unused*/, L_9, L_12, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::Reset_internal()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_Reset_internal_m1051157640 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_Reset_internal_m1051157640_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_Reset_internal_m1051157640_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
__this->set_callbackDone_5((bool)0);
__this->set_exc_6((Exception_t *)NULL);
RuntimeObject * L_0 = __this->get_locker_7();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0017:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
__this->set_isCompleted_2((bool)0);
ManualResetEvent_t451242010 * L_2 = __this->get_handle_0();
if (!L_2)
{
goto IL_003a;
}
}
IL_002e:
{
ManualResetEvent_t451242010 * L_3 = __this->get_handle_0();
NullCheck(L_3);
EventWaitHandle_Reset_m3348053200(L_3, /*hidden argument*/NULL);
}
IL_003a:
{
IL2CPP_LEAVE(0x46, FINALLY_003c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003c;
}
FINALLY_003c:
{ // begin finally (depth: 1)
{
bool L_4 = V_1;
if (!L_4)
{
goto IL_0045;
}
}
IL_003f:
{
RuntimeObject * L_5 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
}
IL_0045:
{
IL2CPP_END_FINALLY(60)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(60)
{
IL2CPP_JUMP_TBL(0x46, IL_0046)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0046:
{
return;
}
}
// System.Void System.Net.SimpleAsyncResult::SetCompleted(System.Boolean,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_m515399313 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, Exception_t * ___e1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_SetCompleted_m515399313_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_SetCompleted_m515399313_RuntimeMethod_var);
{
bool L_0 = ___synch0;
Exception_t * L_1 = ___e1;
SimpleAsyncResult_SetCompleted_internal_m1548663497(__this, L_0, L_1, /*hidden argument*/NULL);
SimpleAsyncResult_DoCallback_private_m3635007888(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::SetCompleted(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_m3748086251 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_SetCompleted_m3748086251_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_SetCompleted_m3748086251_RuntimeMethod_var);
{
bool L_0 = ___synch0;
SimpleAsyncResult_SetCompleted_internal_m3990539307(__this, L_0, /*hidden argument*/NULL);
SimpleAsyncResult_DoCallback_private_m3635007888(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::SetCompleted_internal(System.Boolean,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_internal_m1548663497 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, Exception_t * ___e1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_SetCompleted_internal_m1548663497_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_SetCompleted_internal_m1548663497_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
bool L_0 = ___synch0;
__this->set_synch_1(L_0);
Exception_t * L_1 = ___e1;
__this->set_exc_6(L_1);
RuntimeObject * L_2 = __this->get_locker_7();
V_0 = L_2;
V_1 = (bool)0;
}
IL_0017:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_3 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_3, (bool*)(&V_1), /*hidden argument*/NULL);
__this->set_isCompleted_2((bool)1);
ManualResetEvent_t451242010 * L_4 = __this->get_handle_0();
if (!L_4)
{
goto IL_003a;
}
}
IL_002e:
{
ManualResetEvent_t451242010 * L_5 = __this->get_handle_0();
NullCheck(L_5);
EventWaitHandle_Set_m2445193251(L_5, /*hidden argument*/NULL);
}
IL_003a:
{
IL2CPP_LEAVE(0x46, FINALLY_003c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003c;
}
FINALLY_003c:
{ // begin finally (depth: 1)
{
bool L_6 = V_1;
if (!L_6)
{
goto IL_0045;
}
}
IL_003f:
{
RuntimeObject * L_7 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
}
IL_0045:
{
IL2CPP_END_FINALLY(60)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(60)
{
IL2CPP_JUMP_TBL(0x46, IL_0046)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0046:
{
return;
}
}
// System.Void System.Net.SimpleAsyncResult::SetCompleted_internal(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_SetCompleted_internal_m3990539307 (SimpleAsyncResult_t3946017618 * __this, bool ___synch0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_SetCompleted_internal_m3990539307_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_SetCompleted_internal_m3990539307_RuntimeMethod_var);
{
bool L_0 = ___synch0;
SimpleAsyncResult_SetCompleted_internal_m1548663497(__this, L_0, (Exception_t *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::DoCallback_private()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_DoCallback_private_m3635007888 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_DoCallback_private_m3635007888_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_DoCallback_private_m3635007888_RuntimeMethod_var);
{
bool L_0 = __this->get_callbackDone_5();
if (!L_0)
{
goto IL_0009;
}
}
{
return;
}
IL_0009:
{
__this->set_callbackDone_5((bool)1);
SimpleAsyncCallback_t2966023072 * L_1 = __this->get_cb_3();
if (L_1)
{
goto IL_0019;
}
}
{
return;
}
IL_0019:
{
SimpleAsyncCallback_t2966023072 * L_2 = __this->get_cb_3();
NullCheck(L_2);
SimpleAsyncCallback_Invoke_m1556536928(L_2, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult::DoCallback_internal()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_DoCallback_internal_m3054769675 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_DoCallback_internal_m3054769675_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_DoCallback_internal_m3054769675_RuntimeMethod_var);
{
bool L_0 = __this->get_callbackDone_5();
if (L_0)
{
goto IL_0023;
}
}
{
SimpleAsyncCallback_t2966023072 * L_1 = __this->get_cb_3();
if (!L_1)
{
goto IL_0023;
}
}
{
__this->set_callbackDone_5((bool)1);
SimpleAsyncCallback_t2966023072 * L_2 = __this->get_cb_3();
NullCheck(L_2);
SimpleAsyncCallback_Invoke_m1556536928(L_2, __this, /*hidden argument*/NULL);
}
IL_0023:
{
return;
}
}
// System.Void System.Net.SimpleAsyncResult::WaitUntilComplete()
extern "C" IL2CPP_METHOD_ATTR void SimpleAsyncResult_WaitUntilComplete_m1711352865 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_WaitUntilComplete_m1711352865_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_WaitUntilComplete_m1711352865_RuntimeMethod_var);
{
bool L_0 = SimpleAsyncResult_get_IsCompleted_m1032228256(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0009;
}
}
{
return;
}
IL_0009:
{
WaitHandle_t1743403487 * L_1 = SimpleAsyncResult_get_AsyncWaitHandle_m2590763727(__this, /*hidden argument*/NULL);
NullCheck(L_1);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_1);
return;
}
}
// System.Boolean System.Net.SimpleAsyncResult::WaitUntilComplete(System.Int32,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_WaitUntilComplete_m562927459 (SimpleAsyncResult_t3946017618 * __this, int32_t ___timeout0, bool ___exitContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_WaitUntilComplete_m562927459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_WaitUntilComplete_m562927459_RuntimeMethod_var);
{
bool L_0 = SimpleAsyncResult_get_IsCompleted_m1032228256(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
WaitHandle_t1743403487 * L_1 = SimpleAsyncResult_get_AsyncWaitHandle_m2590763727(__this, /*hidden argument*/NULL);
int32_t L_2 = ___timeout0;
bool L_3 = ___exitContext1;
NullCheck(L_1);
bool L_4 = VirtFuncInvoker2< bool, int32_t, bool >::Invoke(9 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean) */, L_1, L_2, L_3);
return L_4;
}
}
// System.Object System.Net.SimpleAsyncResult::get_AsyncState()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * SimpleAsyncResult_get_AsyncState_m1324575894 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_AsyncState_m1324575894_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_AsyncState_m1324575894_RuntimeMethod_var);
{
RuntimeObject * L_0 = __this->get_state_4();
return L_0;
}
}
// System.Threading.WaitHandle System.Net.SimpleAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * SimpleAsyncResult_get_AsyncWaitHandle_m2590763727 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_AsyncWaitHandle_m2590763727_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_AsyncWaitHandle_m2590763727_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_7();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
ManualResetEvent_t451242010 * L_2 = __this->get_handle_0();
if (L_2)
{
goto IL_002a;
}
}
IL_0019:
{
bool L_3 = __this->get_isCompleted_2();
ManualResetEvent_t451242010 * L_4 = (ManualResetEvent_t451242010 *)il2cpp_codegen_object_new(ManualResetEvent_t451242010_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m4010886457(L_4, L_3, /*hidden argument*/NULL);
__this->set_handle_0(L_4);
}
IL_002a:
{
IL2CPP_LEAVE(0x36, FINALLY_002c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_002c;
}
FINALLY_002c:
{ // begin finally (depth: 1)
{
bool L_5 = V_1;
if (!L_5)
{
goto IL_0035;
}
}
IL_002f:
{
RuntimeObject * L_6 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
}
IL_0035:
{
IL2CPP_END_FINALLY(44)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(44)
{
IL2CPP_JUMP_TBL(0x36, IL_0036)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0036:
{
ManualResetEvent_t451242010 * L_7 = __this->get_handle_0();
return L_7;
}
}
// System.Boolean System.Net.SimpleAsyncResult::get_CompletedSynchronously()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_CompletedSynchronously_m1730313150 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_CompletedSynchronously_m1730313150_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_CompletedSynchronously_m1730313150_RuntimeMethod_var);
{
Nullable_1_t1819850047 * L_0 = __this->get_address_of_user_read_synch_8();
bool L_1 = Nullable_1_get_HasValue_m1994351731((Nullable_1_t1819850047 *)L_0, /*hidden argument*/Nullable_1_get_HasValue_m1994351731_RuntimeMethod_var);
if (!L_1)
{
goto IL_0019;
}
}
{
Nullable_1_t1819850047 * L_2 = __this->get_address_of_user_read_synch_8();
bool L_3 = Nullable_1_get_Value_m2018837163((Nullable_1_t1819850047 *)L_2, /*hidden argument*/Nullable_1_get_Value_m2018837163_RuntimeMethod_var);
return L_3;
}
IL_0019:
{
bool L_4 = __this->get_synch_1();
Nullable_1_t1819850047 L_5;
memset(&L_5, 0, sizeof(L_5));
Nullable_1__ctor_m509459810((&L_5), L_4, /*hidden argument*/Nullable_1__ctor_m509459810_RuntimeMethod_var);
__this->set_user_read_synch_8(L_5);
Nullable_1_t1819850047 * L_6 = __this->get_address_of_user_read_synch_8();
bool L_7 = Nullable_1_get_Value_m2018837163((Nullable_1_t1819850047 *)L_6, /*hidden argument*/Nullable_1_get_Value_m2018837163_RuntimeMethod_var);
return L_7;
}
}
// System.Boolean System.Net.SimpleAsyncResult::get_CompletedSynchronouslyPeek()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_CompletedSynchronouslyPeek_m3681140797 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_CompletedSynchronouslyPeek_m3681140797_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_CompletedSynchronouslyPeek_m3681140797_RuntimeMethod_var);
{
bool L_0 = __this->get_synch_1();
return L_0;
}
}
// System.Boolean System.Net.SimpleAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_IsCompleted_m1032228256 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_IsCompleted_m1032228256_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_IsCompleted_m1032228256_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
bool V_1 = false;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_7();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
bool L_2 = __this->get_isCompleted_2();
V_2 = L_2;
IL2CPP_LEAVE(0x24, FINALLY_001a);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001a;
}
FINALLY_001a:
{ // begin finally (depth: 1)
{
bool L_3 = V_1;
if (!L_3)
{
goto IL_0023;
}
}
IL_001d:
{
RuntimeObject * L_4 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
}
IL_0023:
{
IL2CPP_END_FINALLY(26)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(26)
{
IL2CPP_JUMP_TBL(0x24, IL_0024)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0024:
{
bool L_5 = V_2;
return L_5;
}
}
// System.Boolean System.Net.SimpleAsyncResult::get_GotException()
extern "C" IL2CPP_METHOD_ATTR bool SimpleAsyncResult_get_GotException_m3693335075 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_GotException_m3693335075_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_GotException_m3693335075_RuntimeMethod_var);
{
Exception_t * L_0 = __this->get_exc_6();
return (bool)((!(((RuntimeObject*)(Exception_t *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
}
}
// System.Exception System.Net.SimpleAsyncResult::get_Exception()
extern "C" IL2CPP_METHOD_ATTR Exception_t * SimpleAsyncResult_get_Exception_m4130951627 (SimpleAsyncResult_t3946017618 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SimpleAsyncResult_get_Exception_m4130951627_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SimpleAsyncResult_get_Exception_m4130951627_RuntimeMethod_var);
{
Exception_t * L_0 = __this->get_exc_6();
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.Net.SimpleAsyncResult/<>c__DisplayClass11_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0__ctor_m3459980745 (U3CU3Ec__DisplayClass11_0_t377749183 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass11_0__ctor_m3459980745_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass11_0__ctor_m3459980745_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::<RunWithLock>b__0(System.Net.SimpleAsyncResult)
extern "C" IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198 (U3CU3Ec__DisplayClass11_0_t377749183 * __this, SimpleAsyncResult_t3946017618 * ___inner0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__0_m3682622198_RuntimeMethod_var);
bool G_B2_0 = false;
bool G_B1_0 = false;
{
Func_2_t2426439321 * L_0 = __this->get_func_0();
SimpleAsyncResult_t3946017618 * L_1 = ___inner0;
NullCheck(L_0);
bool L_2 = Func_2_Invoke_m3001332830(L_0, L_1, /*hidden argument*/Func_2_Invoke_m3001332830_RuntimeMethod_var);
bool L_3 = L_2;
G_B1_0 = L_3;
if (!L_3)
{
G_B2_0 = L_3;
goto IL_001a;
}
}
{
RuntimeObject * L_4 = __this->get_locker_1();
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
G_B2_0 = G_B1_0;
}
IL_001a:
{
return G_B2_0;
}
}
// System.Void System.Net.SimpleAsyncResult/<>c__DisplayClass11_0::<RunWithLock>b__1(System.Net.SimpleAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549 (U3CU3Ec__DisplayClass11_0_t377749183 * __this, SimpleAsyncResult_t3946017618 * ___inner0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass11_0_U3CRunWithLockU3Eb__1_m2227804549_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
SimpleAsyncResult_t3946017618 * L_0 = ___inner0;
NullCheck(L_0);
bool L_1 = SimpleAsyncResult_get_GotException_m3693335075(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0028;
}
}
{
SimpleAsyncResult_t3946017618 * L_2 = ___inner0;
NullCheck(L_2);
bool L_3 = L_2->get_synch_1();
if (!L_3)
{
goto IL_001b;
}
}
{
RuntimeObject * L_4 = __this->get_locker_1();
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
}
IL_001b:
{
SimpleAsyncCallback_t2966023072 * L_5 = __this->get_callback_2();
SimpleAsyncResult_t3946017618 * L_6 = ___inner0;
NullCheck(L_5);
SimpleAsyncCallback_Invoke_m1556536928(L_5, L_6, /*hidden argument*/NULL);
return;
}
IL_0028:
{
}
IL_0029:
try
{ // begin try (depth: 1)
{
SimpleAsyncResult_t3946017618 * L_7 = ___inner0;
NullCheck(L_7);
bool L_8 = L_7->get_synch_1();
if (L_8)
{
goto IL_003c;
}
}
IL_0031:
{
RuntimeObject * L_9 = __this->get_locker_1();
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
}
IL_003c:
{
SimpleAsyncCallback_t2966023072 * L_10 = __this->get_callback_2();
SimpleAsyncResult_t3946017618 * L_11 = ___inner0;
NullCheck(L_10);
SimpleAsyncCallback_Invoke_m1556536928(L_10, L_11, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x56, FINALLY_004a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004a;
}
FINALLY_004a:
{ // begin finally (depth: 1)
RuntimeObject * L_12 = __this->get_locker_1();
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(74)
} // end finally (depth: 1)
IL2CPP_CLEANUP(74)
{
IL2CPP_JUMP_TBL(0x56, IL_0056)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0056:
{
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.Net.SimpleAsyncResult/<>c__DisplayClass9_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0__ctor_m2402425430 (U3CU3Ec__DisplayClass9_0_t2879543744 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass9_0__ctor_m2402425430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass9_0__ctor_m2402425430_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SimpleAsyncResult/<>c__DisplayClass9_0::<.ctor>b__0(System.Net.SimpleAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517 (U3CU3Ec__DisplayClass9_0_t2879543744 * __this, SimpleAsyncResult_t3946017618 * ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass9_0_U3C_ctorU3Eb__0_m778917517_RuntimeMethod_var);
{
AsyncCallback_t3962456242 * L_0 = __this->get_cb_0();
if (!L_0)
{
goto IL_0019;
}
}
{
AsyncCallback_t3962456242 * L_1 = __this->get_cb_0();
SimpleAsyncResult_t3946017618 * L_2 = __this->get_U3CU3E4__this_1();
NullCheck(L_1);
AsyncCallback_Invoke_m3156993048(L_1, L_2, /*hidden argument*/NULL);
}
IL_0019:
{
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.Net.Sockets.AddressFamily System.Net.SocketAddress::get_Family()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAddress_get_Family_m3641031639 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_get_Family_m3641031639_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_get_Family_m3641031639_RuntimeMethod_var);
{
ByteU5BU5D_t4116647657* L_0 = __this->get_m_Buffer_1();
NullCheck(L_0);
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
ByteU5BU5D_t4116647657* L_3 = __this->get_m_Buffer_1();
NullCheck(L_3);
int32_t L_4 = 1;
uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
return (int32_t)(((int32_t)((int32_t)L_2|(int32_t)((int32_t)((int32_t)L_5<<(int32_t)8)))));
}
}
// System.Int32 System.Net.SocketAddress::get_Size()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAddress_get_Size_m3420662108 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_get_Size_m3420662108_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_get_Size_m3420662108_RuntimeMethod_var);
{
int32_t L_0 = __this->get_m_Size_0();
return L_0;
}
}
// System.Byte System.Net.SocketAddress::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR uint8_t SocketAddress_get_Item_m4142520260 (SocketAddress_t3739769427 * __this, int32_t ___offset0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_get_Item_m4142520260_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_get_Item_m4142520260_RuntimeMethod_var);
{
int32_t L_0 = ___offset0;
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_000d;
}
}
{
int32_t L_1 = ___offset0;
int32_t L_2 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
if ((((int32_t)L_1) < ((int32_t)L_2)))
{
goto IL_0013;
}
}
IL_000d:
{
IndexOutOfRangeException_t1578797820 * L_3 = (IndexOutOfRangeException_t1578797820 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m2441337274(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, SocketAddress_get_Item_m4142520260_RuntimeMethod_var);
}
IL_0013:
{
ByteU5BU5D_t4116647657* L_4 = __this->get_m_Buffer_1();
int32_t L_5 = ___offset0;
NullCheck(L_4);
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
return L_7;
}
}
// System.Void System.Net.SocketAddress::.ctor(System.Net.Sockets.AddressFamily,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAddress__ctor_m487026317 (SocketAddress_t3739769427 * __this, int32_t ___family0, int32_t ___size1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress__ctor_m487026317_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress__ctor_m487026317_RuntimeMethod_var);
{
__this->set_m_changed_2((bool)1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_0 = ___size1;
if ((((int32_t)L_0) >= ((int32_t)2)))
{
goto IL_001c;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_1 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_1, _stringLiteral4049040645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, SocketAddress__ctor_m487026317_RuntimeMethod_var);
}
IL_001c:
{
int32_t L_2 = ___size1;
__this->set_m_Size_0(L_2);
int32_t L_3 = ___size1;
int32_t L_4 = IntPtr_get_Size_m370911744(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_5 = IntPtr_get_Size_m370911744(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_3/(int32_t)L_4)), (int32_t)2)), (int32_t)L_5)));
__this->set_m_Buffer_1(L_6);
ByteU5BU5D_t4116647657* L_7 = __this->get_m_Buffer_1();
int32_t L_8 = ___family0;
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)(((int32_t)((uint8_t)L_8))));
ByteU5BU5D_t4116647657* L_9 = __this->get_m_Buffer_1();
int32_t L_10 = ___family0;
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_10>>(int32_t)8))))));
return;
}
}
// System.Void System.Net.SocketAddress::.ctor(System.Net.IPAddress)
extern "C" IL2CPP_METHOD_ATTR void SocketAddress__ctor_m3121787210 (SocketAddress_t3739769427 * __this, IPAddress_t241777590 * ___ipAddress0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress__ctor_m3121787210_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress__ctor_m3121787210_RuntimeMethod_var);
int64_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
int32_t V_2 = 0;
int32_t G_B2_0 = 0;
SocketAddress_t3739769427 * G_B2_1 = NULL;
int32_t G_B1_0 = 0;
SocketAddress_t3739769427 * G_B1_1 = NULL;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
SocketAddress_t3739769427 * G_B3_2 = NULL;
{
IPAddress_t241777590 * L_0 = ___ipAddress0;
NullCheck(L_0);
int32_t L_1 = IPAddress_get_AddressFamily_m1010663936(L_0, /*hidden argument*/NULL);
IPAddress_t241777590 * L_2 = ___ipAddress0;
NullCheck(L_2);
int32_t L_3 = IPAddress_get_AddressFamily_m1010663936(L_2, /*hidden argument*/NULL);
G_B1_0 = L_1;
G_B1_1 = __this;
if ((((int32_t)L_3) == ((int32_t)2)))
{
G_B2_0 = L_1;
G_B2_1 = __this;
goto IL_0014;
}
}
{
G_B3_0 = ((int32_t)28);
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0016;
}
IL_0014:
{
G_B3_0 = ((int32_t)16);
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0016:
{
NullCheck(G_B3_2);
SocketAddress__ctor_m487026317(G_B3_2, G_B3_1, G_B3_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = __this->get_m_Buffer_1();
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)0);
ByteU5BU5D_t4116647657* L_5 = __this->get_m_Buffer_1();
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)0);
IPAddress_t241777590 * L_6 = ___ipAddress0;
NullCheck(L_6);
int32_t L_7 = IPAddress_get_AddressFamily_m1010663936(L_6, /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)((int32_t)23)))))
{
goto IL_00bc;
}
}
{
ByteU5BU5D_t4116647657* L_8 = __this->get_m_Buffer_1();
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)0);
ByteU5BU5D_t4116647657* L_9 = __this->get_m_Buffer_1();
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)0);
ByteU5BU5D_t4116647657* L_10 = __this->get_m_Buffer_1();
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)0);
ByteU5BU5D_t4116647657* L_11 = __this->get_m_Buffer_1();
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)0);
IPAddress_t241777590 * L_12 = ___ipAddress0;
NullCheck(L_12);
int64_t L_13 = IPAddress_get_ScopeId_m4237202723(L_12, /*hidden argument*/NULL);
V_0 = L_13;
ByteU5BU5D_t4116647657* L_14 = __this->get_m_Buffer_1();
int64_t L_15 = V_0;
NullCheck(L_14);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (uint8_t)(((int32_t)((uint8_t)L_15))));
ByteU5BU5D_t4116647657* L_16 = __this->get_m_Buffer_1();
int64_t L_17 = V_0;
NullCheck(L_16);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_17>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_18 = __this->get_m_Buffer_1();
int64_t L_19 = V_0;
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_19>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_20 = __this->get_m_Buffer_1();
int64_t L_21 = V_0;
NullCheck(L_20);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_21>>(int32_t)((int32_t)24)))))));
IPAddress_t241777590 * L_22 = ___ipAddress0;
NullCheck(L_22);
ByteU5BU5D_t4116647657* L_23 = IPAddress_GetAddressBytes_m3103618290(L_22, /*hidden argument*/NULL);
V_1 = L_23;
V_2 = 0;
goto IL_00b5;
}
IL_00a4:
{
ByteU5BU5D_t4116647657* L_24 = __this->get_m_Buffer_1();
int32_t L_25 = V_2;
ByteU5BU5D_t4116647657* L_26 = V_1;
int32_t L_27 = V_2;
NullCheck(L_26);
int32_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)8, (int32_t)L_25))), (uint8_t)L_29);
int32_t L_30 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
}
IL_00b5:
{
int32_t L_31 = V_2;
ByteU5BU5D_t4116647657* L_32 = V_1;
NullCheck(L_32);
if ((((int32_t)L_31) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))))))
{
goto IL_00a4;
}
}
{
return;
}
IL_00bc:
{
ByteU5BU5D_t4116647657* L_33 = __this->get_m_Buffer_1();
IPAddress_t241777590 * L_34 = ___ipAddress0;
NullCheck(L_34);
int64_t L_35 = L_34->get_m_Address_5();
NullCheck(L_33);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)L_35))));
ByteU5BU5D_t4116647657* L_36 = __this->get_m_Buffer_1();
IPAddress_t241777590 * L_37 = ___ipAddress0;
NullCheck(L_37);
int64_t L_38 = L_37->get_m_Address_5();
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_38>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_39 = __this->get_m_Buffer_1();
IPAddress_t241777590 * L_40 = ___ipAddress0;
NullCheck(L_40);
int64_t L_41 = L_40->get_m_Address_5();
NullCheck(L_39);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_41>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_42 = __this->get_m_Buffer_1();
IPAddress_t241777590 * L_43 = ___ipAddress0;
NullCheck(L_43);
int64_t L_44 = L_43->get_m_Address_5();
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)(((int32_t)((uint8_t)((int64_t)((int64_t)L_44>>(int32_t)((int32_t)24)))))));
return;
}
}
// System.Void System.Net.SocketAddress::.ctor(System.Net.IPAddress,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAddress__ctor_m2840053504 (SocketAddress_t3739769427 * __this, IPAddress_t241777590 * ___ipaddress0, int32_t ___port1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress__ctor_m2840053504_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress__ctor_m2840053504_RuntimeMethod_var);
{
IPAddress_t241777590 * L_0 = ___ipaddress0;
SocketAddress__ctor_m3121787210(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = __this->get_m_Buffer_1();
int32_t L_2 = ___port1;
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_2>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_3 = __this->get_m_Buffer_1();
int32_t L_4 = ___port1;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)L_4))));
return;
}
}
// System.Net.IPAddress System.Net.SocketAddress::GetIPAddress()
extern "C" IL2CPP_METHOD_ATTR IPAddress_t241777590 * SocketAddress_GetIPAddress_m1387719498 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_GetIPAddress_m1387719498_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_GetIPAddress_m1387719498_RuntimeMethod_var);
ByteU5BU5D_t4116647657* V_0 = NULL;
int64_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = SocketAddress_get_Family_m3641031639(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)23)))))
{
goto IL_0066;
}
}
{
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
V_0 = L_1;
V_2 = 0;
goto IL_0027;
}
IL_0016:
{
ByteU5BU5D_t4116647657* L_2 = V_0;
int32_t L_3 = V_2;
ByteU5BU5D_t4116647657* L_4 = __this->get_m_Buffer_1();
int32_t L_5 = V_2;
NullCheck(L_4);
int32_t L_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)8));
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (uint8_t)L_7);
int32_t L_8 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_0027:
{
int32_t L_9 = V_2;
ByteU5BU5D_t4116647657* L_10 = V_0;
NullCheck(L_10);
if ((((int32_t)L_9) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_10)->max_length)))))))
{
goto IL_0016;
}
}
{
ByteU5BU5D_t4116647657* L_11 = __this->get_m_Buffer_1();
NullCheck(L_11);
int32_t L_12 = ((int32_t)27);
uint8_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
ByteU5BU5D_t4116647657* L_14 = __this->get_m_Buffer_1();
NullCheck(L_14);
int32_t L_15 = ((int32_t)26);
uint8_t L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
ByteU5BU5D_t4116647657* L_17 = __this->get_m_Buffer_1();
NullCheck(L_17);
int32_t L_18 = ((int32_t)25);
uint8_t L_19 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_t4116647657* L_20 = __this->get_m_Buffer_1();
NullCheck(L_20);
int32_t L_21 = ((int32_t)24);
uint8_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
V_1 = (((int64_t)((int64_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_13<<(int32_t)((int32_t)24))), (int32_t)((int32_t)((int32_t)L_16<<(int32_t)((int32_t)16))))), (int32_t)((int32_t)((int32_t)L_19<<(int32_t)8)))), (int32_t)L_22)))));
ByteU5BU5D_t4116647657* L_23 = V_0;
int64_t L_24 = V_1;
IPAddress_t241777590 * L_25 = (IPAddress_t241777590 *)il2cpp_codegen_object_new(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress__ctor_m212134278(L_25, L_23, L_24, /*hidden argument*/NULL);
return L_25;
}
IL_0066:
{
int32_t L_26 = SocketAddress_get_Family_m3641031639(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_26) == ((uint32_t)2))))
{
goto IL_00b6;
}
}
{
ByteU5BU5D_t4116647657* L_27 = __this->get_m_Buffer_1();
NullCheck(L_27);
int32_t L_28 = 4;
uint8_t L_29 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
ByteU5BU5D_t4116647657* L_30 = __this->get_m_Buffer_1();
NullCheck(L_30);
int32_t L_31 = 5;
uint8_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
ByteU5BU5D_t4116647657* L_33 = __this->get_m_Buffer_1();
NullCheck(L_33);
int32_t L_34 = 6;
uint8_t L_35 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
ByteU5BU5D_t4116647657* L_36 = __this->get_m_Buffer_1();
NullCheck(L_36);
int32_t L_37 = 7;
uint8_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
IPAddress_t241777590 * L_39 = (IPAddress_t241777590 *)il2cpp_codegen_object_new(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress__ctor_m921977496(L_39, ((int64_t)((int64_t)(((int64_t)((int64_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_29&(int32_t)((int32_t)255)))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_32<<(int32_t)8))&(int32_t)((int32_t)65280)))))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_35<<(int32_t)((int32_t)16)))&(int32_t)((int32_t)16711680)))))|(int32_t)((int32_t)((int32_t)L_38<<(int32_t)((int32_t)24))))))))&(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(-1))))))))), /*hidden argument*/NULL);
return L_39;
}
IL_00b6:
{
SocketException_t3852068672 * L_40 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_40, ((int32_t)10047), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_40, NULL, SocketAddress_GetIPAddress_m1387719498_RuntimeMethod_var);
}
}
// System.Net.IPEndPoint System.Net.SocketAddress::GetIPEndPoint()
extern "C" IL2CPP_METHOD_ATTR IPEndPoint_t3791887218 * SocketAddress_GetIPEndPoint_m836939424 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_GetIPEndPoint_m836939424_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_GetIPEndPoint_m836939424_RuntimeMethod_var);
int32_t V_0 = 0;
{
IPAddress_t241777590 * L_0 = SocketAddress_GetIPAddress_m1387719498(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = __this->get_m_Buffer_1();
NullCheck(L_1);
int32_t L_2 = 2;
uint8_t L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
ByteU5BU5D_t4116647657* L_4 = __this->get_m_Buffer_1();
NullCheck(L_4);
int32_t L_5 = 3;
uint8_t L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3<<(int32_t)8))&(int32_t)((int32_t)65280)))|(int32_t)L_6));
int32_t L_7 = V_0;
IPEndPoint_t3791887218 * L_8 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_8, L_0, L_7, /*hidden argument*/NULL);
return L_8;
}
}
// System.Boolean System.Net.SocketAddress::Equals(System.Object)
extern "C" IL2CPP_METHOD_ATTR bool SocketAddress_Equals_m1857492818 (SocketAddress_t3739769427 * __this, RuntimeObject * ___comparand0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_Equals_m1857492818_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_Equals_m1857492818_RuntimeMethod_var);
SocketAddress_t3739769427 * V_0 = NULL;
int32_t V_1 = 0;
{
RuntimeObject * L_0 = ___comparand0;
V_0 = ((SocketAddress_t3739769427 *)IsInstClass((RuntimeObject*)L_0, SocketAddress_t3739769427_il2cpp_TypeInfo_var));
SocketAddress_t3739769427 * L_1 = V_0;
if (!L_1)
{
goto IL_0018;
}
}
{
int32_t L_2 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
SocketAddress_t3739769427 * L_3 = V_0;
NullCheck(L_3);
int32_t L_4 = SocketAddress_get_Size_m3420662108(L_3, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)L_4)))
{
goto IL_001a;
}
}
IL_0018:
{
return (bool)0;
}
IL_001a:
{
V_1 = 0;
goto IL_0034;
}
IL_001e:
{
int32_t L_5 = V_1;
uint8_t L_6 = SocketAddress_get_Item_m4142520260(__this, L_5, /*hidden argument*/NULL);
SocketAddress_t3739769427 * L_7 = V_0;
int32_t L_8 = V_1;
NullCheck(L_7);
uint8_t L_9 = SocketAddress_get_Item_m4142520260(L_7, L_8, /*hidden argument*/NULL);
if ((((int32_t)L_6) == ((int32_t)L_9)))
{
goto IL_0030;
}
}
{
return (bool)0;
}
IL_0030:
{
int32_t L_10 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_0034:
{
int32_t L_11 = V_1;
int32_t L_12 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_001e;
}
}
{
return (bool)1;
}
}
// System.Int32 System.Net.SocketAddress::GetHashCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAddress_GetHashCode_m1436747884 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_GetHashCode_m1436747884_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_GetHashCode_m1436747884_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
bool L_0 = __this->get_m_changed_2();
if (!L_0)
{
goto IL_00ac;
}
}
{
__this->set_m_changed_2((bool)0);
__this->set_m_hash_3(0);
int32_t L_1 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
V_1 = ((int32_t)((int32_t)L_1&(int32_t)((int32_t)-4)));
V_0 = 0;
goto IL_0069;
}
IL_0027:
{
int32_t L_2 = __this->get_m_hash_3();
ByteU5BU5D_t4116647657* L_3 = __this->get_m_Buffer_1();
int32_t L_4 = V_0;
NullCheck(L_3);
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t4116647657* L_7 = __this->get_m_Buffer_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_t4116647657* L_11 = __this->get_m_Buffer_1();
int32_t L_12 = V_0;
NullCheck(L_11);
int32_t L_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)2));
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
ByteU5BU5D_t4116647657* L_15 = __this->get_m_Buffer_1();
int32_t L_16 = V_0;
NullCheck(L_15);
int32_t L_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)3));
uint8_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
__this->set_m_hash_3(((int32_t)((int32_t)L_2^(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6|(int32_t)((int32_t)((int32_t)L_10<<(int32_t)8))))|(int32_t)((int32_t)((int32_t)L_14<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_18<<(int32_t)((int32_t)24))))))));
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)4));
}
IL_0069:
{
int32_t L_20 = V_0;
int32_t L_21 = V_1;
if ((((int32_t)L_20) < ((int32_t)L_21)))
{
goto IL_0027;
}
}
{
int32_t L_22 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_22&(int32_t)3)))
{
goto IL_00ac;
}
}
{
V_2 = 0;
V_3 = 0;
goto IL_0095;
}
IL_007d:
{
int32_t L_23 = V_2;
ByteU5BU5D_t4116647657* L_24 = __this->get_m_Buffer_1();
int32_t L_25 = V_0;
NullCheck(L_24);
int32_t L_26 = L_25;
uint8_t L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
int32_t L_28 = V_3;
V_2 = ((int32_t)((int32_t)L_23|(int32_t)((int32_t)((int32_t)L_27<<(int32_t)((int32_t)((int32_t)L_28&(int32_t)((int32_t)31)))))));
int32_t L_29 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)8));
int32_t L_30 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
}
IL_0095:
{
int32_t L_31 = V_0;
int32_t L_32 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
if ((((int32_t)L_31) < ((int32_t)L_32)))
{
goto IL_007d;
}
}
{
int32_t L_33 = __this->get_m_hash_3();
int32_t L_34 = V_2;
__this->set_m_hash_3(((int32_t)((int32_t)L_33^(int32_t)L_34)));
}
IL_00ac:
{
int32_t L_35 = __this->get_m_hash_3();
return L_35;
}
}
// System.String System.Net.SocketAddress::ToString()
extern "C" IL2CPP_METHOD_ATTR String_t* SocketAddress_ToString_m797278434 (SocketAddress_t3739769427 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAddress_ToString_m797278434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAddress_ToString_m797278434_RuntimeMethod_var);
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
uint8_t V_2 = 0x0;
int32_t V_3 = 0;
int32_t V_4 = 0;
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_0, /*hidden argument*/NULL);
V_0 = L_0;
V_1 = 2;
goto IL_0039;
}
IL_000a:
{
int32_t L_1 = V_1;
if ((((int32_t)L_1) <= ((int32_t)2)))
{
goto IL_001a;
}
}
{
StringBuilder_t * L_2 = V_0;
NullCheck(L_2);
StringBuilder_Append_m1965104174(L_2, _stringLiteral3452614532, /*hidden argument*/NULL);
}
IL_001a:
{
StringBuilder_t * L_3 = V_0;
int32_t L_4 = V_1;
uint8_t L_5 = SocketAddress_get_Item_m4142520260(__this, L_4, /*hidden argument*/NULL);
V_2 = L_5;
NumberFormatInfo_t435877138 * L_6 = NumberFormatInfo_get_InvariantInfo_m349577018(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_7 = Byte_ToString_m2335342258((uint8_t*)(&V_2), L_6, /*hidden argument*/NULL);
NullCheck(L_3);
StringBuilder_Append_m1965104174(L_3, L_7, /*hidden argument*/NULL);
int32_t L_8 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_0039:
{
int32_t L_9 = V_1;
int32_t L_10 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
if ((((int32_t)L_9) < ((int32_t)L_10)))
{
goto IL_000a;
}
}
{
StringU5BU5D_t1281789340* L_11 = (StringU5BU5D_t1281789340*)SZArrayNew(StringU5BU5D_t1281789340_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_t1281789340* L_12 = L_11;
int32_t L_13 = SocketAddress_get_Family_m3641031639(__this, /*hidden argument*/NULL);
V_3 = L_13;
RuntimeObject * L_14 = Box(AddressFamily_t2612549059_il2cpp_TypeInfo_var, (&V_3));
NullCheck(L_14);
String_t* L_15 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_14);
V_3 = *(int32_t*)UnBox(L_14);
NullCheck(L_12);
ArrayElementTypeCheck (L_12, L_15);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_15);
StringU5BU5D_t1281789340* L_16 = L_12;
NullCheck(L_16);
ArrayElementTypeCheck (L_16, _stringLiteral3452614550);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral3452614550);
StringU5BU5D_t1281789340* L_17 = L_16;
int32_t L_18 = SocketAddress_get_Size_m3420662108(__this, /*hidden argument*/NULL);
V_4 = L_18;
NumberFormatInfo_t435877138 * L_19 = NumberFormatInfo_get_InvariantInfo_m349577018(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_20 = Int32_ToString_m1760361794((int32_t*)(&V_4), L_19, /*hidden argument*/NULL);
NullCheck(L_17);
ArrayElementTypeCheck (L_17, L_20);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_20);
StringU5BU5D_t1281789340* L_21 = L_17;
NullCheck(L_21);
ArrayElementTypeCheck (L_21, _stringLiteral3456087958);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral3456087958);
StringU5BU5D_t1281789340* L_22 = L_21;
StringBuilder_t * L_23 = V_0;
NullCheck(L_23);
String_t* L_24 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_23);
NullCheck(L_22);
ArrayElementTypeCheck (L_22, L_24);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_24);
StringU5BU5D_t1281789340* L_25 = L_22;
NullCheck(L_25);
ArrayElementTypeCheck (L_25, _stringLiteral3452614611);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral3452614611);
String_t* L_26 = String_Concat_m1809518182(NULL /*static, unused*/, L_25, /*hidden argument*/NULL);
return L_26;
}
}
#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
#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.Net.Sockets.LingerOption::.ctor(System.Boolean,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void LingerOption__ctor_m2538367620 (LingerOption_t2688985448 * __this, bool ___enable0, int32_t ___seconds1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LingerOption__ctor_m2538367620_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LingerOption__ctor_m2538367620_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
bool L_0 = ___enable0;
LingerOption_set_Enabled_m1826728409(__this, L_0, /*hidden argument*/NULL);
int32_t L_1 = ___seconds1;
LingerOption_set_LingerTime_m4070974897(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.LingerOption::set_Enabled(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void LingerOption_set_Enabled_m1826728409 (LingerOption_t2688985448 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LingerOption_set_Enabled_m1826728409_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LingerOption_set_Enabled_m1826728409_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_enabled_0(L_0);
return;
}
}
// System.Void System.Net.Sockets.LingerOption::set_LingerTime(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void LingerOption_set_LingerTime_m4070974897 (LingerOption_t2688985448 * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LingerOption_set_LingerTime_m4070974897_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(LingerOption_set_LingerTime_m4070974897_RuntimeMethod_var);
{
int32_t L_0 = ___value0;
__this->set_lingerTime_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.Net.Sockets.NetworkStream::.ctor(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream__ctor_m1741284015 (NetworkStream_t4071955934 * __this, Socket_t1119025450 * ___socket0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream__ctor_m1741284015_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream__ctor_m1741284015_RuntimeMethod_var);
{
__this->set_m_CloseTimeout_8((-1));
__this->set_m_CurrentReadTimeout_10((-1));
__this->set_m_CurrentWriteTimeout_11((-1));
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
Stream__ctor_m3881936881(__this, /*hidden argument*/NULL);
Socket_t1119025450 * L_0 = ___socket0;
if (L_0)
{
goto IL_0029;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral4269838979, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream__ctor_m1741284015_RuntimeMethod_var);
}
IL_0029:
{
Socket_t1119025450 * L_2 = ___socket0;
NetworkStream_InitNetworkStream_m961292768(__this, L_2, 3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.NetworkStream::.ctor(System.Net.Sockets.Socket,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream__ctor_m594102681 (NetworkStream_t4071955934 * __this, Socket_t1119025450 * ___socket0, bool ___ownsSocket1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream__ctor_m594102681_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream__ctor_m594102681_RuntimeMethod_var);
{
__this->set_m_CloseTimeout_8((-1));
__this->set_m_CurrentReadTimeout_10((-1));
__this->set_m_CurrentWriteTimeout_11((-1));
IL2CPP_RUNTIME_CLASS_INIT(Stream_t1273022909_il2cpp_TypeInfo_var);
Stream__ctor_m3881936881(__this, /*hidden argument*/NULL);
Socket_t1119025450 * L_0 = ___socket0;
if (L_0)
{
goto IL_0029;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral4269838979, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream__ctor_m594102681_RuntimeMethod_var);
}
IL_0029:
{
Socket_t1119025450 * L_2 = ___socket0;
NetworkStream_InitNetworkStream_m961292768(__this, L_2, 3, /*hidden argument*/NULL);
bool L_3 = ___ownsSocket1;
__this->set_m_OwnsSocket_7(L_3);
return;
}
}
// System.Boolean System.Net.Sockets.NetworkStream::get_CanRead()
extern "C" IL2CPP_METHOD_ATTR bool NetworkStream_get_CanRead_m995827301 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_CanRead_m995827301_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_CanRead_m995827301_RuntimeMethod_var);
{
bool L_0 = __this->get_m_Readable_5();
return L_0;
}
}
// System.Boolean System.Net.Sockets.NetworkStream::get_CanSeek()
extern "C" IL2CPP_METHOD_ATTR bool NetworkStream_get_CanSeek_m2713257202 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_CanSeek_m2713257202_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_CanSeek_m2713257202_RuntimeMethod_var);
{
return (bool)0;
}
}
// System.Boolean System.Net.Sockets.NetworkStream::get_CanWrite()
extern "C" IL2CPP_METHOD_ATTR bool NetworkStream_get_CanWrite_m3803109243 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_CanWrite_m3803109243_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_CanWrite_m3803109243_RuntimeMethod_var);
{
bool L_0 = __this->get_m_Writeable_6();
return L_0;
}
}
// System.Int32 System.Net.Sockets.NetworkStream::get_ReadTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkStream_get_ReadTimeout_m266050210 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_ReadTimeout_m266050210_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_ReadTimeout_m266050210_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_t1119025450 * L_0 = __this->get_m_StreamSocket_4();
NullCheck(L_0);
RuntimeObject * L_1 = Socket_GetSocketOption_m419986124(L_0, ((int32_t)65535), ((int32_t)4102), /*hidden argument*/NULL);
V_0 = ((*(int32_t*)((int32_t*)UnBox(L_1, Int32_t2950945753_il2cpp_TypeInfo_var))));
int32_t L_2 = V_0;
if (L_2)
{
goto IL_0020;
}
}
{
return (-1);
}
IL_0020:
{
int32_t L_3 = V_0;
return L_3;
}
}
// System.Int32 System.Net.Sockets.NetworkStream::get_WriteTimeout()
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkStream_get_WriteTimeout_m936731250 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_WriteTimeout_m936731250_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_WriteTimeout_m936731250_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_t1119025450 * L_0 = __this->get_m_StreamSocket_4();
NullCheck(L_0);
RuntimeObject * L_1 = Socket_GetSocketOption_m419986124(L_0, ((int32_t)65535), ((int32_t)4101), /*hidden argument*/NULL);
V_0 = ((*(int32_t*)((int32_t*)UnBox(L_1, Int32_t2950945753_il2cpp_TypeInfo_var))));
int32_t L_2 = V_0;
if (L_2)
{
goto IL_0020;
}
}
{
return (-1);
}
IL_0020:
{
int32_t L_3 = V_0;
return L_3;
}
}
// System.Int64 System.Net.Sockets.NetworkStream::get_Length()
extern "C" IL2CPP_METHOD_ATTR int64_t NetworkStream_get_Length_m2134439603 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_Length_m2134439603_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_Length_m2134439603_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream_get_Length_m2134439603_RuntimeMethod_var);
}
}
// System.Int64 System.Net.Sockets.NetworkStream::get_Position()
extern "C" IL2CPP_METHOD_ATTR int64_t NetworkStream_get_Position_m4060665641 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_get_Position_m4060665641_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_get_Position_m4060665641_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream_get_Position_m4060665641_RuntimeMethod_var);
}
}
// System.Void System.Net.Sockets.NetworkStream::set_Position(System.Int64)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_set_Position_m4274646361 (NetworkStream_t4071955934 * __this, int64_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_set_Position_m4274646361_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_set_Position_m4274646361_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream_set_Position_m4274646361_RuntimeMethod_var);
}
}
// System.Int64 System.Net.Sockets.NetworkStream::Seek(System.Int64,System.IO.SeekOrigin)
extern "C" IL2CPP_METHOD_ATTR int64_t NetworkStream_Seek_m873044447 (NetworkStream_t4071955934 * __this, int64_t ___offset0, int32_t ___origin1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Seek_m873044447_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Seek_m873044447_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream_Seek_m873044447_RuntimeMethod_var);
}
}
// System.Void System.Net.Sockets.NetworkStream::InitNetworkStream(System.Net.Sockets.Socket,System.IO.FileAccess)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_InitNetworkStream_m961292768 (NetworkStream_t4071955934 * __this, Socket_t1119025450 * ___socket0, int32_t ___Access1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_InitNetworkStream_m961292768_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_InitNetworkStream_m961292768_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = ___socket0;
NullCheck(L_0);
bool L_1 = Socket_get_Blocking_m140927673(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0018;
}
}
{
String_t* L_2 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1800292754, /*hidden argument*/NULL);
IOException_t4088381929 * L_3 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, NetworkStream_InitNetworkStream_m961292768_RuntimeMethod_var);
}
IL_0018:
{
Socket_t1119025450 * L_4 = ___socket0;
NullCheck(L_4);
bool L_5 = Socket_get_Connected_m2875145796(L_4, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0030;
}
}
{
String_t* L_6 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1614880162, /*hidden argument*/NULL);
IOException_t4088381929 * L_7 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, NetworkStream_InitNetworkStream_m961292768_RuntimeMethod_var);
}
IL_0030:
{
Socket_t1119025450 * L_8 = ___socket0;
NullCheck(L_8);
int32_t L_9 = Socket_get_SocketType_m1610605419(L_8, /*hidden argument*/NULL);
if ((((int32_t)L_9) == ((int32_t)1)))
{
goto IL_0049;
}
}
{
String_t* L_10 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral383978969, /*hidden argument*/NULL);
IOException_t4088381929 * L_11 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_11, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, NetworkStream_InitNetworkStream_m961292768_RuntimeMethod_var);
}
IL_0049:
{
Socket_t1119025450 * L_12 = ___socket0;
__this->set_m_StreamSocket_4(L_12);
int32_t L_13 = ___Access1;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)1)))
{
case 0:
{
goto IL_0066;
}
case 1:
{
goto IL_006e;
}
case 2:
{
goto IL_0076;
}
}
}
{
goto IL_0076;
}
IL_0066:
{
__this->set_m_Readable_5((bool)1);
return;
}
IL_006e:
{
__this->set_m_Writeable_6((bool)1);
return;
}
IL_0076:
{
__this->set_m_Readable_5((bool)1);
__this->set_m_Writeable_6((bool)1);
return;
}
}
// System.Int32 System.Net.Sockets.NetworkStream::Read(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkStream_Read_m89488240 (NetworkStream_t4071955934 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Read_m89488240_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Read_m89488240_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
bool G_B2_0 = false;
bool G_B1_0 = false;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(7 /* System.Boolean System.IO.Stream::get_CanRead() */, __this);
bool L_1 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
G_B1_0 = L_0;
if (!L_1)
{
G_B2_0 = L_0;
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_0021:
{
if (G_B2_0)
{
goto IL_0033;
}
}
{
String_t* L_5 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral2593541830, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_6 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_0033:
{
ByteU5BU5D_t4116647657* L_7 = ___buffer0;
if (L_7)
{
goto IL_0041;
}
}
{
ArgumentNullException_t1615371798 * L_8 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_8, _stringLiteral3939495523, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_0041:
{
int32_t L_9 = ___offset1;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_004b;
}
}
{
int32_t L_10 = ___offset1;
ByteU5BU5D_t4116647657* L_11 = ___buffer0;
NullCheck(L_11);
if ((((int32_t)L_10) <= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))))
{
goto IL_0056;
}
}
IL_004b:
{
ArgumentOutOfRangeException_t777629997 * L_12 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_12, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_0056:
{
int32_t L_13 = ___size2;
if ((((int32_t)L_13) < ((int32_t)0)))
{
goto IL_0062;
}
}
{
int32_t L_14 = ___size2;
ByteU5BU5D_t4116647657* L_15 = ___buffer0;
NullCheck(L_15);
int32_t L_16 = ___offset1;
if ((((int32_t)L_14) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), (int32_t)L_16)))))
{
goto IL_006d;
}
}
IL_0062:
{
ArgumentOutOfRangeException_t777629997 * L_17 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_17, _stringLiteral4049040645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_006d:
{
Socket_t1119025450 * L_18 = __this->get_m_StreamSocket_4();
V_0 = L_18;
Socket_t1119025450 * L_19 = V_0;
if (L_19)
{
goto IL_009a;
}
}
{
ObjectU5BU5D_t2843939325* L_20 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_21 = L_20;
String_t* L_22 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_21);
ArrayElementTypeCheck (L_21, L_22);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_22);
String_t* L_23 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_21, /*hidden argument*/NULL);
IOException_t4088381929 * L_24 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_24, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_009a:
{
}
IL_009b:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_25 = V_0;
ByteU5BU5D_t4116647657* L_26 = ___buffer0;
int32_t L_27 = ___offset1;
int32_t L_28 = ___size2;
NullCheck(L_25);
int32_t L_29 = Socket_Receive_m3794758455(L_25, L_26, L_27, L_28, 0, /*hidden argument*/NULL);
V_1 = L_29;
goto IL_00e3;
} // 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_00a8;
throw e;
}
CATCH_00a8:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)__exception_local);
Exception_t * L_30 = V_2;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_30, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_00c1;
}
}
IL_00b1:
{
Exception_t * L_31 = V_2;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_31, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_00c1;
}
}
IL_00b9:
{
Exception_t * L_32 = V_2;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_32, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_00c3;
}
}
IL_00c1:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
IL_00c3:
{
ObjectU5BU5D_t2843939325* L_33 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_34 = L_33;
Exception_t * L_35 = V_2;
NullCheck(L_35);
String_t* L_36 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_35);
NullCheck(L_34);
ArrayElementTypeCheck (L_34, L_36);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_36);
String_t* L_37 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_34, /*hidden argument*/NULL);
Exception_t * L_38 = V_2;
IOException_t4088381929 * L_39 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_39, L_37, L_38, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_39, NULL, NetworkStream_Read_m89488240_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00e3:
{
int32_t L_40 = V_1;
return L_40;
}
}
// System.Void System.Net.Sockets.NetworkStream::Write(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_Write_m172181053 (NetworkStream_t4071955934 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Write_m172181053_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Write_m172181053_RuntimeMethod_var);
Socket_t1119025450 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
bool G_B2_0 = false;
bool G_B1_0 = false;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.Stream::get_CanWrite() */, __this);
bool L_1 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
G_B1_0 = L_0;
if (!L_1)
{
G_B2_0 = L_0;
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_0021:
{
if (G_B2_0)
{
goto IL_0033;
}
}
{
String_t* L_5 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral158230655, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_6 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_0033:
{
ByteU5BU5D_t4116647657* L_7 = ___buffer0;
if (L_7)
{
goto IL_0041;
}
}
{
ArgumentNullException_t1615371798 * L_8 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_8, _stringLiteral3939495523, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_0041:
{
int32_t L_9 = ___offset1;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_004b;
}
}
{
int32_t L_10 = ___offset1;
ByteU5BU5D_t4116647657* L_11 = ___buffer0;
NullCheck(L_11);
if ((((int32_t)L_10) <= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))))
{
goto IL_0056;
}
}
IL_004b:
{
ArgumentOutOfRangeException_t777629997 * L_12 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_12, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_0056:
{
int32_t L_13 = ___size2;
if ((((int32_t)L_13) < ((int32_t)0)))
{
goto IL_0062;
}
}
{
int32_t L_14 = ___size2;
ByteU5BU5D_t4116647657* L_15 = ___buffer0;
NullCheck(L_15);
int32_t L_16 = ___offset1;
if ((((int32_t)L_14) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), (int32_t)L_16)))))
{
goto IL_006d;
}
}
IL_0062:
{
ArgumentOutOfRangeException_t777629997 * L_17 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_17, _stringLiteral4049040645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_006d:
{
Socket_t1119025450 * L_18 = __this->get_m_StreamSocket_4();
V_0 = L_18;
Socket_t1119025450 * L_19 = V_0;
if (L_19)
{
goto IL_009a;
}
}
{
ObjectU5BU5D_t2843939325* L_20 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_21 = L_20;
String_t* L_22 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_21);
ArrayElementTypeCheck (L_21, L_22);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_22);
String_t* L_23 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_21, /*hidden argument*/NULL);
IOException_t4088381929 * L_24 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_24, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_009a:
{
}
IL_009b:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_25 = V_0;
ByteU5BU5D_t4116647657* L_26 = ___buffer0;
int32_t L_27 = ___offset1;
int32_t L_28 = ___size2;
NullCheck(L_25);
Socket_Send_m2509318470(L_25, L_26, L_27, L_28, 0, /*hidden argument*/NULL);
goto IL_00e3;
} // 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_00a8;
throw e;
}
CATCH_00a8:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t *)__exception_local);
Exception_t * L_29 = V_1;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_29, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_00c1;
}
}
IL_00b1:
{
Exception_t * L_30 = V_1;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_30, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_00c1;
}
}
IL_00b9:
{
Exception_t * L_31 = V_1;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_31, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_00c3;
}
}
IL_00c1:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
IL_00c3:
{
ObjectU5BU5D_t2843939325* L_32 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_33 = L_32;
Exception_t * L_34 = V_1;
NullCheck(L_34);
String_t* L_35 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_34);
NullCheck(L_33);
ArrayElementTypeCheck (L_33, L_35);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_35);
String_t* L_36 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_33, /*hidden argument*/NULL);
Exception_t * L_37 = V_1;
IOException_t4088381929 * L_38 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_38, L_36, L_37, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_38, NULL, NetworkStream_Write_m172181053_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00e3:
{
return;
}
}
// System.Void System.Net.Sockets.NetworkStream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_Dispose_m4074776990 (NetworkStream_t4071955934 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Dispose_m4074776990_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Dispose_m4074776990_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
{
bool L_0 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_CleanedUp_9(1);
bool L_1 = ___disposing0;
if (!((int32_t)((int32_t)((((int32_t)L_0) == ((int32_t)0))? 1 : 0)&(int32_t)L_1)))
{
goto IL_0053;
}
}
{
Socket_t1119025450 * L_2 = __this->get_m_StreamSocket_4();
if (!L_2)
{
goto IL_0053;
}
}
{
__this->set_m_Readable_5((bool)0);
__this->set_m_Writeable_6((bool)0);
bool L_3 = __this->get_m_OwnsSocket_7();
if (!L_3)
{
goto IL_0053;
}
}
{
Socket_t1119025450 * L_4 = __this->get_m_StreamSocket_4();
V_0 = L_4;
Socket_t1119025450 * L_5 = V_0;
if (!L_5)
{
goto IL_0053;
}
}
{
Socket_t1119025450 * L_6 = V_0;
NullCheck(L_6);
Socket_InternalShutdown_m1075955397(L_6, 2, /*hidden argument*/NULL);
Socket_t1119025450 * L_7 = V_0;
int32_t L_8 = __this->get_m_CloseTimeout_8();
NullCheck(L_7);
Socket_Close_m2076598688(L_7, L_8, /*hidden argument*/NULL);
}
IL_0053:
{
bool L_9 = ___disposing0;
Stream_Dispose_m874059170(__this, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.NetworkStream::Finalize()
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_Finalize_m382940703 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Finalize_m382940703_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Finalize_m382940703_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(16 /* System.Void System.IO.Stream::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x10, FINALLY_0009);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0009;
}
FINALLY_0009:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(9)
} // end finally (depth: 1)
IL2CPP_CLEANUP(9)
{
IL2CPP_JUMP_TBL(0x10, IL_0010)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0010:
{
return;
}
}
// System.IAsyncResult System.Net.Sockets.NetworkStream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NetworkStream_BeginRead_m194067695 (NetworkStream_t4071955934 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, AsyncCallback_t3962456242 * ___callback3, RuntimeObject * ___state4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_BeginRead_m194067695_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
RuntimeObject* V_1 = NULL;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
bool G_B2_0 = false;
bool G_B1_0 = false;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(7 /* System.Boolean System.IO.Stream::get_CanRead() */, __this);
bool L_1 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
G_B1_0 = L_0;
if (!L_1)
{
G_B2_0 = L_0;
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_0021:
{
if (G_B2_0)
{
goto IL_0033;
}
}
{
String_t* L_5 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral2593541830, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_6 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_0033:
{
ByteU5BU5D_t4116647657* L_7 = ___buffer0;
if (L_7)
{
goto IL_0041;
}
}
{
ArgumentNullException_t1615371798 * L_8 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_8, _stringLiteral3939495523, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_0041:
{
int32_t L_9 = ___offset1;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_004b;
}
}
{
int32_t L_10 = ___offset1;
ByteU5BU5D_t4116647657* L_11 = ___buffer0;
NullCheck(L_11);
if ((((int32_t)L_10) <= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))))
{
goto IL_0056;
}
}
IL_004b:
{
ArgumentOutOfRangeException_t777629997 * L_12 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_12, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_0056:
{
int32_t L_13 = ___size2;
if ((((int32_t)L_13) < ((int32_t)0)))
{
goto IL_0062;
}
}
{
int32_t L_14 = ___size2;
ByteU5BU5D_t4116647657* L_15 = ___buffer0;
NullCheck(L_15);
int32_t L_16 = ___offset1;
if ((((int32_t)L_14) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), (int32_t)L_16)))))
{
goto IL_006d;
}
}
IL_0062:
{
ArgumentOutOfRangeException_t777629997 * L_17 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_17, _stringLiteral4049040645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_006d:
{
Socket_t1119025450 * L_18 = __this->get_m_StreamSocket_4();
V_0 = L_18;
Socket_t1119025450 * L_19 = V_0;
if (L_19)
{
goto IL_009a;
}
}
{
ObjectU5BU5D_t2843939325* L_20 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_21 = L_20;
String_t* L_22 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_21);
ArrayElementTypeCheck (L_21, L_22);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_22);
String_t* L_23 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_21, /*hidden argument*/NULL);
IOException_t4088381929 * L_24 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_24, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_009a:
{
}
IL_009b:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_25 = V_0;
ByteU5BU5D_t4116647657* L_26 = ___buffer0;
int32_t L_27 = ___offset1;
int32_t L_28 = ___size2;
AsyncCallback_t3962456242 * L_29 = ___callback3;
RuntimeObject * L_30 = ___state4;
NullCheck(L_25);
RuntimeObject* L_31 = Socket_BeginReceive_m2439065097(L_25, L_26, L_27, L_28, 0, L_29, L_30, /*hidden argument*/NULL);
V_1 = L_31;
goto IL_00e7;
} // 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_00ac;
throw e;
}
CATCH_00ac:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)__exception_local);
Exception_t * L_32 = V_2;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_32, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_00c5;
}
}
IL_00b5:
{
Exception_t * L_33 = V_2;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_33, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_00c5;
}
}
IL_00bd:
{
Exception_t * L_34 = V_2;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_34, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_00c7;
}
}
IL_00c5:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
IL_00c7:
{
ObjectU5BU5D_t2843939325* L_35 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_36 = L_35;
Exception_t * L_37 = V_2;
NullCheck(L_37);
String_t* L_38 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_37);
NullCheck(L_36);
ArrayElementTypeCheck (L_36, L_38);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_38);
String_t* L_39 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_36, /*hidden argument*/NULL);
Exception_t * L_40 = V_2;
IOException_t4088381929 * L_41 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_41, L_39, L_40, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, NULL, NetworkStream_BeginRead_m194067695_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00e7:
{
RuntimeObject* L_42 = V_1;
return L_42;
}
}
// System.Int32 System.Net.Sockets.NetworkStream::EndRead(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkStream_EndRead_m1637001035 (NetworkStream_t4071955934 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_EndRead_m1637001035_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
bool L_0 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
if (!L_0)
{
goto IL_001b;
}
}
{
Type_t * L_1 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_1);
String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_1);
ObjectDisposedException_t21392786 * L_3 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
}
IL_001b:
{
RuntimeObject* L_4 = ___asyncResult0;
if (L_4)
{
goto IL_0029;
}
}
{
ArgumentNullException_t1615371798 * L_5 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_5, _stringLiteral844061258, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
}
IL_0029:
{
Socket_t1119025450 * L_6 = __this->get_m_StreamSocket_4();
V_0 = L_6;
Socket_t1119025450 * L_7 = V_0;
if (L_7)
{
goto IL_0056;
}
}
{
ObjectU5BU5D_t2843939325* L_8 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_9 = L_8;
String_t* L_10 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_10);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_10);
String_t* L_11 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_9, /*hidden argument*/NULL);
IOException_t4088381929 * L_12 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_12, L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
}
IL_0056:
{
}
IL_0057:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_13 = V_0;
RuntimeObject* L_14 = ___asyncResult0;
NullCheck(L_13);
int32_t L_15 = Socket_EndReceive_m2385446150(L_13, L_14, /*hidden argument*/NULL);
V_1 = L_15;
goto IL_009c;
} // 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_0061;
throw e;
}
CATCH_0061:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)__exception_local);
Exception_t * L_16 = V_2;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_16, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_007a;
}
}
IL_006a:
{
Exception_t * L_17 = V_2;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_17, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_007a;
}
}
IL_0072:
{
Exception_t * L_18 = V_2;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_18, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_007c;
}
}
IL_007a:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
}
IL_007c:
{
ObjectU5BU5D_t2843939325* L_19 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_20 = L_19;
Exception_t * L_21 = V_2;
NullCheck(L_21);
String_t* L_22 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_21);
NullCheck(L_20);
ArrayElementTypeCheck (L_20, L_22);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_22);
String_t* L_23 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral2521776910, L_20, /*hidden argument*/NULL);
Exception_t * L_24 = V_2;
IOException_t4088381929 * L_25 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_25, L_23, L_24, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_25, NULL, NetworkStream_EndRead_m1637001035_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_009c:
{
int32_t L_26 = V_1;
return L_26;
}
}
// System.IAsyncResult System.Net.Sockets.NetworkStream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* NetworkStream_BeginWrite_m1919375747 (NetworkStream_t4071955934 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, AsyncCallback_t3962456242 * ___callback3, RuntimeObject * ___state4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_BeginWrite_m1919375747_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
RuntimeObject* V_1 = NULL;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
bool G_B2_0 = false;
bool G_B1_0 = false;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean System.IO.Stream::get_CanWrite() */, __this);
bool L_1 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
G_B1_0 = L_0;
if (!L_1)
{
G_B2_0 = L_0;
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_0021:
{
if (G_B2_0)
{
goto IL_0033;
}
}
{
String_t* L_5 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral158230655, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_6 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_0033:
{
ByteU5BU5D_t4116647657* L_7 = ___buffer0;
if (L_7)
{
goto IL_0041;
}
}
{
ArgumentNullException_t1615371798 * L_8 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_8, _stringLiteral3939495523, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_0041:
{
int32_t L_9 = ___offset1;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_004b;
}
}
{
int32_t L_10 = ___offset1;
ByteU5BU5D_t4116647657* L_11 = ___buffer0;
NullCheck(L_11);
if ((((int32_t)L_10) <= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))))
{
goto IL_0056;
}
}
IL_004b:
{
ArgumentOutOfRangeException_t777629997 * L_12 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_12, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_0056:
{
int32_t L_13 = ___size2;
if ((((int32_t)L_13) < ((int32_t)0)))
{
goto IL_0062;
}
}
{
int32_t L_14 = ___size2;
ByteU5BU5D_t4116647657* L_15 = ___buffer0;
NullCheck(L_15);
int32_t L_16 = ___offset1;
if ((((int32_t)L_14) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), (int32_t)L_16)))))
{
goto IL_006d;
}
}
IL_0062:
{
ArgumentOutOfRangeException_t777629997 * L_17 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_17, _stringLiteral4049040645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_006d:
{
Socket_t1119025450 * L_18 = __this->get_m_StreamSocket_4();
V_0 = L_18;
Socket_t1119025450 * L_19 = V_0;
if (L_19)
{
goto IL_009a;
}
}
{
ObjectU5BU5D_t2843939325* L_20 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_21 = L_20;
String_t* L_22 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_21);
ArrayElementTypeCheck (L_21, L_22);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_22);
String_t* L_23 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_21, /*hidden argument*/NULL);
IOException_t4088381929 * L_24 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_24, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_009a:
{
}
IL_009b:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_25 = V_0;
ByteU5BU5D_t4116647657* L_26 = ___buffer0;
int32_t L_27 = ___offset1;
int32_t L_28 = ___size2;
AsyncCallback_t3962456242 * L_29 = ___callback3;
RuntimeObject * L_30 = ___state4;
NullCheck(L_25);
RuntimeObject* L_31 = Socket_BeginSend_m2697766330(L_25, L_26, L_27, L_28, 0, L_29, L_30, /*hidden argument*/NULL);
V_1 = L_31;
goto IL_00e7;
} // 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_00ac;
throw e;
}
CATCH_00ac:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t *)__exception_local);
Exception_t * L_32 = V_2;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_32, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_00c5;
}
}
IL_00b5:
{
Exception_t * L_33 = V_2;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_33, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_00c5;
}
}
IL_00bd:
{
Exception_t * L_34 = V_2;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_34, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_00c7;
}
}
IL_00c5:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
IL_00c7:
{
ObjectU5BU5D_t2843939325* L_35 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_36 = L_35;
Exception_t * L_37 = V_2;
NullCheck(L_37);
String_t* L_38 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_37);
NullCheck(L_36);
ArrayElementTypeCheck (L_36, L_38);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_38);
String_t* L_39 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_36, /*hidden argument*/NULL);
Exception_t * L_40 = V_2;
IOException_t4088381929 * L_41 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_41, L_39, L_40, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, NULL, NetworkStream_BeginWrite_m1919375747_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00e7:
{
RuntimeObject* L_42 = V_1;
return L_42;
}
}
// System.Void System.Net.Sockets.NetworkStream::EndWrite(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_EndWrite_m2616051554 (NetworkStream_t4071955934 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_EndWrite_m2616051554_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
Socket_t1119025450 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
bool L_0 = __this->get_m_CleanedUp_9();
il2cpp_codegen_memory_barrier();
if (!L_0)
{
goto IL_001b;
}
}
{
Type_t * L_1 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_1);
String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_1);
ObjectDisposedException_t21392786 * L_3 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
}
IL_001b:
{
RuntimeObject* L_4 = ___asyncResult0;
if (L_4)
{
goto IL_0029;
}
}
{
ArgumentNullException_t1615371798 * L_5 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_5, _stringLiteral844061258, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
}
IL_0029:
{
Socket_t1119025450 * L_6 = __this->get_m_StreamSocket_4();
V_0 = L_6;
Socket_t1119025450 * L_7 = V_0;
if (L_7)
{
goto IL_0056;
}
}
{
ObjectU5BU5D_t2843939325* L_8 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_9 = L_8;
String_t* L_10 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1054262580, /*hidden argument*/NULL);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_10);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_10);
String_t* L_11 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_9, /*hidden argument*/NULL);
IOException_t4088381929 * L_12 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3662782713(L_12, L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
}
IL_0056:
{
}
IL_0057:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_13 = V_0;
RuntimeObject* L_14 = ___asyncResult0;
NullCheck(L_13);
Socket_EndSend_m2816431255(L_13, L_14, /*hidden argument*/NULL);
goto IL_009c;
} // 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_0061;
throw e;
}
CATCH_0061:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t *)__exception_local);
Exception_t * L_15 = V_1;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_15, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_007a;
}
}
IL_006a:
{
Exception_t * L_16 = V_1;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_16, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_007a;
}
}
IL_0072:
{
Exception_t * L_17 = V_1;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_17, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_007c;
}
}
IL_007a:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
}
IL_007c:
{
ObjectU5BU5D_t2843939325* L_18 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_19 = L_18;
Exception_t * L_20 = V_1;
NullCheck(L_20);
String_t* L_21 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_20);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_21);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_21);
String_t* L_22 = SR_GetString_m2133537544(NULL /*static, unused*/, _stringLiteral1903396256, L_19, /*hidden argument*/NULL);
Exception_t * L_23 = V_1;
IOException_t4088381929 * L_24 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_24, L_22, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, NetworkStream_EndWrite_m2616051554_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_009c:
{
return;
}
}
// System.Void System.Net.Sockets.NetworkStream::Flush()
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_Flush_m1348361755 (NetworkStream_t4071955934 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_Flush_m1348361755_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_Flush_m1348361755_RuntimeMethod_var);
{
return;
}
}
// System.Void System.Net.Sockets.NetworkStream::SetLength(System.Int64)
extern "C" IL2CPP_METHOD_ATTR void NetworkStream_SetLength_m1368482808 (NetworkStream_t4071955934 * __this, int64_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NetworkStream_SetLength_m1368482808_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(NetworkStream_SetLength_m1368482808_RuntimeMethod_var);
{
String_t* L_0 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral125440369, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_1 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_1, L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, NetworkStream_SetLength_m1368482808_RuntimeMethod_var);
}
}
#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.Net.Sockets.SafeSocketHandle::.ctor(System.IntPtr,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle__ctor_m339710951 (SafeSocketHandle_t610293888 * __this, intptr_t ___preexistingHandle0, bool ___ownsHandle1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SafeSocketHandle__ctor_m339710951_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SafeSocketHandle__ctor_m339710951_RuntimeMethod_var);
{
bool L_0 = ___ownsHandle1;
SafeHandleZeroOrMinusOneIsInvalid__ctor_m2667299826(__this, L_0, /*hidden argument*/NULL);
intptr_t L_1 = ___preexistingHandle0;
SafeHandle_SetHandle_m2809947802(__this, L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
bool L_2 = ((SafeSocketHandle_t610293888_StaticFields*)il2cpp_codegen_static_fields_for(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var))->get_THROW_ON_ABORT_RETRIES_9();
if (!L_2)
{
goto IL_0020;
}
}
{
Dictionary_2_t922677896 * L_3 = (Dictionary_2_t922677896 *)il2cpp_codegen_object_new(Dictionary_2_t922677896_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m1446229865(L_3, /*hidden argument*/Dictionary_2__ctor_m1446229865_RuntimeMethod_var);
__this->set_threads_stacktraces_7(L_3);
}
IL_0020:
{
return;
}
}
// System.Boolean System.Net.Sockets.SafeSocketHandle::ReleaseHandle()
extern "C" IL2CPP_METHOD_ATTR bool SafeSocketHandle_ReleaseHandle_m115824575 (SafeSocketHandle_t610293888 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SafeSocketHandle_ReleaseHandle_m115824575_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SafeSocketHandle_ReleaseHandle_m115824575_RuntimeMethod_var);
int32_t V_0 = 0;
List_1_t3772910811 * V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
StringBuilder_t * V_4 = NULL;
Enumerator_t1367187392 V_5;
memset(&V_5, 0, sizeof(V_5));
Thread_t2300836069 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = 0;
intptr_t L_0 = ((SafeHandle_t3273388951 *)__this)->get_handle_0();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Blocking_internal_m937501832(NULL /*static, unused*/, L_0, (bool)0, (int32_t*)(&V_0), /*hidden argument*/NULL);
List_1_t3772910811 * L_1 = __this->get_blocking_threads_6();
if (!L_1)
{
goto IL_0153;
}
}
{
List_1_t3772910811 * L_2 = __this->get_blocking_threads_6();
V_1 = L_2;
V_2 = (bool)0;
}
IL_0024:
try
{ // begin try (depth: 1)
{
List_1_t3772910811 * L_3 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_3, (bool*)(&V_2), /*hidden argument*/NULL);
V_3 = 0;
goto IL_0136;
}
IL_0033:
{
int32_t L_4 = V_3;
int32_t L_5 = L_4;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
if ((((int32_t)L_5) < ((int32_t)((int32_t)10))))
{
goto IL_00ca;
}
}
IL_003f:
{
IL2CPP_RUNTIME_CLASS_INIT(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
bool L_6 = ((SafeSocketHandle_t610293888_StaticFields*)il2cpp_codegen_static_fields_for(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var))->get_THROW_ON_ABORT_RETRIES_9();
if (!L_6)
{
goto IL_0147;
}
}
IL_0049:
{
StringBuilder_t * L_7 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_7, /*hidden argument*/NULL);
V_4 = L_7;
StringBuilder_t * L_8 = V_4;
NullCheck(L_8);
StringBuilder_AppendLine_m1438862993(L_8, _stringLiteral2930551027, /*hidden argument*/NULL);
List_1_t3772910811 * L_9 = __this->get_blocking_threads_6();
NullCheck(L_9);
Enumerator_t1367187392 L_10 = List_1_GetEnumerator_m179237162(L_9, /*hidden argument*/List_1_GetEnumerator_m179237162_RuntimeMethod_var);
V_5 = L_10;
}
IL_006a:
try
{ // begin try (depth: 2)
{
goto IL_009c;
}
IL_006c:
{
Thread_t2300836069 * L_11 = Enumerator_get_Current_m953840108((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_get_Current_m953840108_RuntimeMethod_var);
V_6 = L_11;
StringBuilder_t * L_12 = V_4;
NullCheck(L_12);
StringBuilder_AppendLine_m1438862993(L_12, _stringLiteral2839682518, /*hidden argument*/NULL);
StringBuilder_t * L_13 = V_4;
Dictionary_2_t922677896 * L_14 = __this->get_threads_stacktraces_7();
Thread_t2300836069 * L_15 = V_6;
NullCheck(L_14);
StackTrace_t1598645457 * L_16 = Dictionary_2_get_Item_m508500528(L_14, L_15, /*hidden argument*/Dictionary_2_get_Item_m508500528_RuntimeMethod_var);
NullCheck(L_16);
String_t* L_17 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_16);
NullCheck(L_13);
StringBuilder_AppendLine_m1438862993(L_13, L_17, /*hidden argument*/NULL);
}
IL_009c:
{
bool L_18 = Enumerator_MoveNext_m480169131((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_MoveNext_m480169131_RuntimeMethod_var);
if (L_18)
{
goto IL_006c;
}
}
IL_00a5:
{
IL2CPP_LEAVE(0xB5, FINALLY_00a7);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a7;
}
FINALLY_00a7:
{ // begin finally (depth: 2)
Enumerator_Dispose_m3364478653((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_Dispose_m3364478653_RuntimeMethod_var);
IL2CPP_END_FINALLY(167)
} // end finally (depth: 2)
IL2CPP_CLEANUP(167)
{
IL2CPP_JUMP_TBL(0xB5, IL_00b5)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b5:
{
StringBuilder_t * L_19 = V_4;
NullCheck(L_19);
StringBuilder_AppendLine_m2783356575(L_19, /*hidden argument*/NULL);
StringBuilder_t * L_20 = V_4;
NullCheck(L_20);
String_t* L_21 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_20);
Exception_t * L_22 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m1152696503(L_22, L_21, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, NULL, SafeSocketHandle_ReleaseHandle_m115824575_RuntimeMethod_var);
}
IL_00ca:
{
List_1_t3772910811 * L_23 = __this->get_blocking_threads_6();
NullCheck(L_23);
int32_t L_24 = List_1_get_Count_m3880499525(L_23, /*hidden argument*/List_1_get_Count_m3880499525_RuntimeMethod_var);
if ((!(((uint32_t)L_24) == ((uint32_t)1))))
{
goto IL_00ed;
}
}
IL_00d8:
{
List_1_t3772910811 * L_25 = __this->get_blocking_threads_6();
NullCheck(L_25);
Thread_t2300836069 * L_26 = List_1_get_Item_m3301963937(L_25, 0, /*hidden argument*/List_1_get_Item_m3301963937_RuntimeMethod_var);
Thread_t2300836069 * L_27 = Thread_get_CurrentThread_m4142136012(NULL /*static, unused*/, /*hidden argument*/NULL);
if ((!(((RuntimeObject*)(Thread_t2300836069 *)L_26) == ((RuntimeObject*)(Thread_t2300836069 *)L_27))))
{
goto IL_00ed;
}
}
IL_00eb:
{
IL2CPP_LEAVE(0x153, FINALLY_0149);
}
IL_00ed:
{
List_1_t3772910811 * L_28 = __this->get_blocking_threads_6();
NullCheck(L_28);
Enumerator_t1367187392 L_29 = List_1_GetEnumerator_m179237162(L_28, /*hidden argument*/List_1_GetEnumerator_m179237162_RuntimeMethod_var);
V_5 = L_29;
}
IL_00fa:
try
{ // begin try (depth: 2)
{
goto IL_0108;
}
IL_00fc:
{
Thread_t2300836069 * L_30 = Enumerator_get_Current_m953840108((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_get_Current_m953840108_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_cancel_blocking_socket_operation_m922726505(NULL /*static, unused*/, L_30, /*hidden argument*/NULL);
}
IL_0108:
{
bool L_31 = Enumerator_MoveNext_m480169131((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_MoveNext_m480169131_RuntimeMethod_var);
if (L_31)
{
goto IL_00fc;
}
}
IL_0111:
{
IL2CPP_LEAVE(0x121, FINALLY_0113);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0113;
}
FINALLY_0113:
{ // begin finally (depth: 2)
Enumerator_Dispose_m3364478653((Enumerator_t1367187392 *)(&V_5), /*hidden argument*/Enumerator_Dispose_m3364478653_RuntimeMethod_var);
IL2CPP_END_FINALLY(275)
} // end finally (depth: 2)
IL2CPP_CLEANUP(275)
{
IL2CPP_JUMP_TBL(0x121, IL_0121)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0121:
{
__this->set_in_cleanup_8((bool)1);
List_1_t3772910811 * L_32 = __this->get_blocking_threads_6();
Monitor_Wait_m1121125180(NULL /*static, unused*/, L_32, ((int32_t)100), /*hidden argument*/NULL);
}
IL_0136:
{
List_1_t3772910811 * L_33 = __this->get_blocking_threads_6();
NullCheck(L_33);
int32_t L_34 = List_1_get_Count_m3880499525(L_33, /*hidden argument*/List_1_get_Count_m3880499525_RuntimeMethod_var);
if ((((int32_t)L_34) > ((int32_t)0)))
{
goto IL_0033;
}
}
IL_0147:
{
IL2CPP_LEAVE(0x153, FINALLY_0149);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0149;
}
FINALLY_0149:
{ // begin finally (depth: 1)
{
bool L_35 = V_2;
if (!L_35)
{
goto IL_0152;
}
}
IL_014c:
{
List_1_t3772910811 * L_36 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
}
IL_0152:
{
IL2CPP_END_FINALLY(329)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(329)
{
IL2CPP_JUMP_TBL(0x153, IL_0153)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0153:
{
intptr_t L_37 = ((SafeHandle_t3273388951 *)__this)->get_handle_0();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Close_internal_m3541237784(NULL /*static, unused*/, L_37, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_38 = V_0;
return (bool)((((int32_t)L_38) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.Net.Sockets.SafeSocketHandle::RegisterForBlockingSyscall()
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle_RegisterForBlockingSyscall_m2358257996 (SafeSocketHandle_t610293888 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SafeSocketHandle_RegisterForBlockingSyscall_m2358257996_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SafeSocketHandle_RegisterForBlockingSyscall_m2358257996_RuntimeMethod_var);
bool V_0 = false;
List_1_t3772910811 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
List_1_t3772910811 * L_0 = __this->get_blocking_threads_6();
if (L_0)
{
goto IL_001a;
}
}
{
List_1_t3772910811 ** L_1 = __this->get_address_of_blocking_threads_6();
List_1_t3772910811 * L_2 = (List_1_t3772910811 *)il2cpp_codegen_object_new(List_1_t3772910811_il2cpp_TypeInfo_var);
List_1__ctor_m184824557(L_2, /*hidden argument*/List_1__ctor_m184824557_RuntimeMethod_var);
InterlockedCompareExchangeImpl<List_1_t3772910811 *>((List_1_t3772910811 **)L_1, L_2, (List_1_t3772910811 *)NULL);
}
IL_001a:
{
V_0 = (bool)0;
}
IL_001c:
try
{ // begin try (depth: 1)
SafeHandle_DangerousAddRef_m614714386(__this, (bool*)(&V_0), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x8D, FINALLY_0026);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0026;
}
FINALLY_0026:
{ // begin finally (depth: 1)
{
List_1_t3772910811 * L_3 = __this->get_blocking_threads_6();
V_1 = L_3;
V_2 = (bool)0;
}
IL_002f:
try
{ // begin try (depth: 2)
{
List_1_t3772910811 * L_4 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_4, (bool*)(&V_2), /*hidden argument*/NULL);
List_1_t3772910811 * L_5 = __this->get_blocking_threads_6();
Thread_t2300836069 * L_6 = Thread_get_CurrentThread_m4142136012(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_5);
List_1_Add_m1133289729(L_5, L_6, /*hidden argument*/List_1_Add_m1133289729_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
bool L_7 = ((SafeSocketHandle_t610293888_StaticFields*)il2cpp_codegen_static_fields_for(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var))->get_THROW_ON_ABORT_RETRIES_9();
if (!L_7)
{
goto IL_0064;
}
}
IL_004e:
{
Dictionary_2_t922677896 * L_8 = __this->get_threads_stacktraces_7();
Thread_t2300836069 * L_9 = Thread_get_CurrentThread_m4142136012(NULL /*static, unused*/, /*hidden argument*/NULL);
StackTrace_t1598645457 * L_10 = (StackTrace_t1598645457 *)il2cpp_codegen_object_new(StackTrace_t1598645457_il2cpp_TypeInfo_var);
StackTrace__ctor_m1120275749(L_10, (bool)1, /*hidden argument*/NULL);
NullCheck(L_8);
Dictionary_2_Add_m2169306730(L_8, L_9, L_10, /*hidden argument*/Dictionary_2_Add_m2169306730_RuntimeMethod_var);
}
IL_0064:
{
IL2CPP_LEAVE(0x70, FINALLY_0066);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0066;
}
FINALLY_0066:
{ // begin finally (depth: 2)
{
bool L_11 = V_2;
if (!L_11)
{
goto IL_006f;
}
}
IL_0069:
{
List_1_t3772910811 * L_12 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
}
IL_006f:
{
IL2CPP_END_FINALLY(102)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(102)
{
IL2CPP_JUMP_TBL(0x70, IL_0070)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0070:
{
bool L_13 = V_0;
if (!L_13)
{
goto IL_0079;
}
}
IL_0073:
{
SafeHandle_DangerousRelease_m190326290(__this, /*hidden argument*/NULL);
}
IL_0079:
{
bool L_14 = SafeHandle_get_IsClosed_m4017142519(__this, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_008c;
}
}
IL_0081:
{
SocketException_t3852068672 * L_15 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_15, ((int32_t)10004), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, SafeSocketHandle_RegisterForBlockingSyscall_m2358257996_RuntimeMethod_var);
}
IL_008c:
{
IL2CPP_END_FINALLY(38)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(38)
{
IL2CPP_JUMP_TBL(0x8D, IL_008d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008d:
{
return;
}
}
// System.Void System.Net.Sockets.SafeSocketHandle::UnRegisterForBlockingSyscall()
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727 (SafeSocketHandle_t610293888 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727_RuntimeMethod_var);
List_1_t3772910811 * V_0 = NULL;
bool V_1 = false;
Thread_t2300836069 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
List_1_t3772910811 * L_0 = __this->get_blocking_threads_6();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
List_1_t3772910811 * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
Thread_t2300836069 * L_2 = Thread_get_CurrentThread_m4142136012(NULL /*static, unused*/, /*hidden argument*/NULL);
V_2 = L_2;
List_1_t3772910811 * L_3 = __this->get_blocking_threads_6();
Thread_t2300836069 * L_4 = V_2;
NullCheck(L_3);
List_1_Remove_m937484048(L_3, L_4, /*hidden argument*/List_1_Remove_m937484048_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
bool L_5 = ((SafeSocketHandle_t610293888_StaticFields*)il2cpp_codegen_static_fields_for(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var))->get_THROW_ON_ABORT_RETRIES_9();
if (!L_5)
{
goto IL_0047;
}
}
IL_002b:
{
List_1_t3772910811 * L_6 = __this->get_blocking_threads_6();
Thread_t2300836069 * L_7 = V_2;
NullCheck(L_6);
int32_t L_8 = List_1_IndexOf_m1056369912(L_6, L_7, /*hidden argument*/List_1_IndexOf_m1056369912_RuntimeMethod_var);
if ((!(((uint32_t)L_8) == ((uint32_t)(-1)))))
{
goto IL_0047;
}
}
IL_003a:
{
Dictionary_2_t922677896 * L_9 = __this->get_threads_stacktraces_7();
Thread_t2300836069 * L_10 = V_2;
NullCheck(L_9);
Dictionary_2_Remove_m645676874(L_9, L_10, /*hidden argument*/Dictionary_2_Remove_m645676874_RuntimeMethod_var);
}
IL_0047:
{
bool L_11 = __this->get_in_cleanup_8();
if (!L_11)
{
goto IL_0067;
}
}
IL_004f:
{
List_1_t3772910811 * L_12 = __this->get_blocking_threads_6();
NullCheck(L_12);
int32_t L_13 = List_1_get_Count_m3880499525(L_12, /*hidden argument*/List_1_get_Count_m3880499525_RuntimeMethod_var);
if (L_13)
{
goto IL_0067;
}
}
IL_005c:
{
List_1_t3772910811 * L_14 = __this->get_blocking_threads_6();
Monitor_Pulse_m82725344(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
}
IL_0067:
{
IL2CPP_LEAVE(0x73, FINALLY_0069);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0069;
}
FINALLY_0069:
{ // begin finally (depth: 1)
{
bool L_15 = V_1;
if (!L_15)
{
goto IL_0072;
}
}
IL_006c:
{
List_1_t3772910811 * L_16 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
}
IL_0072:
{
IL2CPP_END_FINALLY(105)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(105)
{
IL2CPP_JUMP_TBL(0x73, IL_0073)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0073:
{
return;
}
}
// System.Void System.Net.Sockets.SafeSocketHandle::.cctor()
extern "C" IL2CPP_METHOD_ATTR void SafeSocketHandle__cctor_m564687165 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SafeSocketHandle__cctor_m564687165_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SafeSocketHandle__cctor_m564687165_RuntimeMethod_var);
{
String_t* L_0 = Environment_GetEnvironmentVariable_m394552009(NULL /*static, unused*/, _stringLiteral2988099792, /*hidden argument*/NULL);
bool L_1 = String_op_Equality_m920492651(NULL /*static, unused*/, L_0, _stringLiteral4119301762, /*hidden argument*/NULL);
((SafeSocketHandle_t610293888_StaticFields*)il2cpp_codegen_static_fields_for(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var))->set_THROW_ON_ABORT_RETRIES_9(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.Net.Sockets.Socket::.ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Socket__ctor_m3479084642 (Socket_t1119025450 * __this, int32_t ___addressFamily0, int32_t ___socketType1, int32_t ___protocolType2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket__ctor_m3479084642_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket__ctor_m3479084642_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
{
SemaphoreSlim_t2974092902 * L_0 = (SemaphoreSlim_t2974092902 *)il2cpp_codegen_object_new(SemaphoreSlim_t2974092902_il2cpp_TypeInfo_var);
SemaphoreSlim__ctor_m4204614050(L_0, 1, 1, /*hidden argument*/NULL);
__this->set_ReadSem_15(L_0);
SemaphoreSlim_t2974092902 * L_1 = (SemaphoreSlim_t2974092902 *)il2cpp_codegen_object_new(SemaphoreSlim_t2974092902_il2cpp_TypeInfo_var);
SemaphoreSlim__ctor_m4204614050(L_1, 1, 1, /*hidden argument*/NULL);
__this->set_WriteSem_16(L_1);
__this->set_is_blocking_17((bool)1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_2 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
il2cpp_codegen_memory_barrier();
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_s_LoggingEnabled_5(L_2);
bool L_3 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_LoggingEnabled_5();
il2cpp_codegen_memory_barrier();
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_4 = ___addressFamily0;
int32_t L_5 = ___socketType1;
int32_t L_6 = ___protocolType2;
intptr_t L_7 = Socket_Socket_internal_m1681190592(__this, L_4, L_5, L_6, (int32_t*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_8 = (SafeSocketHandle_t610293888 *)il2cpp_codegen_object_new(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
SafeSocketHandle__ctor_m339710951(L_8, L_7, (bool)1, /*hidden argument*/NULL);
__this->set_m_Handle_13(L_8);
SafeSocketHandle_t610293888 * L_9 = __this->get_m_Handle_13();
NullCheck(L_9);
bool L_10 = VirtFuncInvoker0< bool >::Invoke(5 /* System.Boolean System.Runtime.InteropServices.SafeHandle::get_IsInvalid() */, L_9);
if (!L_10)
{
goto IL_006a;
}
}
{
SocketException_t3852068672 * L_11 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m480722159(L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, Socket__ctor_m3479084642_RuntimeMethod_var);
}
IL_006a:
{
int32_t L_12 = ___addressFamily0;
__this->set_addressFamily_10(L_12);
int32_t L_13 = ___socketType1;
__this->set_socketType_11(L_13);
int32_t L_14 = ___protocolType2;
__this->set_protocolType_12(L_14);
IL2CPP_RUNTIME_CLASS_INIT(SettingsSectionInternal_t781171337_il2cpp_TypeInfo_var);
SettingsSectionInternal_t781171337 * L_15 = SettingsSectionInternal_get_Section_m1539574765(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_15);
int32_t L_16 = L_15->get_IPProtectionLevel_2();
V_1 = L_16;
int32_t L_17 = V_1;
if ((((int32_t)L_17) == ((int32_t)(-1))))
{
goto IL_0095;
}
}
{
int32_t L_18 = V_1;
Socket_SetIPProtectionLevel_m702436415(__this, L_18, /*hidden argument*/NULL);
}
IL_0095:
{
Socket_SocketDefaults_m2103159556(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_19 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_LoggingEnabled_5();
il2cpp_codegen_memory_barrier();
return;
}
}
// System.Boolean System.Net.Sockets.Socket::get_SupportsIPv4()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_SupportsIPv4_m1296530015 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_SupportsIPv4_m1296530015_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_SupportsIPv4_m1296530015_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_SupportsIPv4_1();
il2cpp_codegen_memory_barrier();
return L_0;
}
}
// System.Boolean System.Net.Sockets.Socket::get_OSSupportsIPv4()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_OSSupportsIPv4_m1922873662 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_OSSupportsIPv4_m1922873662_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_OSSupportsIPv4_m1922873662_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_SupportsIPv4_1();
il2cpp_codegen_memory_barrier();
return L_0;
}
}
// System.Boolean System.Net.Sockets.Socket::get_SupportsIPv6()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_SupportsIPv6_m1296530017 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_SupportsIPv6_m1296530017_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_SupportsIPv6_m1296530017_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_SupportsIPv6_2();
il2cpp_codegen_memory_barrier();
return L_0;
}
}
// System.Boolean System.Net.Sockets.Socket::get_OSSupportsIPv6()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_OSSupportsIPv6_m760074248 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_OSSupportsIPv6_m760074248_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_OSSupportsIPv6_m760074248_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_OSSupportsIPv6_3();
il2cpp_codegen_memory_barrier();
return L_0;
}
}
// System.IntPtr System.Net.Sockets.Socket::get_Handle()
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_get_Handle_m2249751627 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_Handle_m2249751627_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_Handle_m2249751627_RuntimeMethod_var);
{
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
NullCheck(L_0);
intptr_t L_1 = SafeHandle_DangerousGetHandle_m3697436134(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Net.Sockets.AddressFamily System.Net.Sockets.Socket::get_AddressFamily()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_AddressFamily_m51841532 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_AddressFamily_m51841532_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_AddressFamily_m51841532_RuntimeMethod_var);
{
int32_t L_0 = __this->get_addressFamily_10();
return L_0;
}
}
// System.Net.Sockets.SocketType System.Net.Sockets.Socket::get_SocketType()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_SocketType_m1610605419 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_SocketType_m1610605419_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_SocketType_m1610605419_RuntimeMethod_var);
{
int32_t L_0 = __this->get_socketType_11();
return L_0;
}
}
// System.Net.Sockets.ProtocolType System.Net.Sockets.Socket::get_ProtocolType()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_ProtocolType_m1935110519 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_ProtocolType_m1935110519_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_ProtocolType_m1935110519_RuntimeMethod_var);
{
int32_t L_0 = __this->get_protocolType_12();
return L_0;
}
}
// System.Void System.Net.Sockets.Socket::set_DontFragment(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_DontFragment_m1311305537 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_set_DontFragment_m1311305537_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_set_DontFragment_m1311305537_RuntimeMethod_var);
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
Socket_t1119025450 * G_B3_2 = NULL;
int32_t G_B2_0 = 0;
int32_t G_B2_1 = 0;
Socket_t1119025450 * G_B2_2 = NULL;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B4_2 = 0;
Socket_t1119025450 * G_B4_3 = NULL;
{
int32_t L_0 = __this->get_addressFamily_10();
if ((!(((uint32_t)L_0) == ((uint32_t)2))))
{
goto IL_001a;
}
}
{
bool L_1 = ___value0;
G_B2_0 = ((int32_t)14);
G_B2_1 = 0;
G_B2_2 = __this;
if (L_1)
{
G_B3_0 = ((int32_t)14);
G_B3_1 = 0;
G_B3_2 = __this;
goto IL_0013;
}
}
{
G_B4_0 = 0;
G_B4_1 = G_B2_0;
G_B4_2 = G_B2_1;
G_B4_3 = G_B2_2;
goto IL_0014;
}
IL_0013:
{
G_B4_0 = 1;
G_B4_1 = G_B3_0;
G_B4_2 = G_B3_1;
G_B4_3 = G_B3_2;
}
IL_0014:
{
NullCheck(G_B4_3);
Socket_SetSocketOption_m483522974(G_B4_3, G_B4_2, G_B4_1, G_B4_0, /*hidden argument*/NULL);
return;
}
IL_001a:
{
String_t* L_2 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1407019311, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_3 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Socket_set_DontFragment_m1311305537_RuntimeMethod_var);
}
}
// System.Boolean System.Net.Sockets.Socket::get_DualMode()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_DualMode_m1709958258 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_DualMode_m1709958258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_DualMode_m1709958258_RuntimeMethod_var);
{
int32_t L_0 = Socket_get_AddressFamily_m51841532(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)((int32_t)23))))
{
goto IL_001a;
}
}
{
String_t* L_1 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1407019311, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_2 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Socket_get_DualMode_m1709958258_RuntimeMethod_var);
}
IL_001a:
{
RuntimeObject * L_3 = Socket_GetSocketOption_m419986124(__this, ((int32_t)41), ((int32_t)27), /*hidden argument*/NULL);
return (bool)((((int32_t)((*(int32_t*)((int32_t*)UnBox(L_3, Int32_t2950945753_il2cpp_TypeInfo_var))))) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.Net.Sockets.Socket::set_DualMode(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_DualMode_m3338159327 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_set_DualMode_m3338159327_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_set_DualMode_m3338159327_RuntimeMethod_var);
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
Socket_t1119025450 * G_B4_2 = NULL;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
Socket_t1119025450 * G_B3_2 = NULL;
int32_t G_B5_0 = 0;
int32_t G_B5_1 = 0;
int32_t G_B5_2 = 0;
Socket_t1119025450 * G_B5_3 = NULL;
{
int32_t L_0 = Socket_get_AddressFamily_m51841532(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)((int32_t)23))))
{
goto IL_001a;
}
}
{
String_t* L_1 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1407019311, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_2 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Socket_set_DualMode_m3338159327_RuntimeMethod_var);
}
IL_001a:
{
bool L_3 = ___value0;
G_B3_0 = ((int32_t)27);
G_B3_1 = ((int32_t)41);
G_B3_2 = __this;
if (L_3)
{
G_B4_0 = ((int32_t)27);
G_B4_1 = ((int32_t)41);
G_B4_2 = __this;
goto IL_0025;
}
}
{
G_B5_0 = 1;
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
G_B5_3 = G_B3_2;
goto IL_0026;
}
IL_0025:
{
G_B5_0 = 0;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
G_B5_3 = G_B4_2;
}
IL_0026:
{
NullCheck(G_B5_3);
Socket_SetSocketOption_m483522974(G_B5_3, G_B5_2, G_B5_1, G_B5_0, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Net.Sockets.Socket::get_IsDualMode()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_IsDualMode_m3276226869 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_IsDualMode_m3276226869_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_IsDualMode_m3276226869_RuntimeMethod_var);
{
int32_t L_0 = Socket_get_AddressFamily_m51841532(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)23)))))
{
goto IL_0011;
}
}
{
bool L_1 = Socket_get_DualMode_m1709958258(__this, /*hidden argument*/NULL);
return L_1;
}
IL_0011:
{
return (bool)0;
}
}
// System.Boolean System.Net.Sockets.Socket::CanTryAddressFamily(System.Net.Sockets.AddressFamily)
extern "C" IL2CPP_METHOD_ATTR bool Socket_CanTryAddressFamily_m17219266 (Socket_t1119025450 * __this, int32_t ___family0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_CanTryAddressFamily_m17219266_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_CanTryAddressFamily_m17219266_RuntimeMethod_var);
{
int32_t L_0 = ___family0;
int32_t L_1 = __this->get_addressFamily_10();
if ((((int32_t)L_0) == ((int32_t)L_1)))
{
goto IL_0016;
}
}
{
int32_t L_2 = ___family0;
if ((!(((uint32_t)L_2) == ((uint32_t)2))))
{
goto IL_0014;
}
}
{
bool L_3 = Socket_get_IsDualMode_m3276226869(__this, /*hidden argument*/NULL);
return L_3;
}
IL_0014:
{
return (bool)0;
}
IL_0016:
{
return (bool)1;
}
}
// System.Int32 System.Net.Sockets.Socket::Send(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m1328269865 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_m1328269865_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_m1328269865_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
RuntimeObject* L_0 = ___buffers0;
int32_t L_1 = ___socketFlags1;
int32_t L_2 = Socket_Send_m4178278673(__this, L_0, L_1, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_3 = V_0;
G_B1_0 = L_2;
if (!L_3)
{
G_B2_0 = L_2;
goto IL_0014;
}
}
{
int32_t L_4 = V_0;
SocketException_t3852068672 * L_5 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Socket_Send_m1328269865_RuntimeMethod_var);
}
IL_0014:
{
return G_B2_0;
}
}
// System.Int32 System.Net.Sockets.Socket::Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m2509318470 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_m2509318470_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_m2509318470_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
int32_t L_1 = ___offset1;
int32_t L_2 = ___size2;
int32_t L_3 = ___socketFlags3;
int32_t L_4 = Socket_Send_m576183475(__this, L_0, L_1, L_2, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_5 = V_0;
G_B1_0 = L_4;
if (!L_5)
{
G_B2_0 = L_4;
goto IL_0017;
}
}
{
int32_t L_6 = V_0;
SocketException_t3852068672 * L_7 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, Socket_Send_m2509318470_RuntimeMethod_var);
}
IL_0017:
{
return G_B2_0;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m3794758455 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_m3794758455_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_m3794758455_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
int32_t L_1 = ___offset1;
int32_t L_2 = ___size2;
int32_t L_3 = ___socketFlags3;
int32_t L_4 = Socket_Receive_m840169338(__this, L_0, L_1, L_2, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_5 = V_0;
G_B1_0 = L_4;
if (!L_5)
{
G_B2_0 = L_4;
goto IL_0017;
}
}
{
int32_t L_6 = V_0;
SocketException_t3852068672 * L_7 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, Socket_Receive_m3794758455_RuntimeMethod_var);
}
IL_0017:
{
return G_B2_0;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m2722177980 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_m2722177980_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_m2722177980_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
RuntimeObject* L_0 = ___buffers0;
int32_t L_1 = ___socketFlags1;
int32_t L_2 = Socket_Receive_m2053758874(__this, L_0, L_1, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_3 = V_0;
G_B1_0 = L_2;
if (!L_3)
{
G_B2_0 = L_2;
goto IL_0014;
}
}
{
int32_t L_4 = V_0;
SocketException_t3852068672 * L_5 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Socket_Receive_m2722177980_RuntimeMethod_var);
}
IL_0014:
{
return G_B2_0;
}
}
// System.Int32 System.Net.Sockets.Socket::IOControl(System.Net.Sockets.IOControlCode,System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_m2060869247 (Socket_t1119025450 * __this, int64_t ___ioControlCode0, ByteU5BU5D_t4116647657* ___optionInValue1, ByteU5BU5D_t4116647657* ___optionOutValue2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IOControl_m2060869247_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IOControl_m2060869247_RuntimeMethod_var);
{
int64_t L_0 = ___ioControlCode0;
ByteU5BU5D_t4116647657* L_1 = ___optionInValue1;
ByteU5BU5D_t4116647657* L_2 = ___optionOutValue2;
int32_t L_3 = Socket_IOControl_m449145276(__this, (((int32_t)((int32_t)L_0))), L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Void System.Net.Sockets.Socket::SetIPProtectionLevel(System.Net.Sockets.IPProtectionLevel)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetIPProtectionLevel_m702436415 (Socket_t1119025450 * __this, int32_t ___level0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_SetIPProtectionLevel_m702436415_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_SetIPProtectionLevel_m702436415_RuntimeMethod_var);
{
int32_t L_0 = ___level0;
if ((!(((uint32_t)L_0) == ((uint32_t)(-1)))))
{
goto IL_0019;
}
}
{
String_t* L_1 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral2048458121, /*hidden argument*/NULL);
ArgumentException_t132251570 * L_2 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_2, L_1, _stringLiteral1232840130, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Socket_SetIPProtectionLevel_m702436415_RuntimeMethod_var);
}
IL_0019:
{
int32_t L_3 = __this->get_addressFamily_10();
if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)23)))))
{
goto IL_002f;
}
}
{
int32_t L_4 = ___level0;
Socket_SetSocketOption_m483522974(__this, ((int32_t)41), ((int32_t)23), L_4, /*hidden argument*/NULL);
return;
}
IL_002f:
{
int32_t L_5 = __this->get_addressFamily_10();
if ((!(((uint32_t)L_5) == ((uint32_t)2))))
{
goto IL_0043;
}
}
{
int32_t L_6 = ___level0;
Socket_SetSocketOption_m483522974(__this, 0, ((int32_t)23), L_6, /*hidden argument*/NULL);
return;
}
IL_0043:
{
String_t* L_7 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1407019311, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_8 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, Socket_SetIPProtectionLevel_m702436415_RuntimeMethod_var);
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginConnect(System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginConnect_m1384072037 (Socket_t1119025450 * __this, IPAddress_t241777590 * ___address0, int32_t ___port1, AsyncCallback_t3962456242 * ___requestCallback2, RuntimeObject * ___state3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginConnect_m1384072037_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginConnect_m1384072037_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_LoggingEnabled_5();
il2cpp_codegen_memory_barrier();
bool L_1 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_BeginConnect_m1384072037_RuntimeMethod_var);
}
IL_0021:
{
IPAddress_t241777590 * L_5 = ___address0;
if (L_5)
{
goto IL_002f;
}
}
{
ArgumentNullException_t1615371798 * L_6 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_6, _stringLiteral2350156779, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_BeginConnect_m1384072037_RuntimeMethod_var);
}
IL_002f:
{
int32_t L_7 = ___port1;
IL2CPP_RUNTIME_CLASS_INIT(ValidationHelper_t3640249616_il2cpp_TypeInfo_var);
bool L_8 = ValidationHelper_ValidateTcpPort_m2411968702(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0042;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_9 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_9, _stringLiteral1212291552, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, Socket_BeginConnect_m1384072037_RuntimeMethod_var);
}
IL_0042:
{
IPAddress_t241777590 * L_10 = ___address0;
NullCheck(L_10);
int32_t L_11 = IPAddress_get_AddressFamily_m1010663936(L_10, /*hidden argument*/NULL);
bool L_12 = Socket_CanTryAddressFamily_m17219266(__this, L_11, /*hidden argument*/NULL);
if (L_12)
{
goto IL_0060;
}
}
{
String_t* L_13 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1407019311, /*hidden argument*/NULL);
NotSupportedException_t1314879016 * L_14 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_14, L_13, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, Socket_BeginConnect_m1384072037_RuntimeMethod_var);
}
IL_0060:
{
IPAddress_t241777590 * L_15 = ___address0;
int32_t L_16 = ___port1;
IPEndPoint_t3791887218 * L_17 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_17, L_15, L_16, /*hidden argument*/NULL);
AsyncCallback_t3962456242 * L_18 = ___requestCallback2;
RuntimeObject * L_19 = ___state3;
RuntimeObject* L_20 = Socket_BeginConnect_m609780744(__this, L_17, L_18, L_19, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_21 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_LoggingEnabled_5();
il2cpp_codegen_memory_barrier();
return L_20;
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginSend(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginSend_m2697766330 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___state5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginSend_m2697766330_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginSend_m2697766330_RuntimeMethod_var);
int32_t V_0 = 0;
RuntimeObject* G_B3_0 = NULL;
RuntimeObject* G_B1_0 = NULL;
RuntimeObject* G_B2_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
int32_t L_1 = ___offset1;
int32_t L_2 = ___size2;
int32_t L_3 = ___socketFlags3;
AsyncCallback_t3962456242 * L_4 = ___callback4;
RuntimeObject * L_5 = ___state5;
RuntimeObject* L_6 = Socket_BeginSend_m385981137(__this, L_0, L_1, L_2, L_3, (int32_t*)(&V_0), L_4, L_5, /*hidden argument*/NULL);
int32_t L_7 = V_0;
G_B1_0 = L_6;
if (!L_7)
{
G_B3_0 = L_6;
goto IL_0023;
}
}
{
int32_t L_8 = V_0;
G_B2_0 = G_B1_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)997))))
{
G_B3_0 = G_B1_0;
goto IL_0023;
}
}
{
int32_t L_9 = V_0;
SocketException_t3852068672 * L_10 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Socket_BeginSend_m2697766330_RuntimeMethod_var);
}
IL_0023:
{
return G_B3_0;
}
}
// System.Int32 System.Net.Sockets.Socket::EndSend(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSend_m2816431255 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndSend_m2816431255_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndSend_m2816431255_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
RuntimeObject* L_0 = ___asyncResult0;
int32_t L_1 = Socket_EndSend_m1244041542(__this, L_0, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_2 = V_0;
G_B1_0 = L_1;
if (!L_2)
{
G_B2_0 = L_1;
goto IL_0013;
}
}
{
int32_t L_3 = V_0;
SocketException_t3852068672 * L_4 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_EndSend_m2816431255_RuntimeMethod_var);
}
IL_0013:
{
return G_B2_0;
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginReceive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginReceive_m2439065097 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___state5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginReceive_m2439065097_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginReceive_m2439065097_RuntimeMethod_var);
int32_t V_0 = 0;
RuntimeObject* G_B3_0 = NULL;
RuntimeObject* G_B1_0 = NULL;
RuntimeObject* G_B2_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
int32_t L_1 = ___offset1;
int32_t L_2 = ___size2;
int32_t L_3 = ___socketFlags3;
AsyncCallback_t3962456242 * L_4 = ___callback4;
RuntimeObject * L_5 = ___state5;
RuntimeObject* L_6 = Socket_BeginReceive_m2742014887(__this, L_0, L_1, L_2, L_3, (int32_t*)(&V_0), L_4, L_5, /*hidden argument*/NULL);
int32_t L_7 = V_0;
G_B1_0 = L_6;
if (!L_7)
{
G_B3_0 = L_6;
goto IL_0023;
}
}
{
int32_t L_8 = V_0;
G_B2_0 = G_B1_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)997))))
{
G_B3_0 = G_B1_0;
goto IL_0023;
}
}
{
int32_t L_9 = V_0;
SocketException_t3852068672 * L_10 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Socket_BeginReceive_m2439065097_RuntimeMethod_var);
}
IL_0023:
{
return G_B3_0;
}
}
// System.Int32 System.Net.Sockets.Socket::EndReceive(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceive_m2385446150 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndReceive_m2385446150_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndReceive_m2385446150_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
RuntimeObject* L_0 = ___asyncResult0;
int32_t L_1 = Socket_EndReceive_m3009256849(__this, L_0, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_2 = V_0;
G_B1_0 = L_1;
if (!L_2)
{
G_B2_0 = L_1;
goto IL_0013;
}
}
{
int32_t L_3 = V_0;
SocketException_t3852068672 * L_4 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_EndReceive_m2385446150_RuntimeMethod_var);
}
IL_0013:
{
return G_B2_0;
}
}
// System.Object System.Net.Sockets.Socket::get_InternalSyncObject()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Socket_get_InternalSyncObject_m390753244 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_InternalSyncObject_m390753244_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_InternalSyncObject_m390753244_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_InternalSyncObject_0();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject * L_1 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_1, /*hidden argument*/NULL);
V_0 = L_1;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
RuntimeObject * L_2 = V_0;
Interlocked_CompareExchange_m1590826108(NULL /*static, unused*/, (RuntimeObject **)(((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_address_of_s_InternalSyncObject_0()), L_2, NULL, /*hidden argument*/NULL);
}
IL_001a:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
RuntimeObject * L_3 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_InternalSyncObject_0();
return L_3;
}
}
// System.Boolean System.Net.Sockets.Socket::get_CleanedUp()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_CleanedUp_m691785454 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_CleanedUp_m691785454_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_CleanedUp_m691785454_RuntimeMethod_var);
{
int32_t L_0 = __this->get_m_IntCleanedUp_20();
return (bool)((((int32_t)L_0) == ((int32_t)1))? 1 : 0);
}
}
// System.Void System.Net.Sockets.Socket::InitializeSockets()
extern "C" IL2CPP_METHOD_ATTR void Socket_InitializeSockets_m3417479393 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_InitializeSockets_m3417479393_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_InitializeSockets_m3417479393_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
bool V_1 = false;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
bool G_B5_0 = false;
bool G_B4_0 = false;
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_0 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_Initialized_4();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_006a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
RuntimeObject * L_1 = Socket_get_InternalSyncObject_m390753244(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_1;
V_1 = (bool)0;
}
IL_0011:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_2 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_2, (bool*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_3 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_s_Initialized_4();
il2cpp_codegen_memory_barrier();
if (L_3)
{
goto IL_005e;
}
}
IL_0022:
{
V_2 = (bool)1;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_4 = Socket_IsProtocolSupported_m2744406924(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
bool L_5 = Socket_IsProtocolSupported_m2744406924(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
V_2 = L_5;
bool L_6 = V_2;
G_B4_0 = L_4;
if (!L_6)
{
G_B5_0 = L_4;
goto IL_0047;
}
}
IL_0034:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
il2cpp_codegen_memory_barrier();
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_s_OSSupportsIPv6_3(1);
IL2CPP_RUNTIME_CLASS_INIT(SettingsSectionInternal_t781171337_il2cpp_TypeInfo_var);
SettingsSectionInternal_t781171337 * L_7 = SettingsSectionInternal_get_Section_m1539574765(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_7);
bool L_8 = SettingsSectionInternal_get_Ipv6Enabled_m2663990904(L_7, /*hidden argument*/NULL);
V_2 = L_8;
G_B5_0 = G_B4_0;
}
IL_0047:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
il2cpp_codegen_memory_barrier();
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_s_SupportsIPv4_1(G_B5_0);
bool L_9 = V_2;
il2cpp_codegen_memory_barrier();
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_s_SupportsIPv6_2(L_9);
il2cpp_codegen_memory_barrier();
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_s_Initialized_4(1);
}
IL_005e:
{
IL2CPP_LEAVE(0x6A, FINALLY_0060);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0060;
}
FINALLY_0060:
{ // begin finally (depth: 1)
{
bool L_10 = V_1;
if (!L_10)
{
goto IL_0069;
}
}
IL_0063:
{
RuntimeObject * L_11 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
}
IL_0069:
{
IL2CPP_END_FINALLY(96)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(96)
{
IL2CPP_JUMP_TBL(0x6A, IL_006a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_006a:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Socket_Dispose_m614819465 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Dispose_m614819465_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Dispose_m614819465_RuntimeMethod_var);
{
VirtActionInvoker1< bool >::Invoke(5 /* System.Void System.Net.Sockets.Socket::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GC_t959872083_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m1177400158(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Finalize()
extern "C" IL2CPP_METHOD_ATTR void Socket_Finalize_m1356936501 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Finalize_m1356936501_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Finalize_m1356936501_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(5 /* System.Void System.Net.Sockets.Socket::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x10, FINALLY_0009);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0009;
}
FINALLY_0009:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(9)
} // end finally (depth: 1)
IL2CPP_CLEANUP(9)
{
IL2CPP_JUMP_TBL(0x10, IL_0010)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0010:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::InternalShutdown(System.Net.Sockets.SocketShutdown)
extern "C" IL2CPP_METHOD_ATTR void Socket_InternalShutdown_m1075955397 (Socket_t1119025450 * __this, int32_t ___how0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_InternalShutdown_m1075955397_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_InternalShutdown_m1075955397_RuntimeMethod_var);
int32_t V_0 = 0;
{
bool L_0 = __this->get_is_connected_19();
if (!L_0)
{
goto IL_0010;
}
}
{
bool L_1 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
IL_0010:
{
return;
}
IL_0011:
{
SafeSocketHandle_t610293888 * L_2 = __this->get_m_Handle_13();
int32_t L_3 = ___how0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Shutdown_internal_m3507063392(NULL /*static, unused*/, L_2, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::.ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,System.Net.Sockets.SafeSocketHandle)
extern "C" IL2CPP_METHOD_ATTR void Socket__ctor_m3891211138 (Socket_t1119025450 * __this, int32_t ___family0, int32_t ___type1, int32_t ___proto2, SafeSocketHandle_t610293888 * ___safe_handle3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket__ctor_m3891211138_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket__ctor_m3891211138_RuntimeMethod_var);
{
SemaphoreSlim_t2974092902 * L_0 = (SemaphoreSlim_t2974092902 *)il2cpp_codegen_object_new(SemaphoreSlim_t2974092902_il2cpp_TypeInfo_var);
SemaphoreSlim__ctor_m4204614050(L_0, 1, 1, /*hidden argument*/NULL);
__this->set_ReadSem_15(L_0);
SemaphoreSlim_t2974092902 * L_1 = (SemaphoreSlim_t2974092902 *)il2cpp_codegen_object_new(SemaphoreSlim_t2974092902_il2cpp_TypeInfo_var);
SemaphoreSlim__ctor_m4204614050(L_1, 1, 1, /*hidden argument*/NULL);
__this->set_WriteSem_16(L_1);
__this->set_is_blocking_17((bool)1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_2 = ___family0;
__this->set_addressFamily_10(L_2);
int32_t L_3 = ___type1;
__this->set_socketType_11(L_3);
int32_t L_4 = ___proto2;
__this->set_protocolType_12(L_4);
SafeSocketHandle_t610293888 * L_5 = ___safe_handle3;
__this->set_m_Handle_13(L_5);
__this->set_is_connected_19((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_InitializeSockets_m3417479393(NULL /*static, unused*/, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::SocketDefaults()
extern "C" IL2CPP_METHOD_ATTR void Socket_SocketDefaults_m2103159556 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_SocketDefaults_m2103159556_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_SocketDefaults_m2103159556_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
int32_t L_0 = __this->get_addressFamily_10();
if ((!(((uint32_t)L_0) == ((uint32_t)2))))
{
goto IL_0022;
}
}
IL_0009:
{
Socket_set_DontFragment_m1311305537(__this, (bool)0, /*hidden argument*/NULL);
int32_t L_1 = __this->get_protocolType_12();
if ((!(((uint32_t)L_1) == ((uint32_t)6))))
{
goto IL_0033;
}
}
IL_0019:
{
Socket_set_NoDelay_m3209939872(__this, (bool)0, /*hidden argument*/NULL);
goto IL_0033;
}
IL_0022:
{
int32_t L_2 = __this->get_addressFamily_10();
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)23)))))
{
goto IL_0033;
}
}
IL_002c:
{
Socket_set_DualMode_m3338159327(__this, (bool)1, /*hidden argument*/NULL);
}
IL_0033:
{
goto IL_0038;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0035;
throw e;
}
CATCH_0035:
{ // begin catch(System.Net.Sockets.SocketException)
goto IL_0038;
} // end catch (depth: 1)
IL_0038:
{
return;
}
}
// System.IntPtr System.Net.Sockets.Socket::Socket_internal(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_Socket_internal_m1681190592 (Socket_t1119025450 * __this, int32_t ___family0, int32_t ___type1, int32_t ___proto2, int32_t* ___error3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Socket_internal_m1681190592_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Socket_internal_m1681190592_RuntimeMethod_var);
typedef intptr_t (*Socket_Socket_internal_m1681190592_ftn) (Socket_t1119025450 *, int32_t, int32_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
return ((Socket_Socket_internal_m1681190592_ftn)System::System::Net::Sockets::Socket::Socket_internal) (__this, ___family0, ___type1, ___proto2, ___error3);
}
// System.Net.EndPoint System.Net.Sockets.Socket::get_LocalEndPoint()
extern "C" IL2CPP_METHOD_ATTR EndPoint_t982345378 * Socket_get_LocalEndPoint_m456692531 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_LocalEndPoint_m456692531_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_LocalEndPoint_m456692531_RuntimeMethod_var);
int32_t V_0 = 0;
SocketAddress_t3739769427 * V_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
EndPoint_t982345378 * L_0 = __this->get_seed_endpoint_14();
if (L_0)
{
goto IL_0010;
}
}
{
return (EndPoint_t982345378 *)NULL;
}
IL_0010:
{
SafeSocketHandle_t610293888 * L_1 = __this->get_m_Handle_13();
int32_t L_2 = __this->get_addressFamily_10();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SocketAddress_t3739769427 * L_3 = Socket_LocalEndPoint_internal_m1475836735(NULL /*static, unused*/, L_1, L_2, (int32_t*)(&V_0), /*hidden argument*/NULL);
V_1 = L_3;
int32_t L_4 = V_0;
if (!L_4)
{
goto IL_002e;
}
}
{
int32_t L_5 = V_0;
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_get_LocalEndPoint_m456692531_RuntimeMethod_var);
}
IL_002e:
{
EndPoint_t982345378 * L_7 = __this->get_seed_endpoint_14();
SocketAddress_t3739769427 * L_8 = V_1;
NullCheck(L_7);
EndPoint_t982345378 * L_9 = VirtFuncInvoker1< EndPoint_t982345378 *, SocketAddress_t3739769427 * >::Invoke(6 /* System.Net.EndPoint System.Net.EndPoint::Create(System.Net.SocketAddress) */, L_7, L_8);
return L_9;
}
}
// System.Net.SocketAddress System.Net.Sockets.Socket::LocalEndPoint_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_LocalEndPoint_internal_m1475836735 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_LocalEndPoint_internal_m1475836735_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_LocalEndPoint_internal_m1475836735_RuntimeMethod_var);
bool V_0 = false;
SocketAddress_t3739769427 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___family1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SocketAddress_t3739769427 * L_5 = Socket_LocalEndPoint_internal_m3061712115(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
V_1 = L_5;
IL2CPP_LEAVE(0x24, FINALLY_001a);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001a;
}
FINALLY_001a:
{ // begin finally (depth: 1)
{
bool L_6 = V_0;
if (!L_6)
{
goto IL_0023;
}
}
IL_001d:
{
SafeSocketHandle_t610293888 * L_7 = ___safeHandle0;
NullCheck(L_7);
SafeHandle_DangerousRelease_m190326290(L_7, /*hidden argument*/NULL);
}
IL_0023:
{
IL2CPP_END_FINALLY(26)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(26)
{
IL2CPP_JUMP_TBL(0x24, IL_0024)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0024:
{
SocketAddress_t3739769427 * L_8 = V_1;
return L_8;
}
}
// System.Net.SocketAddress System.Net.Sockets.Socket::LocalEndPoint_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_LocalEndPoint_internal_m3061712115 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_LocalEndPoint_internal_m3061712115_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_LocalEndPoint_internal_m3061712115_RuntimeMethod_var);
typedef SocketAddress_t3739769427 * (*Socket_LocalEndPoint_internal_m3061712115_ftn) (intptr_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
return ((Socket_LocalEndPoint_internal_m3061712115_ftn)System::System::Net::Sockets::Socket::LocalEndPoint_internal) (___socket0, ___family1, ___error2);
}
// System.Boolean System.Net.Sockets.Socket::get_Blocking()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_Blocking_m140927673 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_Blocking_m140927673_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_Blocking_m140927673_RuntimeMethod_var);
{
bool L_0 = __this->get_is_blocking_17();
return L_0;
}
}
// System.Void System.Net.Sockets.Socket::set_Blocking(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_Blocking_m2255852279 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_set_Blocking_m2255852279_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_set_Blocking_m2255852279_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
bool L_1 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Blocking_internal_m257811699(NULL /*static, unused*/, L_0, L_1, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_001e;
}
}
{
int32_t L_3 = V_0;
SocketException_t3852068672 * L_4 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_set_Blocking_m2255852279_RuntimeMethod_var);
}
IL_001e:
{
bool L_5 = ___value0;
__this->set_is_blocking_17(L_5);
return;
}
}
// System.Void System.Net.Sockets.Socket::Blocking_internal(System.Net.Sockets.SafeSocketHandle,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Blocking_internal_m257811699 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, bool ___block1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Blocking_internal_m257811699_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Blocking_internal_m257811699_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
bool L_3 = ___block1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Blocking_internal_m937501832(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
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 = V_0;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m190326290(L_6, /*hidden argument*/NULL);
}
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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Blocking_internal(System.IntPtr,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Blocking_internal_m937501832 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, bool ___block1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Blocking_internal_m937501832_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Blocking_internal_m937501832_RuntimeMethod_var);
typedef void (*Socket_Blocking_internal_m937501832_ftn) (intptr_t, bool, int32_t*);
using namespace il2cpp::icalls;
((Socket_Blocking_internal_m937501832_ftn)System::System::Net::Sockets::Socket::Blocking) (___socket0, ___block1, ___error2);
}
// System.Boolean System.Net.Sockets.Socket::get_Connected()
extern "C" IL2CPP_METHOD_ATTR bool Socket_get_Connected_m2875145796 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_Connected_m2875145796_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_Connected_m2875145796_RuntimeMethod_var);
{
bool L_0 = __this->get_is_connected_19();
return L_0;
}
}
// System.Void System.Net.Sockets.Socket::set_NoDelay(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_set_NoDelay_m3209939872 (Socket_t1119025450 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_set_NoDelay_m3209939872_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_set_NoDelay_m3209939872_RuntimeMethod_var);
int32_t G_B2_0 = 0;
int32_t G_B2_1 = 0;
Socket_t1119025450 * G_B2_2 = NULL;
int32_t G_B1_0 = 0;
int32_t G_B1_1 = 0;
Socket_t1119025450 * G_B1_2 = NULL;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B3_2 = 0;
Socket_t1119025450 * G_B3_3 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
Socket_ThrowIfUdp_m3991967902(__this, /*hidden argument*/NULL);
bool L_0 = ___value0;
G_B1_0 = 1;
G_B1_1 = 6;
G_B1_2 = __this;
if (L_0)
{
G_B2_0 = 1;
G_B2_1 = 6;
G_B2_2 = __this;
goto IL_0015;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
}
IL_0016:
{
NullCheck(G_B3_3);
Socket_SetSocketOption_m483522974(G_B3_3, G_B3_2, G_B3_1, G_B3_0, /*hidden argument*/NULL);
return;
}
}
// System.Net.EndPoint System.Net.Sockets.Socket::get_RemoteEndPoint()
extern "C" IL2CPP_METHOD_ATTR EndPoint_t982345378 * Socket_get_RemoteEndPoint_m3755127488 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_RemoteEndPoint_m3755127488_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_RemoteEndPoint_m3755127488_RuntimeMethod_var);
int32_t V_0 = 0;
SocketAddress_t3739769427 * V_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
bool L_0 = __this->get_is_connected_19();
if (!L_0)
{
goto IL_0016;
}
}
{
EndPoint_t982345378 * L_1 = __this->get_seed_endpoint_14();
if (L_1)
{
goto IL_0018;
}
}
IL_0016:
{
return (EndPoint_t982345378 *)NULL;
}
IL_0018:
{
SafeSocketHandle_t610293888 * L_2 = __this->get_m_Handle_13();
int32_t L_3 = __this->get_addressFamily_10();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SocketAddress_t3739769427 * L_4 = Socket_RemoteEndPoint_internal_m586495991(NULL /*static, unused*/, L_2, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
V_1 = L_4;
int32_t L_5 = V_0;
if (!L_5)
{
goto IL_0036;
}
}
{
int32_t L_6 = V_0;
SocketException_t3852068672 * L_7 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, Socket_get_RemoteEndPoint_m3755127488_RuntimeMethod_var);
}
IL_0036:
{
EndPoint_t982345378 * L_8 = __this->get_seed_endpoint_14();
SocketAddress_t3739769427 * L_9 = V_1;
NullCheck(L_8);
EndPoint_t982345378 * L_10 = VirtFuncInvoker1< EndPoint_t982345378 *, SocketAddress_t3739769427 * >::Invoke(6 /* System.Net.EndPoint System.Net.EndPoint::Create(System.Net.SocketAddress) */, L_8, L_9);
return L_10;
}
}
// System.Net.SocketAddress System.Net.Sockets.Socket::RemoteEndPoint_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_RemoteEndPoint_internal_m586495991 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_RemoteEndPoint_internal_m586495991_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_RemoteEndPoint_internal_m586495991_RuntimeMethod_var);
bool V_0 = false;
SocketAddress_t3739769427 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___family1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SocketAddress_t3739769427 * L_5 = Socket_RemoteEndPoint_internal_m3956013554(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
V_1 = L_5;
IL2CPP_LEAVE(0x24, FINALLY_001a);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001a;
}
FINALLY_001a:
{ // begin finally (depth: 1)
{
bool L_6 = V_0;
if (!L_6)
{
goto IL_0023;
}
}
IL_001d:
{
SafeSocketHandle_t610293888 * L_7 = ___safeHandle0;
NullCheck(L_7);
SafeHandle_DangerousRelease_m190326290(L_7, /*hidden argument*/NULL);
}
IL_0023:
{
IL2CPP_END_FINALLY(26)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(26)
{
IL2CPP_JUMP_TBL(0x24, IL_0024)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0024:
{
SocketAddress_t3739769427 * L_8 = V_1;
return L_8;
}
}
// System.Net.SocketAddress System.Net.Sockets.Socket::RemoteEndPoint_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR SocketAddress_t3739769427 * Socket_RemoteEndPoint_internal_m3956013554 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___family1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_RemoteEndPoint_internal_m3956013554_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_RemoteEndPoint_internal_m3956013554_RuntimeMethod_var);
typedef SocketAddress_t3739769427 * (*Socket_RemoteEndPoint_internal_m3956013554_ftn) (intptr_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
return ((Socket_RemoteEndPoint_internal_m3956013554_ftn)System::System::Net::Sockets::Socket::RemoteEndPoint_internal) (___socket0, ___family1, ___error2);
}
// System.Boolean System.Net.Sockets.Socket::Poll(System.Int32,System.Net.Sockets.SelectMode)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_m391414345 (Socket_t1119025450 * __this, int32_t ___microSeconds0, int32_t ___mode1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Poll_m391414345_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Poll_m391414345_RuntimeMethod_var);
int32_t V_0 = 0;
bool V_1 = false;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
int32_t L_0 = ___mode1;
if (!L_0)
{
goto IL_001c;
}
}
{
int32_t L_1 = ___mode1;
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_001c;
}
}
{
int32_t L_2 = ___mode1;
if ((((int32_t)L_2) == ((int32_t)2)))
{
goto IL_001c;
}
}
{
NotSupportedException_t1314879016 * L_3 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_3, _stringLiteral3928579774, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Socket_Poll_m391414345_RuntimeMethod_var);
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_4 = __this->get_m_Handle_13();
int32_t L_5 = ___mode1;
int32_t L_6 = ___microSeconds0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_7 = Socket_Poll_internal_m3148478813(NULL /*static, unused*/, L_4, L_5, L_6, (int32_t*)(&V_0), /*hidden argument*/NULL);
V_1 = L_7;
int32_t L_8 = V_0;
if (!L_8)
{
goto IL_0036;
}
}
{
int32_t L_9 = V_0;
SocketException_t3852068672 * L_10 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Socket_Poll_m391414345_RuntimeMethod_var);
}
IL_0036:
{
int32_t L_11 = ___mode1;
bool L_12 = V_1;
if (!((int32_t)((int32_t)((((int32_t)L_11) == ((int32_t)1))? 1 : 0)&(int32_t)L_12)))
{
goto IL_0064;
}
}
{
bool L_13 = __this->get_is_connected_19();
if (L_13)
{
goto IL_0064;
}
}
{
RuntimeObject * L_14 = Socket_GetSocketOption_m419986124(__this, ((int32_t)65535), ((int32_t)4103), /*hidden argument*/NULL);
if (((*(int32_t*)((int32_t*)UnBox(L_14, Int32_t2950945753_il2cpp_TypeInfo_var)))))
{
goto IL_0064;
}
}
{
__this->set_is_connected_19((bool)1);
}
IL_0064:
{
bool L_15 = V_1;
return L_15;
}
}
// System.Boolean System.Net.Sockets.Socket::Poll_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SelectMode,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_internal_m3148478813 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___mode1, int32_t ___timeout2, int32_t* ___error3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Poll_internal_m3148478813_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Poll_internal_m3148478813_RuntimeMethod_var);
bool V_0 = false;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___mode1;
int32_t L_4 = ___timeout2;
int32_t* L_5 = ___error3;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_6 = Socket_Poll_internal_m3742261368(NULL /*static, unused*/, L_2, L_3, L_4, (int32_t*)L_5, /*hidden argument*/NULL);
V_1 = L_6;
IL2CPP_LEAVE(0x25, 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)
{
bool L_7 = V_0;
if (!L_7)
{
goto IL_0024;
}
}
IL_001e:
{
SafeSocketHandle_t610293888 * L_8 = ___safeHandle0;
NullCheck(L_8);
SafeHandle_DangerousRelease_m190326290(L_8, /*hidden argument*/NULL);
}
IL_0024:
{
IL2CPP_END_FINALLY(27)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(27)
{
IL2CPP_JUMP_TBL(0x25, IL_0025)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0025:
{
bool L_9 = V_1;
return L_9;
}
}
// System.Boolean System.Net.Sockets.Socket::Poll_internal(System.IntPtr,System.Net.Sockets.SelectMode,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR bool Socket_Poll_internal_m3742261368 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___mode1, int32_t ___timeout2, int32_t* ___error3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Poll_internal_m3742261368_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Poll_internal_m3742261368_RuntimeMethod_var);
typedef bool (*Socket_Poll_internal_m3742261368_ftn) (intptr_t, int32_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
return ((Socket_Poll_internal_m3742261368_ftn)System::System::Net::Sockets::Socket::Poll) (___socket0, ___mode1, ___timeout2, ___error3);
}
// System.Net.Sockets.Socket System.Net.Sockets.Socket::Accept()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_Accept_m4157022177 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Accept_m4157022177_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Accept_m4157022177_RuntimeMethod_var);
int32_t V_0 = 0;
SafeSocketHandle_t610293888 * V_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
V_0 = 0;
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
bool L_1 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SafeSocketHandle_t610293888 * L_2 = Socket_Accept_internal_m868353226(NULL /*static, unused*/, L_0, (int32_t*)(&V_0), L_1, /*hidden argument*/NULL);
V_1 = L_2;
int32_t L_3 = V_0;
if (!L_3)
{
goto IL_0034;
}
}
{
bool L_4 = __this->get_is_closed_6();
if (!L_4)
{
goto IL_002d;
}
}
{
V_0 = ((int32_t)10004);
}
IL_002d:
{
int32_t L_5 = V_0;
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_Accept_m4157022177_RuntimeMethod_var);
}
IL_0034:
{
int32_t L_7 = Socket_get_AddressFamily_m51841532(__this, /*hidden argument*/NULL);
int32_t L_8 = Socket_get_SocketType_m1610605419(__this, /*hidden argument*/NULL);
int32_t L_9 = Socket_get_ProtocolType_m1935110519(__this, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_10 = V_1;
Socket_t1119025450 * L_11 = (Socket_t1119025450 *)il2cpp_codegen_object_new(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket__ctor_m3891211138(L_11, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
Socket_t1119025450 * L_12 = L_11;
EndPoint_t982345378 * L_13 = __this->get_seed_endpoint_14();
NullCheck(L_12);
L_12->set_seed_endpoint_14(L_13);
Socket_t1119025450 * L_14 = L_12;
bool L_15 = Socket_get_Blocking_m140927673(__this, /*hidden argument*/NULL);
NullCheck(L_14);
Socket_set_Blocking_m2255852279(L_14, L_15, /*hidden argument*/NULL);
return L_14;
}
}
// System.Void System.Net.Sockets.Socket::Accept(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void Socket_Accept_m789917158 (Socket_t1119025450 * __this, Socket_t1119025450 * ___acceptSocket0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Accept_m789917158_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Accept_m789917158_RuntimeMethod_var);
int32_t V_0 = 0;
SafeSocketHandle_t610293888 * V_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
V_0 = 0;
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
bool L_1 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
SafeSocketHandle_t610293888 * L_2 = Socket_Accept_internal_m868353226(NULL /*static, unused*/, L_0, (int32_t*)(&V_0), L_1, /*hidden argument*/NULL);
V_1 = L_2;
int32_t L_3 = V_0;
if (!L_3)
{
goto IL_0034;
}
}
{
bool L_4 = __this->get_is_closed_6();
if (!L_4)
{
goto IL_002d;
}
}
{
V_0 = ((int32_t)10004);
}
IL_002d:
{
int32_t L_5 = V_0;
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_Accept_m789917158_RuntimeMethod_var);
}
IL_0034:
{
Socket_t1119025450 * L_7 = ___acceptSocket0;
int32_t L_8 = Socket_get_AddressFamily_m51841532(__this, /*hidden argument*/NULL);
NullCheck(L_7);
L_7->set_addressFamily_10(L_8);
Socket_t1119025450 * L_9 = ___acceptSocket0;
int32_t L_10 = Socket_get_SocketType_m1610605419(__this, /*hidden argument*/NULL);
NullCheck(L_9);
L_9->set_socketType_11(L_10);
Socket_t1119025450 * L_11 = ___acceptSocket0;
int32_t L_12 = Socket_get_ProtocolType_m1935110519(__this, /*hidden argument*/NULL);
NullCheck(L_11);
L_11->set_protocolType_12(L_12);
Socket_t1119025450 * L_13 = ___acceptSocket0;
SafeSocketHandle_t610293888 * L_14 = V_1;
NullCheck(L_13);
L_13->set_m_Handle_13(L_14);
Socket_t1119025450 * L_15 = ___acceptSocket0;
NullCheck(L_15);
L_15->set_is_connected_19((bool)1);
Socket_t1119025450 * L_16 = ___acceptSocket0;
EndPoint_t982345378 * L_17 = __this->get_seed_endpoint_14();
NullCheck(L_16);
L_16->set_seed_endpoint_14(L_17);
Socket_t1119025450 * L_18 = ___acceptSocket0;
bool L_19 = Socket_get_Blocking_m140927673(__this, /*hidden argument*/NULL);
NullCheck(L_18);
Socket_set_Blocking_m2255852279(L_18, L_19, /*hidden argument*/NULL);
return;
}
}
// System.Net.Sockets.Socket System.Net.Sockets.Socket::EndAccept(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_EndAccept_m2591091503 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndAccept_m2591091503_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndAccept_m2591091503_RuntimeMethod_var);
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
RuntimeObject* L_0 = ___asyncResult0;
Socket_t1119025450 * L_1 = Socket_EndAccept_m1313896210(__this, (ByteU5BU5D_t4116647657**)(&V_1), (int32_t*)(&V_0), L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Net.Sockets.Socket System.Net.Sockets.Socket::EndAccept(System.Byte[]&,System.Int32&,System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * Socket_EndAccept_m1313896210 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657** ___buffer0, int32_t* ___bytesTransferred1, RuntimeObject* ___asyncResult2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndAccept_m1313896210_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndAccept_m1313896210_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult2;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral947629192, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_6, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657** L_7 = ___buffer0;
SocketAsyncResult_t3523156467 * L_8 = V_0;
NullCheck(L_8);
ByteU5BU5D_t4116647657* L_9 = L_8->get_Buffer_9();
*((RuntimeObject **)(L_7)) = (RuntimeObject *)L_9;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_7), (RuntimeObject *)L_9);
int32_t* L_10 = ___bytesTransferred1;
SocketAsyncResult_t3523156467 * L_11 = V_0;
NullCheck(L_11);
int32_t L_12 = L_11->get_Total_20();
*((int32_t*)(L_10)) = (int32_t)L_12;
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
Socket_t1119025450 * L_14 = L_13->get_AcceptedSocket_19();
return L_14;
}
}
// System.Net.Sockets.SafeSocketHandle System.Net.Sockets.Socket::Accept_internal(System.Net.Sockets.SafeSocketHandle,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR SafeSocketHandle_t610293888 * Socket_Accept_internal_m868353226 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t* ___error1, bool ___blocking2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Accept_internal_m868353226_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Accept_internal_m868353226_RuntimeMethod_var);
SafeSocketHandle_t610293888 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t* L_3 = ___error1;
bool L_4 = ___blocking2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
intptr_t L_5 = Socket_Accept_internal_m3246009452(NULL /*static, unused*/, L_2, (int32_t*)L_3, L_4, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_6 = (SafeSocketHandle_t610293888 *)il2cpp_codegen_object_new(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
SafeSocketHandle__ctor_m339710951(L_6, L_5, (bool)1, /*hidden argument*/NULL);
V_0 = L_6;
IL2CPP_LEAVE(0x23, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
SafeSocketHandle_t610293888 * L_7 = ___safeHandle0;
NullCheck(L_7);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_7, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(28)
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x23, IL_0023)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0023:
{
SafeSocketHandle_t610293888 * L_8 = V_0;
return L_8;
}
}
// System.IntPtr System.Net.Sockets.Socket::Accept_internal(System.IntPtr,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR intptr_t Socket_Accept_internal_m3246009452 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t* ___error1, bool ___blocking2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Accept_internal_m3246009452_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Accept_internal_m3246009452_RuntimeMethod_var);
typedef intptr_t (*Socket_Accept_internal_m3246009452_ftn) (intptr_t, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_Accept_internal_m3246009452_ftn)System::System::Net::Sockets::Socket::Accept) (___sock0, ___error1, ___blocking2);
}
// System.Void System.Net.Sockets.Socket::Bind(System.Net.EndPoint)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_m1387808352 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___localEP0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Bind_m1387808352_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Bind_m1387808352_RuntimeMethod_var);
IPEndPoint_t3791887218 * V_0 = NULL;
int32_t V_1 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
EndPoint_t982345378 * L_0 = ___localEP0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral68848927, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_Bind_m1387808352_RuntimeMethod_var);
}
IL_0014:
{
EndPoint_t982345378 * L_2 = ___localEP0;
V_0 = ((IPEndPoint_t3791887218 *)IsInstClass((RuntimeObject*)L_2, IPEndPoint_t3791887218_il2cpp_TypeInfo_var));
IPEndPoint_t3791887218 * L_3 = V_0;
if (!L_3)
{
goto IL_0027;
}
}
{
IPEndPoint_t3791887218 * L_4 = V_0;
IPEndPoint_t3791887218 * L_5 = Socket_RemapIPEndPoint_m3015939529(__this, L_4, /*hidden argument*/NULL);
___localEP0 = L_5;
}
IL_0027:
{
SafeSocketHandle_t610293888 * L_6 = __this->get_m_Handle_13();
EndPoint_t982345378 * L_7 = ___localEP0;
NullCheck(L_7);
SocketAddress_t3739769427 * L_8 = VirtFuncInvoker0< SocketAddress_t3739769427 * >::Invoke(5 /* System.Net.SocketAddress System.Net.EndPoint::Serialize() */, L_7);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Bind_internal_m2670275492(NULL /*static, unused*/, L_6, L_8, (int32_t*)(&V_1), /*hidden argument*/NULL);
int32_t L_9 = V_1;
if (!L_9)
{
goto IL_0044;
}
}
{
int32_t L_10 = V_1;
SocketException_t3852068672 * L_11 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_11, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, Socket_Bind_m1387808352_RuntimeMethod_var);
}
IL_0044:
{
int32_t L_12 = V_1;
if (L_12)
{
goto IL_004e;
}
}
{
__this->set_is_bound_18((bool)1);
}
IL_004e:
{
EndPoint_t982345378 * L_13 = ___localEP0;
__this->set_seed_endpoint_14(L_13);
return;
}
}
// System.Void System.Net.Sockets.Socket::Bind_internal(System.Net.Sockets.SafeSocketHandle,System.Net.SocketAddress,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_internal_m2670275492 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Bind_internal_m2670275492_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Bind_internal_m2670275492_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
SocketAddress_t3739769427 * L_3 = ___sa1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Bind_internal_m2004496361(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
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 = V_0;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m190326290(L_6, /*hidden argument*/NULL);
}
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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Bind_internal(System.IntPtr,System.Net.SocketAddress,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Bind_internal_m2004496361 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Bind_internal_m2004496361_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Bind_internal_m2004496361_RuntimeMethod_var);
typedef void (*Socket_Bind_internal_m2004496361_ftn) (intptr_t, SocketAddress_t3739769427 *, int32_t*);
using namespace il2cpp::icalls;
((Socket_Bind_internal_m2004496361_ftn)System::System::Net::Sockets::Socket::Bind) (___sock0, ___sa1, ___error2);
}
// System.Void System.Net.Sockets.Socket::Listen(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_Listen_m3184049021 (Socket_t1119025450 * __this, int32_t ___backlog0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Listen_m3184049021_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Listen_m3184049021_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
bool L_0 = __this->get_is_bound_18();
if (L_0)
{
goto IL_0019;
}
}
{
SocketException_t3852068672 * L_1 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_1, ((int32_t)10022), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_Listen_m3184049021_RuntimeMethod_var);
}
IL_0019:
{
SafeSocketHandle_t610293888 * L_2 = __this->get_m_Handle_13();
int32_t L_3 = ___backlog0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Listen_internal_m2767807186(NULL /*static, unused*/, L_2, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_4 = V_0;
if (!L_4)
{
goto IL_0031;
}
}
{
int32_t L_5 = V_0;
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_Listen_m3184049021_RuntimeMethod_var);
}
IL_0031:
{
__this->set_is_listening_7((bool)1);
return;
}
}
// System.Void System.Net.Sockets.Socket::Listen_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Listen_internal_m2767807186 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___backlog1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Listen_internal_m2767807186_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Listen_internal_m2767807186_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___backlog1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Listen_internal_m314292295(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
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 = V_0;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m190326290(L_6, /*hidden argument*/NULL);
}
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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Listen_internal(System.IntPtr,System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Listen_internal_m314292295 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t ___backlog1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Listen_internal_m314292295_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Listen_internal_m314292295_RuntimeMethod_var);
typedef void (*Socket_Listen_internal_m314292295_ftn) (intptr_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
((Socket_Listen_internal_m314292295_ftn)System::System::Net::Sockets::Socket::Listen) (___sock0, ___backlog1, ___error2);
}
// System.Void System.Net.Sockets.Socket::Connect(System.Net.IPAddress,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_m1862028144 (Socket_t1119025450 * __this, IPAddress_t241777590 * ___address0, int32_t ___port1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Connect_m1862028144_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Connect_m1862028144_RuntimeMethod_var);
{
IPAddress_t241777590 * L_0 = ___address0;
int32_t L_1 = ___port1;
IPEndPoint_t3791887218 * L_2 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_2, L_0, L_1, /*hidden argument*/NULL);
Socket_Connect_m798630981(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Connect(System.Net.EndPoint)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_m798630981 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___remoteEP0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Connect_m798630981_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Connect_m798630981_RuntimeMethod_var);
IPEndPoint_t3791887218 * V_0 = NULL;
SocketAddress_t3739769427 * V_1 = NULL;
int32_t V_2 = 0;
Socket_t1119025450 * G_B23_0 = NULL;
Socket_t1119025450 * G_B19_0 = NULL;
Socket_t1119025450 * G_B20_0 = NULL;
Socket_t1119025450 * G_B22_0 = NULL;
Socket_t1119025450 * G_B21_0 = NULL;
int32_t G_B24_0 = 0;
Socket_t1119025450 * G_B24_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
EndPoint_t982345378 * L_0 = ___remoteEP0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral1060490584, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_Connect_m798630981_RuntimeMethod_var);
}
IL_0014:
{
EndPoint_t982345378 * L_2 = ___remoteEP0;
V_0 = ((IPEndPoint_t3791887218 *)IsInstClass((RuntimeObject*)L_2, IPEndPoint_t3791887218_il2cpp_TypeInfo_var));
IPEndPoint_t3791887218 * L_3 = V_0;
if (!L_3)
{
goto IL_0056;
}
}
{
int32_t L_4 = __this->get_socketType_11();
if ((((int32_t)L_4) == ((int32_t)2)))
{
goto IL_0056;
}
}
{
IPEndPoint_t3791887218 * L_5 = V_0;
NullCheck(L_5);
IPAddress_t241777590 * L_6 = IPEndPoint_get_Address_m834732349(L_5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_7 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_Any_0();
NullCheck(L_6);
bool L_8 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_6, L_7);
if (L_8)
{
goto IL_004b;
}
}
{
IPEndPoint_t3791887218 * L_9 = V_0;
NullCheck(L_9);
IPAddress_t241777590 * L_10 = IPEndPoint_get_Address_m834732349(L_9, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_11 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_IPv6Any_7();
NullCheck(L_10);
bool L_12 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_10, L_11);
if (!L_12)
{
goto IL_0056;
}
}
IL_004b:
{
SocketException_t3852068672 * L_13 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_13, ((int32_t)10049), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, Socket_Connect_m798630981_RuntimeMethod_var);
}
IL_0056:
{
bool L_14 = __this->get_is_listening_7();
if (!L_14)
{
goto IL_0064;
}
}
{
InvalidOperationException_t56020091 * L_15 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m2734335978(L_15, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, Socket_Connect_m798630981_RuntimeMethod_var);
}
IL_0064:
{
IPEndPoint_t3791887218 * L_16 = V_0;
if (!L_16)
{
goto IL_0070;
}
}
{
IPEndPoint_t3791887218 * L_17 = V_0;
IPEndPoint_t3791887218 * L_18 = Socket_RemapIPEndPoint_m3015939529(__this, L_17, /*hidden argument*/NULL);
___remoteEP0 = L_18;
}
IL_0070:
{
EndPoint_t982345378 * L_19 = ___remoteEP0;
NullCheck(L_19);
SocketAddress_t3739769427 * L_20 = VirtFuncInvoker0< SocketAddress_t3739769427 * >::Invoke(5 /* System.Net.SocketAddress System.Net.EndPoint::Serialize() */, L_19);
V_1 = L_20;
V_2 = 0;
SafeSocketHandle_t610293888 * L_21 = __this->get_m_Handle_13();
SocketAddress_t3739769427 * L_22 = V_1;
bool L_23 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Connect_internal_m3396660944(NULL /*static, unused*/, L_21, L_22, (int32_t*)(&V_2), L_23, /*hidden argument*/NULL);
int32_t L_24 = V_2;
if (!L_24)
{
goto IL_0098;
}
}
{
int32_t L_25 = V_2;
if ((!(((uint32_t)L_25) == ((uint32_t)((int32_t)10035)))))
{
goto IL_009f;
}
}
IL_0098:
{
EndPoint_t982345378 * L_26 = ___remoteEP0;
__this->set_seed_endpoint_14(L_26);
}
IL_009f:
{
int32_t L_27 = V_2;
if (!L_27)
{
goto IL_00b7;
}
}
{
bool L_28 = __this->get_is_closed_6();
if (!L_28)
{
goto IL_00b0;
}
}
{
V_2 = ((int32_t)10004);
}
IL_00b0:
{
int32_t L_29 = V_2;
SocketException_t3852068672 * L_30 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_30, L_29, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_30, NULL, Socket_Connect_m798630981_RuntimeMethod_var);
}
IL_00b7:
{
int32_t L_31 = __this->get_socketType_11();
G_B19_0 = __this;
if ((!(((uint32_t)L_31) == ((uint32_t)2))))
{
G_B23_0 = __this;
goto IL_00ee;
}
}
{
IPEndPoint_t3791887218 * L_32 = V_0;
G_B20_0 = G_B19_0;
if (!L_32)
{
G_B23_0 = G_B19_0;
goto IL_00ee;
}
}
{
IPEndPoint_t3791887218 * L_33 = V_0;
NullCheck(L_33);
IPAddress_t241777590 * L_34 = IPEndPoint_get_Address_m834732349(L_33, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_35 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_Any_0();
NullCheck(L_34);
bool L_36 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_34, L_35);
G_B21_0 = G_B20_0;
if (L_36)
{
G_B22_0 = G_B20_0;
goto IL_00eb;
}
}
{
IPEndPoint_t3791887218 * L_37 = V_0;
NullCheck(L_37);
IPAddress_t241777590 * L_38 = IPEndPoint_get_Address_m834732349(L_37, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_39 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_IPv6Any_7();
NullCheck(L_38);
bool L_40 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_38, L_39);
G_B24_0 = ((((int32_t)L_40) == ((int32_t)0))? 1 : 0);
G_B24_1 = G_B21_0;
goto IL_00ef;
}
IL_00eb:
{
G_B24_0 = 0;
G_B24_1 = G_B22_0;
goto IL_00ef;
}
IL_00ee:
{
G_B24_0 = 1;
G_B24_1 = G_B23_0;
}
IL_00ef:
{
NullCheck(G_B24_1);
G_B24_1->set_is_connected_19((bool)G_B24_0);
__this->set_is_bound_18((bool)1);
return;
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginConnect(System.Net.EndPoint,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginConnect_m609780744 (Socket_t1119025450 * __this, EndPoint_t982345378 * ___remoteEP0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginConnect_m609780744_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginConnect_m609780744_RuntimeMethod_var);
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
EndPoint_t982345378 * L_0 = ___remoteEP0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral1060490584, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_BeginConnect_m609780744_RuntimeMethod_var);
}
IL_0014:
{
bool L_2 = __this->get_is_listening_7();
if (!L_2)
{
goto IL_0022;
}
}
{
InvalidOperationException_t56020091 * L_3 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m2734335978(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Socket_BeginConnect_m609780744_RuntimeMethod_var);
}
IL_0022:
{
AsyncCallback_t3962456242 * L_4 = ___callback1;
RuntimeObject * L_5 = ___state2;
SocketAsyncResult_t3523156467 * L_6 = (SocketAsyncResult_t3523156467 *)il2cpp_codegen_object_new(SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var);
SocketAsyncResult__ctor_m2222378430(L_6, __this, L_4, L_5, 1, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_7 = L_6;
EndPoint_t982345378 * L_8 = ___remoteEP0;
NullCheck(L_7);
L_7->set_EndPoint_8(L_8);
SocketAsyncResult_t3523156467 * L_9 = L_7;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_BeginSConnect_m4212968585(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
return L_9;
}
}
// System.Void System.Net.Sockets.Socket::BeginMConnect(System.Net.Sockets.SocketAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginMConnect_m4086520346 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginMConnect_m4086520346_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginMConnect_m4086520346_RuntimeMethod_var);
Exception_t * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Exception_t *)NULL;
SocketAsyncResult_t3523156467 * L_0 = ___sockares0;
NullCheck(L_0);
int32_t L_1 = L_0->get_CurrentAddress_18();
V_1 = L_1;
goto IL_0042;
}
IL_000b:
{
}
IL_000c:
try
{ // begin try (depth: 1)
SocketAsyncResult_t3523156467 * L_2 = ___sockares0;
SocketAsyncResult_t3523156467 * L_3 = L_2;
NullCheck(L_3);
int32_t L_4 = L_3->get_CurrentAddress_18();
NullCheck(L_3);
L_3->set_CurrentAddress_18(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
SocketAsyncResult_t3523156467 * L_5 = ___sockares0;
SocketAsyncResult_t3523156467 * L_6 = ___sockares0;
NullCheck(L_6);
IPAddressU5BU5D_t596328627* L_7 = L_6->get_Addresses_14();
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
IPAddress_t241777590 * L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
SocketAsyncResult_t3523156467 * L_11 = ___sockares0;
NullCheck(L_11);
int32_t L_12 = L_11->get_Port_15();
IPEndPoint_t3791887218 * L_13 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_13, L_10, L_12, /*hidden argument*/NULL);
NullCheck(L_5);
L_5->set_EndPoint_8(L_13);
SocketAsyncResult_t3523156467 * L_14 = ___sockares0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_BeginSConnect_m4212968585(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
goto IL_004f;
} // 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_003b;
throw e;
}
CATCH_003b:
{ // begin catch(System.Exception)
V_0 = ((Exception_t *)__exception_local);
goto IL_003e;
} // end catch (depth: 1)
IL_003e:
{
int32_t L_15 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)1));
}
IL_0042:
{
int32_t L_16 = V_1;
SocketAsyncResult_t3523156467 * L_17 = ___sockares0;
NullCheck(L_17);
IPAddressU5BU5D_t596328627* L_18 = L_17->get_Addresses_14();
NullCheck(L_18);
if ((((int32_t)L_16) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_18)->max_length)))))))
{
goto IL_000b;
}
}
{
Exception_t * L_19 = V_0;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, Socket_BeginMConnect_m4086520346_RuntimeMethod_var);
}
IL_004f:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::BeginSConnect(System.Net.Sockets.SocketAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginSConnect_m4212968585 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginSConnect_m4212968585_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginSConnect_m4212968585_RuntimeMethod_var);
EndPoint_t982345378 * V_0 = NULL;
int32_t V_1 = 0;
IPEndPoint_t3791887218 * V_2 = NULL;
bool G_B10_0 = false;
bool G_B9_0 = false;
{
SocketAsyncResult_t3523156467 * L_0 = ___sockares0;
NullCheck(L_0);
EndPoint_t982345378 * L_1 = L_0->get_EndPoint_8();
V_0 = L_1;
EndPoint_t982345378 * L_2 = V_0;
if (!((IPEndPoint_t3791887218 *)IsInstClass((RuntimeObject*)L_2, IPEndPoint_t3791887218_il2cpp_TypeInfo_var)))
{
goto IL_0060;
}
}
{
EndPoint_t982345378 * L_3 = V_0;
V_2 = ((IPEndPoint_t3791887218 *)CastclassClass((RuntimeObject*)L_3, IPEndPoint_t3791887218_il2cpp_TypeInfo_var));
IPEndPoint_t3791887218 * L_4 = V_2;
NullCheck(L_4);
IPAddress_t241777590 * L_5 = IPEndPoint_get_Address_m834732349(L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_6 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_Any_0();
NullCheck(L_5);
bool L_7 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_5, L_6);
if (L_7)
{
goto IL_003a;
}
}
{
IPEndPoint_t3791887218 * L_8 = V_2;
NullCheck(L_8);
IPAddress_t241777590 * L_9 = IPEndPoint_get_Address_m834732349(L_8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IPAddress_t241777590_il2cpp_TypeInfo_var);
IPAddress_t241777590 * L_10 = ((IPAddress_t241777590_StaticFields*)il2cpp_codegen_static_fields_for(IPAddress_t241777590_il2cpp_TypeInfo_var))->get_IPv6Any_7();
NullCheck(L_9);
bool L_11 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_9, L_10);
if (!L_11)
{
goto IL_004c;
}
}
IL_003a:
{
SocketAsyncResult_t3523156467 * L_12 = ___sockares0;
SocketException_t3852068672 * L_13 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_13, ((int32_t)10049), /*hidden argument*/NULL);
NullCheck(L_12);
SocketAsyncResult_Complete_m1649959738(L_12, L_13, (bool)1, /*hidden argument*/NULL);
return;
}
IL_004c:
{
SocketAsyncResult_t3523156467 * L_14 = ___sockares0;
SocketAsyncResult_t3523156467 * L_15 = ___sockares0;
NullCheck(L_15);
Socket_t1119025450 * L_16 = L_15->get_socket_5();
IPEndPoint_t3791887218 * L_17 = V_2;
NullCheck(L_16);
IPEndPoint_t3791887218 * L_18 = Socket_RemapIPEndPoint_m3015939529(L_16, L_17, /*hidden argument*/NULL);
IPEndPoint_t3791887218 * L_19 = L_18;
V_0 = L_19;
NullCheck(L_14);
L_14->set_EndPoint_8(L_19);
}
IL_0060:
{
V_1 = 0;
SocketAsyncResult_t3523156467 * L_20 = ___sockares0;
NullCheck(L_20);
Socket_t1119025450 * L_21 = L_20->get_socket_5();
NullCheck(L_21);
bool L_22 = L_21->get_connect_in_progress_21();
if (!L_22)
{
goto IL_00d4;
}
}
{
SocketAsyncResult_t3523156467 * L_23 = ___sockares0;
NullCheck(L_23);
Socket_t1119025450 * L_24 = L_23->get_socket_5();
NullCheck(L_24);
L_24->set_connect_in_progress_21((bool)0);
SocketAsyncResult_t3523156467 * L_25 = ___sockares0;
NullCheck(L_25);
Socket_t1119025450 * L_26 = L_25->get_socket_5();
NullCheck(L_26);
SafeSocketHandle_t610293888 * L_27 = L_26->get_m_Handle_13();
NullCheck(L_27);
SafeHandle_Dispose_m817995135(L_27, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_28 = ___sockares0;
NullCheck(L_28);
Socket_t1119025450 * L_29 = L_28->get_socket_5();
SocketAsyncResult_t3523156467 * L_30 = ___sockares0;
NullCheck(L_30);
Socket_t1119025450 * L_31 = L_30->get_socket_5();
SocketAsyncResult_t3523156467 * L_32 = ___sockares0;
NullCheck(L_32);
Socket_t1119025450 * L_33 = L_32->get_socket_5();
NullCheck(L_33);
int32_t L_34 = L_33->get_addressFamily_10();
SocketAsyncResult_t3523156467 * L_35 = ___sockares0;
NullCheck(L_35);
Socket_t1119025450 * L_36 = L_35->get_socket_5();
NullCheck(L_36);
int32_t L_37 = L_36->get_socketType_11();
SocketAsyncResult_t3523156467 * L_38 = ___sockares0;
NullCheck(L_38);
Socket_t1119025450 * L_39 = L_38->get_socket_5();
NullCheck(L_39);
int32_t L_40 = L_39->get_protocolType_12();
NullCheck(L_31);
intptr_t L_41 = Socket_Socket_internal_m1681190592(L_31, L_34, L_37, L_40, (int32_t*)(&V_1), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_42 = (SafeSocketHandle_t610293888 *)il2cpp_codegen_object_new(SafeSocketHandle_t610293888_il2cpp_TypeInfo_var);
SafeSocketHandle__ctor_m339710951(L_42, L_41, (bool)1, /*hidden argument*/NULL);
NullCheck(L_29);
L_29->set_m_Handle_13(L_42);
int32_t L_43 = V_1;
if (!L_43)
{
goto IL_00d4;
}
}
{
int32_t L_44 = V_1;
SocketException_t3852068672 * L_45 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_45, L_44, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_45, NULL, Socket_BeginSConnect_m4212968585_RuntimeMethod_var);
}
IL_00d4:
{
SocketAsyncResult_t3523156467 * L_46 = ___sockares0;
NullCheck(L_46);
Socket_t1119025450 * L_47 = L_46->get_socket_5();
NullCheck(L_47);
bool L_48 = L_47->get_is_blocking_17();
bool L_49 = L_48;
G_B9_0 = L_49;
if (!L_49)
{
G_B10_0 = L_49;
goto IL_00ee;
}
}
{
SocketAsyncResult_t3523156467 * L_50 = ___sockares0;
NullCheck(L_50);
Socket_t1119025450 * L_51 = L_50->get_socket_5();
NullCheck(L_51);
Socket_set_Blocking_m2255852279(L_51, (bool)0, /*hidden argument*/NULL);
G_B10_0 = G_B9_0;
}
IL_00ee:
{
SocketAsyncResult_t3523156467 * L_52 = ___sockares0;
NullCheck(L_52);
Socket_t1119025450 * L_53 = L_52->get_socket_5();
NullCheck(L_53);
SafeSocketHandle_t610293888 * L_54 = L_53->get_m_Handle_13();
EndPoint_t982345378 * L_55 = V_0;
NullCheck(L_55);
SocketAddress_t3739769427 * L_56 = VirtFuncInvoker0< SocketAddress_t3739769427 * >::Invoke(5 /* System.Net.SocketAddress System.Net.EndPoint::Serialize() */, L_55);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Connect_internal_m3396660944(NULL /*static, unused*/, L_54, L_56, (int32_t*)(&V_1), (bool)0, /*hidden argument*/NULL);
if (!G_B10_0)
{
goto IL_0115;
}
}
{
SocketAsyncResult_t3523156467 * L_57 = ___sockares0;
NullCheck(L_57);
Socket_t1119025450 * L_58 = L_57->get_socket_5();
NullCheck(L_58);
Socket_set_Blocking_m2255852279(L_58, (bool)1, /*hidden argument*/NULL);
}
IL_0115:
{
int32_t L_59 = V_1;
if (L_59)
{
goto IL_0138;
}
}
{
SocketAsyncResult_t3523156467 * L_60 = ___sockares0;
NullCheck(L_60);
Socket_t1119025450 * L_61 = L_60->get_socket_5();
NullCheck(L_61);
L_61->set_is_connected_19((bool)1);
SocketAsyncResult_t3523156467 * L_62 = ___sockares0;
NullCheck(L_62);
Socket_t1119025450 * L_63 = L_62->get_socket_5();
NullCheck(L_63);
L_63->set_is_bound_18((bool)1);
SocketAsyncResult_t3523156467 * L_64 = ___sockares0;
NullCheck(L_64);
SocketAsyncResult_Complete_m4036770188(L_64, (bool)1, /*hidden argument*/NULL);
return;
}
IL_0138:
{
int32_t L_65 = V_1;
if ((((int32_t)L_65) == ((int32_t)((int32_t)10036))))
{
goto IL_016e;
}
}
{
int32_t L_66 = V_1;
if ((((int32_t)L_66) == ((int32_t)((int32_t)10035))))
{
goto IL_016e;
}
}
{
SocketAsyncResult_t3523156467 * L_67 = ___sockares0;
NullCheck(L_67);
Socket_t1119025450 * L_68 = L_67->get_socket_5();
NullCheck(L_68);
L_68->set_is_connected_19((bool)0);
SocketAsyncResult_t3523156467 * L_69 = ___sockares0;
NullCheck(L_69);
Socket_t1119025450 * L_70 = L_69->get_socket_5();
NullCheck(L_70);
L_70->set_is_bound_18((bool)0);
SocketAsyncResult_t3523156467 * L_71 = ___sockares0;
int32_t L_72 = V_1;
SocketException_t3852068672 * L_73 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_73, L_72, /*hidden argument*/NULL);
NullCheck(L_71);
SocketAsyncResult_Complete_m1649959738(L_71, L_73, (bool)1, /*hidden argument*/NULL);
return;
}
IL_016e:
{
SocketAsyncResult_t3523156467 * L_74 = ___sockares0;
NullCheck(L_74);
Socket_t1119025450 * L_75 = L_74->get_socket_5();
NullCheck(L_75);
L_75->set_is_connected_19((bool)0);
SocketAsyncResult_t3523156467 * L_76 = ___sockares0;
NullCheck(L_76);
Socket_t1119025450 * L_77 = L_76->get_socket_5();
NullCheck(L_77);
L_77->set_is_bound_18((bool)0);
SocketAsyncResult_t3523156467 * L_78 = ___sockares0;
NullCheck(L_78);
Socket_t1119025450 * L_79 = L_78->get_socket_5();
NullCheck(L_79);
L_79->set_connect_in_progress_21((bool)1);
SocketAsyncResult_t3523156467 * L_80 = ___sockares0;
NullCheck(L_80);
intptr_t L_81 = SocketAsyncResult_get_Handle_m3169920889(L_80, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
IOAsyncCallback_t705871752 * L_82 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_BeginConnectCallback_26();
SocketAsyncResult_t3523156467 * L_83 = ___sockares0;
IOSelectorJob_t2199748873 * L_84 = (IOSelectorJob_t2199748873 *)il2cpp_codegen_object_new(IOSelectorJob_t2199748873_il2cpp_TypeInfo_var);
IOSelectorJob__ctor_m1611324785(L_84, 2, L_82, L_83, /*hidden argument*/NULL);
IOSelector_Add_m2838266828(NULL /*static, unused*/, L_81, L_84, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::EndConnect(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_EndConnect_m498417972 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndConnect_m498417972_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndConnect_m498417972_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral489485050, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_6, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Connect_internal(System.Net.Sockets.SafeSocketHandle,System.Net.SocketAddress,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_internal_m3396660944 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, bool ___blocking3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Connect_internal_m3396660944_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Connect_internal_m3396660944_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
SocketAddress_t3739769427 * L_3 = ___sa1;
int32_t* L_4 = ___error2;
bool L_5 = ___blocking3;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Connect_internal_m1130612002(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, L_5, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x1D, FINALLY_0016);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0016;
}
FINALLY_0016:
{ // begin finally (depth: 1)
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_6, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(22)
} // end finally (depth: 1)
IL2CPP_CLEANUP(22)
{
IL2CPP_JUMP_TBL(0x1D, IL_001d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_001d:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Connect_internal(System.IntPtr,System.Net.SocketAddress,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Connect_internal_m1130612002 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, SocketAddress_t3739769427 * ___sa1, int32_t* ___error2, bool ___blocking3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Connect_internal_m1130612002_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Connect_internal_m1130612002_RuntimeMethod_var);
typedef void (*Socket_Connect_internal_m1130612002_ftn) (intptr_t, SocketAddress_t3739769427 *, int32_t*, bool);
using namespace il2cpp::icalls;
((Socket_Connect_internal_m1130612002_ftn)System::System::Net::Sockets::Socket::Connect_internal) (___sock0, ___sa1, ___error2, ___blocking3);
}
// System.Void System.Net.Sockets.Socket::Disconnect(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_m1621188342 (Socket_t1119025450 * __this, bool ___reuseSocket0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Disconnect_m1621188342_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Disconnect_m1621188342_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
V_0 = 0;
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
bool L_1 = ___reuseSocket0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Disconnect_internal_m1225498763(NULL /*static, unused*/, L_0, L_1, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_002b;
}
}
{
int32_t L_3 = V_0;
if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)50)))))
{
goto IL_0024;
}
}
{
PlatformNotSupportedException_t3572244504 * L_4 = (PlatformNotSupportedException_t3572244504 *)il2cpp_codegen_object_new(PlatformNotSupportedException_t3572244504_il2cpp_TypeInfo_var);
PlatformNotSupportedException__ctor_m1787918017(L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_Disconnect_m1621188342_RuntimeMethod_var);
}
IL_0024:
{
int32_t L_5 = V_0;
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_Disconnect_m1621188342_RuntimeMethod_var);
}
IL_002b:
{
__this->set_is_connected_19((bool)0);
bool L_7 = ___reuseSocket0;
return;
}
}
// System.Void System.Net.Sockets.Socket::EndDisconnect(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Socket_EndDisconnect_m4234608499 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndDisconnect_m4234608499_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndDisconnect_m4234608499_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral2283086544, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_6, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Disconnect_internal(System.Net.Sockets.SafeSocketHandle,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_internal_m1225498763 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, bool ___reuse1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Disconnect_internal_m1225498763_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Disconnect_internal_m1225498763_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
bool L_3 = ___reuse1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Disconnect_internal_m3671451617(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
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 = V_0;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m190326290(L_6, /*hidden argument*/NULL);
}
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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Disconnect_internal(System.IntPtr,System.Boolean,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Disconnect_internal_m3671451617 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, bool ___reuse1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Disconnect_internal_m3671451617_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Disconnect_internal_m3671451617_RuntimeMethod_var);
typedef void (*Socket_Disconnect_internal_m3671451617_ftn) (intptr_t, bool, int32_t*);
using namespace il2cpp::icalls;
((Socket_Disconnect_internal_m3671451617_ftn)System::System::Net::Sockets::Socket::Disconnect) (___sock0, ___reuse1, ___error2);
}
// System.Int32 System.Net.Sockets.Socket::Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m840169338 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_m840169338_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_m840169338_RuntimeMethod_var);
int32_t V_0 = 0;
uint8_t* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
int32_t G_B8_0 = 0;
int32_t G_B5_0 = 0;
int32_t G_B6_0 = 0;
int32_t G_B7_0 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
Socket_ThrowIfBufferNull_m3748732293(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___size2;
Socket_ThrowIfBufferOutOfRange_m1472522590(__this, L_1, L_2, L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = ___buffer0;
ByteU5BU5D_t4116647657* L_5 = L_4;
V_2 = L_5;
if (!L_5)
{
goto IL_0020;
}
}
{
ByteU5BU5D_t4116647657* L_6 = V_2;
NullCheck(L_6);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))))
{
goto IL_0025;
}
}
IL_0020:
{
V_1 = (uint8_t*)(((uintptr_t)0));
goto IL_002e;
}
IL_0025:
{
ByteU5BU5D_t4116647657* L_7 = V_2;
NullCheck(L_7);
V_1 = (uint8_t*)(((uintptr_t)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_002e:
{
SafeSocketHandle_t610293888 * L_8 = __this->get_m_Handle_13();
uint8_t* L_9 = V_1;
int32_t L_10 = ___offset1;
int32_t L_11 = ___size2;
int32_t L_12 = ___socketFlags3;
bool L_13 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_14 = Socket_Receive_internal_m3910046341(NULL /*static, unused*/, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)((uint8_t*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)L_10)))), L_11, L_12, (int32_t*)(&V_0), L_13, /*hidden argument*/NULL);
V_2 = (ByteU5BU5D_t4116647657*)NULL;
int32_t* L_15 = ___errorCode4;
int32_t L_16 = V_0;
*((int32_t*)(L_15)) = (int32_t)L_16;
int32_t* L_17 = ___errorCode4;
G_B5_0 = L_14;
if (!(*((int32_t*)L_17)))
{
G_B8_0 = L_14;
goto IL_0076;
}
}
{
int32_t* L_18 = ___errorCode4;
G_B6_0 = G_B5_0;
if ((((int32_t)(*((int32_t*)L_18))) == ((int32_t)((int32_t)10035))))
{
G_B8_0 = G_B5_0;
goto IL_0076;
}
}
{
int32_t* L_19 = ___errorCode4;
G_B7_0 = G_B6_0;
if ((((int32_t)(*((int32_t*)L_19))) == ((int32_t)((int32_t)10036))))
{
G_B8_0 = G_B6_0;
goto IL_0076;
}
}
{
__this->set_is_connected_19((bool)0);
__this->set_is_bound_18((bool)0);
return G_B7_0;
}
IL_0076:
{
__this->set_is_connected_19((bool)1);
return G_B8_0;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_m2053758874 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, int32_t* ___errorCode2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_m2053758874_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_m2053758874_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
GCHandleU5BU5D_t35668618* V_3 = NULL;
WSABUF_t1998059390 * V_4 = NULL;
WSABUFU5BU5D_t2234152139* V_5 = NULL;
int32_t V_6 = 0;
ArraySegment_1_t283560987 V_7;
memset(&V_7, 0, sizeof(V_7));
int32_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___buffers0;
if (!L_0)
{
goto IL_0011;
}
}
{
RuntimeObject* L_1 = ___buffers0;
NullCheck(L_1);
int32_t L_2 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.ArraySegment`1<System.Byte>>::get_Count() */, ICollection_1_t3111713221_il2cpp_TypeInfo_var, L_1);
if (L_2)
{
goto IL_001c;
}
}
IL_0011:
{
ArgumentNullException_t1615371798 * L_3 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_3, _stringLiteral4215716850, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Socket_Receive_m2053758874_RuntimeMethod_var);
}
IL_001c:
{
RuntimeObject* L_4 = ___buffers0;
NullCheck(L_4);
int32_t L_5 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.ArraySegment`1<System.Byte>>::get_Count() */, ICollection_1_t3111713221_il2cpp_TypeInfo_var, L_4);
V_0 = L_5;
int32_t L_6 = V_0;
GCHandleU5BU5D_t35668618* L_7 = (GCHandleU5BU5D_t35668618*)SZArrayNew(GCHandleU5BU5D_t35668618_il2cpp_TypeInfo_var, (uint32_t)L_6);
V_3 = L_7;
}
IL_002a:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
int32_t L_8 = V_0;
WSABUFU5BU5D_t2234152139* L_9 = (WSABUFU5BU5D_t2234152139*)SZArrayNew(WSABUFU5BU5D_t2234152139_il2cpp_TypeInfo_var, (uint32_t)L_8);
WSABUFU5BU5D_t2234152139* L_10 = L_9;
V_5 = L_10;
if (!L_10)
{
goto IL_003b;
}
}
IL_0035:
{
WSABUFU5BU5D_t2234152139* L_11 = V_5;
NullCheck(L_11);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))
{
goto IL_0041;
}
}
IL_003b:
{
V_4 = (WSABUF_t1998059390 *)(((uintptr_t)0));
goto IL_004c;
}
IL_0041:
{
WSABUFU5BU5D_t2234152139* L_12 = V_5;
NullCheck(L_12);
V_4 = (WSABUF_t1998059390 *)(((uintptr_t)((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_004c:
{
V_6 = 0;
goto IL_00f4;
}
IL_0054:
{
RuntimeObject* L_13 = ___buffers0;
int32_t L_14 = V_6;
NullCheck(L_13);
ArraySegment_1_t283560987 L_15 = InterfaceFuncInvoker1< ArraySegment_1_t283560987 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>::get_Item(System.Int32) */, IList_1_t2098880770_il2cpp_TypeInfo_var, L_13, L_14);
V_7 = L_15;
int32_t L_16 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
if ((((int32_t)L_16) < ((int32_t)0)))
{
goto IL_008c;
}
}
IL_0068:
{
int32_t L_17 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
if ((((int32_t)L_17) < ((int32_t)0)))
{
goto IL_008c;
}
}
IL_0072:
{
int32_t L_18 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
ByteU5BU5D_t4116647657* L_19 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
NullCheck(L_19);
int32_t L_20 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
if ((((int32_t)L_18) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_19)->max_length)))), (int32_t)L_20)))))
{
goto IL_0097;
}
}
IL_008c:
{
ArgumentOutOfRangeException_t777629997 * L_21 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_21, _stringLiteral2716865465, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_21, NULL, Socket_Receive_m2053758874_RuntimeMethod_var);
}
IL_0097:
{
}
IL_0098:
try
{ // begin try (depth: 3)
IL2CPP_LEAVE(0xB0, FINALLY_009a);
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009a;
}
FINALLY_009a:
{ // begin finally (depth: 3)
GCHandleU5BU5D_t35668618* L_22 = V_3;
int32_t L_23 = V_6;
ByteU5BU5D_t4116647657* L_24 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
GCHandle_t3351438187 L_25 = GCHandle_Alloc_m3823409740(NULL /*static, unused*/, (RuntimeObject *)(RuntimeObject *)L_24, 3, /*hidden argument*/NULL);
NullCheck(L_22);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(L_23), (GCHandle_t3351438187 )L_25);
IL2CPP_END_FINALLY(154)
} // end finally (depth: 3)
IL2CPP_CLEANUP(154)
{
IL2CPP_JUMP_TBL(0xB0, IL_00b0)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b0:
{
WSABUF_t1998059390 * L_26 = V_4;
int32_t L_27 = V_6;
uint32_t L_28 = sizeof(WSABUF_t1998059390 );
int32_t L_29 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
NullCheck(((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_26, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_27)), (int32_t)L_28)))));
((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_26, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_27)), (int32_t)L_28))))->set_len_0(L_29);
WSABUF_t1998059390 * L_30 = V_4;
int32_t L_31 = V_6;
uint32_t L_32 = sizeof(WSABUF_t1998059390 );
ByteU5BU5D_t4116647657* L_33 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
int32_t L_34 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
intptr_t L_35 = Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431(NULL /*static, unused*/, L_33, L_34, /*hidden argument*/Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431_RuntimeMethod_var);
NullCheck(((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_30, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_31)), (int32_t)L_32)))));
((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_30, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_31)), (int32_t)L_32))))->set_buf_1(L_35);
int32_t L_36 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)1));
}
IL_00f4:
{
int32_t L_37 = V_6;
int32_t L_38 = V_0;
if ((((int32_t)L_37) < ((int32_t)L_38)))
{
goto IL_0054;
}
}
IL_00fc:
{
SafeSocketHandle_t610293888 * L_39 = __this->get_m_Handle_13();
WSABUF_t1998059390 * L_40 = V_4;
int32_t L_41 = V_0;
int32_t L_42 = ___socketFlags1;
bool L_43 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_44 = Socket_Receive_internal_m1088206903(NULL /*static, unused*/, L_39, (WSABUF_t1998059390 *)(WSABUF_t1998059390 *)L_40, L_41, L_42, (int32_t*)(&V_1), L_43, /*hidden argument*/NULL);
V_2 = L_44;
IL2CPP_LEAVE(0x147, FINALLY_0116);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0116;
}
FINALLY_0116:
{ // begin finally (depth: 2)
V_5 = (WSABUFU5BU5D_t2234152139*)NULL;
IL2CPP_END_FINALLY(278)
} // end finally (depth: 2)
IL2CPP_CLEANUP(278)
{
IL2CPP_END_CLEANUP(0x147, FINALLY_011a);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_011a;
}
FINALLY_011a:
{ // begin finally (depth: 1)
{
V_8 = 0;
goto IL_0141;
}
IL_011f:
{
GCHandleU5BU5D_t35668618* L_45 = V_3;
int32_t L_46 = V_8;
NullCheck(L_45);
bool L_47 = GCHandle_get_IsAllocated_m1058226959((GCHandle_t3351438187 *)((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46))), /*hidden argument*/NULL);
if (!L_47)
{
goto IL_013b;
}
}
IL_012e:
{
GCHandleU5BU5D_t35668618* L_48 = V_3;
int32_t L_49 = V_8;
NullCheck(L_48);
GCHandle_Free_m1457699368((GCHandle_t3351438187 *)((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49))), /*hidden argument*/NULL);
}
IL_013b:
{
int32_t L_50 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_50, (int32_t)1));
}
IL_0141:
{
int32_t L_51 = V_8;
int32_t L_52 = V_0;
if ((((int32_t)L_51) < ((int32_t)L_52)))
{
goto IL_011f;
}
}
IL_0146:
{
IL2CPP_END_FINALLY(282)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(282)
{
IL2CPP_JUMP_TBL(0x147, IL_0147)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0147:
{
int32_t* L_53 = ___errorCode2;
int32_t L_54 = V_1;
*((int32_t*)(L_53)) = (int32_t)L_54;
int32_t L_55 = V_2;
return L_55;
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginReceive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginReceive_m2742014887 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, AsyncCallback_t3962456242 * ___callback5, RuntimeObject * ___state6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginReceive_m2742014887_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginReceive_m2742014887_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
Socket_ThrowIfBufferNull_m3748732293(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___size2;
Socket_ThrowIfBufferOutOfRange_m1472522590(__this, L_1, L_2, L_3, /*hidden argument*/NULL);
int32_t* L_4 = ___errorCode4;
*((int32_t*)(L_4)) = (int32_t)0;
AsyncCallback_t3962456242 * L_5 = ___callback5;
RuntimeObject * L_6 = ___state6;
SocketAsyncResult_t3523156467 * L_7 = (SocketAsyncResult_t3523156467 *)il2cpp_codegen_object_new(SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var);
SocketAsyncResult__ctor_m2222378430(L_7, __this, L_5, L_6, 2, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_8 = L_7;
ByteU5BU5D_t4116647657* L_9 = ___buffer0;
NullCheck(L_8);
L_8->set_Buffer_9(L_9);
SocketAsyncResult_t3523156467 * L_10 = L_8;
int32_t L_11 = ___offset1;
NullCheck(L_10);
L_10->set_Offset_10(L_11);
SocketAsyncResult_t3523156467 * L_12 = L_10;
int32_t L_13 = ___size2;
NullCheck(L_12);
L_12->set_Size_11(L_13);
SocketAsyncResult_t3523156467 * L_14 = L_12;
int32_t L_15 = ___socketFlags3;
NullCheck(L_14);
L_14->set_SockFlags_12(L_15);
V_0 = L_14;
SemaphoreSlim_t2974092902 * L_16 = __this->get_ReadSem_15();
SocketAsyncResult_t3523156467 * L_17 = V_0;
NullCheck(L_17);
intptr_t L_18 = SocketAsyncResult_get_Handle_m3169920889(L_17, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
IOAsyncCallback_t705871752 * L_19 = ((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->get_BeginReceiveCallback_30();
SocketAsyncResult_t3523156467 * L_20 = V_0;
IOSelectorJob_t2199748873 * L_21 = (IOSelectorJob_t2199748873 *)il2cpp_codegen_object_new(IOSelectorJob_t2199748873_il2cpp_TypeInfo_var);
IOSelectorJob__ctor_m1611324785(L_21, 1, L_19, L_20, /*hidden argument*/NULL);
Socket_QueueIOSelectorJob_m1532315495(__this, L_16, L_18, L_21, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_22 = V_0;
return L_22;
}
}
// System.Int32 System.Net.Sockets.Socket::EndReceive(System.IAsyncResult,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceive_m3009256849 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, int32_t* ___errorCode1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndReceive_m3009256849_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndReceive_m3009256849_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral2805378376, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
int32_t* L_6 = ___errorCode1;
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = SocketAsyncResult_get_ErrorCode_m3197843861(L_7, /*hidden argument*/NULL);
*((int32_t*)(L_6)) = (int32_t)L_8;
int32_t* L_9 = ___errorCode1;
if (!(*((int32_t*)L_9)))
{
goto IL_0051;
}
}
{
int32_t* L_10 = ___errorCode1;
if ((((int32_t)(*((int32_t*)L_10))) == ((int32_t)((int32_t)10035))))
{
goto IL_0051;
}
}
{
int32_t* L_11 = ___errorCode1;
if ((((int32_t)(*((int32_t*)L_11))) == ((int32_t)((int32_t)10036))))
{
goto IL_0051;
}
}
{
__this->set_is_connected_19((bool)0);
}
IL_0051:
{
int32_t* L_12 = ___errorCode1;
if ((*((int32_t*)L_12)))
{
goto IL_005b;
}
}
{
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_13, /*hidden argument*/NULL);
}
IL_005b:
{
SocketAsyncResult_t3523156467 * L_14 = V_0;
NullCheck(L_14);
int32_t L_15 = L_14->get_Total_20();
return L_15;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1088206903 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_internal_m1088206903_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_internal_m1088206903_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
WSABUF_t1998059390 * L_3 = ___bufarray1;
int32_t L_4 = ___count2;
int32_t L_5 = ___flags3;
int32_t* L_6 = ___error4;
bool L_7 = ___blocking5;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_8 = Socket_Receive_internal_m1041794929(NULL /*static, unused*/, L_2, (WSABUF_t1998059390 *)(WSABUF_t1998059390 *)L_3, L_4, L_5, (int32_t*)L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
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)
SafeSocketHandle_t610293888 * L_9 = ___safeHandle0;
NullCheck(L_9);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_9, /*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:
{
int32_t L_10 = V_0;
return L_10;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.IntPtr,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1041794929 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_internal_m1041794929_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_internal_m1041794929_RuntimeMethod_var);
typedef int32_t (*Socket_Receive_internal_m1041794929_ftn) (intptr_t, WSABUF_t1998059390 *, int32_t, int32_t, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_Receive_internal_m1041794929_ftn)System::System::Net::Sockets::Socket::ReceiveArray40) (___sock0, ___bufarray1, ___count2, ___flags3, ___error4, ___blocking5);
}
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m3910046341 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_internal_m3910046341_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_internal_m3910046341_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
uint8_t* L_3 = ___buffer1;
int32_t L_4 = ___count2;
int32_t L_5 = ___flags3;
int32_t* L_6 = ___error4;
bool L_7 = ___blocking5;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_8 = Socket_Receive_internal_m1850300390(NULL /*static, unused*/, L_2, (uint8_t*)(uint8_t*)L_3, L_4, L_5, (int32_t*)L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
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)
SafeSocketHandle_t610293888 * L_9 = ___safeHandle0;
NullCheck(L_9);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_9, /*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:
{
int32_t L_10 = V_0;
return L_10;
}
}
// System.Int32 System.Net.Sockets.Socket::Receive_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Receive_internal_m1850300390 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Receive_internal_m1850300390_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Receive_internal_m1850300390_RuntimeMethod_var);
typedef int32_t (*Socket_Receive_internal_m1850300390_ftn) (intptr_t, uint8_t*, int32_t, int32_t, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_Receive_internal_m1850300390_ftn)System::System::Net::Sockets::Socket::Receive40) (___sock0, ___buffer1, ___count2, ___flags3, ___error4, ___blocking5);
}
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint&,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_m4213975345 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, EndPoint_t982345378 ** ___remoteEP4, int32_t* ___errorCode5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ReceiveFrom_m4213975345_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ReceiveFrom_m4213975345_RuntimeMethod_var);
SocketAddress_t3739769427 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
uint8_t* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
{
EndPoint_t982345378 ** L_0 = ___remoteEP4;
EndPoint_t982345378 * L_1 = *((EndPoint_t982345378 **)L_0);
NullCheck(L_1);
SocketAddress_t3739769427 * L_2 = VirtFuncInvoker0< SocketAddress_t3739769427 * >::Invoke(5 /* System.Net.SocketAddress System.Net.EndPoint::Serialize() */, L_1);
V_0 = L_2;
ByteU5BU5D_t4116647657* L_3 = ___buffer0;
ByteU5BU5D_t4116647657* L_4 = L_3;
V_4 = L_4;
if (!L_4)
{
goto IL_0015;
}
}
{
ByteU5BU5D_t4116647657* L_5 = V_4;
NullCheck(L_5);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))))
{
goto IL_001a;
}
}
IL_0015:
{
V_3 = (uint8_t*)(((uintptr_t)0));
goto IL_0024;
}
IL_001a:
{
ByteU5BU5D_t4116647657* L_6 = V_4;
NullCheck(L_6);
V_3 = (uint8_t*)(((uintptr_t)((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0024:
{
SafeSocketHandle_t610293888 * L_7 = __this->get_m_Handle_13();
uint8_t* L_8 = V_3;
int32_t L_9 = ___offset1;
int32_t L_10 = ___size2;
int32_t L_11 = ___socketFlags3;
bool L_12 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_13 = Socket_ReceiveFrom_internal_m3020781080(NULL /*static, unused*/, L_7, (uint8_t*)(uint8_t*)(((uintptr_t)((uint8_t*)il2cpp_codegen_add((intptr_t)L_8, (int32_t)L_9)))), L_10, L_11, (SocketAddress_t3739769427 **)(&V_0), (int32_t*)(&V_1), L_12, /*hidden argument*/NULL);
V_2 = L_13;
V_4 = (ByteU5BU5D_t4116647657*)NULL;
int32_t* L_14 = ___errorCode5;
int32_t L_15 = V_1;
*((int32_t*)(L_14)) = (int32_t)L_15;
int32_t* L_16 = ___errorCode5;
if (!(*((int32_t*)L_16)))
{
goto IL_0086;
}
}
{
int32_t* L_17 = ___errorCode5;
if ((((int32_t)(*((int32_t*)L_17))) == ((int32_t)((int32_t)10035))))
{
goto IL_006a;
}
}
{
int32_t* L_18 = ___errorCode5;
if ((((int32_t)(*((int32_t*)L_18))) == ((int32_t)((int32_t)10036))))
{
goto IL_006a;
}
}
{
__this->set_is_connected_19((bool)0);
goto IL_0084;
}
IL_006a:
{
int32_t* L_19 = ___errorCode5;
if ((!(((uint32_t)(*((int32_t*)L_19))) == ((uint32_t)((int32_t)10035)))))
{
goto IL_0084;
}
}
{
bool L_20 = __this->get_is_blocking_17();
if (!L_20)
{
goto IL_0084;
}
}
{
int32_t* L_21 = ___errorCode5;
*((int32_t*)(L_21)) = (int32_t)((int32_t)10060);
}
IL_0084:
{
return 0;
}
IL_0086:
{
__this->set_is_connected_19((bool)1);
__this->set_is_bound_18((bool)1);
SocketAddress_t3739769427 * L_22 = V_0;
if (!L_22)
{
goto IL_00a3;
}
}
{
EndPoint_t982345378 ** L_23 = ___remoteEP4;
EndPoint_t982345378 ** L_24 = ___remoteEP4;
EndPoint_t982345378 * L_25 = *((EndPoint_t982345378 **)L_24);
SocketAddress_t3739769427 * L_26 = V_0;
NullCheck(L_25);
EndPoint_t982345378 * L_27 = VirtFuncInvoker1< EndPoint_t982345378 *, SocketAddress_t3739769427 * >::Invoke(6 /* System.Net.EndPoint System.Net.EndPoint::Create(System.Net.SocketAddress) */, L_25, L_26);
*((RuntimeObject **)(L_23)) = (RuntimeObject *)L_27;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_23), (RuntimeObject *)L_27);
}
IL_00a3:
{
EndPoint_t982345378 ** L_28 = ___remoteEP4;
EndPoint_t982345378 * L_29 = *((EndPoint_t982345378 **)L_28);
__this->set_seed_endpoint_14(L_29);
int32_t L_30 = V_2;
return L_30;
}
}
// System.Int32 System.Net.Sockets.Socket::EndReceiveFrom(System.IAsyncResult,System.Net.EndPoint&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndReceiveFrom_m1036960845 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, EndPoint_t982345378 ** ___endPoint1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndReceiveFrom_m1036960845_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndReceiveFrom_m1036960845_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
EndPoint_t982345378 ** L_0 = ___endPoint1;
EndPoint_t982345378 * L_1 = *((EndPoint_t982345378 **)L_0);
if (L_1)
{
goto IL_0015;
}
}
{
ArgumentNullException_t1615371798 * L_2 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_2, _stringLiteral2117705610, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Socket_EndReceiveFrom_m1036960845_RuntimeMethod_var);
}
IL_0015:
{
RuntimeObject* L_3 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_4 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_3, _stringLiteral2794513796, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_4;
SocketAsyncResult_t3523156467 * L_5 = V_0;
NullCheck(L_5);
bool L_6 = IOAsyncResult_get_IsCompleted_m4009731917(L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_003b;
}
}
{
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
WaitHandle_t1743403487 * L_8 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_7, /*hidden argument*/NULL);
NullCheck(L_8);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_8);
}
IL_003b:
{
SocketAsyncResult_t3523156467 * L_9 = V_0;
NullCheck(L_9);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_9, /*hidden argument*/NULL);
EndPoint_t982345378 ** L_10 = ___endPoint1;
SocketAsyncResult_t3523156467 * L_11 = V_0;
NullCheck(L_11);
EndPoint_t982345378 * L_12 = L_11->get_EndPoint_8();
*((RuntimeObject **)(L_10)) = (RuntimeObject *)L_12;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_10), (RuntimeObject *)L_12);
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
int32_t L_14 = L_13->get_Total_20();
return L_14;
}
}
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Net.SocketAddress&,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_internal_m3020781080 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, SocketAddress_t3739769427 ** ___sockaddr4, int32_t* ___error5, bool ___blocking6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ReceiveFrom_internal_m3020781080_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ReceiveFrom_internal_m3020781080_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
uint8_t* L_3 = ___buffer1;
int32_t L_4 = ___count2;
int32_t L_5 = ___flags3;
SocketAddress_t3739769427 ** L_6 = ___sockaddr4;
int32_t* L_7 = ___error5;
bool L_8 = ___blocking6;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_9 = Socket_ReceiveFrom_internal_m3325136542(NULL /*static, unused*/, L_2, (uint8_t*)(uint8_t*)L_3, L_4, L_5, (SocketAddress_t3739769427 **)L_6, (int32_t*)L_7, L_8, /*hidden argument*/NULL);
V_0 = L_9;
IL2CPP_LEAVE(0x24, FINALLY_001d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001d;
}
FINALLY_001d:
{ // begin finally (depth: 1)
SafeSocketHandle_t610293888 * L_10 = ___safeHandle0;
NullCheck(L_10);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_10, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(29)
} // end finally (depth: 1)
IL2CPP_CLEANUP(29)
{
IL2CPP_JUMP_TBL(0x24, IL_0024)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0024:
{
int32_t L_11 = V_0;
return L_11;
}
}
// System.Int32 System.Net.Sockets.Socket::ReceiveFrom_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Net.SocketAddress&,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_ReceiveFrom_internal_m3325136542 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, SocketAddress_t3739769427 ** ___sockaddr4, int32_t* ___error5, bool ___blocking6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ReceiveFrom_internal_m3325136542_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ReceiveFrom_internal_m3325136542_RuntimeMethod_var);
typedef int32_t (*Socket_ReceiveFrom_internal_m3325136542_ftn) (intptr_t, uint8_t*, int32_t, int32_t, SocketAddress_t3739769427 **, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_ReceiveFrom_internal_m3325136542_ftn)System::System::Net::Sockets::Socket::ReceiveFrom_internal) (___sock0, ___buffer1, ___count2, ___flags3, ___sockaddr4, ___error5, ___blocking6);
}
// System.Int32 System.Net.Sockets.Socket::Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m576183475 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_m576183475_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_m576183475_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
uint8_t* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
Socket_ThrowIfBufferNull_m3748732293(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___size2;
Socket_ThrowIfBufferOutOfRange_m1472522590(__this, L_1, L_2, L_3, /*hidden argument*/NULL);
int32_t L_4 = ___size2;
if (L_4)
{
goto IL_001f;
}
}
{
int32_t* L_5 = ___errorCode4;
*((int32_t*)(L_5)) = (int32_t)0;
return 0;
}
IL_001f:
{
V_1 = 0;
}
IL_0021:
{
ByteU5BU5D_t4116647657* L_6 = ___buffer0;
ByteU5BU5D_t4116647657* L_7 = L_6;
V_3 = L_7;
if (!L_7)
{
goto IL_002b;
}
}
{
ByteU5BU5D_t4116647657* L_8 = V_3;
NullCheck(L_8);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))))
{
goto IL_0030;
}
}
IL_002b:
{
V_2 = (uint8_t*)(((uintptr_t)0));
goto IL_0039;
}
IL_0030:
{
ByteU5BU5D_t4116647657* L_9 = V_3;
NullCheck(L_9);
V_2 = (uint8_t*)(((uintptr_t)((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0039:
{
int32_t L_10 = V_1;
SafeSocketHandle_t610293888 * L_11 = __this->get_m_Handle_13();
uint8_t* L_12 = V_2;
int32_t L_13 = ___offset1;
int32_t L_14 = V_1;
int32_t L_15 = ___size2;
int32_t L_16 = V_1;
int32_t L_17 = ___socketFlags3;
bool L_18 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_19 = Socket_Send_internal_m796698044(NULL /*static, unused*/, L_11, (uint8_t*)(uint8_t*)(((uintptr_t)((uint8_t*)il2cpp_codegen_add((intptr_t)L_12, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)L_14)))))), ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), L_17, (int32_t*)(&V_0), L_18, /*hidden argument*/NULL);
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)L_19));
V_3 = (ByteU5BU5D_t4116647657*)NULL;
int32_t* L_20 = ___errorCode4;
int32_t L_21 = V_0;
*((int32_t*)(L_20)) = (int32_t)L_21;
int32_t* L_22 = ___errorCode4;
if (!(*((int32_t*)L_22)))
{
goto IL_0089;
}
}
{
int32_t* L_23 = ___errorCode4;
if ((((int32_t)(*((int32_t*)L_23))) == ((int32_t)((int32_t)10035))))
{
goto IL_0089;
}
}
{
int32_t* L_24 = ___errorCode4;
if ((((int32_t)(*((int32_t*)L_24))) == ((int32_t)((int32_t)10036))))
{
goto IL_0089;
}
}
{
__this->set_is_connected_19((bool)0);
__this->set_is_bound_18((bool)0);
goto IL_0094;
}
IL_0089:
{
__this->set_is_connected_19((bool)1);
int32_t L_25 = V_1;
int32_t L_26 = ___size2;
if ((((int32_t)L_25) < ((int32_t)L_26)))
{
goto IL_0021;
}
}
IL_0094:
{
int32_t L_27 = V_1;
return L_27;
}
}
// System.Int32 System.Net.Sockets.Socket::Send(System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_m4178278673 (Socket_t1119025450 * __this, RuntimeObject* ___buffers0, int32_t ___socketFlags1, int32_t* ___errorCode2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_m4178278673_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_m4178278673_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
GCHandleU5BU5D_t35668618* V_3 = NULL;
WSABUF_t1998059390 * V_4 = NULL;
WSABUFU5BU5D_t2234152139* V_5 = NULL;
int32_t V_6 = 0;
ArraySegment_1_t283560987 V_7;
memset(&V_7, 0, sizeof(V_7));
int32_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___buffers0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral4215716850, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_Send_m4178278673_RuntimeMethod_var);
}
IL_0014:
{
RuntimeObject* L_2 = ___buffers0;
NullCheck(L_2);
int32_t L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.ArraySegment`1<System.Byte>>::get_Count() */, ICollection_1_t3111713221_il2cpp_TypeInfo_var, L_2);
if (L_3)
{
goto IL_002c;
}
}
{
ArgumentException_t132251570 * L_4 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_4, _stringLiteral1563814959, _stringLiteral4215716850, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_Send_m4178278673_RuntimeMethod_var);
}
IL_002c:
{
RuntimeObject* L_5 = ___buffers0;
NullCheck(L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.ArraySegment`1<System.Byte>>::get_Count() */, ICollection_1_t3111713221_il2cpp_TypeInfo_var, L_5);
V_0 = L_6;
int32_t L_7 = V_0;
GCHandleU5BU5D_t35668618* L_8 = (GCHandleU5BU5D_t35668618*)SZArrayNew(GCHandleU5BU5D_t35668618_il2cpp_TypeInfo_var, (uint32_t)L_7);
V_3 = L_8;
}
IL_003a:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
int32_t L_9 = V_0;
WSABUFU5BU5D_t2234152139* L_10 = (WSABUFU5BU5D_t2234152139*)SZArrayNew(WSABUFU5BU5D_t2234152139_il2cpp_TypeInfo_var, (uint32_t)L_9);
WSABUFU5BU5D_t2234152139* L_11 = L_10;
V_5 = L_11;
if (!L_11)
{
goto IL_004b;
}
}
IL_0045:
{
WSABUFU5BU5D_t2234152139* L_12 = V_5;
NullCheck(L_12);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))))
{
goto IL_0051;
}
}
IL_004b:
{
V_4 = (WSABUF_t1998059390 *)(((uintptr_t)0));
goto IL_005c;
}
IL_0051:
{
WSABUFU5BU5D_t2234152139* L_13 = V_5;
NullCheck(L_13);
V_4 = (WSABUF_t1998059390 *)(((uintptr_t)((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_005c:
{
V_6 = 0;
goto IL_0104;
}
IL_0064:
{
RuntimeObject* L_14 = ___buffers0;
int32_t L_15 = V_6;
NullCheck(L_14);
ArraySegment_1_t283560987 L_16 = InterfaceFuncInvoker1< ArraySegment_1_t283560987 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<System.ArraySegment`1<System.Byte>>::get_Item(System.Int32) */, IList_1_t2098880770_il2cpp_TypeInfo_var, L_14, L_15);
V_7 = L_16;
int32_t L_17 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
if ((((int32_t)L_17) < ((int32_t)0)))
{
goto IL_009c;
}
}
IL_0078:
{
int32_t L_18 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
if ((((int32_t)L_18) < ((int32_t)0)))
{
goto IL_009c;
}
}
IL_0082:
{
int32_t L_19 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
ByteU5BU5D_t4116647657* L_20 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
NullCheck(L_20);
int32_t L_21 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
if ((((int32_t)L_19) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_20)->max_length)))), (int32_t)L_21)))))
{
goto IL_00a7;
}
}
IL_009c:
{
ArgumentOutOfRangeException_t777629997 * L_22 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_22, _stringLiteral2716865465, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, NULL, Socket_Send_m4178278673_RuntimeMethod_var);
}
IL_00a7:
{
}
IL_00a8:
try
{ // begin try (depth: 3)
IL2CPP_LEAVE(0xC0, FINALLY_00aa);
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00aa;
}
FINALLY_00aa:
{ // begin finally (depth: 3)
GCHandleU5BU5D_t35668618* L_23 = V_3;
int32_t L_24 = V_6;
ByteU5BU5D_t4116647657* L_25 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
GCHandle_t3351438187 L_26 = GCHandle_Alloc_m3823409740(NULL /*static, unused*/, (RuntimeObject *)(RuntimeObject *)L_25, 3, /*hidden argument*/NULL);
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(L_24), (GCHandle_t3351438187 )L_26);
IL2CPP_END_FINALLY(170)
} // end finally (depth: 3)
IL2CPP_CLEANUP(170)
{
IL2CPP_JUMP_TBL(0xC0, IL_00c0)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00c0:
{
WSABUF_t1998059390 * L_27 = V_4;
int32_t L_28 = V_6;
uint32_t L_29 = sizeof(WSABUF_t1998059390 );
int32_t L_30 = ArraySegment_1_get_Count_m1931227497((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Count_m1931227497_RuntimeMethod_var);
NullCheck(((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_27, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_28)), (int32_t)L_29)))));
((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_27, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_28)), (int32_t)L_29))))->set_len_0(L_30);
WSABUF_t1998059390 * L_31 = V_4;
int32_t L_32 = V_6;
uint32_t L_33 = sizeof(WSABUF_t1998059390 );
ByteU5BU5D_t4116647657* L_34 = ArraySegment_1_get_Array_m3038125939((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Array_m3038125939_RuntimeMethod_var);
int32_t L_35 = ArraySegment_1_get_Offset_m2467593538((ArraySegment_1_t283560987 *)(&V_7), /*hidden argument*/ArraySegment_1_get_Offset_m2467593538_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
intptr_t L_36 = Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/Marshal_UnsafeAddrOfPinnedArrayElement_TisByte_t1134296376_m2527915431_RuntimeMethod_var);
NullCheck(((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_31, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_32)), (int32_t)L_33)))));
((WSABUF_t1998059390 *)il2cpp_codegen_add((intptr_t)L_31, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_32)), (int32_t)L_33))))->set_buf_1(L_36);
int32_t L_37 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)1));
}
IL_0104:
{
int32_t L_38 = V_6;
int32_t L_39 = V_0;
if ((((int32_t)L_38) < ((int32_t)L_39)))
{
goto IL_0064;
}
}
IL_010c:
{
SafeSocketHandle_t610293888 * L_40 = __this->get_m_Handle_13();
WSABUF_t1998059390 * L_41 = V_4;
int32_t L_42 = V_0;
int32_t L_43 = ___socketFlags1;
bool L_44 = __this->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_45 = Socket_Send_internal_m1960113657(NULL /*static, unused*/, L_40, (WSABUF_t1998059390 *)(WSABUF_t1998059390 *)L_41, L_42, L_43, (int32_t*)(&V_1), L_44, /*hidden argument*/NULL);
V_2 = L_45;
IL2CPP_LEAVE(0x157, FINALLY_0126);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0126;
}
FINALLY_0126:
{ // begin finally (depth: 2)
V_5 = (WSABUFU5BU5D_t2234152139*)NULL;
IL2CPP_END_FINALLY(294)
} // end finally (depth: 2)
IL2CPP_CLEANUP(294)
{
IL2CPP_END_CLEANUP(0x157, FINALLY_012a);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_012a;
}
FINALLY_012a:
{ // begin finally (depth: 1)
{
V_8 = 0;
goto IL_0151;
}
IL_012f:
{
GCHandleU5BU5D_t35668618* L_46 = V_3;
int32_t L_47 = V_8;
NullCheck(L_46);
bool L_48 = GCHandle_get_IsAllocated_m1058226959((GCHandle_t3351438187 *)((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47))), /*hidden argument*/NULL);
if (!L_48)
{
goto IL_014b;
}
}
IL_013e:
{
GCHandleU5BU5D_t35668618* L_49 = V_3;
int32_t L_50 = V_8;
NullCheck(L_49);
GCHandle_Free_m1457699368((GCHandle_t3351438187 *)((L_49)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_50))), /*hidden argument*/NULL);
}
IL_014b:
{
int32_t L_51 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_51, (int32_t)1));
}
IL_0151:
{
int32_t L_52 = V_8;
int32_t L_53 = V_0;
if ((((int32_t)L_52) < ((int32_t)L_53)))
{
goto IL_012f;
}
}
IL_0156:
{
IL2CPP_END_FINALLY(298)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(298)
{
IL2CPP_JUMP_TBL(0x157, IL_0157)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0157:
{
int32_t* L_54 = ___errorCode2;
int32_t L_55 = V_1;
*((int32_t*)(L_54)) = (int32_t)L_55;
int32_t L_56 = V_2;
return L_56;
}
}
// System.IAsyncResult System.Net.Sockets.Socket::BeginSend(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Socket_BeginSend_m385981137 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, int32_t ___socketFlags3, int32_t* ___errorCode4, AsyncCallback_t3962456242 * ___callback5, RuntimeObject * ___state6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginSend_m385981137_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginSend_m385981137_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
IOAsyncCallback_t705871752 * G_B4_0 = NULL;
int32_t G_B4_1 = 0;
intptr_t G_B4_2;
memset(&G_B4_2, 0, sizeof(G_B4_2));
SemaphoreSlim_t2974092902 * G_B4_3 = NULL;
Socket_t1119025450 * G_B4_4 = NULL;
IOAsyncCallback_t705871752 * G_B3_0 = NULL;
int32_t G_B3_1 = 0;
intptr_t G_B3_2;
memset(&G_B3_2, 0, sizeof(G_B3_2));
SemaphoreSlim_t2974092902 * G_B3_3 = NULL;
Socket_t1119025450 * G_B3_4 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
Socket_ThrowIfBufferNull_m3748732293(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t L_2 = ___offset1;
int32_t L_3 = ___size2;
Socket_ThrowIfBufferOutOfRange_m1472522590(__this, L_1, L_2, L_3, /*hidden argument*/NULL);
bool L_4 = __this->get_is_connected_19();
if (L_4)
{
goto IL_0028;
}
}
{
int32_t* L_5 = ___errorCode4;
*((int32_t*)(L_5)) = (int32_t)((int32_t)10057);
return (RuntimeObject*)NULL;
}
IL_0028:
{
int32_t* L_6 = ___errorCode4;
*((int32_t*)(L_6)) = (int32_t)0;
AsyncCallback_t3962456242 * L_7 = ___callback5;
RuntimeObject * L_8 = ___state6;
SocketAsyncResult_t3523156467 * L_9 = (SocketAsyncResult_t3523156467 *)il2cpp_codegen_object_new(SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var);
SocketAsyncResult__ctor_m2222378430(L_9, __this, L_7, L_8, 4, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_10 = L_9;
ByteU5BU5D_t4116647657* L_11 = ___buffer0;
NullCheck(L_10);
L_10->set_Buffer_9(L_11);
SocketAsyncResult_t3523156467 * L_12 = L_10;
int32_t L_13 = ___offset1;
NullCheck(L_12);
L_12->set_Offset_10(L_13);
SocketAsyncResult_t3523156467 * L_14 = L_12;
int32_t L_15 = ___size2;
NullCheck(L_14);
L_14->set_Size_11(L_15);
SocketAsyncResult_t3523156467 * L_16 = L_14;
int32_t L_17 = ___socketFlags3;
NullCheck(L_16);
L_16->set_SockFlags_12(L_17);
V_0 = L_16;
SemaphoreSlim_t2974092902 * L_18 = __this->get_WriteSem_16();
SocketAsyncResult_t3523156467 * L_19 = V_0;
NullCheck(L_19);
intptr_t L_20 = SocketAsyncResult_get_Handle_m3169920889(L_19, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t240325972_il2cpp_TypeInfo_var);
IOAsyncCallback_t705871752 * L_21 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9__241_0_1();
IOAsyncCallback_t705871752 * L_22 = L_21;
G_B3_0 = L_22;
G_B3_1 = 2;
G_B3_2 = L_20;
G_B3_3 = L_18;
G_B3_4 = __this;
if (L_22)
{
G_B4_0 = L_22;
G_B4_1 = 2;
G_B4_2 = L_20;
G_B4_3 = L_18;
G_B4_4 = __this;
goto IL_0082;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t240325972_il2cpp_TypeInfo_var);
U3CU3Ec_t240325972 * L_23 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_24 = (intptr_t)U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_25 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_25, L_23, L_24, /*hidden argument*/NULL);
IOAsyncCallback_t705871752 * L_26 = L_25;
((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->set_U3CU3E9__241_0_1(L_26);
G_B4_0 = L_26;
G_B4_1 = G_B3_1;
G_B4_2 = G_B3_2;
G_B4_3 = G_B3_3;
G_B4_4 = G_B3_4;
}
IL_0082:
{
SocketAsyncResult_t3523156467 * L_27 = V_0;
IOSelectorJob_t2199748873 * L_28 = (IOSelectorJob_t2199748873 *)il2cpp_codegen_object_new(IOSelectorJob_t2199748873_il2cpp_TypeInfo_var);
IOSelectorJob__ctor_m1611324785(L_28, G_B4_1, G_B4_0, L_27, /*hidden argument*/NULL);
NullCheck(G_B4_4);
Socket_QueueIOSelectorJob_m1532315495(G_B4_4, G_B4_3, G_B4_2, L_28, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_29 = V_0;
return L_29;
}
}
// System.Void System.Net.Sockets.Socket::BeginSendCallback(System.Net.Sockets.SocketAsyncResult,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_BeginSendCallback_m1460608609 (RuntimeObject * __this /* static, unused */, SocketAsyncResult_t3523156467 * ___sockares0, int32_t ___sent_so_far1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_BeginSendCallback_m1460608609_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_BeginSendCallback_m1460608609_RuntimeMethod_var);
U3CU3Ec__DisplayClass242_0_t616583391 * V_0 = NULL;
int32_t V_1 = 0;
uint8_t* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
U3CU3Ec__DisplayClass242_0_t616583391 * L_0 = (U3CU3Ec__DisplayClass242_0_t616583391 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass242_0_t616583391_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass242_0__ctor_m571730096(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CU3Ec__DisplayClass242_0_t616583391 * L_1 = V_0;
int32_t L_2 = ___sent_so_far1;
NullCheck(L_1);
L_1->set_sent_so_far_0(L_2);
V_1 = 0;
}
IL_000f:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
SocketAsyncResult_t3523156467 * L_3 = ___sockares0;
NullCheck(L_3);
ByteU5BU5D_t4116647657* L_4 = L_3->get_Buffer_9();
ByteU5BU5D_t4116647657* L_5 = L_4;
V_3 = L_5;
if (!L_5)
{
goto IL_001e;
}
}
IL_0019:
{
ByteU5BU5D_t4116647657* L_6 = V_3;
NullCheck(L_6);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))))
{
goto IL_0023;
}
}
IL_001e:
{
V_2 = (uint8_t*)(((uintptr_t)0));
goto IL_002c;
}
IL_0023:
{
ByteU5BU5D_t4116647657* L_7 = V_3;
NullCheck(L_7);
V_2 = (uint8_t*)(((uintptr_t)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_002c:
{
SocketAsyncResult_t3523156467 * L_8 = ___sockares0;
NullCheck(L_8);
Socket_t1119025450 * L_9 = L_8->get_socket_5();
NullCheck(L_9);
SafeSocketHandle_t610293888 * L_10 = L_9->get_m_Handle_13();
uint8_t* L_11 = V_2;
SocketAsyncResult_t3523156467 * L_12 = ___sockares0;
NullCheck(L_12);
int32_t L_13 = L_12->get_Offset_10();
SocketAsyncResult_t3523156467 * L_14 = ___sockares0;
NullCheck(L_14);
int32_t L_15 = L_14->get_Size_11();
SocketAsyncResult_t3523156467 * L_16 = ___sockares0;
NullCheck(L_16);
int32_t L_17 = L_16->get_SockFlags_12();
SocketAsyncResult_t3523156467 * L_18 = ___sockares0;
NullCheck(L_18);
int32_t* L_19 = L_18->get_address_of_error_21();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_20 = Socket_Send_internal_m796698044(NULL /*static, unused*/, L_10, (uint8_t*)(uint8_t*)(((uintptr_t)((uint8_t*)il2cpp_codegen_add((intptr_t)L_11, (int32_t)L_13)))), L_15, L_17, (int32_t*)L_19, (bool)0, /*hidden argument*/NULL);
V_1 = L_20;
IL2CPP_LEAVE(0x5E, FINALLY_005b);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005b;
}
FINALLY_005b:
{ // begin finally (depth: 2)
V_3 = (ByteU5BU5D_t4116647657*)NULL;
IL2CPP_END_FINALLY(91)
} // end finally (depth: 2)
IL2CPP_CLEANUP(91)
{
IL2CPP_JUMP_TBL(0x5E, IL_005e)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005e:
{
goto IL_006f;
}
} // 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_0060;
throw e;
}
CATCH_0060:
{ // begin catch(System.Exception)
V_4 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_21 = ___sockares0;
Exception_t * L_22 = V_4;
NullCheck(L_21);
SocketAsyncResult_Complete_m772415312(L_21, L_22, /*hidden argument*/NULL);
goto IL_00fb;
} // end catch (depth: 1)
IL_006f:
{
SocketAsyncResult_t3523156467 * L_23 = ___sockares0;
NullCheck(L_23);
int32_t L_24 = L_23->get_error_21();
if (L_24)
{
goto IL_00ef;
}
}
{
U3CU3Ec__DisplayClass242_0_t616583391 * L_25 = V_0;
U3CU3Ec__DisplayClass242_0_t616583391 * L_26 = V_0;
NullCheck(L_26);
int32_t L_27 = L_26->get_sent_so_far_0();
int32_t L_28 = V_1;
NullCheck(L_25);
L_25->set_sent_so_far_0(((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)L_28)));
SocketAsyncResult_t3523156467 * L_29 = ___sockares0;
SocketAsyncResult_t3523156467 * L_30 = L_29;
NullCheck(L_30);
int32_t L_31 = L_30->get_Offset_10();
int32_t L_32 = V_1;
NullCheck(L_30);
L_30->set_Offset_10(((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32)));
SocketAsyncResult_t3523156467 * L_33 = ___sockares0;
SocketAsyncResult_t3523156467 * L_34 = L_33;
NullCheck(L_34);
int32_t L_35 = L_34->get_Size_11();
int32_t L_36 = V_1;
NullCheck(L_34);
L_34->set_Size_11(((int32_t)il2cpp_codegen_subtract((int32_t)L_35, (int32_t)L_36)));
SocketAsyncResult_t3523156467 * L_37 = ___sockares0;
NullCheck(L_37);
Socket_t1119025450 * L_38 = L_37->get_socket_5();
NullCheck(L_38);
bool L_39 = Socket_get_CleanedUp_m691785454(L_38, /*hidden argument*/NULL);
if (!L_39)
{
goto IL_00bb;
}
}
{
SocketAsyncResult_t3523156467 * L_40 = ___sockares0;
U3CU3Ec__DisplayClass242_0_t616583391 * L_41 = V_0;
NullCheck(L_41);
int32_t L_42 = L_41->get_sent_so_far_0();
NullCheck(L_40);
SocketAsyncResult_Complete_m2013919124(L_40, L_42, /*hidden argument*/NULL);
return;
}
IL_00bb:
{
SocketAsyncResult_t3523156467 * L_43 = ___sockares0;
NullCheck(L_43);
int32_t L_44 = L_43->get_Size_11();
if ((((int32_t)L_44) <= ((int32_t)0)))
{
goto IL_00e3;
}
}
{
SocketAsyncResult_t3523156467 * L_45 = ___sockares0;
NullCheck(L_45);
intptr_t L_46 = SocketAsyncResult_get_Handle_m3169920889(L_45, /*hidden argument*/NULL);
U3CU3Ec__DisplayClass242_0_t616583391 * L_47 = V_0;
intptr_t L_48 = (intptr_t)U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_49 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_49, L_47, L_48, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_50 = ___sockares0;
IOSelectorJob_t2199748873 * L_51 = (IOSelectorJob_t2199748873 *)il2cpp_codegen_object_new(IOSelectorJob_t2199748873_il2cpp_TypeInfo_var);
IOSelectorJob__ctor_m1611324785(L_51, 2, L_49, L_50, /*hidden argument*/NULL);
IOSelector_Add_m2838266828(NULL /*static, unused*/, L_46, L_51, /*hidden argument*/NULL);
return;
}
IL_00e3:
{
SocketAsyncResult_t3523156467 * L_52 = ___sockares0;
U3CU3Ec__DisplayClass242_0_t616583391 * L_53 = V_0;
NullCheck(L_53);
int32_t L_54 = L_53->get_sent_so_far_0();
NullCheck(L_52);
L_52->set_Total_20(L_54);
}
IL_00ef:
{
SocketAsyncResult_t3523156467 * L_55 = ___sockares0;
U3CU3Ec__DisplayClass242_0_t616583391 * L_56 = V_0;
NullCheck(L_56);
int32_t L_57 = L_56->get_sent_so_far_0();
NullCheck(L_55);
SocketAsyncResult_Complete_m2013919124(L_55, L_57, /*hidden argument*/NULL);
}
IL_00fb:
{
return;
}
}
// System.Int32 System.Net.Sockets.Socket::EndSend(System.IAsyncResult,System.Net.Sockets.SocketError&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSend_m1244041542 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, int32_t* ___errorCode1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndSend_m1244041542_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndSend_m1244041542_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral2204559566, _stringLiteral844061258, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
int32_t* L_6 = ___errorCode1;
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = SocketAsyncResult_get_ErrorCode_m3197843861(L_7, /*hidden argument*/NULL);
*((int32_t*)(L_6)) = (int32_t)L_8;
int32_t* L_9 = ___errorCode1;
if (!(*((int32_t*)L_9)))
{
goto IL_0051;
}
}
{
int32_t* L_10 = ___errorCode1;
if ((((int32_t)(*((int32_t*)L_10))) == ((int32_t)((int32_t)10035))))
{
goto IL_0051;
}
}
{
int32_t* L_11 = ___errorCode1;
if ((((int32_t)(*((int32_t*)L_11))) == ((int32_t)((int32_t)10036))))
{
goto IL_0051;
}
}
{
__this->set_is_connected_19((bool)0);
}
IL_0051:
{
int32_t* L_12 = ___errorCode1;
if ((*((int32_t*)L_12)))
{
goto IL_005b;
}
}
{
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_13, /*hidden argument*/NULL);
}
IL_005b:
{
SocketAsyncResult_t3523156467 * L_14 = V_0;
NullCheck(L_14);
int32_t L_15 = L_14->get_Total_20();
return L_15;
}
}
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m1960113657 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_internal_m1960113657_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_internal_m1960113657_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
WSABUF_t1998059390 * L_3 = ___bufarray1;
int32_t L_4 = ___count2;
int32_t L_5 = ___flags3;
int32_t* L_6 = ___error4;
bool L_7 = ___blocking5;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_8 = Socket_Send_internal_m3765077036(NULL /*static, unused*/, L_2, (WSABUF_t1998059390 *)(WSABUF_t1998059390 *)L_3, L_4, L_5, (int32_t*)L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
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)
SafeSocketHandle_t610293888 * L_9 = ___safeHandle0;
NullCheck(L_9);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_9, /*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:
{
int32_t L_10 = V_0;
return L_10;
}
}
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.IntPtr,System.Net.Sockets.Socket/WSABUF*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m3765077036 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, WSABUF_t1998059390 * ___bufarray1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_internal_m3765077036_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_internal_m3765077036_RuntimeMethod_var);
typedef int32_t (*Socket_Send_internal_m3765077036_ftn) (intptr_t, WSABUF_t1998059390 *, int32_t, int32_t, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_Send_internal_m3765077036_ftn)System::System::Net::Sockets::Socket::SendArray40) (___sock0, ___bufarray1, ___count2, ___flags3, ___error4, ___blocking5);
}
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.Net.Sockets.SafeSocketHandle,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m796698044 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_internal_m796698044_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_internal_m796698044_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeSocketHandle_RegisterForBlockingSyscall_m2358257996(L_0, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
uint8_t* L_3 = ___buffer1;
int32_t L_4 = ___count2;
int32_t L_5 = ___flags3;
int32_t* L_6 = ___error4;
bool L_7 = ___blocking5;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_8 = Socket_Send_internal_m3843698549(NULL /*static, unused*/, L_2, (uint8_t*)(uint8_t*)L_3, L_4, L_5, (int32_t*)L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
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)
SafeSocketHandle_t610293888 * L_9 = ___safeHandle0;
NullCheck(L_9);
SafeSocketHandle_UnRegisterForBlockingSyscall_m89159727(L_9, /*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:
{
int32_t L_10 = V_0;
return L_10;
}
}
// System.Int32 System.Net.Sockets.Socket::Send_internal(System.IntPtr,System.Byte*,System.Int32,System.Net.Sockets.SocketFlags,System.Int32&,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_Send_internal_m3843698549 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, uint8_t* ___buffer1, int32_t ___count2, int32_t ___flags3, int32_t* ___error4, bool ___blocking5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Send_internal_m3843698549_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Send_internal_m3843698549_RuntimeMethod_var);
typedef int32_t (*Socket_Send_internal_m3843698549_ftn) (intptr_t, uint8_t*, int32_t, int32_t, int32_t*, bool);
using namespace il2cpp::icalls;
return ((Socket_Send_internal_m3843698549_ftn)System::System::Net::Sockets::Socket::Send40) (___sock0, ___buffer1, ___count2, ___flags3, ___error4, ___blocking5);
}
// System.Int32 System.Net.Sockets.Socket::EndSendTo(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_EndSendTo_m3552536842 (Socket_t1119025450 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_EndSendTo_m3552536842_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_EndSendTo_m3552536842_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___asyncResult0;
SocketAsyncResult_t3523156467 * L_1 = Socket_ValidateEndIAsyncResult_m3260976934(__this, L_0, _stringLiteral777599126, _stringLiteral405358763, /*hidden argument*/NULL);
V_0 = L_1;
SocketAsyncResult_t3523156467 * L_2 = V_0;
NullCheck(L_2);
bool L_3 = IOAsyncResult_get_IsCompleted_m4009731917(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002c;
}
}
{
SocketAsyncResult_t3523156467 * L_4 = V_0;
NullCheck(L_4);
WaitHandle_t1743403487 * L_5 = IOAsyncResult_get_AsyncWaitHandle_m782089690(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_002c:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
SocketAsyncResult_CheckIfThrowDelayedException_m1791470585(L_6, /*hidden argument*/NULL);
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = L_7->get_Total_20();
return L_8;
}
}
// System.Object System.Net.Sockets.Socket::GetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Socket_GetSocketOption_m419986124 (Socket_t1119025450 * __this, int32_t ___optionLevel0, int32_t ___optionName1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_GetSocketOption_m419986124_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_GetSocketOption_m419986124_RuntimeMethod_var);
int32_t V_0 = 0;
RuntimeObject * V_1 = NULL;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
int32_t L_1 = ___optionLevel0;
int32_t L_2 = ___optionName1;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_GetSocketOption_obj_internal_m533670452(NULL /*static, unused*/, L_0, L_1, L_2, (RuntimeObject **)(&V_1), (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_3 = V_0;
if (!L_3)
{
goto IL_0021;
}
}
{
int32_t L_4 = V_0;
SocketException_t3852068672 * L_5 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Socket_GetSocketOption_m419986124_RuntimeMethod_var);
}
IL_0021:
{
int32_t L_6 = ___optionName1;
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)128)))))
{
goto IL_0030;
}
}
{
RuntimeObject * L_7 = V_1;
return ((LingerOption_t2688985448 *)CastclassClass((RuntimeObject*)L_7, LingerOption_t2688985448_il2cpp_TypeInfo_var));
}
IL_0030:
{
int32_t L_8 = ___optionName1;
if ((((int32_t)L_8) == ((int32_t)((int32_t)12))))
{
goto IL_003a;
}
}
{
int32_t L_9 = ___optionName1;
if ((!(((uint32_t)L_9) == ((uint32_t)((int32_t)13)))))
{
goto IL_0041;
}
}
IL_003a:
{
RuntimeObject * L_10 = V_1;
return ((MulticastOption_t3861143239 *)CastclassClass((RuntimeObject*)L_10, MulticastOption_t3861143239_il2cpp_TypeInfo_var));
}
IL_0041:
{
RuntimeObject * L_11 = V_1;
if (!((RuntimeObject *)IsInstSealed((RuntimeObject*)L_11, Int32_t2950945753_il2cpp_TypeInfo_var)))
{
goto IL_0055;
}
}
{
RuntimeObject * L_12 = V_1;
int32_t L_13 = ((*(int32_t*)((int32_t*)UnBox(L_12, Int32_t2950945753_il2cpp_TypeInfo_var))));
RuntimeObject * L_14 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_13);
return L_14;
}
IL_0055:
{
RuntimeObject * L_15 = V_1;
return L_15;
}
}
// System.Void System.Net.Sockets.Socket::GetSocketOption_obj_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_GetSocketOption_obj_internal_m533670452 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___level1, int32_t ___name2, RuntimeObject ** ___obj_val3, int32_t* ___error4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_GetSocketOption_obj_internal_m533670452_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_GetSocketOption_obj_internal_m533670452_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___level1;
int32_t L_4 = ___name2;
RuntimeObject ** L_5 = ___obj_val3;
int32_t* L_6 = ___error4;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_GetSocketOption_obj_internal_m3909434119(NULL /*static, unused*/, L_2, L_3, L_4, (RuntimeObject **)L_5, (int32_t*)L_6, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x26, FINALLY_001c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001c;
}
FINALLY_001c:
{ // begin finally (depth: 1)
{
bool L_7 = V_0;
if (!L_7)
{
goto IL_0025;
}
}
IL_001f:
{
SafeSocketHandle_t610293888 * L_8 = ___safeHandle0;
NullCheck(L_8);
SafeHandle_DangerousRelease_m190326290(L_8, /*hidden argument*/NULL);
}
IL_0025:
{
IL2CPP_END_FINALLY(28)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(28)
{
IL2CPP_JUMP_TBL(0x26, IL_0026)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0026:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::GetSocketOption_obj_internal(System.IntPtr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_GetSocketOption_obj_internal_m3909434119 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___level1, int32_t ___name2, RuntimeObject ** ___obj_val3, int32_t* ___error4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_GetSocketOption_obj_internal_m3909434119_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_GetSocketOption_obj_internal_m3909434119_RuntimeMethod_var);
typedef void (*Socket_GetSocketOption_obj_internal_m3909434119_ftn) (intptr_t, int32_t, int32_t, RuntimeObject **, int32_t*);
using namespace il2cpp::icalls;
((Socket_GetSocketOption_obj_internal_m3909434119_ftn)System::System::Net::Sockets::Socket::GetSocketOptionObj) (___socket0, ___level1, ___name2, ___obj_val3, ___error4);
}
// System.Void System.Net.Sockets.Socket::SetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_m483522974 (Socket_t1119025450 * __this, int32_t ___optionLevel0, int32_t ___optionName1, int32_t ___optionValue2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_SetSocketOption_m483522974_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_SetSocketOption_m483522974_RuntimeMethod_var);
int32_t V_0 = 0;
{
Socket_ThrowIfDisposedAndClosed_m2521335859(__this, /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_0 = __this->get_m_Handle_13();
int32_t L_1 = ___optionLevel0;
int32_t L_2 = ___optionName1;
int32_t L_3 = ___optionValue2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_SetSocketOption_internal_m2968096094(NULL /*static, unused*/, L_0, L_1, L_2, NULL, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, L_3, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_4 = V_0;
if (!L_4)
{
goto IL_0030;
}
}
{
int32_t L_5 = V_0;
if ((!(((uint32_t)L_5) == ((uint32_t)((int32_t)10022)))))
{
goto IL_0029;
}
}
{
ArgumentException_t132251570 * L_6 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3698743796(L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_SetSocketOption_m483522974_RuntimeMethod_var);
}
IL_0029:
{
int32_t L_7 = V_0;
SocketException_t3852068672 * L_8 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, Socket_SetSocketOption_m483522974_RuntimeMethod_var);
}
IL_0030:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::SetSocketOption_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object,System.Byte[],System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_internal_m2968096094 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___level1, int32_t ___name2, RuntimeObject * ___obj_val3, ByteU5BU5D_t4116647657* ___byte_val4, int32_t ___int_val5, int32_t* ___error6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_SetSocketOption_internal_m2968096094_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_SetSocketOption_internal_m2968096094_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___level1;
int32_t L_4 = ___name2;
RuntimeObject * L_5 = ___obj_val3;
ByteU5BU5D_t4116647657* L_6 = ___byte_val4;
int32_t L_7 = ___int_val5;
int32_t* L_8 = ___error6;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_SetSocketOption_internal_m2890815837(NULL /*static, unused*/, L_2, L_3, L_4, L_5, L_6, L_7, (int32_t*)L_8, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x2A, FINALLY_0020);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0020;
}
FINALLY_0020:
{ // begin finally (depth: 1)
{
bool L_9 = V_0;
if (!L_9)
{
goto IL_0029;
}
}
IL_0023:
{
SafeSocketHandle_t610293888 * L_10 = ___safeHandle0;
NullCheck(L_10);
SafeHandle_DangerousRelease_m190326290(L_10, /*hidden argument*/NULL);
}
IL_0029:
{
IL2CPP_END_FINALLY(32)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(32)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::SetSocketOption_internal(System.IntPtr,System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Object,System.Byte[],System.Int32,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_SetSocketOption_internal_m2890815837 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___level1, int32_t ___name2, RuntimeObject * ___obj_val3, ByteU5BU5D_t4116647657* ___byte_val4, int32_t ___int_val5, int32_t* ___error6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_SetSocketOption_internal_m2890815837_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_SetSocketOption_internal_m2890815837_RuntimeMethod_var);
typedef void (*Socket_SetSocketOption_internal_m2890815837_ftn) (intptr_t, int32_t, int32_t, RuntimeObject *, ByteU5BU5D_t4116647657*, int32_t, int32_t*);
using namespace il2cpp::icalls;
((Socket_SetSocketOption_internal_m2890815837_ftn)System::System::Net::Sockets::Socket::SetSocketOption) (___socket0, ___level1, ___name2, ___obj_val3, ___byte_val4, ___int_val5, ___error6);
}
// System.Int32 System.Net.Sockets.Socket::IOControl(System.Int32,System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_m449145276 (Socket_t1119025450 * __this, int32_t ___ioControlCode0, ByteU5BU5D_t4116647657* ___optionInValue1, ByteU5BU5D_t4116647657* ___optionOutValue2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IOControl_m449145276_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IOControl_m449145276_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
int32_t G_B3_0 = 0;
int32_t G_B6_0 = 0;
int32_t G_B5_0 = 0;
{
bool L_0 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0019;
}
}
{
Type_t * L_1 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_1);
String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_1);
ObjectDisposedException_t21392786 * L_3 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Socket_IOControl_m449145276_RuntimeMethod_var);
}
IL_0019:
{
SafeSocketHandle_t610293888 * L_4 = __this->get_m_Handle_13();
int32_t L_5 = ___ioControlCode0;
ByteU5BU5D_t4116647657* L_6 = ___optionInValue1;
ByteU5BU5D_t4116647657* L_7 = ___optionOutValue2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_8 = Socket_IOControl_internal_m3809077560(NULL /*static, unused*/, L_4, L_5, L_6, L_7, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_9 = V_0;
G_B3_0 = L_8;
if (!L_9)
{
G_B4_0 = L_8;
goto IL_0033;
}
}
{
int32_t L_10 = V_0;
SocketException_t3852068672 * L_11 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_11, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, Socket_IOControl_m449145276_RuntimeMethod_var);
}
IL_0033:
{
int32_t L_12 = G_B4_0;
G_B5_0 = L_12;
if ((!(((uint32_t)L_12) == ((uint32_t)(-1)))))
{
G_B6_0 = L_12;
goto IL_0042;
}
}
{
InvalidOperationException_t56020091 * L_13 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_13, _stringLiteral3195816560, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, Socket_IOControl_m449145276_RuntimeMethod_var);
}
IL_0042:
{
return G_B6_0;
}
}
// System.Int32 System.Net.Sockets.Socket::IOControl_internal(System.Net.Sockets.SafeSocketHandle,System.Int32,System.Byte[],System.Byte[],System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_internal_m3809077560 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___ioctl_code1, ByteU5BU5D_t4116647657* ___input2, ByteU5BU5D_t4116647657* ___output3, int32_t* ___error4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IOControl_internal_m3809077560_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IOControl_internal_m3809077560_RuntimeMethod_var);
bool V_0 = false;
int32_t V_1 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___ioctl_code1;
ByteU5BU5D_t4116647657* L_4 = ___input2;
ByteU5BU5D_t4116647657* L_5 = ___output3;
int32_t* L_6 = ___error4;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_7 = Socket_IOControl_internal_m676748339(NULL /*static, unused*/, L_2, L_3, L_4, L_5, (int32_t*)L_6, /*hidden argument*/NULL);
V_1 = L_7;
IL2CPP_LEAVE(0x27, FINALLY_001d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001d;
}
FINALLY_001d:
{ // begin finally (depth: 1)
{
bool L_8 = V_0;
if (!L_8)
{
goto IL_0026;
}
}
IL_0020:
{
SafeSocketHandle_t610293888 * L_9 = ___safeHandle0;
NullCheck(L_9);
SafeHandle_DangerousRelease_m190326290(L_9, /*hidden argument*/NULL);
}
IL_0026:
{
IL2CPP_END_FINALLY(29)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(29)
{
IL2CPP_JUMP_TBL(0x27, IL_0027)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0027:
{
int32_t L_10 = V_1;
return L_10;
}
}
// System.Int32 System.Net.Sockets.Socket::IOControl_internal(System.IntPtr,System.Int32,System.Byte[],System.Byte[],System.Int32&)
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_IOControl_internal_m676748339 (RuntimeObject * __this /* static, unused */, intptr_t ___sock0, int32_t ___ioctl_code1, ByteU5BU5D_t4116647657* ___input2, ByteU5BU5D_t4116647657* ___output3, int32_t* ___error4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IOControl_internal_m676748339_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IOControl_internal_m676748339_RuntimeMethod_var);
typedef int32_t (*Socket_IOControl_internal_m676748339_ftn) (intptr_t, int32_t, ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657*, int32_t*);
using namespace il2cpp::icalls;
return ((Socket_IOControl_internal_m676748339_ftn)System::System::Net::Sockets::Socket::IOControl_internal) (___sock0, ___ioctl_code1, ___input2, ___output3, ___error4);
}
// System.Void System.Net.Sockets.Socket::Close()
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_m3289097516 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Close_m3289097516_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Close_m3289097516_RuntimeMethod_var);
{
__this->set_linger_timeout_9(0);
Socket_Dispose_m614819465(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Close(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_m2076598688 (Socket_t1119025450 * __this, int32_t ___timeout0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Close_m2076598688_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Close_m2076598688_RuntimeMethod_var);
{
int32_t L_0 = ___timeout0;
__this->set_linger_timeout_9(L_0);
Socket_Dispose_m614819465(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket::Close_internal(System.IntPtr,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Close_internal_m3541237784 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t* ___error1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Close_internal_m3541237784_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Close_internal_m3541237784_RuntimeMethod_var);
typedef void (*Socket_Close_internal_m3541237784_ftn) (intptr_t, int32_t*);
using namespace il2cpp::icalls;
((Socket_Close_internal_m3541237784_ftn)System::System::Net::Sockets::Socket::Close) (___socket0, ___error1);
}
// System.Void System.Net.Sockets.Socket::Shutdown_internal(System.Net.Sockets.SafeSocketHandle,System.Net.Sockets.SocketShutdown,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Shutdown_internal_m3507063392 (RuntimeObject * __this /* static, unused */, SafeSocketHandle_t610293888 * ___safeHandle0, int32_t ___how1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Shutdown_internal_m3507063392_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Shutdown_internal_m3507063392_RuntimeMethod_var);
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeSocketHandle_t610293888 * L_0 = ___safeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m614714386(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeSocketHandle_t610293888 * L_1 = ___safeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m3697436134(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___how1;
int32_t* L_4 = ___error2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Shutdown_internal_m4083092300(NULL /*static, unused*/, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
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 = V_0;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
SafeSocketHandle_t610293888 * L_6 = ___safeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m190326290(L_6, /*hidden argument*/NULL);
}
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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Shutdown_internal(System.IntPtr,System.Net.Sockets.SocketShutdown,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR void Socket_Shutdown_internal_m4083092300 (RuntimeObject * __this /* static, unused */, intptr_t ___socket0, int32_t ___how1, int32_t* ___error2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Shutdown_internal_m4083092300_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Shutdown_internal_m4083092300_RuntimeMethod_var);
typedef void (*Socket_Shutdown_internal_m4083092300_ftn) (intptr_t, int32_t, int32_t*);
using namespace il2cpp::icalls;
((Socket_Shutdown_internal_m4083092300_ftn)System::System::Net::Sockets::Socket::Shutdown) (___socket0, ___how1, ___error2);
}
// System.Void System.Net.Sockets.Socket::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Socket_Dispose_m3459017717 (Socket_t1119025450 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Dispose_m3459017717_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Dispose_m3459017717_RuntimeMethod_var);
bool V_0 = false;
intptr_t V_1;
memset(&V_1, 0, sizeof(V_1));
{
bool L_0 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0009;
}
}
{
return;
}
IL_0009:
{
__this->set_m_IntCleanedUp_20(1);
bool L_1 = __this->get_is_connected_19();
V_0 = L_1;
__this->set_is_connected_19((bool)0);
SafeSocketHandle_t610293888 * L_2 = __this->get_m_Handle_13();
if (!L_2)
{
goto IL_0049;
}
}
{
__this->set_is_closed_6((bool)1);
intptr_t L_3 = Socket_get_Handle_m2249751627(__this, /*hidden argument*/NULL);
V_1 = L_3;
bool L_4 = V_0;
if (!L_4)
{
goto IL_003e;
}
}
{
intptr_t L_5 = V_1;
Socket_Linger_m363798742(__this, L_5, /*hidden argument*/NULL);
}
IL_003e:
{
SafeSocketHandle_t610293888 * L_6 = __this->get_m_Handle_13();
NullCheck(L_6);
SafeHandle_Dispose_m817995135(L_6, /*hidden argument*/NULL);
}
IL_0049:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::Linger(System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Socket_Linger_m363798742 (Socket_t1119025450 * __this, intptr_t ___handle0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_Linger_m363798742_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_Linger_m363798742_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
LingerOption_t2688985448 * V_3 = NULL;
{
bool L_0 = __this->get_is_connected_19();
if (!L_0)
{
goto IL_0011;
}
}
{
int32_t L_1 = __this->get_linger_timeout_9();
if ((((int32_t)L_1) > ((int32_t)0)))
{
goto IL_0012;
}
}
IL_0011:
{
return;
}
IL_0012:
{
intptr_t L_2 = ___handle0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Shutdown_internal_m4083092300(NULL /*static, unused*/, L_2, 0, (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_3 = V_0;
if (!L_3)
{
goto IL_001f;
}
}
{
return;
}
IL_001f:
{
int32_t L_4 = __this->get_linger_timeout_9();
V_1 = ((int32_t)((int32_t)L_4/(int32_t)((int32_t)1000)));
int32_t L_5 = __this->get_linger_timeout_9();
V_2 = ((int32_t)((int32_t)L_5%(int32_t)((int32_t)1000)));
int32_t L_6 = V_2;
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0052;
}
}
{
intptr_t L_7 = ___handle0;
int32_t L_8 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_Poll_internal_m3742261368(NULL /*static, unused*/, L_7, 0, ((int32_t)il2cpp_codegen_multiply((int32_t)L_8, (int32_t)((int32_t)1000))), (int32_t*)(&V_0), /*hidden argument*/NULL);
int32_t L_9 = V_0;
if (!L_9)
{
goto IL_0052;
}
}
{
return;
}
IL_0052:
{
int32_t L_10 = V_1;
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_0073;
}
}
{
int32_t L_11 = V_1;
LingerOption_t2688985448 * L_12 = (LingerOption_t2688985448 *)il2cpp_codegen_object_new(LingerOption_t2688985448_il2cpp_TypeInfo_var);
LingerOption__ctor_m2538367620(L_12, (bool)1, L_11, /*hidden argument*/NULL);
V_3 = L_12;
intptr_t L_13 = ___handle0;
LingerOption_t2688985448 * L_14 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_SetSocketOption_internal_m2890815837(NULL /*static, unused*/, L_13, ((int32_t)65535), ((int32_t)128), L_14, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, 0, (int32_t*)(&V_0), /*hidden argument*/NULL);
}
IL_0073:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::ThrowIfDisposedAndClosed()
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfDisposedAndClosed_m2521335859 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ThrowIfDisposedAndClosed_m2521335859_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ThrowIfDisposedAndClosed_m2521335859_RuntimeMethod_var);
{
bool L_0 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0021;
}
}
{
bool L_1 = __this->get_is_closed_6();
if (!L_1)
{
goto IL_0021;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_ThrowIfDisposedAndClosed_m2521335859_RuntimeMethod_var);
}
IL_0021:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::ThrowIfBufferNull(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfBufferNull_m3748732293 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ThrowIfBufferNull_m3748732293_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ThrowIfBufferNull_m3748732293_RuntimeMethod_var);
{
ByteU5BU5D_t4116647657* L_0 = ___buffer0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral3939495523, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_ThrowIfBufferNull_m3748732293_RuntimeMethod_var);
}
IL_000e:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::ThrowIfBufferOutOfRange(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfBufferOutOfRange_m1472522590 (Socket_t1119025450 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ThrowIfBufferOutOfRange_m1472522590_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var);
{
int32_t L_0 = ___offset1;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0014;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_1 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_1, _stringLiteral1082126080, _stringLiteral658978110, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var);
}
IL_0014:
{
int32_t L_2 = ___offset1;
ByteU5BU5D_t4116647657* L_3 = ___buffer0;
NullCheck(L_3);
if ((((int32_t)L_2) <= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_002a;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_4 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_4, _stringLiteral1082126080, _stringLiteral3584739585, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var);
}
IL_002a:
{
int32_t L_5 = ___size2;
if ((((int32_t)L_5) >= ((int32_t)0)))
{
goto IL_003e;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_6 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_6, _stringLiteral4049040645, _stringLiteral1486498953, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var);
}
IL_003e:
{
int32_t L_7 = ___size2;
ByteU5BU5D_t4116647657* L_8 = ___buffer0;
NullCheck(L_8);
int32_t L_9 = ___offset1;
if ((((int32_t)L_7) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), (int32_t)L_9)))))
{
goto IL_0056;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_10 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_10, _stringLiteral4049040645, _stringLiteral913872410, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Socket_ThrowIfBufferOutOfRange_m1472522590_RuntimeMethod_var);
}
IL_0056:
{
return;
}
}
// System.Void System.Net.Sockets.Socket::ThrowIfUdp()
extern "C" IL2CPP_METHOD_ATTR void Socket_ThrowIfUdp_m3991967902 (Socket_t1119025450 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ThrowIfUdp_m3991967902_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ThrowIfUdp_m3991967902_RuntimeMethod_var);
{
int32_t L_0 = __this->get_protocolType_12();
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)17)))))
{
goto IL_0015;
}
}
{
SocketException_t3852068672 * L_1 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_1, ((int32_t)10042), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Socket_ThrowIfUdp_m3991967902_RuntimeMethod_var);
}
IL_0015:
{
return;
}
}
// System.Net.Sockets.SocketAsyncResult System.Net.Sockets.Socket::ValidateEndIAsyncResult(System.IAsyncResult,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR SocketAsyncResult_t3523156467 * Socket_ValidateEndIAsyncResult_m3260976934 (Socket_t1119025450 * __this, RuntimeObject* ___ares0, String_t* ___methodName1, String_t* ___argName2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_ValidateEndIAsyncResult_m3260976934_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_ValidateEndIAsyncResult_m3260976934_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * G_B4_0 = NULL;
SocketAsyncResult_t3523156467 * G_B3_0 = NULL;
SocketAsyncResult_t3523156467 * G_B6_0 = NULL;
SocketAsyncResult_t3523156467 * G_B5_0 = NULL;
{
RuntimeObject* L_0 = ___ares0;
if (L_0)
{
goto IL_000a;
}
}
{
String_t* L_1 = ___argName2;
ArgumentNullException_t1615371798 * L_2 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Socket_ValidateEndIAsyncResult_m3260976934_RuntimeMethod_var);
}
IL_000a:
{
RuntimeObject* L_3 = ___ares0;
SocketAsyncResult_t3523156467 * L_4 = ((SocketAsyncResult_t3523156467 *)IsInstSealed((RuntimeObject*)L_3, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
G_B3_0 = L_4;
if (L_4)
{
G_B4_0 = L_4;
goto IL_001f;
}
}
{
String_t* L_5 = ___argName2;
ArgumentException_t132251570 * L_6 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_6, _stringLiteral1043874018, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, Socket_ValidateEndIAsyncResult_m3260976934_RuntimeMethod_var);
}
IL_001f:
{
SocketAsyncResult_t3523156467 * L_7 = G_B4_0;
NullCheck(L_7);
int32_t* L_8 = L_7->get_address_of_EndCalled_22();
int32_t L_9 = Interlocked_CompareExchange_m3023855514(NULL /*static, unused*/, (int32_t*)L_8, 1, 0, /*hidden argument*/NULL);
G_B5_0 = L_7;
if ((!(((uint32_t)L_9) == ((uint32_t)1))))
{
G_B6_0 = L_7;
goto IL_0040;
}
}
{
String_t* L_10 = ___methodName1;
String_t* L_11 = String_Concat_m3937257545(NULL /*static, unused*/, L_10, _stringLiteral94377013, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_12 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_12, L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, Socket_ValidateEndIAsyncResult_m3260976934_RuntimeMethod_var);
}
IL_0040:
{
return G_B6_0;
}
}
// System.Void System.Net.Sockets.Socket::QueueIOSelectorJob(System.Threading.SemaphoreSlim,System.IntPtr,System.IOSelectorJob)
extern "C" IL2CPP_METHOD_ATTR void Socket_QueueIOSelectorJob_m1532315495 (Socket_t1119025450 * __this, SemaphoreSlim_t2974092902 * ___sem0, intptr_t ___handle1, IOSelectorJob_t2199748873 * ___job2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_QueueIOSelectorJob_m1532315495_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_QueueIOSelectorJob_m1532315495_RuntimeMethod_var);
U3CU3Ec__DisplayClass298_0_t616190186 * V_0 = NULL;
Task_t3187275312 * V_1 = NULL;
{
U3CU3Ec__DisplayClass298_0_t616190186 * L_0 = (U3CU3Ec__DisplayClass298_0_t616190186 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass298_0_t616190186_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass298_0__ctor_m3200109011(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CU3Ec__DisplayClass298_0_t616190186 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U3CU3E4__this_0(__this);
U3CU3Ec__DisplayClass298_0_t616190186 * L_2 = V_0;
IOSelectorJob_t2199748873 * L_3 = ___job2;
NullCheck(L_2);
L_2->set_job_1(L_3);
U3CU3Ec__DisplayClass298_0_t616190186 * L_4 = V_0;
intptr_t L_5 = ___handle1;
NullCheck(L_4);
L_4->set_handle_2(L_5);
SemaphoreSlim_t2974092902 * L_6 = ___sem0;
NullCheck(L_6);
Task_t3187275312 * L_7 = SemaphoreSlim_WaitAsync_m3107910213(L_6, /*hidden argument*/NULL);
V_1 = L_7;
Task_t3187275312 * L_8 = V_1;
NullCheck(L_8);
bool L_9 = Task_get_IsCompleted_m1406118445(L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0050;
}
}
{
bool L_10 = Socket_get_CleanedUp_m691785454(__this, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_003e;
}
}
{
U3CU3Ec__DisplayClass298_0_t616190186 * L_11 = V_0;
NullCheck(L_11);
IOSelectorJob_t2199748873 * L_12 = L_11->get_job_1();
NullCheck(L_12);
IOSelectorJob_MarkDisposed_m1053029016(L_12, /*hidden argument*/NULL);
return;
}
IL_003e:
{
U3CU3Ec__DisplayClass298_0_t616190186 * L_13 = V_0;
NullCheck(L_13);
intptr_t L_14 = L_13->get_handle_2();
U3CU3Ec__DisplayClass298_0_t616190186 * L_15 = V_0;
NullCheck(L_15);
IOSelectorJob_t2199748873 * L_16 = L_15->get_job_1();
IOSelector_Add_m2838266828(NULL /*static, unused*/, L_14, L_16, /*hidden argument*/NULL);
return;
}
IL_0050:
{
Task_t3187275312 * L_17 = V_1;
U3CU3Ec__DisplayClass298_0_t616190186 * L_18 = V_0;
intptr_t L_19 = (intptr_t)U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331_RuntimeMethod_var;
Action_1_t3359742907 * L_20 = (Action_1_t3359742907 *)il2cpp_codegen_object_new(Action_1_t3359742907_il2cpp_TypeInfo_var);
Action_1__ctor_m3608992093(L_20, L_18, L_19, /*hidden argument*/Action_1__ctor_m3608992093_RuntimeMethod_var);
NullCheck(L_17);
Task_ContinueWith_m693071538(L_17, L_20, /*hidden argument*/NULL);
return;
}
}
// System.Net.IPEndPoint System.Net.Sockets.Socket::RemapIPEndPoint(System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR IPEndPoint_t3791887218 * Socket_RemapIPEndPoint_m3015939529 (Socket_t1119025450 * __this, IPEndPoint_t3791887218 * ___input0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_RemapIPEndPoint_m3015939529_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_RemapIPEndPoint_m3015939529_RuntimeMethod_var);
{
bool L_0 = Socket_get_IsDualMode_m3276226869(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0028;
}
}
{
IPEndPoint_t3791887218 * L_1 = ___input0;
NullCheck(L_1);
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Net.Sockets.AddressFamily System.Net.EndPoint::get_AddressFamily() */, L_1);
if ((!(((uint32_t)L_2) == ((uint32_t)2))))
{
goto IL_0028;
}
}
{
IPEndPoint_t3791887218 * L_3 = ___input0;
NullCheck(L_3);
IPAddress_t241777590 * L_4 = IPEndPoint_get_Address_m834732349(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
IPAddress_t241777590 * L_5 = IPAddress_MapToIPv6_m4027273287(L_4, /*hidden argument*/NULL);
IPEndPoint_t3791887218 * L_6 = ___input0;
NullCheck(L_6);
int32_t L_7 = IPEndPoint_get_Port_m2842923226(L_6, /*hidden argument*/NULL);
IPEndPoint_t3791887218 * L_8 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_8, L_5, L_7, /*hidden argument*/NULL);
return L_8;
}
IL_0028:
{
IPEndPoint_t3791887218 * L_9 = ___input0;
return L_9;
}
}
// System.Void System.Net.Sockets.Socket::cancel_blocking_socket_operation(System.Threading.Thread)
extern "C" IL2CPP_METHOD_ATTR void Socket_cancel_blocking_socket_operation_m922726505 (RuntimeObject * __this /* static, unused */, Thread_t2300836069 * ___thread0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_cancel_blocking_socket_operation_m922726505_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_cancel_blocking_socket_operation_m922726505_RuntimeMethod_var);
typedef void (*Socket_cancel_blocking_socket_operation_m922726505_ftn) (Thread_t2300836069 *);
using namespace il2cpp::icalls;
((Socket_cancel_blocking_socket_operation_m922726505_ftn)System::System::Net::Sockets::Socket::cancel_blocking_socket_operation) (___thread0);
}
// System.Int32 System.Net.Sockets.Socket::get_FamilyHint()
extern "C" IL2CPP_METHOD_ATTR int32_t Socket_get_FamilyHint_m2256720159 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_get_FamilyHint_m2256720159_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_get_FamilyHint_m2256720159_RuntimeMethod_var);
int32_t V_0 = 0;
int32_t G_B6_0 = 0;
{
V_0 = 0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_0 = Socket_get_OSSupportsIPv4_m1922873662(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000b;
}
}
{
V_0 = 1;
}
IL_000b:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_1 = Socket_get_OSSupportsIPv6_m760074248(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0018;
}
}
{
G_B6_0 = 0;
goto IL_0019;
}
IL_0018:
{
G_B6_0 = 2;
}
IL_0019:
{
V_0 = G_B6_0;
}
IL_001a:
{
int32_t L_3 = V_0;
return L_3;
}
}
// System.Boolean System.Net.Sockets.Socket::IsProtocolSupported_internal(System.Net.NetworkInformation.NetworkInterfaceComponent)
extern "C" IL2CPP_METHOD_ATTR bool Socket_IsProtocolSupported_internal_m3759258780 (RuntimeObject * __this /* static, unused */, int32_t ___networkInterface0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IsProtocolSupported_internal_m3759258780_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IsProtocolSupported_internal_m3759258780_RuntimeMethod_var);
typedef bool (*Socket_IsProtocolSupported_internal_m3759258780_ftn) (int32_t);
using namespace il2cpp::icalls;
return ((Socket_IsProtocolSupported_internal_m3759258780_ftn)System::System::Net::Sockets::Socket::IsProtocolSupported_internal) (___networkInterface0);
}
// System.Boolean System.Net.Sockets.Socket::IsProtocolSupported(System.Net.NetworkInformation.NetworkInterfaceComponent)
extern "C" IL2CPP_METHOD_ATTR bool Socket_IsProtocolSupported_m2744406924 (RuntimeObject * __this /* static, unused */, int32_t ___networkInterface0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket_IsProtocolSupported_m2744406924_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket_IsProtocolSupported_m2744406924_RuntimeMethod_var);
{
int32_t L_0 = ___networkInterface0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_1 = Socket_IsProtocolSupported_internal_m3759258780(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void System.Net.Sockets.Socket::.cctor()
extern "C" IL2CPP_METHOD_ATTR void Socket__cctor_m857260626 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Socket__cctor_m857260626_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Socket__cctor_m857260626_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t240325972_il2cpp_TypeInfo_var);
U3CU3Ec_t240325972 * L_0 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_1 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_2 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_2, L_0, L_1, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_AcceptAsyncCallback_22(L_2);
U3CU3Ec_t240325972 * L_3 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_4 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_5 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_5, L_3, L_4, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginAcceptCallback_23(L_5);
U3CU3Ec_t240325972 * L_6 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_7 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_8 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_8, L_6, L_7, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginAcceptReceiveCallback_24(L_8);
U3CU3Ec_t240325972 * L_9 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_10 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_11 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_11, L_9, L_10, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_ConnectAsyncCallback_25(L_11);
U3CU3Ec_t240325972 * L_12 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_13 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_14 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_14, L_12, L_13, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginConnectCallback_26(L_14);
U3CU3Ec_t240325972 * L_15 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_16 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_17 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_17, L_15, L_16, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_DisconnectAsyncCallback_27(L_17);
U3CU3Ec_t240325972 * L_18 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_19 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_20 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_20, L_18, L_19, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginDisconnectCallback_28(L_20);
U3CU3Ec_t240325972 * L_21 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_22 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_23 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_23, L_21, L_22, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_ReceiveAsyncCallback_29(L_23);
U3CU3Ec_t240325972 * L_24 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_25 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_26 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_26, L_24, L_25, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginReceiveCallback_30(L_26);
U3CU3Ec_t240325972 * L_27 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_28 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_29 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_29, L_27, L_28, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginReceiveGenericCallback_31(L_29);
U3CU3Ec_t240325972 * L_30 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_31 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_32 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_32, L_30, L_31, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_ReceiveFromAsyncCallback_32(L_32);
U3CU3Ec_t240325972 * L_33 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_34 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_35 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_35, L_33, L_34, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginReceiveFromCallback_33(L_35);
U3CU3Ec_t240325972 * L_36 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_37 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_38 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_38, L_36, L_37, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_SendAsyncCallback_34(L_38);
U3CU3Ec_t240325972 * L_39 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_40 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281_RuntimeMethod_var;
IOAsyncCallback_t705871752 * L_41 = (IOAsyncCallback_t705871752 *)il2cpp_codegen_object_new(IOAsyncCallback_t705871752_il2cpp_TypeInfo_var);
IOAsyncCallback__ctor_m3248627329(L_41, L_39, L_40, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_BeginSendGenericCallback_35(L_41);
U3CU3Ec_t240325972 * L_42 = ((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_43 = (intptr_t)U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_44 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_44, L_42, L_43, /*hidden argument*/NULL);
((Socket_t1119025450_StaticFields*)il2cpp_codegen_static_fields_for(Socket_t1119025450_il2cpp_TypeInfo_var))->set_SendToAsyncCallback_36(L_44);
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.Net.Sockets.Socket/<>c::.cctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m532654084 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m532654084_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__cctor_m532654084_RuntimeMethod_var);
{
U3CU3Ec_t240325972 * L_0 = (U3CU3Ec_t240325972 *)il2cpp_codegen_object_new(U3CU3Ec_t240325972_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m2896289733(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t240325972_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t240325972_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m2896289733 (U3CU3Ec_t240325972 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__ctor_m2896289733_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__ctor_m2896289733_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<BeginSend>b__241_0(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___s0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3CBeginSendU3Eb__241_0_m1921471321_RuntimeMethod_var);
{
IOAsyncResult_t3640145766 * L_0 = ___s0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_BeginSendCallback_m1460608609(NULL /*static, unused*/, ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), 0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_0(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_0_m2242655620_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
SocketAsyncEventArgs_t4146203020 * L_7 = V_0;
NullCheck(L_7);
Socket_t1119025450 * L_8 = L_7->get_current_socket_4();
RuntimeObject* L_9 = ___ares0;
NullCheck(L_8);
Socket_t1119025450 * L_10 = Socket_EndAccept_m2591091503(L_8, L_9, /*hidden argument*/NULL);
NullCheck(L_6);
SocketAsyncEventArgs_set_AcceptSocket_m803500985(L_6, L_10, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x99, FINALLY_005d);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0040;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_004f;
throw e;
}
CATCH_0040:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_11 = V_0;
SocketException_t3852068672 * L_12 = V_1;
NullCheck(L_12);
int32_t L_13 = SocketException_get_SocketErrorCode_m2767669540(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_11, L_13, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x99, FINALLY_005d);
} // end catch (depth: 2)
CATCH_004f:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_14 = V_0;
NullCheck(L_14);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_14, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x99, FINALLY_005d);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005d;
}
FINALLY_005d:
{ // begin finally (depth: 1)
{
SocketAsyncEventArgs_t4146203020 * L_15 = V_0;
NullCheck(L_15);
Socket_t1119025450 * L_16 = SocketAsyncEventArgs_get_AcceptSocket_m2976413550(L_15, /*hidden argument*/NULL);
if (L_16)
{
goto IL_0092;
}
}
IL_0065:
{
SocketAsyncEventArgs_t4146203020 * L_17 = V_0;
SocketAsyncEventArgs_t4146203020 * L_18 = V_0;
NullCheck(L_18);
Socket_t1119025450 * L_19 = L_18->get_current_socket_4();
NullCheck(L_19);
int32_t L_20 = Socket_get_AddressFamily_m51841532(L_19, /*hidden argument*/NULL);
SocketAsyncEventArgs_t4146203020 * L_21 = V_0;
NullCheck(L_21);
Socket_t1119025450 * L_22 = L_21->get_current_socket_4();
NullCheck(L_22);
int32_t L_23 = Socket_get_SocketType_m1610605419(L_22, /*hidden argument*/NULL);
SocketAsyncEventArgs_t4146203020 * L_24 = V_0;
NullCheck(L_24);
Socket_t1119025450 * L_25 = L_24->get_current_socket_4();
NullCheck(L_25);
int32_t L_26 = Socket_get_ProtocolType_m1935110519(L_25, /*hidden argument*/NULL);
Socket_t1119025450 * L_27 = (Socket_t1119025450 *)il2cpp_codegen_object_new(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket__ctor_m3891211138(L_27, L_20, L_23, L_26, (SafeSocketHandle_t610293888 *)NULL, /*hidden argument*/NULL);
NullCheck(L_17);
SocketAsyncEventArgs_set_AcceptSocket_m803500985(L_17, L_27, /*hidden argument*/NULL);
}
IL_0092:
{
SocketAsyncEventArgs_t4146203020 * L_28 = V_0;
NullCheck(L_28);
SocketAsyncEventArgs_Complete_m640063065(L_28, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(93)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(93)
{
IL2CPP_JUMP_TBL(0x99, IL_0099)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0099:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_1(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_1_m2423046525_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
Socket_t1119025450 * V_1 = NULL;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = (Socket_t1119025450 *)NULL;
}
IL_0009:
try
{ // begin try (depth: 1)
{
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_AcceptSocket_13();
if (L_2)
{
goto IL_001f;
}
}
IL_0011:
{
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
Socket_t1119025450 * L_4 = L_3->get_socket_5();
NullCheck(L_4);
Socket_t1119025450 * L_5 = Socket_Accept_m4157022177(L_4, /*hidden argument*/NULL);
V_1 = L_5;
goto IL_0032;
}
IL_001f:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
Socket_t1119025450 * L_7 = L_6->get_AcceptSocket_13();
V_1 = L_7;
SocketAsyncResult_t3523156467 * L_8 = V_0;
NullCheck(L_8);
Socket_t1119025450 * L_9 = L_8->get_socket_5();
Socket_t1119025450 * L_10 = V_1;
NullCheck(L_9);
Socket_Accept_m789917158(L_9, L_10, /*hidden argument*/NULL);
}
IL_0032:
{
goto IL_003e;
}
} // 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_0034;
throw e;
}
CATCH_0034:
{ // begin catch(System.Exception)
V_2 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_11 = V_0;
Exception_t * L_12 = V_2;
NullCheck(L_11);
SocketAsyncResult_Complete_m772415312(L_11, L_12, /*hidden argument*/NULL);
goto IL_0045;
} // end catch (depth: 1)
IL_003e:
{
SocketAsyncResult_t3523156467 * L_13 = V_0;
Socket_t1119025450 * L_14 = V_1;
NullCheck(L_13);
SocketAsyncResult_Complete_m4080713924(L_13, L_14, /*hidden argument*/NULL);
}
IL_0045:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_2(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_2_m854572685_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
Socket_t1119025450 * V_1 = NULL;
int32_t V_2 = 0;
Exception_t * V_3 = NULL;
int32_t V_4 = 0;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = (Socket_t1119025450 *)NULL;
}
IL_0009:
try
{ // begin try (depth: 1)
{
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_AcceptSocket_13();
if (L_2)
{
goto IL_001f;
}
}
IL_0011:
{
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
Socket_t1119025450 * L_4 = L_3->get_socket_5();
NullCheck(L_4);
Socket_t1119025450 * L_5 = Socket_Accept_m4157022177(L_4, /*hidden argument*/NULL);
V_1 = L_5;
goto IL_0032;
}
IL_001f:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
Socket_t1119025450 * L_7 = L_6->get_AcceptSocket_13();
V_1 = L_7;
SocketAsyncResult_t3523156467 * L_8 = V_0;
NullCheck(L_8);
Socket_t1119025450 * L_9 = L_8->get_socket_5();
Socket_t1119025450 * L_10 = V_1;
NullCheck(L_9);
Socket_Accept_m789917158(L_9, L_10, /*hidden argument*/NULL);
}
IL_0032:
{
goto IL_003e;
}
} // 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_0034;
throw e;
}
CATCH_0034:
{ // begin catch(System.Exception)
V_3 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_11 = V_0;
Exception_t * L_12 = V_3;
NullCheck(L_11);
SocketAsyncResult_Complete_m772415312(L_11, L_12, /*hidden argument*/NULL);
goto IL_0093;
} // end catch (depth: 1)
IL_003e:
{
V_2 = 0;
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
int32_t L_14 = L_13->get_Size_11();
if ((((int32_t)L_14) <= ((int32_t)0)))
{
goto IL_008b;
}
}
IL_0049:
try
{ // begin try (depth: 1)
{
Socket_t1119025450 * L_15 = V_1;
SocketAsyncResult_t3523156467 * L_16 = V_0;
NullCheck(L_16);
ByteU5BU5D_t4116647657* L_17 = L_16->get_Buffer_9();
SocketAsyncResult_t3523156467 * L_18 = V_0;
NullCheck(L_18);
int32_t L_19 = L_18->get_Offset_10();
SocketAsyncResult_t3523156467 * L_20 = V_0;
NullCheck(L_20);
int32_t L_21 = L_20->get_Size_11();
SocketAsyncResult_t3523156467 * L_22 = V_0;
NullCheck(L_22);
int32_t L_23 = L_22->get_SockFlags_12();
NullCheck(L_15);
int32_t L_24 = Socket_Receive_m840169338(L_15, L_17, L_19, L_21, L_23, (int32_t*)(&V_4), /*hidden argument*/NULL);
V_2 = L_24;
int32_t L_25 = V_4;
if (!L_25)
{
goto IL_007d;
}
}
IL_006e:
{
SocketAsyncResult_t3523156467 * L_26 = V_0;
int32_t L_27 = V_4;
SocketException_t3852068672 * L_28 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_28, L_27, /*hidden argument*/NULL);
NullCheck(L_26);
SocketAsyncResult_Complete_m772415312(L_26, L_28, /*hidden argument*/NULL);
goto IL_0093;
}
IL_007d:
{
goto IL_008b;
}
} // 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_007f;
throw e;
}
CATCH_007f:
{ // begin catch(System.Exception)
V_5 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_29 = V_0;
Exception_t * L_30 = V_5;
NullCheck(L_29);
SocketAsyncResult_Complete_m772415312(L_29, L_30, /*hidden argument*/NULL);
goto IL_0093;
} // end catch (depth: 1)
IL_008b:
{
SocketAsyncResult_t3523156467 * L_31 = V_0;
Socket_t1119025450 * L_32 = V_1;
int32_t L_33 = V_2;
NullCheck(L_31);
SocketAsyncResult_Complete_m3033430476(L_31, L_32, L_33, /*hidden argument*/NULL);
}
IL_0093:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_3(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_3_m1470574082_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
NullCheck(L_6);
Socket_t1119025450 * L_7 = L_6->get_current_socket_4();
RuntimeObject* L_8 = ___ares0;
NullCheck(L_7);
Socket_EndConnect_m498417972(L_7, L_8, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_003a;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0049;
throw e;
}
CATCH_003a:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_9 = V_0;
SocketException_t3852068672 * L_10 = V_1;
NullCheck(L_10);
int32_t L_11 = SocketException_get_SocketErrorCode_m2767669540(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_9, L_11, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end catch (depth: 2)
CATCH_0049:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_12 = V_0;
NullCheck(L_12);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_12, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0057;
}
FINALLY_0057:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_13 = V_0;
NullCheck(L_13);
SocketAsyncEventArgs_Complete_m640063065(L_13, /*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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_4(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_4_m3609314407_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
EndPoint_t982345378 * L_2 = L_1->get_EndPoint_8();
if (L_2)
{
goto IL_0020;
}
}
{
SocketAsyncResult_t3523156467 * L_3 = V_0;
SocketException_t3852068672 * L_4 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_4, ((int32_t)10049), /*hidden argument*/NULL);
NullCheck(L_3);
SocketAsyncResult_Complete_m772415312(L_3, L_4, /*hidden argument*/NULL);
return;
}
IL_0020:
{
}
IL_0021:
try
{ // begin try (depth: 1)
{
SocketAsyncResult_t3523156467 * L_5 = V_0;
NullCheck(L_5);
Socket_t1119025450 * L_6 = L_5->get_socket_5();
NullCheck(L_6);
RuntimeObject * L_7 = Socket_GetSocketOption_m419986124(L_6, ((int32_t)65535), ((int32_t)4103), /*hidden argument*/NULL);
V_1 = ((*(int32_t*)((int32_t*)UnBox(L_7, Int32_t2950945753_il2cpp_TypeInfo_var))));
int32_t L_8 = V_1;
if (L_8)
{
goto IL_0083;
}
}
IL_003f:
{
SocketAsyncResult_t3523156467 * L_9 = V_0;
NullCheck(L_9);
Socket_t1119025450 * L_10 = L_9->get_socket_5();
SocketAsyncResult_t3523156467 * L_11 = V_0;
NullCheck(L_11);
EndPoint_t982345378 * L_12 = L_11->get_EndPoint_8();
NullCheck(L_10);
L_10->set_seed_endpoint_14(L_12);
SocketAsyncResult_t3523156467 * L_13 = V_0;
NullCheck(L_13);
Socket_t1119025450 * L_14 = L_13->get_socket_5();
NullCheck(L_14);
L_14->set_is_connected_19((bool)1);
SocketAsyncResult_t3523156467 * L_15 = V_0;
NullCheck(L_15);
Socket_t1119025450 * L_16 = L_15->get_socket_5();
NullCheck(L_16);
L_16->set_is_bound_18((bool)1);
SocketAsyncResult_t3523156467 * L_17 = V_0;
NullCheck(L_17);
Socket_t1119025450 * L_18 = L_17->get_socket_5();
NullCheck(L_18);
L_18->set_connect_in_progress_21((bool)0);
SocketAsyncResult_t3523156467 * L_19 = V_0;
NullCheck(L_19);
L_19->set_error_21(0);
SocketAsyncResult_t3523156467 * L_20 = V_0;
NullCheck(L_20);
SocketAsyncResult_Complete_m2139287463(L_20, /*hidden argument*/NULL);
goto IL_00e1;
}
IL_0083:
{
SocketAsyncResult_t3523156467 * L_21 = V_0;
NullCheck(L_21);
IPAddressU5BU5D_t596328627* L_22 = L_21->get_Addresses_14();
if (L_22)
{
goto IL_00a5;
}
}
IL_008b:
{
SocketAsyncResult_t3523156467 * L_23 = V_0;
NullCheck(L_23);
Socket_t1119025450 * L_24 = L_23->get_socket_5();
NullCheck(L_24);
L_24->set_connect_in_progress_21((bool)0);
SocketAsyncResult_t3523156467 * L_25 = V_0;
int32_t L_26 = V_1;
SocketException_t3852068672 * L_27 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_27, L_26, /*hidden argument*/NULL);
NullCheck(L_25);
SocketAsyncResult_Complete_m772415312(L_25, L_27, /*hidden argument*/NULL);
goto IL_00e1;
}
IL_00a5:
{
SocketAsyncResult_t3523156467 * L_28 = V_0;
NullCheck(L_28);
int32_t L_29 = L_28->get_CurrentAddress_18();
SocketAsyncResult_t3523156467 * L_30 = V_0;
NullCheck(L_30);
IPAddressU5BU5D_t596328627* L_31 = L_30->get_Addresses_14();
NullCheck(L_31);
if ((((int32_t)L_29) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length)))))))
{
goto IL_00c3;
}
}
IL_00b5:
{
SocketAsyncResult_t3523156467 * L_32 = V_0;
int32_t L_33 = V_1;
SocketException_t3852068672 * L_34 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_34, L_33, /*hidden argument*/NULL);
NullCheck(L_32);
SocketAsyncResult_Complete_m772415312(L_32, L_34, /*hidden argument*/NULL);
goto IL_00e1;
}
IL_00c3:
{
SocketAsyncResult_t3523156467 * L_35 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_BeginMConnect_m4086520346(NULL /*static, unused*/, L_35, /*hidden argument*/NULL);
goto IL_00e1;
}
} // 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_00cb;
throw e;
}
CATCH_00cb:
{ // begin catch(System.Exception)
V_2 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_36 = V_0;
NullCheck(L_36);
Socket_t1119025450 * L_37 = L_36->get_socket_5();
NullCheck(L_37);
L_37->set_connect_in_progress_21((bool)0);
SocketAsyncResult_t3523156467 * L_38 = V_0;
Exception_t * L_39 = V_2;
NullCheck(L_38);
SocketAsyncResult_Complete_m772415312(L_38, L_39, /*hidden argument*/NULL);
goto IL_00e1;
} // end catch (depth: 1)
IL_00e1:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_5(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_5_m3281058751_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
NullCheck(L_6);
Socket_t1119025450 * L_7 = L_6->get_current_socket_4();
RuntimeObject* L_8 = ___ares0;
NullCheck(L_7);
Socket_EndDisconnect_m4234608499(L_7, L_8, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_003a;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0049;
throw e;
}
CATCH_003a:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_9 = V_0;
SocketException_t3852068672 * L_10 = V_1;
NullCheck(L_10);
int32_t L_11 = SocketException_get_SocketErrorCode_m2767669540(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_9, L_11, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end catch (depth: 2)
CATCH_0049:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_12 = V_0;
NullCheck(L_12);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_12, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0057;
}
FINALLY_0057:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_13 = V_0;
NullCheck(L_13);
SocketAsyncEventArgs_Complete_m640063065(L_13, /*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:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_6(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_6_m3221995463_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
}
IL_0007:
try
{ // begin try (depth: 1)
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_socket_5();
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
bool L_4 = L_3->get_ReuseSocket_17();
NullCheck(L_2);
Socket_Disconnect_m1621188342(L_2, L_4, /*hidden argument*/NULL);
goto IL_0024;
} // 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_001a;
throw e;
}
CATCH_001a:
{ // begin catch(System.Exception)
V_1 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_5 = V_0;
Exception_t * L_6 = V_1;
NullCheck(L_5);
SocketAsyncResult_Complete_m772415312(L_5, L_6, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_0024:
{
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
SocketAsyncResult_Complete_m2139287463(L_7, /*hidden argument*/NULL);
}
IL_002a:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_7(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_7_m1186665062_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
SocketAsyncEventArgs_t4146203020 * L_7 = V_0;
NullCheck(L_7);
Socket_t1119025450 * L_8 = L_7->get_current_socket_4();
RuntimeObject* L_9 = ___ares0;
NullCheck(L_8);
int32_t L_10 = Socket_EndReceive_m2385446150(L_8, L_9, /*hidden argument*/NULL);
NullCheck(L_6);
SocketAsyncEventArgs_set_BytesTransferred_m3887301794(L_6, L_10, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0040;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_004f;
throw e;
}
CATCH_0040:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_11 = V_0;
SocketException_t3852068672 * L_12 = V_1;
NullCheck(L_12);
int32_t L_13 = SocketException_get_SocketErrorCode_m2767669540(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_11, L_13, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
CATCH_004f:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_14 = V_0;
NullCheck(L_14);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_14, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005d;
}
FINALLY_005d:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_15 = V_0;
NullCheck(L_15);
SocketAsyncEventArgs_Complete_m640063065(L_15, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(93)
} // end finally (depth: 1)
IL2CPP_CLEANUP(93)
{
IL2CPP_JUMP_TBL(0x64, IL_0064)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0064:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_8(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_8_m84584810_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
int32_t V_1 = 0;
uint8_t* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = 0;
}
IL_0009:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
ByteU5BU5D_t4116647657* L_2 = L_1->get_Buffer_9();
ByteU5BU5D_t4116647657* L_3 = L_2;
V_3 = L_3;
if (!L_3)
{
goto IL_0018;
}
}
IL_0013:
{
ByteU5BU5D_t4116647657* L_4 = V_3;
NullCheck(L_4);
if ((((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))
{
goto IL_001d;
}
}
IL_0018:
{
V_2 = (uint8_t*)(((uintptr_t)0));
goto IL_0026;
}
IL_001d:
{
ByteU5BU5D_t4116647657* L_5 = V_3;
NullCheck(L_5);
V_2 = (uint8_t*)(((uintptr_t)((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0026:
{
SocketAsyncResult_t3523156467 * L_6 = V_0;
NullCheck(L_6);
Socket_t1119025450 * L_7 = L_6->get_socket_5();
NullCheck(L_7);
SafeSocketHandle_t610293888 * L_8 = L_7->get_m_Handle_13();
uint8_t* L_9 = V_2;
SocketAsyncResult_t3523156467 * L_10 = V_0;
NullCheck(L_10);
int32_t L_11 = L_10->get_Offset_10();
SocketAsyncResult_t3523156467 * L_12 = V_0;
NullCheck(L_12);
int32_t L_13 = L_12->get_Size_11();
SocketAsyncResult_t3523156467 * L_14 = V_0;
NullCheck(L_14);
int32_t L_15 = L_14->get_SockFlags_12();
SocketAsyncResult_t3523156467 * L_16 = V_0;
NullCheck(L_16);
int32_t* L_17 = L_16->get_address_of_error_21();
SocketAsyncResult_t3523156467 * L_18 = V_0;
NullCheck(L_18);
Socket_t1119025450 * L_19 = L_18->get_socket_5();
NullCheck(L_19);
bool L_20 = L_19->get_is_blocking_17();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
int32_t L_21 = Socket_Receive_internal_m3910046341(NULL /*static, unused*/, L_8, (uint8_t*)(uint8_t*)(((uintptr_t)((uint8_t*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)L_11)))), L_13, L_15, (int32_t*)L_17, L_20, /*hidden argument*/NULL);
V_1 = L_21;
IL2CPP_LEAVE(0x62, FINALLY_005f);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005f;
}
FINALLY_005f:
{ // begin finally (depth: 2)
V_3 = (ByteU5BU5D_t4116647657*)NULL;
IL2CPP_END_FINALLY(95)
} // end finally (depth: 2)
IL2CPP_CLEANUP(95)
{
IL2CPP_JUMP_TBL(0x62, IL_0062)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0062:
{
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_0064;
throw e;
}
CATCH_0064:
{ // begin catch(System.Exception)
V_4 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_22 = V_0;
Exception_t * L_23 = V_4;
NullCheck(L_22);
SocketAsyncResult_Complete_m772415312(L_22, L_23, /*hidden argument*/NULL);
goto IL_0077;
} // end catch (depth: 1)
IL_0070:
{
SocketAsyncResult_t3523156467 * L_24 = V_0;
int32_t L_25 = V_1;
NullCheck(L_24);
SocketAsyncResult_Complete_m2013919124(L_24, L_25, /*hidden argument*/NULL);
}
IL_0077:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_9(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_9_m1253681822_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = 0;
}
IL_0009:
try
{ // begin try (depth: 1)
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_socket_5();
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
RuntimeObject* L_4 = L_3->get_Buffers_16();
SocketAsyncResult_t3523156467 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = L_5->get_SockFlags_12();
NullCheck(L_2);
int32_t L_7 = Socket_Receive_m2722177980(L_2, L_4, L_6, /*hidden argument*/NULL);
V_1 = L_7;
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_0023;
throw e;
}
CATCH_0023:
{ // begin catch(System.Exception)
V_2 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_8 = V_0;
Exception_t * L_9 = V_2;
NullCheck(L_8);
SocketAsyncResult_Complete_m772415312(L_8, L_9, /*hidden argument*/NULL);
goto IL_0034;
} // end catch (depth: 1)
IL_002d:
{
SocketAsyncResult_t3523156467 * L_10 = V_0;
int32_t L_11 = V_1;
NullCheck(L_10);
SocketAsyncResult_Complete_m2013919124(L_10, L_11, /*hidden argument*/NULL);
}
IL_0034:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_10(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_10_m233669948_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
SocketAsyncEventArgs_t4146203020 * L_7 = V_0;
NullCheck(L_7);
Socket_t1119025450 * L_8 = L_7->get_current_socket_4();
RuntimeObject* L_9 = ___ares0;
SocketAsyncEventArgs_t4146203020 * L_10 = V_0;
NullCheck(L_10);
EndPoint_t982345378 ** L_11 = L_10->get_address_of_remote_ep_3();
NullCheck(L_8);
int32_t L_12 = Socket_EndReceiveFrom_m1036960845(L_8, L_9, (EndPoint_t982345378 **)L_11, /*hidden argument*/NULL);
NullCheck(L_6);
SocketAsyncEventArgs_set_BytesTransferred_m3887301794(L_6, L_12, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x6A, FINALLY_0063);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0046;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0055;
throw e;
}
CATCH_0046:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_13 = V_0;
SocketException_t3852068672 * L_14 = V_1;
NullCheck(L_14);
int32_t L_15 = SocketException_get_SocketErrorCode_m2767669540(L_14, /*hidden argument*/NULL);
NullCheck(L_13);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_13, L_15, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x6A, FINALLY_0063);
} // end catch (depth: 2)
CATCH_0055:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_16 = V_0;
NullCheck(L_16);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_16, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x6A, FINALLY_0063);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0063;
}
FINALLY_0063:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_17 = V_0;
NullCheck(L_17);
SocketAsyncEventArgs_Complete_m640063065(L_17, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(99)
} // end finally (depth: 1)
IL2CPP_CLEANUP(99)
{
IL2CPP_JUMP_TBL(0x6A, IL_006a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_006a:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_11(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_11_m3585703175_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = 0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_socket_5();
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
ByteU5BU5D_t4116647657* L_4 = L_3->get_Buffer_9();
SocketAsyncResult_t3523156467 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = L_5->get_Offset_10();
SocketAsyncResult_t3523156467 * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = L_7->get_Size_11();
SocketAsyncResult_t3523156467 * L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = L_9->get_SockFlags_12();
SocketAsyncResult_t3523156467 * L_11 = V_0;
NullCheck(L_11);
EndPoint_t982345378 ** L_12 = L_11->get_address_of_EndPoint_8();
NullCheck(L_2);
int32_t L_13 = Socket_ReceiveFrom_m4213975345(L_2, L_4, L_6, L_8, L_10, (EndPoint_t982345378 **)L_12, (int32_t*)(&V_2), /*hidden argument*/NULL);
V_1 = L_13;
int32_t L_14 = V_2;
if (!L_14)
{
goto IL_0046;
}
}
IL_0038:
{
SocketAsyncResult_t3523156467 * L_15 = V_0;
int32_t L_16 = V_2;
SocketException_t3852068672 * L_17 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_17, L_16, /*hidden argument*/NULL);
NullCheck(L_15);
SocketAsyncResult_Complete_m772415312(L_15, L_17, /*hidden argument*/NULL);
goto IL_0059;
}
IL_0046:
{
goto IL_0052;
}
} // 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_0048;
throw e;
}
CATCH_0048:
{ // begin catch(System.Exception)
V_3 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_18 = V_0;
Exception_t * L_19 = V_3;
NullCheck(L_18);
SocketAsyncResult_Complete_m772415312(L_18, L_19, /*hidden argument*/NULL);
goto IL_0059;
} // end catch (depth: 1)
IL_0052:
{
SocketAsyncResult_t3523156467 * L_20 = V_0;
int32_t L_21 = V_1;
NullCheck(L_20);
SocketAsyncResult_Complete_m2013919124(L_20, L_21, /*hidden argument*/NULL);
}
IL_0059:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_12(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_12_m1607004806_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
SocketAsyncEventArgs_t4146203020 * L_7 = V_0;
NullCheck(L_7);
Socket_t1119025450 * L_8 = L_7->get_current_socket_4();
RuntimeObject* L_9 = ___ares0;
NullCheck(L_8);
int32_t L_10 = Socket_EndSend_m2816431255(L_8, L_9, /*hidden argument*/NULL);
NullCheck(L_6);
SocketAsyncEventArgs_set_BytesTransferred_m3887301794(L_6, L_10, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0040;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_004f;
throw e;
}
CATCH_0040:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_11 = V_0;
SocketException_t3852068672 * L_12 = V_1;
NullCheck(L_12);
int32_t L_13 = SocketException_get_SocketErrorCode_m2767669540(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_11, L_13, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
CATCH_004f:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_14 = V_0;
NullCheck(L_14);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_14, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005d;
}
FINALLY_005d:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_15 = V_0;
NullCheck(L_15);
SocketAsyncEventArgs_Complete_m640063065(L_15, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(93)
} // end finally (depth: 1)
IL2CPP_CLEANUP(93)
{
IL2CPP_JUMP_TBL(0x64, IL_0064)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0064:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_13(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281 (U3CU3Ec_t240325972 * __this, IOAsyncResult_t3640145766 * ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_13_m4146416281_RuntimeMethod_var);
SocketAsyncResult_t3523156467 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IOAsyncResult_t3640145766 * L_0 = ___ares0;
V_0 = ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var));
V_1 = 0;
}
IL_0009:
try
{ // begin try (depth: 1)
SocketAsyncResult_t3523156467 * L_1 = V_0;
NullCheck(L_1);
Socket_t1119025450 * L_2 = L_1->get_socket_5();
SocketAsyncResult_t3523156467 * L_3 = V_0;
NullCheck(L_3);
RuntimeObject* L_4 = L_3->get_Buffers_16();
SocketAsyncResult_t3523156467 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = L_5->get_SockFlags_12();
NullCheck(L_2);
int32_t L_7 = Socket_Send_m1328269865(L_2, L_4, L_6, /*hidden argument*/NULL);
V_1 = L_7;
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_0023;
throw e;
}
CATCH_0023:
{ // begin catch(System.Exception)
V_2 = ((Exception_t *)__exception_local);
SocketAsyncResult_t3523156467 * L_8 = V_0;
Exception_t * L_9 = V_2;
NullCheck(L_8);
SocketAsyncResult_Complete_m772415312(L_8, L_9, /*hidden argument*/NULL);
goto IL_0034;
} // end catch (depth: 1)
IL_002d:
{
SocketAsyncResult_t3523156467 * L_10 = V_0;
int32_t L_11 = V_1;
NullCheck(L_10);
SocketAsyncResult_Complete_m2013919124(L_10, L_11, /*hidden argument*/NULL);
}
IL_0034:
{
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c::<.cctor>b__309_14(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120 (U3CU3Ec_t240325972 * __this, RuntimeObject* ___ares0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_RuntimeMethod_var);
SocketAsyncEventArgs_t4146203020 * V_0 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ares0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
RuntimeObject * L_1 = IOAsyncResult_get_AsyncState_m2837164062(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = ((SocketAsyncEventArgs_t4146203020 *)CastclassClass((RuntimeObject*)L_1, SocketAsyncEventArgs_t4146203020_il2cpp_TypeInfo_var));
SocketAsyncEventArgs_t4146203020 * L_2 = V_0;
NullCheck(L_2);
int32_t* L_3 = L_2->get_address_of_in_progress_2();
il2cpp_codegen_memory_barrier();
int32_t L_4 = Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)L_3, 0, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_002b;
}
}
{
InvalidOperationException_t56020091 * L_5 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_5, _stringLiteral184344996, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, U3CU3Ec_U3C_cctorU3Eb__309_14_m4067735120_RuntimeMethod_var);
}
IL_002b:
{
}
IL_002c:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
SocketAsyncEventArgs_t4146203020 * L_6 = V_0;
SocketAsyncEventArgs_t4146203020 * L_7 = V_0;
NullCheck(L_7);
Socket_t1119025450 * L_8 = L_7->get_current_socket_4();
RuntimeObject* L_9 = ___ares0;
NullCheck(L_8);
int32_t L_10 = Socket_EndSendTo_m3552536842(L_8, L_9, /*hidden argument*/NULL);
NullCheck(L_6);
SocketAsyncEventArgs_set_BytesTransferred_m3887301794(L_6, L_10, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (SocketException_t3852068672_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0040;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_004f;
throw e;
}
CATCH_0040:
{ // begin catch(System.Net.Sockets.SocketException)
V_1 = ((SocketException_t3852068672 *)__exception_local);
SocketAsyncEventArgs_t4146203020 * L_11 = V_0;
SocketException_t3852068672 * L_12 = V_1;
NullCheck(L_12);
int32_t L_13 = SocketException_get_SocketErrorCode_m2767669540(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_11, L_13, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
CATCH_004f:
{ // begin catch(System.ObjectDisposedException)
SocketAsyncEventArgs_t4146203020 * L_14 = V_0;
NullCheck(L_14);
SocketAsyncEventArgs_set_SocketError_m2833015933(L_14, ((int32_t)995), /*hidden argument*/NULL);
IL2CPP_LEAVE(0x64, FINALLY_005d);
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005d;
}
FINALLY_005d:
{ // begin finally (depth: 1)
SocketAsyncEventArgs_t4146203020 * L_15 = V_0;
NullCheck(L_15);
SocketAsyncEventArgs_Complete_m640063065(L_15, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(93)
} // end finally (depth: 1)
IL2CPP_CLEANUP(93)
{
IL2CPP_JUMP_TBL(0x64, IL_0064)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0064:
{
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.Net.Sockets.Socket/<>c__DisplayClass242_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass242_0__ctor_m571730096 (U3CU3Ec__DisplayClass242_0_t616583391 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass242_0__ctor_m571730096_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass242_0__ctor_m571730096_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c__DisplayClass242_0::<BeginSendCallback>b__0(System.IOAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135 (U3CU3Ec__DisplayClass242_0_t616583391 * __this, IOAsyncResult_t3640145766 * ___s0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass242_0_U3CBeginSendCallbackU3Eb__0_m759158135_RuntimeMethod_var);
{
IOAsyncResult_t3640145766 * L_0 = ___s0;
int32_t L_1 = __this->get_sent_so_far_0();
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket_BeginSendCallback_m1460608609(NULL /*static, unused*/, ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), 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.Net.Sockets.Socket/<>c__DisplayClass298_0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass298_0__ctor_m3200109011 (U3CU3Ec__DisplayClass298_0_t616190186 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass298_0__ctor_m3200109011_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass298_0__ctor_m3200109011_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.Socket/<>c__DisplayClass298_0::<QueueIOSelectorJob>b__0(System.Threading.Tasks.Task)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331 (U3CU3Ec__DisplayClass298_0_t616190186 * __this, Task_t3187275312 * ___t0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__DisplayClass298_0_U3CQueueIOSelectorJobU3Eb__0_m3346106331_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = __this->get_U3CU3E4__this_0();
NullCheck(L_0);
bool L_1 = Socket_get_CleanedUp_m691785454(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
IOSelectorJob_t2199748873 * L_2 = __this->get_job_1();
NullCheck(L_2);
IOSelectorJob_MarkDisposed_m1053029016(L_2, /*hidden argument*/NULL);
return;
}
IL_0019:
{
intptr_t L_3 = __this->get_handle_2();
IOSelectorJob_t2199748873 * L_4 = __this->get_job_1();
IOSelector_Add_m2838266828(NULL /*static, unused*/, L_3, L_4, /*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.Net.Sockets.Socket System.Net.Sockets.SocketAsyncEventArgs::get_AcceptSocket()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * SocketAsyncEventArgs_get_AcceptSocket_m2976413550 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_get_AcceptSocket_m2976413550_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_get_AcceptSocket_m2976413550_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = __this->get_U3CAcceptSocketU3Ek__BackingField_5();
return L_0;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_AcceptSocket(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_AcceptSocket_m803500985 (SocketAsyncEventArgs_t4146203020 * __this, Socket_t1119025450 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_set_AcceptSocket_m803500985_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_set_AcceptSocket_m803500985_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = ___value0;
__this->set_U3CAcceptSocketU3Ek__BackingField_5(L_0);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_BytesTransferred(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_BytesTransferred_m3887301794 (SocketAsyncEventArgs_t4146203020 * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_set_BytesTransferred_m3887301794_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_set_BytesTransferred_m3887301794_RuntimeMethod_var);
{
int32_t L_0 = ___value0;
__this->set_U3CBytesTransferredU3Ek__BackingField_6(L_0);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::set_SocketError(System.Net.Sockets.SocketError)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_set_SocketError_m2833015933 (SocketAsyncEventArgs_t4146203020 * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_set_SocketError_m2833015933_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_set_SocketError_m2833015933_RuntimeMethod_var);
{
int32_t L_0 = ___value0;
__this->set_U3CSocketErrorU3Ek__BackingField_7(L_0);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Finalize()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Finalize_m2742700199 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_Finalize_m2742700199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_Finalize_m2742700199_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SocketAsyncEventArgs_Dispose_m1052872840(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x10, FINALLY_0009);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0009;
}
FINALLY_0009:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(9)
} // end finally (depth: 1)
IL2CPP_CLEANUP(9)
{
IL2CPP_JUMP_TBL(0x10, IL_0010)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0010:
{
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Dispose_m1052872840 (SocketAsyncEventArgs_t4146203020 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_Dispose_m1052872840_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_Dispose_m1052872840_RuntimeMethod_var);
{
__this->set_disposed_1((bool)1);
bool L_0 = ___disposing0;
if (!L_0)
{
goto IL_0014;
}
}
{
int32_t L_1 = __this->get_in_progress_2();
il2cpp_codegen_memory_barrier();
return;
}
IL_0014:
{
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Dispose()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Dispose_m75246699 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_Dispose_m75246699_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_Dispose_m75246699_RuntimeMethod_var);
{
SocketAsyncEventArgs_Dispose_m1052872840(__this, (bool)1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GC_t959872083_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m1177400158(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::Complete()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_Complete_m640063065 (SocketAsyncEventArgs_t4146203020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_Complete_m640063065_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_Complete_m640063065_RuntimeMethod_var);
{
VirtActionInvoker1< SocketAsyncEventArgs_t4146203020 * >::Invoke(5 /* System.Void System.Net.Sockets.SocketAsyncEventArgs::OnCompleted(System.Net.Sockets.SocketAsyncEventArgs) */, __this, __this);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncEventArgs::OnCompleted(System.Net.Sockets.SocketAsyncEventArgs)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncEventArgs_OnCompleted_m377032193 (SocketAsyncEventArgs_t4146203020 * __this, SocketAsyncEventArgs_t4146203020 * ___e0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncEventArgs_OnCompleted_m377032193_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncEventArgs_OnCompleted_m377032193_RuntimeMethod_var);
EventHandler_1_t2070362453 * V_0 = NULL;
{
SocketAsyncEventArgs_t4146203020 * L_0 = ___e0;
if (L_0)
{
goto IL_0004;
}
}
{
return;
}
IL_0004:
{
SocketAsyncEventArgs_t4146203020 * L_1 = ___e0;
NullCheck(L_1);
EventHandler_1_t2070362453 * L_2 = L_1->get_Completed_8();
V_0 = L_2;
EventHandler_1_t2070362453 * L_3 = V_0;
if (!L_3)
{
goto IL_001b;
}
}
{
EventHandler_1_t2070362453 * L_4 = V_0;
SocketAsyncEventArgs_t4146203020 * L_5 = ___e0;
NullCheck(L_5);
Socket_t1119025450 * L_6 = L_5->get_current_socket_4();
SocketAsyncEventArgs_t4146203020 * L_7 = ___e0;
NullCheck(L_4);
EventHandler_1_Invoke_m4083598229(L_4, L_6, L_7, /*hidden argument*/EventHandler_1_Invoke_m4083598229_RuntimeMethod_var);
}
IL_001b:
{
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
// Conversion methods for marshalling of: System.Net.Sockets.SocketAsyncResult
extern "C" void SocketAsyncResult_t3523156467_marshal_pinvoke(const SocketAsyncResult_t3523156467& unmarshaled, SocketAsyncResult_t3523156467_marshaled_pinvoke& marshaled)
{
Exception_t* ___socket_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'socket' of type 'SocketAsyncResult': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___socket_5Exception, NULL, NULL);
}
extern "C" void SocketAsyncResult_t3523156467_marshal_pinvoke_back(const SocketAsyncResult_t3523156467_marshaled_pinvoke& marshaled, SocketAsyncResult_t3523156467& unmarshaled)
{
Exception_t* ___socket_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'socket' of type 'SocketAsyncResult': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___socket_5Exception, NULL, NULL);
}
// Conversion method for clean up from marshalling of: System.Net.Sockets.SocketAsyncResult
extern "C" void SocketAsyncResult_t3523156467_marshal_pinvoke_cleanup(SocketAsyncResult_t3523156467_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Net.Sockets.SocketAsyncResult
extern "C" void SocketAsyncResult_t3523156467_marshal_com(const SocketAsyncResult_t3523156467& unmarshaled, SocketAsyncResult_t3523156467_marshaled_com& marshaled)
{
Exception_t* ___socket_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'socket' of type 'SocketAsyncResult': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___socket_5Exception, NULL, NULL);
}
extern "C" void SocketAsyncResult_t3523156467_marshal_com_back(const SocketAsyncResult_t3523156467_marshaled_com& marshaled, SocketAsyncResult_t3523156467& unmarshaled)
{
Exception_t* ___socket_5Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'socket' of type 'SocketAsyncResult': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___socket_5Exception, NULL, NULL);
}
// Conversion method for clean up from marshalling of: System.Net.Sockets.SocketAsyncResult
extern "C" void SocketAsyncResult_t3523156467_marshal_com_cleanup(SocketAsyncResult_t3523156467_marshaled_com& marshaled)
{
}
// System.IntPtr System.Net.Sockets.SocketAsyncResult::get_Handle()
extern "C" IL2CPP_METHOD_ATTR intptr_t SocketAsyncResult_get_Handle_m3169920889 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_get_Handle_m3169920889_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_get_Handle_m3169920889_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = __this->get_socket_5();
if (L_0)
{
goto IL_000e;
}
}
{
return (intptr_t)(0);
}
IL_000e:
{
Socket_t1119025450 * L_1 = __this->get_socket_5();
NullCheck(L_1);
intptr_t L_2 = Socket_get_Handle_m2249751627(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::.ctor(System.Net.Sockets.Socket,System.AsyncCallback,System.Object,System.Net.Sockets.SocketOperation)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult__ctor_m2222378430 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___socket0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, int32_t ___operation3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult__ctor_m2222378430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult__ctor_m2222378430_RuntimeMethod_var);
{
AsyncCallback_t3962456242 * L_0 = ___callback1;
RuntimeObject * L_1 = ___state2;
IOAsyncResult__ctor_m1044573569(__this, L_0, L_1, /*hidden argument*/NULL);
Socket_t1119025450 * L_2 = ___socket0;
__this->set_socket_5(L_2);
int32_t L_3 = ___operation3;
__this->set_operation_6(L_3);
return;
}
}
// System.Net.Sockets.SocketError System.Net.Sockets.SocketAsyncResult::get_ErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketAsyncResult_get_ErrorCode_m3197843861 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_get_ErrorCode_m3197843861_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_get_ErrorCode_m3197843861_RuntimeMethod_var);
SocketException_t3852068672 * V_0 = NULL;
{
Exception_t * L_0 = __this->get_DelayedException_7();
V_0 = ((SocketException_t3852068672 *)IsInstClass((RuntimeObject*)L_0, SocketException_t3852068672_il2cpp_TypeInfo_var));
SocketException_t3852068672 * L_1 = V_0;
if (!L_1)
{
goto IL_0016;
}
}
{
SocketException_t3852068672 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = SocketException_get_SocketErrorCode_m2767669540(L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0016:
{
int32_t L_4 = __this->get_error_21();
if (!L_4)
{
goto IL_0025;
}
}
{
int32_t L_5 = __this->get_error_21();
return (int32_t)(L_5);
}
IL_0025:
{
return (int32_t)(0);
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::CheckIfThrowDelayedException()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_CheckIfThrowDelayedException_m1791470585 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_RuntimeMethod_var);
{
Exception_t * L_0 = __this->get_DelayedException_7();
if (!L_0)
{
goto IL_001b;
}
}
{
Socket_t1119025450 * L_1 = __this->get_socket_5();
NullCheck(L_1);
L_1->set_is_connected_19((bool)0);
Exception_t * L_2 = __this->get_DelayedException_7();
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_RuntimeMethod_var);
}
IL_001b:
{
int32_t L_3 = __this->get_error_21();
if (!L_3)
{
goto IL_003b;
}
}
{
Socket_t1119025450 * L_4 = __this->get_socket_5();
NullCheck(L_4);
L_4->set_is_connected_19((bool)0);
int32_t L_5 = __this->get_error_21();
SocketException_t3852068672 * L_6 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m1369613389(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, SocketAsyncResult_CheckIfThrowDelayedException_m1791470585_RuntimeMethod_var);
}
IL_003b:
{
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::CompleteDisposed()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_CompleteDisposed_m3648698353 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_CompleteDisposed_m3648698353_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_CompleteDisposed_m3648698353_RuntimeMethod_var);
{
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete()
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m2139287463 (SocketAsyncResult_t3523156467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m2139287463_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m2139287463_RuntimeMethod_var);
Socket_t1119025450 * V_0 = NULL;
int32_t V_1 = 0;
WaitCallback_t2448485498 * G_B6_0 = NULL;
WaitCallback_t2448485498 * G_B5_0 = NULL;
{
int32_t L_0 = __this->get_operation_6();
if ((((int32_t)L_0) == ((int32_t)2)))
{
goto IL_0031;
}
}
{
Socket_t1119025450 * L_1 = __this->get_socket_5();
NullCheck(L_1);
bool L_2 = Socket_get_CleanedUp_m691785454(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0031;
}
}
{
Socket_t1119025450 * L_3 = __this->get_socket_5();
NullCheck(L_3);
Type_t * L_4 = Object_GetType_m88164663(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
String_t* L_5 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_4);
ObjectDisposedException_t21392786 * L_6 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_6, L_5, /*hidden argument*/NULL);
__this->set_DelayedException_7(L_6);
}
IL_0031:
{
IOAsyncResult_set_IsCompleted_m2347043755(__this, (bool)1, /*hidden argument*/NULL);
Socket_t1119025450 * L_7 = __this->get_socket_5();
V_0 = L_7;
int32_t L_8 = __this->get_operation_6();
V_1 = L_8;
AsyncCallback_t3962456242 * L_9 = IOAsyncResult_get_AsyncCallback_m426656779(__this, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0074;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var);
WaitCallback_t2448485498 * L_10 = ((U3CU3Ec_t3573335103_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var))->get_U3CU3E9__27_0_1();
WaitCallback_t2448485498 * L_11 = L_10;
G_B5_0 = L_11;
if (L_11)
{
G_B6_0 = L_11;
goto IL_006d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var);
U3CU3Ec_t3573335103 * L_12 = ((U3CU3Ec_t3573335103_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_13 = (intptr_t)U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825_RuntimeMethod_var;
WaitCallback_t2448485498 * L_14 = (WaitCallback_t2448485498 *)il2cpp_codegen_object_new(WaitCallback_t2448485498_il2cpp_TypeInfo_var);
WaitCallback__ctor_m1893321019(L_14, L_12, L_13, /*hidden argument*/NULL);
WaitCallback_t2448485498 * L_15 = L_14;
((U3CU3Ec_t3573335103_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var))->set_U3CU3E9__27_0_1(L_15);
G_B6_0 = L_15;
}
IL_006d:
{
ThreadPool_UnsafeQueueUserWorkItem_m247000765(NULL /*static, unused*/, G_B6_0, __this, /*hidden argument*/NULL);
}
IL_0074:
{
int32_t L_16 = V_1;
switch (L_16)
{
case 0:
{
goto IL_00ab;
}
case 1:
{
goto IL_00c4;
}
case 2:
{
goto IL_00ab;
}
case 3:
{
goto IL_00ab;
}
case 4:
{
goto IL_00b8;
}
case 5:
{
goto IL_00b8;
}
case 6:
{
goto IL_00c4;
}
case 7:
{
goto IL_00c4;
}
case 8:
{
goto IL_00c4;
}
case 9:
{
goto IL_00c4;
}
case 10:
{
goto IL_00ab;
}
case 11:
{
goto IL_00b8;
}
}
}
{
return;
}
IL_00ab:
{
Socket_t1119025450 * L_17 = V_0;
NullCheck(L_17);
SemaphoreSlim_t2974092902 * L_18 = L_17->get_ReadSem_15();
NullCheck(L_18);
SemaphoreSlim_Release_m4077912144(L_18, /*hidden argument*/NULL);
return;
}
IL_00b8:
{
Socket_t1119025450 * L_19 = V_0;
NullCheck(L_19);
SemaphoreSlim_t2974092902 * L_20 = L_19->get_WriteSem_16();
NullCheck(L_20);
SemaphoreSlim_Release_m4077912144(L_20, /*hidden argument*/NULL);
}
IL_00c4:
{
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m4036770188 (SocketAsyncResult_t3523156467 * __this, bool ___synch0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m4036770188_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m4036770188_RuntimeMethod_var);
{
bool L_0 = ___synch0;
IOAsyncResult_set_CompletedSynchronously_m3658237697(__this, L_0, /*hidden argument*/NULL);
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m2013919124 (SocketAsyncResult_t3523156467 * __this, int32_t ___total0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m2013919124_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m2013919124_RuntimeMethod_var);
{
int32_t L_0 = ___total0;
__this->set_Total_20(L_0);
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Exception,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m1649959738 (SocketAsyncResult_t3523156467 * __this, Exception_t * ___e0, bool ___synch1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m1649959738_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m1649959738_RuntimeMethod_var);
{
Exception_t * L_0 = ___e0;
__this->set_DelayedException_7(L_0);
bool L_1 = ___synch1;
IOAsyncResult_set_CompletedSynchronously_m3658237697(__this, L_1, /*hidden argument*/NULL);
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m772415312 (SocketAsyncResult_t3523156467 * __this, Exception_t * ___e0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m772415312_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m772415312_RuntimeMethod_var);
{
Exception_t * L_0 = ___e0;
__this->set_DelayedException_7(L_0);
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m4080713924 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___s0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m4080713924_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m4080713924_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = ___s0;
__this->set_AcceptedSocket_19(L_0);
SocketAsyncResult_Complete_m2139287463(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult::Complete(System.Net.Sockets.Socket,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketAsyncResult_Complete_m3033430476 (SocketAsyncResult_t3523156467 * __this, Socket_t1119025450 * ___s0, int32_t ___total1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketAsyncResult_Complete_m3033430476_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketAsyncResult_Complete_m3033430476_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = ___s0;
__this->set_AcceptedSocket_19(L_0);
int32_t L_1 = ___total1;
__this->set_Total_20(L_1);
SocketAsyncResult_Complete_m2139287463(__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.Net.Sockets.SocketAsyncResult/<>c::.cctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m2809933815 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m2809933815_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__cctor_m2809933815_RuntimeMethod_var);
{
U3CU3Ec_t3573335103 * L_0 = (U3CU3Ec_t3573335103 *)il2cpp_codegen_object_new(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m944601489(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t3573335103_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3573335103_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m944601489 (U3CU3Ec_t3573335103 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__ctor_m944601489_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__ctor_m944601489_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketAsyncResult/<>c::<Complete>b__27_0(System.Object)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825 (U3CU3Ec_t3573335103 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3CCompleteU3Eb__27_0_m3635841825_RuntimeMethod_var);
{
RuntimeObject * L_0 = ___state0;
NullCheck(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)));
AsyncCallback_t3962456242 * L_1 = IOAsyncResult_get_AsyncCallback_m426656779(((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_0, SocketAsyncResult_t3523156467_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
RuntimeObject * L_2 = ___state0;
NullCheck(L_1);
AsyncCallback_Invoke_m3156993048(L_1, ((SocketAsyncResult_t3523156467 *)CastclassSealed((RuntimeObject*)L_2, SocketAsyncResult_t3523156467_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.Int32 System.Net.Sockets.SocketException::WSAGetLastError_internal()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketException_WSAGetLastError_internal_m1236276956 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException_WSAGetLastError_internal_m1236276956_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException_WSAGetLastError_internal_m1236276956_RuntimeMethod_var);
typedef int32_t (*SocketException_WSAGetLastError_internal_m1236276956_ftn) ();
using namespace il2cpp::icalls;
return ((SocketException_WSAGetLastError_internal_m1236276956_ftn)System::System::Net::Sockets::SocketException::WSAGetLastError) ();
}
// System.Void System.Net.Sockets.SocketException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m480722159 (SocketException_t3852068672 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException__ctor_m480722159_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException__ctor_m480722159_RuntimeMethod_var);
{
int32_t L_0 = SocketException_WSAGetLastError_internal_m1236276956(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t3234146298_il2cpp_TypeInfo_var);
Win32Exception__ctor_m3118723333(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketException::.ctor(System.Int32,System.String)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m3042788307 (SocketException_t3852068672 * __this, int32_t ___error0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException__ctor_m3042788307_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException__ctor_m3042788307_RuntimeMethod_var);
{
int32_t L_0 = ___error0;
String_t* L_1 = ___message1;
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t3234146298_il2cpp_TypeInfo_var);
Win32Exception__ctor_m11747318(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketException::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m1369613389 (SocketException_t3852068672 * __this, int32_t ___errorCode0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException__ctor_m1369613389_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException__ctor_m1369613389_RuntimeMethod_var);
{
int32_t L_0 = ___errorCode0;
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t3234146298_il2cpp_TypeInfo_var);
Win32Exception__ctor_m3118723333(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketException::.ctor(System.Net.Sockets.SocketError)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m985972657 (SocketException_t3852068672 * __this, int32_t ___socketError0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException__ctor_m985972657_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException__ctor_m985972657_RuntimeMethod_var);
{
int32_t L_0 = ___socketError0;
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t3234146298_il2cpp_TypeInfo_var);
Win32Exception__ctor_m3118723333(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.Sockets.SocketException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" IL2CPP_METHOD_ATTR void SocketException__ctor_m3558609746 (SocketException_t3852068672 * __this, SerializationInfo_t950877179 * ___serializationInfo0, StreamingContext_t3711869237 ___streamingContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException__ctor_m3558609746_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException__ctor_m3558609746_RuntimeMethod_var);
{
SerializationInfo_t950877179 * L_0 = ___serializationInfo0;
StreamingContext_t3711869237 L_1 = ___streamingContext1;
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t3234146298_il2cpp_TypeInfo_var);
Win32Exception__ctor_m3265219078(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.String System.Net.Sockets.SocketException::get_Message()
extern "C" IL2CPP_METHOD_ATTR String_t* SocketException_get_Message_m1742236578 (SocketException_t3852068672 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException_get_Message_m1742236578_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException_get_Message_m1742236578_RuntimeMethod_var);
{
EndPoint_t982345378 * L_0 = __this->get_m_EndPoint_20();
if (L_0)
{
goto IL_000f;
}
}
{
String_t* L_1 = Exception_get_Message_m3320461627(__this, /*hidden argument*/NULL);
return L_1;
}
IL_000f:
{
String_t* L_2 = Exception_get_Message_m3320461627(__this, /*hidden argument*/NULL);
EndPoint_t982345378 * L_3 = __this->get_m_EndPoint_20();
NullCheck(L_3);
String_t* L_4 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_3);
String_t* L_5 = String_Concat_m3755062657(NULL /*static, unused*/, L_2, _stringLiteral3452614528, L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Net.Sockets.SocketError System.Net.Sockets.SocketException::get_SocketErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t SocketException_get_SocketErrorCode_m2767669540 (SocketException_t3852068672 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketException_get_SocketErrorCode_m2767669540_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketException_get_SocketErrorCode_m2767669540_RuntimeMethod_var);
{
int32_t L_0 = Win32Exception_get_NativeErrorCode_m4105802931(__this, /*hidden argument*/NULL);
return (int32_t)(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
#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
#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.Threading.Tasks.Task System.Net.Sockets.SocketTaskExtensions::ConnectAsync(System.Net.Sockets.Socket,System.Net.IPAddress,System.Int32)
extern "C" IL2CPP_METHOD_ATTR Task_t3187275312 * SocketTaskExtensions_ConnectAsync_m3459361233 (RuntimeObject * __this /* static, unused */, Socket_t1119025450 * ___socket0, IPAddress_t241777590 * ___address1, int32_t ___port2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SocketTaskExtensions_ConnectAsync_m3459361233_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SocketTaskExtensions_ConnectAsync_m3459361233_RuntimeMethod_var);
Func_5_t3425908549 * G_B2_0 = NULL;
TaskFactory_t2660013028 * G_B2_1 = NULL;
Func_5_t3425908549 * G_B1_0 = NULL;
TaskFactory_t2660013028 * G_B1_1 = NULL;
Action_1_t939472046 * G_B4_0 = NULL;
Func_5_t3425908549 * G_B4_1 = NULL;
TaskFactory_t2660013028 * G_B4_2 = NULL;
Action_1_t939472046 * G_B3_0 = NULL;
Func_5_t3425908549 * G_B3_1 = NULL;
TaskFactory_t2660013028 * G_B3_2 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t3187275312_il2cpp_TypeInfo_var);
TaskFactory_t2660013028 * L_0 = Task_get_Factory_m1867023094(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var);
Func_5_t3425908549 * L_1 = ((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->get_U3CU3E9__3_0_1();
Func_5_t3425908549 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = L_0;
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var);
U3CU3Ec_t3618281371 * L_3 = ((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_4 = (intptr_t)U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485_RuntimeMethod_var;
Func_5_t3425908549 * L_5 = (Func_5_t3425908549 *)il2cpp_codegen_object_new(Func_5_t3425908549_il2cpp_TypeInfo_var);
Func_5__ctor_m2195064123(L_5, L_3, L_4, /*hidden argument*/Func_5__ctor_m2195064123_RuntimeMethod_var);
Func_5_t3425908549 * L_6 = L_5;
((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->set_U3CU3E9__3_0_1(L_6);
G_B2_0 = L_6;
G_B2_1 = G_B1_1;
}
IL_0024:
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var);
Action_1_t939472046 * L_7 = ((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->get_U3CU3E9__3_1_2();
Action_1_t939472046 * L_8 = L_7;
G_B3_0 = L_8;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
if (L_8)
{
G_B4_0 = L_8;
G_B4_1 = G_B2_0;
G_B4_2 = G_B2_1;
goto IL_0043;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var);
U3CU3Ec_t3618281371 * L_9 = ((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
intptr_t L_10 = (intptr_t)U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259_RuntimeMethod_var;
Action_1_t939472046 * L_11 = (Action_1_t939472046 *)il2cpp_codegen_object_new(Action_1_t939472046_il2cpp_TypeInfo_var);
Action_1__ctor_m65104179(L_11, L_9, L_10, /*hidden argument*/Action_1__ctor_m65104179_RuntimeMethod_var);
Action_1_t939472046 * L_12 = L_11;
((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->set_U3CU3E9__3_1_2(L_12);
G_B4_0 = L_12;
G_B4_1 = G_B3_1;
G_B4_2 = G_B3_2;
}
IL_0043:
{
IPAddress_t241777590 * L_13 = ___address1;
int32_t L_14 = ___port2;
Socket_t1119025450 * L_15 = ___socket0;
NullCheck(G_B4_2);
Task_t3187275312 * L_16 = TaskFactory_FromAsync_TisIPAddress_t241777590_TisInt32_t2950945753_m1783330966(G_B4_2, G_B4_1, G_B4_0, L_13, L_14, L_15, /*hidden argument*/TaskFactory_FromAsync_TisIPAddress_t241777590_TisInt32_t2950945753_m1783330966_RuntimeMethod_var);
return L_16;
}
}
#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.Net.Sockets.SocketTaskExtensions/<>c::.cctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m2779459158 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m2779459158_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__cctor_m2779459158_RuntimeMethod_var);
{
U3CU3Ec_t3618281371 * L_0 = (U3CU3Ec_t3618281371 *)il2cpp_codegen_object_new(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m3225629985(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t3618281371_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t3618281371_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Net.Sockets.SocketTaskExtensions/<>c::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m3225629985 (U3CU3Ec_t3618281371 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__ctor_m3225629985_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec__ctor_m3225629985_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.IAsyncResult System.Net.Sockets.SocketTaskExtensions/<>c::<ConnectAsync>b__3_0(System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485 (U3CU3Ec_t3618281371 * __this, IPAddress_t241777590 * ___targetAddress0, int32_t ___targetPort1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___state3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3CConnectAsyncU3Eb__3_0_m3732462485_RuntimeMethod_var);
{
RuntimeObject * L_0 = ___state3;
IPAddress_t241777590 * L_1 = ___targetAddress0;
int32_t L_2 = ___targetPort1;
AsyncCallback_t3962456242 * L_3 = ___callback2;
RuntimeObject * L_4 = ___state3;
NullCheck(((Socket_t1119025450 *)CastclassClass((RuntimeObject*)L_0, Socket_t1119025450_il2cpp_TypeInfo_var)));
RuntimeObject* L_5 = Socket_BeginConnect_m1384072037(((Socket_t1119025450 *)CastclassClass((RuntimeObject*)L_0, Socket_t1119025450_il2cpp_TypeInfo_var)), L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Void System.Net.Sockets.SocketTaskExtensions/<>c::<ConnectAsync>b__3_1(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259 (U3CU3Ec_t3618281371 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(U3CU3Ec_U3CConnectAsyncU3Eb__3_1_m2803048259_RuntimeMethod_var);
{
RuntimeObject* L_0 = ___asyncResult0;
NullCheck(L_0);
RuntimeObject * L_1 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(2 /* System.Object System.IAsyncResult::get_AsyncState() */, IAsyncResult_t767004451_il2cpp_TypeInfo_var, L_0);
RuntimeObject* L_2 = ___asyncResult0;
NullCheck(((Socket_t1119025450 *)CastclassClass((RuntimeObject*)L_1, Socket_t1119025450_il2cpp_TypeInfo_var)));
Socket_EndConnect_m498417972(((Socket_t1119025450 *)CastclassClass((RuntimeObject*)L_1, Socket_t1119025450_il2cpp_TypeInfo_var)), L_2, /*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.Void System.Net.Sockets.TcpClient::.ctor(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TcpClient__ctor_m2606367680 (TcpClient_t822906377 * __this, String_t* ___hostname0, int32_t ___port1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient__ctor_m2606367680_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient__ctor_m2606367680_RuntimeMethod_var);
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
__this->set_m_Family_3(2);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
String_t* L_1 = ___hostname0;
if (L_1)
{
goto IL_0021;
}
}
{
ArgumentNullException_t1615371798 * L_2 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_2, _stringLiteral734190638, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, TcpClient__ctor_m2606367680_RuntimeMethod_var);
}
IL_0021:
{
int32_t L_3 = ___port1;
IL2CPP_RUNTIME_CLASS_INIT(ValidationHelper_t3640249616_il2cpp_TypeInfo_var);
bool L_4 = ValidationHelper_ValidateTcpPort_m2411968702(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_0034;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_5 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_5, _stringLiteral1212291552, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, TcpClient__ctor_m2606367680_RuntimeMethod_var);
}
IL_0034:
{
}
IL_0035:
try
{ // begin try (depth: 1)
String_t* L_6 = ___hostname0;
int32_t L_7 = ___port1;
TcpClient_Connect_m3508995652(__this, L_6, L_7, /*hidden argument*/NULL);
goto IL_006f;
} // 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_003f;
throw e;
}
CATCH_003f:
{ // begin catch(System.Exception)
{
V_0 = ((Exception_t *)__exception_local);
Exception_t * L_8 = V_0;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_8, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_0058;
}
}
IL_0048:
{
Exception_t * L_9 = V_0;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_9, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_0058;
}
}
IL_0050:
{
Exception_t * L_10 = V_0;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_10, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_005a;
}
}
IL_0058:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, TcpClient__ctor_m2606367680_RuntimeMethod_var);
}
IL_005a:
{
Socket_t1119025450 * L_11 = __this->get_m_ClientSocket_0();
if (!L_11)
{
goto IL_006d;
}
}
IL_0062:
{
Socket_t1119025450 * L_12 = __this->get_m_ClientSocket_0();
NullCheck(L_12);
Socket_Close_m3289097516(L_12, /*hidden argument*/NULL);
}
IL_006d:
{
Exception_t * L_13 = V_0;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, TcpClient__ctor_m2606367680_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_006f:
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_14 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
}
// System.Net.Sockets.Socket System.Net.Sockets.TcpClient::get_Client()
extern "C" IL2CPP_METHOD_ATTR Socket_t1119025450 * TcpClient_get_Client_m139203108 (TcpClient_t822906377 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_get_Client_m139203108_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_get_Client_m139203108_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = __this->get_m_ClientSocket_0();
return L_0;
}
}
// System.Void System.Net.Sockets.TcpClient::set_Client(System.Net.Sockets.Socket)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_set_Client_m713463720 (TcpClient_t822906377 * __this, Socket_t1119025450 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_set_Client_m713463720_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_set_Client_m713463720_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = ___value0;
__this->set_m_ClientSocket_0(L_0);
return;
}
}
// System.Void System.Net.Sockets.TcpClient::Connect(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Connect_m3508995652 (TcpClient_t822906377 * __this, String_t* ___hostname0, int32_t ___port1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Connect_m3508995652_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Connect_m3508995652_RuntimeMethod_var);
IPAddressU5BU5D_t596328627* V_0 = NULL;
Exception_t * V_1 = NULL;
Socket_t1119025450 * V_2 = NULL;
Socket_t1119025450 * V_3 = NULL;
IPAddressU5BU5D_t596328627* V_4 = NULL;
int32_t V_5 = 0;
IPAddress_t241777590 * V_6 = NULL;
Exception_t * V_7 = NULL;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
bool L_1 = __this->get_m_CleanedUp_4();
if (!L_1)
{
goto IL_001f;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_001f:
{
String_t* L_5 = ___hostname0;
if (L_5)
{
goto IL_002d;
}
}
{
ArgumentNullException_t1615371798 * L_6 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_6, _stringLiteral734190638, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_002d:
{
int32_t L_7 = ___port1;
IL2CPP_RUNTIME_CLASS_INIT(ValidationHelper_t3640249616_il2cpp_TypeInfo_var);
bool L_8 = ValidationHelper_ValidateTcpPort_m2411968702(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0040;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_9 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_9, _stringLiteral1212291552, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_0040:
{
bool L_10 = __this->get_m_Active_1();
if (!L_10)
{
goto IL_0053;
}
}
{
SocketException_t3852068672 * L_11 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_11, ((int32_t)10056), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_0053:
{
String_t* L_12 = ___hostname0;
IL2CPP_RUNTIME_CLASS_INIT(Dns_t384099571_il2cpp_TypeInfo_var);
IPAddressU5BU5D_t596328627* L_13 = Dns_GetHostAddresses_m878956259(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
V_0 = L_13;
V_1 = (Exception_t *)NULL;
V_2 = (Socket_t1119025450 *)NULL;
V_3 = (Socket_t1119025450 *)NULL;
}
IL_0060:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
Socket_t1119025450 * L_14 = __this->get_m_ClientSocket_0();
if (L_14)
{
goto IL_0089;
}
}
IL_0068:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_15 = Socket_get_OSSupportsIPv4_m1922873662(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0078;
}
}
IL_006f:
{
Socket_t1119025450 * L_16 = (Socket_t1119025450 *)il2cpp_codegen_object_new(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket__ctor_m3479084642(L_16, 2, 1, 6, /*hidden argument*/NULL);
V_3 = L_16;
}
IL_0078:
{
IL2CPP_RUNTIME_CLASS_INIT(Socket_t1119025450_il2cpp_TypeInfo_var);
bool L_17 = Socket_get_OSSupportsIPv6_m760074248(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_0089;
}
}
IL_007f:
{
Socket_t1119025450 * L_18 = (Socket_t1119025450 *)il2cpp_codegen_object_new(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket__ctor_m3479084642(L_18, ((int32_t)23), 1, 6, /*hidden argument*/NULL);
V_2 = L_18;
}
IL_0089:
{
IPAddressU5BU5D_t596328627* L_19 = V_0;
V_4 = L_19;
V_5 = 0;
goto IL_014f;
}
IL_0094:
{
IPAddressU5BU5D_t596328627* L_20 = V_4;
int32_t L_21 = V_5;
NullCheck(L_20);
int32_t L_22 = L_21;
IPAddress_t241777590 * L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
V_6 = L_23;
}
IL_009b:
try
{ // begin try (depth: 3)
{
Socket_t1119025450 * L_24 = __this->get_m_ClientSocket_0();
if (L_24)
{
goto IL_00fd;
}
}
IL_00a3:
{
IPAddress_t241777590 * L_25 = V_6;
NullCheck(L_25);
int32_t L_26 = IPAddress_get_AddressFamily_m1010663936(L_25, /*hidden argument*/NULL);
if ((!(((uint32_t)L_26) == ((uint32_t)2))))
{
goto IL_00cb;
}
}
IL_00ad:
{
Socket_t1119025450 * L_27 = V_3;
if (!L_27)
{
goto IL_00cb;
}
}
IL_00b0:
{
Socket_t1119025450 * L_28 = V_3;
IPAddress_t241777590 * L_29 = V_6;
int32_t L_30 = ___port1;
NullCheck(L_28);
Socket_Connect_m1862028144(L_28, L_29, L_30, /*hidden argument*/NULL);
Socket_t1119025450 * L_31 = V_3;
__this->set_m_ClientSocket_0(L_31);
Socket_t1119025450 * L_32 = V_2;
if (!L_32)
{
goto IL_00e7;
}
}
IL_00c3:
{
Socket_t1119025450 * L_33 = V_2;
NullCheck(L_33);
Socket_Close_m3289097516(L_33, /*hidden argument*/NULL);
goto IL_00e7;
}
IL_00cb:
{
Socket_t1119025450 * L_34 = V_2;
if (!L_34)
{
goto IL_00e7;
}
}
IL_00ce:
{
Socket_t1119025450 * L_35 = V_2;
IPAddress_t241777590 * L_36 = V_6;
int32_t L_37 = ___port1;
NullCheck(L_35);
Socket_Connect_m1862028144(L_35, L_36, L_37, /*hidden argument*/NULL);
Socket_t1119025450 * L_38 = V_2;
__this->set_m_ClientSocket_0(L_38);
Socket_t1119025450 * L_39 = V_3;
if (!L_39)
{
goto IL_00e7;
}
}
IL_00e1:
{
Socket_t1119025450 * L_40 = V_3;
NullCheck(L_40);
Socket_Close_m3289097516(L_40, /*hidden argument*/NULL);
}
IL_00e7:
{
IPAddress_t241777590 * L_41 = V_6;
NullCheck(L_41);
int32_t L_42 = IPAddress_get_AddressFamily_m1010663936(L_41, /*hidden argument*/NULL);
__this->set_m_Family_3(L_42);
__this->set_m_Active_1((bool)1);
goto IL_015a;
}
IL_00fd:
{
IPAddress_t241777590 * L_43 = V_6;
NullCheck(L_43);
int32_t L_44 = IPAddress_get_AddressFamily_m1010663936(L_43, /*hidden argument*/NULL);
int32_t L_45 = __this->get_m_Family_3();
if ((!(((uint32_t)L_44) == ((uint32_t)L_45))))
{
goto IL_0123;
}
}
IL_010c:
{
IPAddress_t241777590 * L_46 = V_6;
int32_t L_47 = ___port1;
IPEndPoint_t3791887218 * L_48 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_48, L_46, L_47, /*hidden argument*/NULL);
TcpClient_Connect_m3565396920(__this, L_48, /*hidden argument*/NULL);
__this->set_m_Active_1((bool)1);
goto IL_015a;
}
IL_0123:
{
goto IL_0149;
}
} // end try (depth: 3)
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_0125;
throw e;
}
CATCH_0125:
{ // begin catch(System.Exception)
{
V_7 = ((Exception_t *)__exception_local);
Exception_t * L_49 = V_7;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_49, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_0142;
}
}
IL_0130:
{
Exception_t * L_50 = V_7;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_50, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_0142;
}
}
IL_0139:
{
Exception_t * L_51 = V_7;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_51, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_0144;
}
}
IL_0142:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_0144:
{
Exception_t * L_52 = V_7;
V_1 = L_52;
goto IL_0149;
}
} // end catch (depth: 3)
IL_0149:
{
int32_t L_53 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)1));
}
IL_014f:
{
int32_t L_54 = V_5;
IPAddressU5BU5D_t596328627* L_55 = V_4;
NullCheck(L_55);
if ((((int32_t)L_54) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_55)->max_length)))))))
{
goto IL_0094;
}
}
IL_015a:
{
IL2CPP_LEAVE(0x1AB, FINALLY_0180);
}
} // end try (depth: 2)
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_015c;
throw e;
}
CATCH_015c:
{ // begin catch(System.Exception)
{
V_8 = ((Exception_t *)__exception_local);
Exception_t * L_56 = V_8;
if (((ThreadAbortException_t4074510458 *)IsInstSealed((RuntimeObject*)L_56, ThreadAbortException_t4074510458_il2cpp_TypeInfo_var)))
{
goto IL_0179;
}
}
IL_0167:
{
Exception_t * L_57 = V_8;
if (((StackOverflowException_t3629451388 *)IsInstSealed((RuntimeObject*)L_57, StackOverflowException_t3629451388_il2cpp_TypeInfo_var)))
{
goto IL_0179;
}
}
IL_0170:
{
Exception_t * L_58 = V_8;
if (!((OutOfMemoryException_t2437671686 *)IsInstClass((RuntimeObject*)L_58, OutOfMemoryException_t2437671686_il2cpp_TypeInfo_var)))
{
goto IL_017b;
}
}
IL_0179:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_017b:
{
Exception_t * L_59 = V_8;
V_1 = L_59;
IL2CPP_LEAVE(0x1AB, FINALLY_0180);
}
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0180;
}
FINALLY_0180:
{ // begin finally (depth: 1)
{
bool L_60 = __this->get_m_Active_1();
if (L_60)
{
goto IL_01aa;
}
}
IL_0188:
{
Socket_t1119025450 * L_61 = V_2;
if (!L_61)
{
goto IL_0191;
}
}
IL_018b:
{
Socket_t1119025450 * L_62 = V_2;
NullCheck(L_62);
Socket_Close_m3289097516(L_62, /*hidden argument*/NULL);
}
IL_0191:
{
Socket_t1119025450 * L_63 = V_3;
if (!L_63)
{
goto IL_019a;
}
}
IL_0194:
{
Socket_t1119025450 * L_64 = V_3;
NullCheck(L_64);
Socket_Close_m3289097516(L_64, /*hidden argument*/NULL);
}
IL_019a:
{
Exception_t * L_65 = V_1;
if (!L_65)
{
goto IL_019f;
}
}
IL_019d:
{
Exception_t * L_66 = V_1;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_019f:
{
SocketException_t3852068672 * L_67 = (SocketException_t3852068672 *)il2cpp_codegen_object_new(SocketException_t3852068672_il2cpp_TypeInfo_var);
SocketException__ctor_m985972657(L_67, ((int32_t)10057), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_67, NULL, TcpClient_Connect_m3508995652_RuntimeMethod_var);
}
IL_01aa:
{
IL2CPP_END_FINALLY(384)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(384)
{
IL2CPP_JUMP_TBL(0x1AB, IL_01ab)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01ab:
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_68 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
}
// System.Void System.Net.Sockets.TcpClient::Connect(System.Net.IPEndPoint)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Connect_m3565396920 (TcpClient_t822906377 * __this, IPEndPoint_t3791887218 * ___remoteEP0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Connect_m3565396920_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Connect_m3565396920_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
bool L_1 = __this->get_m_CleanedUp_4();
if (!L_1)
{
goto IL_001f;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TcpClient_Connect_m3565396920_RuntimeMethod_var);
}
IL_001f:
{
IPEndPoint_t3791887218 * L_5 = ___remoteEP0;
if (L_5)
{
goto IL_002d;
}
}
{
ArgumentNullException_t1615371798 * L_6 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_6, _stringLiteral1060490584, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, TcpClient_Connect_m3565396920_RuntimeMethod_var);
}
IL_002d:
{
Socket_t1119025450 * L_7 = TcpClient_get_Client_m139203108(__this, /*hidden argument*/NULL);
IPEndPoint_t3791887218 * L_8 = ___remoteEP0;
NullCheck(L_7);
Socket_Connect_m798630981(L_7, L_8, /*hidden argument*/NULL);
__this->set_m_Active_1((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_9 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
}
// System.Net.Sockets.NetworkStream System.Net.Sockets.TcpClient::GetStream()
extern "C" IL2CPP_METHOD_ATTR NetworkStream_t4071955934 * TcpClient_GetStream_m960745678 (TcpClient_t822906377 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_GetStream_m960745678_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_GetStream_m960745678_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
bool L_1 = __this->get_m_CleanedUp_4();
if (!L_1)
{
goto IL_001f;
}
}
{
Type_t * L_2 = Object_GetType_m88164663(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_2);
ObjectDisposedException_t21392786 * L_4 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TcpClient_GetStream_m960745678_RuntimeMethod_var);
}
IL_001f:
{
Socket_t1119025450 * L_5 = TcpClient_get_Client_m139203108(__this, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_6 = Socket_get_Connected_m2875145796(L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_003c;
}
}
{
String_t* L_7 = SR_GetString_m1137630943(NULL /*static, unused*/, _stringLiteral1614880162, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_8 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, TcpClient_GetStream_m960745678_RuntimeMethod_var);
}
IL_003c:
{
NetworkStream_t4071955934 * L_9 = __this->get_m_DataStream_2();
if (L_9)
{
goto IL_0056;
}
}
{
Socket_t1119025450 * L_10 = TcpClient_get_Client_m139203108(__this, /*hidden argument*/NULL);
NetworkStream_t4071955934 * L_11 = (NetworkStream_t4071955934 *)il2cpp_codegen_object_new(NetworkStream_t4071955934_il2cpp_TypeInfo_var);
NetworkStream__ctor_m594102681(L_11, L_10, (bool)1, /*hidden argument*/NULL);
__this->set_m_DataStream_2(L_11);
}
IL_0056:
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_12 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
NetworkStream_t4071955934 * L_13 = __this->get_m_DataStream_2();
return L_13;
}
}
// System.Void System.Net.Sockets.TcpClient::Close()
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Close_m3817529922 (TcpClient_t822906377 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Close_m3817529922_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Close_m3817529922_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, __this);
bool L_1 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
}
// System.Void System.Net.Sockets.TcpClient::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Dispose_m929096288 (TcpClient_t822906377 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Dispose_m929096288_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Dispose_m929096288_RuntimeMethod_var);
RuntimeObject* V_0 = NULL;
Socket_t1119025450 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_0 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
bool L_1 = __this->get_m_CleanedUp_4();
if (!L_1)
{
goto IL_0015;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_2 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
IL_0015:
{
bool L_3 = ___disposing0;
if (!L_3)
{
goto IL_0051;
}
}
{
NetworkStream_t4071955934 * L_4 = __this->get_m_DataStream_2();
V_0 = L_4;
RuntimeObject* L_5 = V_0;
if (!L_5)
{
goto IL_002a;
}
}
{
RuntimeObject* L_6 = V_0;
NullCheck(L_6);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_6);
goto IL_004b;
}
IL_002a:
{
Socket_t1119025450 * L_7 = TcpClient_get_Client_m139203108(__this, /*hidden argument*/NULL);
V_1 = L_7;
Socket_t1119025450 * L_8 = V_1;
if (!L_8)
{
goto IL_004b;
}
}
IL_0034:
try
{ // begin try (depth: 1)
Socket_t1119025450 * L_9 = V_1;
NullCheck(L_9);
Socket_InternalShutdown_m1075955397(L_9, 2, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x4B, FINALLY_003d);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003d;
}
FINALLY_003d:
{ // begin finally (depth: 1)
Socket_t1119025450 * L_10 = V_1;
NullCheck(L_10);
Socket_Close_m3289097516(L_10, /*hidden argument*/NULL);
TcpClient_set_Client_m713463720(__this, (Socket_t1119025450 *)NULL, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(61)
} // end finally (depth: 1)
IL2CPP_CLEANUP(61)
{
IL2CPP_JUMP_TBL(0x4B, IL_004b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(GC_t959872083_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m1177400158(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
}
IL_0051:
{
__this->set_m_CleanedUp_4((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(Logging_t3111638700_il2cpp_TypeInfo_var);
bool L_11 = ((Logging_t3111638700_StaticFields*)il2cpp_codegen_static_fields_for(Logging_t3111638700_il2cpp_TypeInfo_var))->get_On_0();
return;
}
}
// System.Void System.Net.Sockets.TcpClient::Dispose()
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Dispose_m1914083401 (TcpClient_t822906377 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Dispose_m1914083401_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Dispose_m1914083401_RuntimeMethod_var);
{
VirtActionInvoker1< bool >::Invoke(5 /* System.Void System.Net.Sockets.TcpClient::Dispose(System.Boolean) */, __this, (bool)1);
return;
}
}
// System.Void System.Net.Sockets.TcpClient::Finalize()
extern "C" IL2CPP_METHOD_ATTR void TcpClient_Finalize_m2248115439 (TcpClient_t822906377 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TcpClient_Finalize_m2248115439_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TcpClient_Finalize_m2248115439_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(5 /* System.Void System.Net.Sockets.TcpClient::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x10, FINALLY_0009);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0009;
}
FINALLY_0009:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(9)
} // end finally (depth: 1)
IL2CPP_CLEANUP(9)
{
IL2CPP_JUMP_TBL(0x10, IL_0010)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0010:
{
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.Net.SystemNetworkCredential::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SystemNetworkCredential__ctor_m3792767285 (SystemNetworkCredential_t3685288932 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SystemNetworkCredential__ctor_m3792767285_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SystemNetworkCredential__ctor_m3792767285_RuntimeMethod_var);
{
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
NetworkCredential__ctor_m3496297373(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.SystemNetworkCredential::.cctor()
extern "C" IL2CPP_METHOD_ATTR void SystemNetworkCredential__cctor_m559915852 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SystemNetworkCredential__cctor_m559915852_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SystemNetworkCredential__cctor_m559915852_RuntimeMethod_var);
{
SystemNetworkCredential_t3685288932 * L_0 = (SystemNetworkCredential_t3685288932 *)il2cpp_codegen_object_new(SystemNetworkCredential_t3685288932_il2cpp_TypeInfo_var);
SystemNetworkCredential__ctor_m3792767285(L_0, /*hidden argument*/NULL);
((SystemNetworkCredential_t3685288932_StaticFields*)il2cpp_codegen_static_fields_for(SystemNetworkCredential_t3685288932_il2cpp_TypeInfo_var))->set_defaultCredential_3(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.Net.TimerThread::.cctor()
extern "C" IL2CPP_METHOD_ATTR void TimerThread__cctor_m4183456827 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerThread__cctor_m4183456827_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerThread__cctor_m4183456827_RuntimeMethod_var);
{
LinkedList_1_t174532725 * L_0 = (LinkedList_1_t174532725 *)il2cpp_codegen_object_new(LinkedList_1_t174532725_il2cpp_TypeInfo_var);
LinkedList_1__ctor_m3208008944(L_0, /*hidden argument*/LinkedList_1__ctor_m3208008944_RuntimeMethod_var);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_Queues_0(L_0);
LinkedList_1_t174532725 * L_1 = (LinkedList_1_t174532725 *)il2cpp_codegen_object_new(LinkedList_1_t174532725_il2cpp_TypeInfo_var);
LinkedList_1__ctor_m3208008944(L_1, /*hidden argument*/LinkedList_1__ctor_m3208008944_RuntimeMethod_var);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_NewQueues_1(L_1);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_ThreadState_2(0);
AutoResetEvent_t1333520283 * L_2 = (AutoResetEvent_t1333520283 *)il2cpp_codegen_object_new(AutoResetEvent_t1333520283_il2cpp_TypeInfo_var);
AutoResetEvent__ctor_m3710433672(L_2, (bool)0, /*hidden argument*/NULL);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_ThreadReadyEvent_3(L_2);
ManualResetEvent_t451242010 * L_3 = (ManualResetEvent_t451242010 *)il2cpp_codegen_object_new(ManualResetEvent_t451242010_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m4010886457(L_3, (bool)0, /*hidden argument*/NULL);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_ThreadShutdownEvent_4(L_3);
Hashtable_t1853889766 * L_4 = (Hashtable_t1853889766 *)il2cpp_codegen_object_new(Hashtable_t1853889766_il2cpp_TypeInfo_var);
Hashtable__ctor_m1815022027(L_4, /*hidden argument*/NULL);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_QueuesCache_6(L_4);
WaitHandleU5BU5D_t96772038* L_5 = (WaitHandleU5BU5D_t96772038*)SZArrayNew(WaitHandleU5BU5D_t96772038_il2cpp_TypeInfo_var, (uint32_t)2);
WaitHandleU5BU5D_t96772038* L_6 = L_5;
ManualResetEvent_t451242010 * L_7 = ((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_s_ThreadShutdownEvent_4();
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_7);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(0), (WaitHandle_t1743403487 *)L_7);
WaitHandleU5BU5D_t96772038* L_8 = L_6;
AutoResetEvent_t1333520283 * L_9 = ((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_s_ThreadReadyEvent_3();
NullCheck(L_8);
ArrayElementTypeCheck (L_8, L_9);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(1), (WaitHandle_t1743403487 *)L_9);
((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->set_s_ThreadEvents_5(L_8);
AppDomain_t1571427825 * L_10 = AppDomain_get_CurrentDomain_m182766250(NULL /*static, unused*/, /*hidden argument*/NULL);
intptr_t L_11 = (intptr_t)TimerThread_OnDomainUnload_m112035087_RuntimeMethod_var;
EventHandler_t1348719766 * L_12 = (EventHandler_t1348719766 *)il2cpp_codegen_object_new(EventHandler_t1348719766_il2cpp_TypeInfo_var);
EventHandler__ctor_m3449229857(L_12, NULL, L_11, /*hidden argument*/NULL);
NullCheck(L_10);
AppDomain_add_DomainUnload_m1849916032(L_10, L_12, /*hidden argument*/NULL);
return;
}
}
// System.Net.TimerThread/Queue System.Net.TimerThread::CreateQueue(System.Int32)
extern "C" IL2CPP_METHOD_ATTR Queue_t4148454536 * TimerThread_CreateQueue_m2900821011 (RuntimeObject * __this /* static, unused */, int32_t ___durationMilliseconds0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerThread_CreateQueue_m2900821011_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerThread_CreateQueue_m2900821011_RuntimeMethod_var);
TimerQueue_t322928133 * V_0 = NULL;
LinkedList_1_t174532725 * V_1 = NULL;
bool V_2 = false;
WeakReference_t1334886716 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
int32_t L_0 = ___durationMilliseconds0;
if ((!(((uint32_t)L_0) == ((uint32_t)(-1)))))
{
goto IL_000a;
}
}
{
InfiniteTimerQueue_t1413340381 * L_1 = (InfiniteTimerQueue_t1413340381 *)il2cpp_codegen_object_new(InfiniteTimerQueue_t1413340381_il2cpp_TypeInfo_var);
InfiniteTimerQueue__ctor_m1392887597(L_1, /*hidden argument*/NULL);
return L_1;
}
IL_000a:
{
int32_t L_2 = ___durationMilliseconds0;
if ((((int32_t)L_2) >= ((int32_t)0)))
{
goto IL_0019;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_3 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_3, _stringLiteral155214984, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimerThread_CreateQueue_m2900821011_RuntimeMethod_var);
}
IL_0019:
{
IL2CPP_RUNTIME_CLASS_INIT(TimerThread_t2067025694_il2cpp_TypeInfo_var);
LinkedList_1_t174532725 * L_4 = ((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_s_NewQueues_1();
V_1 = L_4;
V_2 = (bool)0;
}
IL_0021:
try
{ // begin try (depth: 1)
LinkedList_1_t174532725 * L_5 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_5, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_6 = ___durationMilliseconds0;
TimerQueue_t322928133 * L_7 = (TimerQueue_t322928133 *)il2cpp_codegen_object_new(TimerQueue_t322928133_il2cpp_TypeInfo_var);
TimerQueue__ctor_m68967505(L_7, L_6, /*hidden argument*/NULL);
V_0 = L_7;
TimerQueue_t322928133 * L_8 = V_0;
WeakReference_t1334886716 * L_9 = (WeakReference_t1334886716 *)il2cpp_codegen_object_new(WeakReference_t1334886716_il2cpp_TypeInfo_var);
WeakReference__ctor_m2401547918(L_9, L_8, /*hidden argument*/NULL);
V_3 = L_9;
IL2CPP_RUNTIME_CLASS_INIT(TimerThread_t2067025694_il2cpp_TypeInfo_var);
LinkedList_1_t174532725 * L_10 = ((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_s_NewQueues_1();
WeakReference_t1334886716 * L_11 = V_3;
NullCheck(L_10);
LinkedList_1_AddLast_m2995625390(L_10, L_11, /*hidden argument*/LinkedList_1_AddLast_m2995625390_RuntimeMethod_var);
IL2CPP_LEAVE(0x4F, FINALLY_0045);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0045;
}
FINALLY_0045:
{ // begin finally (depth: 1)
{
bool L_12 = V_2;
if (!L_12)
{
goto IL_004e;
}
}
IL_0048:
{
LinkedList_1_t174532725 * L_13 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
}
IL_004e:
{
IL2CPP_END_FINALLY(69)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(69)
{
IL2CPP_JUMP_TBL(0x4F, IL_004f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_004f:
{
TimerQueue_t322928133 * L_14 = V_0;
return L_14;
}
}
// System.Void System.Net.TimerThread::StopTimerThread()
extern "C" IL2CPP_METHOD_ATTR void TimerThread_StopTimerThread_m1476219093 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerThread_StopTimerThread_m1476219093_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerThread_StopTimerThread_m1476219093_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(TimerThread_t2067025694_il2cpp_TypeInfo_var);
Interlocked_Exchange_m435211442(NULL /*static, unused*/, (int32_t*)(((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_address_of_s_ThreadState_2()), 2, /*hidden argument*/NULL);
ManualResetEvent_t451242010 * L_0 = ((TimerThread_t2067025694_StaticFields*)il2cpp_codegen_static_fields_for(TimerThread_t2067025694_il2cpp_TypeInfo_var))->get_s_ThreadShutdownEvent_4();
NullCheck(L_0);
EventWaitHandle_Set_m2445193251(L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.TimerThread::OnDomainUnload(System.Object,System.EventArgs)
extern "C" IL2CPP_METHOD_ATTR void TimerThread_OnDomainUnload_m112035087 (RuntimeObject * __this /* static, unused */, RuntimeObject * ___sender0, EventArgs_t3591816995 * ___e1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerThread_OnDomainUnload_m112035087_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerThread_OnDomainUnload_m112035087_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
IL2CPP_RUNTIME_CLASS_INIT(TimerThread_t2067025694_il2cpp_TypeInfo_var);
TimerThread_StopTimerThread_m1476219093(NULL /*static, unused*/, /*hidden argument*/NULL);
goto IL_000a;
} // 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_0007;
throw e;
}
CATCH_0007:
{ // begin catch(System.Object)
goto IL_000a;
} // end catch (depth: 1)
IL_000a:
{
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.Net.TimerThread/Callback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Callback__ctor_m2918749280 (Callback_t184293096 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Callback__ctor_m2918749280_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Callback__ctor_m2918749280_RuntimeMethod_var);
__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.Net.TimerThread/Callback::Invoke(System.Net.TimerThread/Timer,System.Int32,System.Object)
extern "C" IL2CPP_METHOD_ATTR void Callback_Invoke_m4185709191 (Callback_t184293096 * __this, Timer_t4150598332 * ___timer0, int32_t ___timeNoticed1, RuntimeObject * ___context2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Callback_Invoke_m4185709191_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Callback_Invoke_m4185709191_RuntimeMethod_var);
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((RuntimeMethod*)(__this->get_method_3()));
DelegateU5BU5D_t1703627840* delegatesToInvoke = __this->get_delegates_11();
if (delegatesToInvoke != NULL)
{
il2cpp_array_size_t length = delegatesToInvoke->max_length;
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t1188392813* currentDelegate = (delegatesToInvoke)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(i));
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 3)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 3)
{
// 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))
GenericInterfaceActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(targetMethod, targetThis, ___timer0, ___timeNoticed1, ___context2);
else
GenericVirtActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(targetMethod, targetThis, ___timer0, ___timeNoticed1, ___context2);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___timer0, ___timeNoticed1, ___context2);
else
VirtActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___timer0, ___timeNoticed1, ___context2);
}
}
else
{
typedef void (*FunctionPointerType) (void*, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
else
{
// 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))
GenericInterfaceActionInvoker2< int32_t, RuntimeObject * >::Invoke(targetMethod, ___timer0, ___timeNoticed1, ___context2);
else
GenericVirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(targetMethod, ___timer0, ___timeNoticed1, ___context2);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker2< int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___timer0, ___timeNoticed1, ___context2);
else
VirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___timer0, ___timeNoticed1, ___context2);
}
}
else
{
typedef void (*FunctionPointerType) (Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
}
}
}
else
{
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 3)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 3)
{
// 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))
GenericInterfaceActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(targetMethod, targetThis, ___timer0, ___timeNoticed1, ___context2);
else
GenericVirtActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(targetMethod, targetThis, ___timer0, ___timeNoticed1, ___context2);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___timer0, ___timeNoticed1, ___context2);
else
VirtActionInvoker3< Timer_t4150598332 *, int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___timer0, ___timeNoticed1, ___context2);
}
}
else
{
typedef void (*FunctionPointerType) (void*, Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
else
{
// 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))
GenericInterfaceActionInvoker2< int32_t, RuntimeObject * >::Invoke(targetMethod, ___timer0, ___timeNoticed1, ___context2);
else
GenericVirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(targetMethod, ___timer0, ___timeNoticed1, ___context2);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker2< int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___timer0, ___timeNoticed1, ___context2);
else
VirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___timer0, ___timeNoticed1, ___context2);
}
}
else
{
typedef void (*FunctionPointerType) (Timer_t4150598332 *, int32_t, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___timer0, ___timeNoticed1, ___context2, targetMethod);
}
}
}
}
}
// System.IAsyncResult System.Net.TimerThread/Callback::BeginInvoke(System.Net.TimerThread/Timer,System.Int32,System.Object,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Callback_BeginInvoke_m2961554617 (Callback_t184293096 * __this, Timer_t4150598332 * ___timer0, int32_t ___timeNoticed1, RuntimeObject * ___context2, AsyncCallback_t3962456242 * ___callback3, RuntimeObject * ___object4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Callback_BeginInvoke_m2961554617_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Callback_BeginInvoke_m2961554617_RuntimeMethod_var);
void *__d_args[4] = {0};
__d_args[0] = ___timer0;
__d_args[1] = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &___timeNoticed1);
__d_args[2] = ___context2;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback3, (RuntimeObject*)___object4);
}
// System.Void System.Net.TimerThread/Callback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void Callback_EndInvoke_m405768436 (Callback_t184293096 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Callback_EndInvoke_m405768436_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Callback_EndInvoke_m405768436_RuntimeMethod_var);
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.Void System.Net.TimerThread/InfiniteTimerQueue::.ctor()
extern "C" IL2CPP_METHOD_ATTR void InfiniteTimerQueue__ctor_m1392887597 (InfiniteTimerQueue_t1413340381 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (InfiniteTimerQueue__ctor_m1392887597_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(InfiniteTimerQueue__ctor_m1392887597_RuntimeMethod_var);
{
Queue__ctor_m1094493313(__this, (-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.Net.TimerThread/Queue::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Queue__ctor_m1094493313 (Queue_t4148454536 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Queue__ctor_m1094493313_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Queue__ctor_m1094493313_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_0 = ___durationMilliseconds0;
__this->set_m_DurationMilliseconds_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.Net.TimerThread/Timer::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Timer__ctor_m3542848881 (Timer_t4150598332 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer__ctor_m3542848881_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Timer__ctor_m3542848881_RuntimeMethod_var);
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_0 = ___durationMilliseconds0;
__this->set_m_DurationMilliseconds_1(L_0);
int32_t L_1 = Environment_get_TickCount_m2088073110(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_StartTimeMilliseconds_0(L_1);
return;
}
}
// System.Void System.Net.TimerThread/Timer::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Timer_Dispose_m2370742773 (Timer_t4150598332 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer_Dispose_m2370742773_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(Timer_Dispose_m2370742773_RuntimeMethod_var);
{
VirtFuncInvoker0< bool >::Invoke(5 /* System.Boolean System.Net.TimerThread/Timer::Cancel() */, __this);
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.Net.TimerThread/TimerNode::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TimerNode__ctor_m1623469998 (TimerNode_t2186732230 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode__ctor_m1623469998_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode__ctor_m1623469998_RuntimeMethod_var);
{
Timer__ctor_m3542848881(__this, 0, /*hidden argument*/NULL);
__this->set_m_TimerState_2(3);
return;
}
}
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::get_Next()
extern "C" IL2CPP_METHOD_ATTR TimerNode_t2186732230 * TimerNode_get_Next_m1150785631 (TimerNode_t2186732230 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode_get_Next_m1150785631_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode_get_Next_m1150785631_RuntimeMethod_var);
{
TimerNode_t2186732230 * L_0 = __this->get_next_6();
return L_0;
}
}
// System.Void System.Net.TimerThread/TimerNode::set_Next(System.Net.TimerThread/TimerNode)
extern "C" IL2CPP_METHOD_ATTR void TimerNode_set_Next_m162860594 (TimerNode_t2186732230 * __this, TimerNode_t2186732230 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode_set_Next_m162860594_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode_set_Next_m162860594_RuntimeMethod_var);
{
TimerNode_t2186732230 * L_0 = ___value0;
__this->set_next_6(L_0);
return;
}
}
// System.Net.TimerThread/TimerNode System.Net.TimerThread/TimerNode::get_Prev()
extern "C" IL2CPP_METHOD_ATTR TimerNode_t2186732230 * TimerNode_get_Prev_m2370560326 (TimerNode_t2186732230 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode_get_Prev_m2370560326_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode_get_Prev_m2370560326_RuntimeMethod_var);
{
TimerNode_t2186732230 * L_0 = __this->get_prev_7();
return L_0;
}
}
// System.Void System.Net.TimerThread/TimerNode::set_Prev(System.Net.TimerThread/TimerNode)
extern "C" IL2CPP_METHOD_ATTR void TimerNode_set_Prev_m1257715160 (TimerNode_t2186732230 * __this, TimerNode_t2186732230 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode_set_Prev_m1257715160_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode_set_Prev_m1257715160_RuntimeMethod_var);
{
TimerNode_t2186732230 * L_0 = ___value0;
__this->set_prev_7(L_0);
return;
}
}
// System.Boolean System.Net.TimerThread/TimerNode::Cancel()
extern "C" IL2CPP_METHOD_ATTR bool TimerNode_Cancel_m688563000 (TimerNode_t2186732230 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerNode_Cancel_m688563000_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerNode_Cancel_m688563000_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
bool V_1 = false;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
int32_t L_0 = __this->get_m_TimerState_2();
if (L_0)
{
goto IL_0076;
}
}
{
RuntimeObject * L_1 = __this->get_m_QueueLock_5();
V_0 = L_1;
V_1 = (bool)0;
}
IL_0011:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_2 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_2, (bool*)(&V_1), /*hidden argument*/NULL);
int32_t L_3 = __this->get_m_TimerState_2();
if (L_3)
{
goto IL_006a;
}
}
IL_0021:
{
TimerNode_t2186732230 * L_4 = TimerNode_get_Next_m1150785631(__this, /*hidden argument*/NULL);
TimerNode_t2186732230 * L_5 = TimerNode_get_Prev_m2370560326(__this, /*hidden argument*/NULL);
NullCheck(L_4);
TimerNode_set_Prev_m1257715160(L_4, L_5, /*hidden argument*/NULL);
TimerNode_t2186732230 * L_6 = TimerNode_get_Prev_m2370560326(__this, /*hidden argument*/NULL);
TimerNode_t2186732230 * L_7 = TimerNode_get_Next_m1150785631(__this, /*hidden argument*/NULL);
NullCheck(L_6);
TimerNode_set_Next_m162860594(L_6, L_7, /*hidden argument*/NULL);
TimerNode_set_Next_m162860594(__this, (TimerNode_t2186732230 *)NULL, /*hidden argument*/NULL);
TimerNode_set_Prev_m1257715160(__this, (TimerNode_t2186732230 *)NULL, /*hidden argument*/NULL);
__this->set_m_Callback_3((Callback_t184293096 *)NULL);
__this->set_m_Context_4(NULL);
__this->set_m_TimerState_2(2);
V_2 = (bool)1;
IL2CPP_LEAVE(0x78, FINALLY_006c);
}
IL_006a:
{
IL2CPP_LEAVE(0x76, FINALLY_006c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_006c;
}
FINALLY_006c:
{ // begin finally (depth: 1)
{
bool L_8 = V_1;
if (!L_8)
{
goto IL_0075;
}
}
IL_006f:
{
RuntimeObject * L_9 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
}
IL_0075:
{
IL2CPP_END_FINALLY(108)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(108)
{
IL2CPP_JUMP_TBL(0x78, IL_0078)
IL2CPP_JUMP_TBL(0x76, IL_0076)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0076:
{
return (bool)0;
}
IL_0078:
{
bool L_10 = V_2;
return L_10;
}
}
#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.Net.TimerThread/TimerQueue::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TimerQueue__ctor_m68967505 (TimerQueue_t322928133 * __this, int32_t ___durationMilliseconds0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerQueue__ctor_m68967505_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(TimerQueue__ctor_m68967505_RuntimeMethod_var);
{
int32_t L_0 = ___durationMilliseconds0;
Queue__ctor_m1094493313(__this, L_0, /*hidden argument*/NULL);
TimerNode_t2186732230 * L_1 = (TimerNode_t2186732230 *)il2cpp_codegen_object_new(TimerNode_t2186732230_il2cpp_TypeInfo_var);
TimerNode__ctor_m1623469998(L_1, /*hidden argument*/NULL);
__this->set_m_Timers_1(L_1);
TimerNode_t2186732230 * L_2 = __this->get_m_Timers_1();
TimerNode_t2186732230 * L_3 = __this->get_m_Timers_1();
NullCheck(L_2);
TimerNode_set_Next_m162860594(L_2, L_3, /*hidden argument*/NULL);
TimerNode_t2186732230 * L_4 = __this->get_m_Timers_1();
TimerNode_t2186732230 * L_5 = __this->get_m_Timers_1();
NullCheck(L_4);
TimerNode_set_Prev_m1257715160(L_4, L_5, /*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.Void System.Net.UnsafeNclNativeMethods/HttpApi::.cctor()
extern "C" IL2CPP_METHOD_ATTR void HttpApi__cctor_m514859596 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HttpApi__cctor_m514859596_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(HttpApi__cctor_m514859596_RuntimeMethod_var);
{
StringU5BU5D_t1281789340* L_0 = (StringU5BU5D_t1281789340*)SZArrayNew(StringU5BU5D_t1281789340_il2cpp_TypeInfo_var, (uint32_t)((int32_t)30));
StringU5BU5D_t1281789340* L_1 = L_0;
NullCheck(L_1);
ArrayElementTypeCheck (L_1, _stringLiteral3913581450);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral3913581450);
StringU5BU5D_t1281789340* L_2 = L_1;
NullCheck(L_2);
ArrayElementTypeCheck (L_2, _stringLiteral2744925370);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral2744925370);
StringU5BU5D_t1281789340* L_3 = L_2;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral1272578850);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral1272578850);
StringU5BU5D_t1281789340* L_4 = L_3;
NullCheck(L_4);
ArrayElementTypeCheck (L_4, _stringLiteral40989870);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral40989870);
StringU5BU5D_t1281789340* L_5 = L_4;
NullCheck(L_5);
ArrayElementTypeCheck (L_5, _stringLiteral850898366);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral850898366);
StringU5BU5D_t1281789340* L_6 = L_5;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteral985627051);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral985627051);
StringU5BU5D_t1281789340* L_7 = L_6;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, _stringLiteral3911150437);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral3911150437);
StringU5BU5D_t1281789340* L_8 = L_7;
NullCheck(L_8);
ArrayElementTypeCheck (L_8, _stringLiteral2134595976);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral2134595976);
StringU5BU5D_t1281789340* L_9 = L_8;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral3669749519);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral3669749519);
StringU5BU5D_t1281789340* L_10 = L_9;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, _stringLiteral1461070923);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral1461070923);
StringU5BU5D_t1281789340* L_11 = L_10;
NullCheck(L_11);
ArrayElementTypeCheck (L_11, _stringLiteral1592747266);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral1592747266);
StringU5BU5D_t1281789340* L_12 = L_11;
NullCheck(L_12);
ArrayElementTypeCheck (L_12, _stringLiteral1348707855);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral1348707855);
StringU5BU5D_t1281789340* L_13 = L_12;
NullCheck(L_13);
ArrayElementTypeCheck (L_13, _stringLiteral2263792357);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral2263792357);
StringU5BU5D_t1281789340* L_14 = L_13;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, _stringLiteral2675979736);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral2675979736);
StringU5BU5D_t1281789340* L_15 = L_14;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, _stringLiteral3849244802);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral3849244802);
StringU5BU5D_t1281789340* L_16 = L_15;
NullCheck(L_16);
ArrayElementTypeCheck (L_16, _stringLiteral2227808410);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (String_t*)_stringLiteral2227808410);
StringU5BU5D_t1281789340* L_17 = L_16;
NullCheck(L_17);
ArrayElementTypeCheck (L_17, _stringLiteral1852015549);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (String_t*)_stringLiteral1852015549);
StringU5BU5D_t1281789340* L_18 = L_17;
NullCheck(L_18);
ArrayElementTypeCheck (L_18, _stringLiteral1350543894);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (String_t*)_stringLiteral1350543894);
StringU5BU5D_t1281789340* L_19 = L_18;
NullCheck(L_19);
ArrayElementTypeCheck (L_19, _stringLiteral3297870848);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (String_t*)_stringLiteral3297870848);
StringU5BU5D_t1281789340* L_20 = L_19;
NullCheck(L_20);
ArrayElementTypeCheck (L_20, _stringLiteral3383819871);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (String_t*)_stringLiteral3383819871);
StringU5BU5D_t1281789340* L_21 = L_20;
NullCheck(L_21);
ArrayElementTypeCheck (L_21, _stringLiteral1285951612);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (String_t*)_stringLiteral1285951612);
StringU5BU5D_t1281789340* L_22 = L_21;
NullCheck(L_22);
ArrayElementTypeCheck (L_22, _stringLiteral1699463536);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (String_t*)_stringLiteral1699463536);
StringU5BU5D_t1281789340* L_23 = L_22;
NullCheck(L_23);
ArrayElementTypeCheck (L_23, _stringLiteral2008936192);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (String_t*)_stringLiteral2008936192);
StringU5BU5D_t1281789340* L_24 = L_23;
NullCheck(L_24);
ArrayElementTypeCheck (L_24, _stringLiteral803283390);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (String_t*)_stringLiteral803283390);
StringU5BU5D_t1281789340* L_25 = L_24;
NullCheck(L_25);
ArrayElementTypeCheck (L_25, _stringLiteral2239610844);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (String_t*)_stringLiteral2239610844);
StringU5BU5D_t1281789340* L_26 = L_25;
NullCheck(L_26);
ArrayElementTypeCheck (L_26, _stringLiteral1781567967);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (String_t*)_stringLiteral1781567967);
StringU5BU5D_t1281789340* L_27 = L_26;
NullCheck(L_27);
ArrayElementTypeCheck (L_27, _stringLiteral3927627800);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (String_t*)_stringLiteral3927627800);
StringU5BU5D_t1281789340* L_28 = L_27;
NullCheck(L_28);
ArrayElementTypeCheck (L_28, _stringLiteral3804645085);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (String_t*)_stringLiteral3804645085);
StringU5BU5D_t1281789340* L_29 = L_28;
NullCheck(L_29);
ArrayElementTypeCheck (L_29, _stringLiteral1167530490);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)28)), (String_t*)_stringLiteral1167530490);
StringU5BU5D_t1281789340* L_30 = L_29;
NullCheck(L_30);
ArrayElementTypeCheck (L_30, _stringLiteral3204819111);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)29)), (String_t*)_stringLiteral3204819111);
((HttpApi_t910269930_StaticFields*)il2cpp_codegen_static_fields_for(HttpApi_t910269930_il2cpp_TypeInfo_var))->set_m_Strings_0(L_30);
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.String System.Net.UnsafeNclNativeMethods/HttpApi/HTTP_REQUEST_HEADER_ID::ToString(System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* HTTP_REQUEST_HEADER_ID_ToString_m285473541 (RuntimeObject * __this /* static, unused */, int32_t ___position0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HTTP_REQUEST_HEADER_ID_ToString_m285473541_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(HTTP_REQUEST_HEADER_ID_ToString_m285473541_RuntimeMethod_var);
{
IL2CPP_RUNTIME_CLASS_INIT(HTTP_REQUEST_HEADER_ID_t968578449_il2cpp_TypeInfo_var);
StringU5BU5D_t1281789340* L_0 = ((HTTP_REQUEST_HEADER_ID_t968578449_StaticFields*)il2cpp_codegen_static_fields_for(HTTP_REQUEST_HEADER_ID_t968578449_il2cpp_TypeInfo_var))->get_m_Strings_0();
int32_t L_1 = ___position0;
NullCheck(L_0);
int32_t L_2 = L_1;
String_t* L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
return L_3;
}
}
// System.Void System.Net.UnsafeNclNativeMethods/HttpApi/HTTP_REQUEST_HEADER_ID::.cctor()
extern "C" IL2CPP_METHOD_ATTR void HTTP_REQUEST_HEADER_ID__cctor_m2555245410 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HTTP_REQUEST_HEADER_ID__cctor_m2555245410_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(HTTP_REQUEST_HEADER_ID__cctor_m2555245410_RuntimeMethod_var);
{
StringU5BU5D_t1281789340* L_0 = (StringU5BU5D_t1281789340*)SZArrayNew(StringU5BU5D_t1281789340_il2cpp_TypeInfo_var, (uint32_t)((int32_t)41));
StringU5BU5D_t1281789340* L_1 = L_0;
NullCheck(L_1);
ArrayElementTypeCheck (L_1, _stringLiteral3913581450);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral3913581450);
StringU5BU5D_t1281789340* L_2 = L_1;
NullCheck(L_2);
ArrayElementTypeCheck (L_2, _stringLiteral2744925370);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral2744925370);
StringU5BU5D_t1281789340* L_3 = L_2;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral1272578850);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral1272578850);
StringU5BU5D_t1281789340* L_4 = L_3;
NullCheck(L_4);
ArrayElementTypeCheck (L_4, _stringLiteral40989870);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral40989870);
StringU5BU5D_t1281789340* L_5 = L_4;
NullCheck(L_5);
ArrayElementTypeCheck (L_5, _stringLiteral850898366);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral850898366);
StringU5BU5D_t1281789340* L_6 = L_5;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteral985627051);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral985627051);
StringU5BU5D_t1281789340* L_7 = L_6;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, _stringLiteral3911150437);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral3911150437);
StringU5BU5D_t1281789340* L_8 = L_7;
NullCheck(L_8);
ArrayElementTypeCheck (L_8, _stringLiteral2134595976);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral2134595976);
StringU5BU5D_t1281789340* L_9 = L_8;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral3669749519);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteral3669749519);
StringU5BU5D_t1281789340* L_10 = L_9;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, _stringLiteral1461070923);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral1461070923);
StringU5BU5D_t1281789340* L_11 = L_10;
NullCheck(L_11);
ArrayElementTypeCheck (L_11, _stringLiteral1592747266);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral1592747266);
StringU5BU5D_t1281789340* L_12 = L_11;
NullCheck(L_12);
ArrayElementTypeCheck (L_12, _stringLiteral1348707855);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral1348707855);
StringU5BU5D_t1281789340* L_13 = L_12;
NullCheck(L_13);
ArrayElementTypeCheck (L_13, _stringLiteral2263792357);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral2263792357);
StringU5BU5D_t1281789340* L_14 = L_13;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, _stringLiteral2675979736);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral2675979736);
StringU5BU5D_t1281789340* L_15 = L_14;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, _stringLiteral3849244802);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral3849244802);
StringU5BU5D_t1281789340* L_16 = L_15;
NullCheck(L_16);
ArrayElementTypeCheck (L_16, _stringLiteral2227808410);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (String_t*)_stringLiteral2227808410);
StringU5BU5D_t1281789340* L_17 = L_16;
NullCheck(L_17);
ArrayElementTypeCheck (L_17, _stringLiteral1852015549);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (String_t*)_stringLiteral1852015549);
StringU5BU5D_t1281789340* L_18 = L_17;
NullCheck(L_18);
ArrayElementTypeCheck (L_18, _stringLiteral1350543894);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (String_t*)_stringLiteral1350543894);
StringU5BU5D_t1281789340* L_19 = L_18;
NullCheck(L_19);
ArrayElementTypeCheck (L_19, _stringLiteral3297870848);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (String_t*)_stringLiteral3297870848);
StringU5BU5D_t1281789340* L_20 = L_19;
NullCheck(L_20);
ArrayElementTypeCheck (L_20, _stringLiteral3383819871);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (String_t*)_stringLiteral3383819871);
StringU5BU5D_t1281789340* L_21 = L_20;
NullCheck(L_21);
ArrayElementTypeCheck (L_21, _stringLiteral2350028096);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (String_t*)_stringLiteral2350028096);
StringU5BU5D_t1281789340* L_22 = L_21;
NullCheck(L_22);
ArrayElementTypeCheck (L_22, _stringLiteral2051565536);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (String_t*)_stringLiteral2051565536);
StringU5BU5D_t1281789340* L_23 = L_22;
NullCheck(L_23);
ArrayElementTypeCheck (L_23, _stringLiteral992245501);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (String_t*)_stringLiteral992245501);
StringU5BU5D_t1281789340* L_24 = L_23;
NullCheck(L_24);
ArrayElementTypeCheck (L_24, _stringLiteral1885458058);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (String_t*)_stringLiteral1885458058);
StringU5BU5D_t1281789340* L_25 = L_24;
NullCheck(L_25);
ArrayElementTypeCheck (L_25, _stringLiteral1574691733);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (String_t*)_stringLiteral1574691733);
StringU5BU5D_t1281789340* L_26 = L_25;
NullCheck(L_26);
ArrayElementTypeCheck (L_26, _stringLiteral1945223707);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (String_t*)_stringLiteral1945223707);
StringU5BU5D_t1281789340* L_27 = L_26;
NullCheck(L_27);
ArrayElementTypeCheck (L_27, _stringLiteral2098720078);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (String_t*)_stringLiteral2098720078);
StringU5BU5D_t1281789340* L_28 = L_27;
NullCheck(L_28);
ArrayElementTypeCheck (L_28, _stringLiteral2755855817);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (String_t*)_stringLiteral2755855817);
StringU5BU5D_t1281789340* L_29 = L_28;
NullCheck(L_29);
ArrayElementTypeCheck (L_29, _stringLiteral3941174931);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)28)), (String_t*)_stringLiteral3941174931);
StringU5BU5D_t1281789340* L_30 = L_29;
NullCheck(L_30);
ArrayElementTypeCheck (L_30, _stringLiteral3601101588);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)29)), (String_t*)_stringLiteral3601101588);
StringU5BU5D_t1281789340* L_31 = L_30;
NullCheck(L_31);
ArrayElementTypeCheck (L_31, _stringLiteral3741776746);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)30)), (String_t*)_stringLiteral3741776746);
StringU5BU5D_t1281789340* L_32 = L_31;
NullCheck(L_32);
ArrayElementTypeCheck (L_32, _stringLiteral2382241748);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)31)), (String_t*)_stringLiteral2382241748);
StringU5BU5D_t1281789340* L_33 = L_32;
NullCheck(L_33);
ArrayElementTypeCheck (L_33, _stringLiteral3492847784);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)32)), (String_t*)_stringLiteral3492847784);
StringU5BU5D_t1281789340* L_34 = L_33;
NullCheck(L_34);
ArrayElementTypeCheck (L_34, _stringLiteral3075643379);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)33)), (String_t*)_stringLiteral3075643379);
StringU5BU5D_t1281789340* L_35 = L_34;
NullCheck(L_35);
ArrayElementTypeCheck (L_35, _stringLiteral2184447013);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)34)), (String_t*)_stringLiteral2184447013);
StringU5BU5D_t1281789340* L_36 = L_35;
NullCheck(L_36);
ArrayElementTypeCheck (L_36, _stringLiteral635763858);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)35)), (String_t*)_stringLiteral635763858);
StringU5BU5D_t1281789340* L_37 = L_36;
NullCheck(L_37);
ArrayElementTypeCheck (L_37, _stringLiteral1321553426);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)36)), (String_t*)_stringLiteral1321553426);
StringU5BU5D_t1281789340* L_38 = L_37;
NullCheck(L_38);
ArrayElementTypeCheck (L_38, _stringLiteral1215385659);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)37)), (String_t*)_stringLiteral1215385659);
StringU5BU5D_t1281789340* L_39 = L_38;
NullCheck(L_39);
ArrayElementTypeCheck (L_39, _stringLiteral3454384108);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)38)), (String_t*)_stringLiteral3454384108);
StringU5BU5D_t1281789340* L_40 = L_39;
NullCheck(L_40);
ArrayElementTypeCheck (L_40, _stringLiteral547368030);
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)39)), (String_t*)_stringLiteral547368030);
StringU5BU5D_t1281789340* L_41 = L_40;
NullCheck(L_41);
ArrayElementTypeCheck (L_41, _stringLiteral827492760);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)40)), (String_t*)_stringLiteral827492760);
((HTTP_REQUEST_HEADER_ID_t968578449_StaticFields*)il2cpp_codegen_static_fields_for(HTTP_REQUEST_HEADER_ID_t968578449_il2cpp_TypeInfo_var))->set_m_Strings_0(L_41);
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.String System.Net.UnsafeNclNativeMethods/SecureStringHelper::CreateString(System.Security.SecureString)
extern "C" IL2CPP_METHOD_ATTR String_t* SecureStringHelper_CreateString_m2819186690 (RuntimeObject * __this /* static, unused */, SecureString_t3041467854 * ___secureString0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SecureStringHelper_CreateString_m2819186690_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SecureStringHelper_CreateString_m2819186690_RuntimeMethod_var);
String_t* V_0 = NULL;
intptr_t 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_1 = (intptr_t)(0);
SecureString_t3041467854 * L_0 = ___secureString0;
if (!L_0)
{
goto IL_0011;
}
}
{
SecureString_t3041467854 * L_1 = ___secureString0;
NullCheck(L_1);
int32_t L_2 = SecureString_get_Length_m2668828297(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0017;
}
}
IL_0011:
{
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_3;
}
IL_0017:
{
}
IL_0018:
try
{ // begin try (depth: 1)
SecureString_t3041467854 * L_4 = ___secureString0;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
intptr_t L_5 = Marshal_SecureStringToGlobalAllocUnicode_m2008075760(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
V_1 = L_5;
intptr_t L_6 = V_1;
String_t* L_7 = Marshal_PtrToStringUni_m175561854(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
V_0 = L_7;
IL2CPP_LEAVE(0x3C, FINALLY_0028);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0028;
}
FINALLY_0028:
{ // begin finally (depth: 1)
{
intptr_t L_8 = V_1;
bool L_9 = IntPtr_op_Inequality_m3063970704(NULL /*static, unused*/, L_8, (intptr_t)(0), /*hidden argument*/NULL);
if (!L_9)
{
goto IL_003b;
}
}
IL_0035:
{
intptr_t L_10 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t1757017490_il2cpp_TypeInfo_var);
Marshal_ZeroFreeGlobalAllocUnicode_m1136939103(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
}
IL_003b:
{
IL2CPP_END_FINALLY(40)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(40)
{
IL2CPP_JUMP_TBL(0x3C, IL_003c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_003c:
{
String_t* L_11 = V_0;
return L_11;
}
}
// System.Security.SecureString System.Net.UnsafeNclNativeMethods/SecureStringHelper::CreateSecureString(System.String)
extern "C" IL2CPP_METHOD_ATTR SecureString_t3041467854 * SecureStringHelper_CreateSecureString_m111498626 (RuntimeObject * __this /* static, unused */, String_t* ___plainString0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SecureStringHelper_CreateSecureString_m111498626_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(SecureStringHelper_CreateSecureString_m111498626_RuntimeMethod_var);
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
String_t* L_0 = ___plainString0;
if (!L_0)
{
goto IL_000b;
}
}
{
String_t* L_1 = ___plainString0;
NullCheck(L_1);
int32_t L_2 = String_get_Length_m3847582255(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0011;
}
}
IL_000b:
{
SecureString_t3041467854 * L_3 = (SecureString_t3041467854 *)il2cpp_codegen_object_new(SecureString_t3041467854_il2cpp_TypeInfo_var);
SecureString__ctor_m3758011503(L_3, /*hidden argument*/NULL);
return L_3;
}
IL_0011:
{
String_t* L_4 = ___plainString0;
V_1 = L_4;
String_t* L_5 = V_1;
V_0 = (Il2CppChar*)(((uintptr_t)L_5));
Il2CppChar* L_6 = V_0;
if (!L_6)
{
goto IL_0021;
}
}
{
Il2CppChar* L_7 = V_0;
int32_t L_8 = RuntimeHelpers_get_OffsetToStringData_m2192601476(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_7, (int32_t)L_8));
}
IL_0021:
{
Il2CppChar* L_9 = V_0;
String_t* L_10 = ___plainString0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_m3847582255(L_10, /*hidden argument*/NULL);
SecureString_t3041467854 * L_12 = (SecureString_t3041467854 *)il2cpp_codegen_object_new(SecureString_t3041467854_il2cpp_TypeInfo_var);
SecureString__ctor_m3858760223(L_12, (Il2CppChar*)(Il2CppChar*)L_9, L_11, /*hidden argument*/NULL);
V_1 = (String_t*)NULL;
return L_12;
}
}
#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.String System.Net.ValidationHelper::ExceptionMessage(System.Exception)
extern "C" IL2CPP_METHOD_ATTR String_t* ValidationHelper_ExceptionMessage_m1265427269 (RuntimeObject * __this /* static, unused */, Exception_t * ___exception0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ValidationHelper_ExceptionMessage_m1265427269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ValidationHelper_ExceptionMessage_m1265427269_RuntimeMethod_var);
{
Exception_t * L_0 = ___exception0;
if (L_0)
{
goto IL_0009;
}
}
{
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_1;
}
IL_0009:
{
Exception_t * L_2 = ___exception0;
NullCheck(L_2);
Exception_t * L_3 = Exception_get_InnerException_m3836775(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0018;
}
}
{
Exception_t * L_4 = ___exception0;
NullCheck(L_4);
String_t* L_5 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_4);
return L_5;
}
IL_0018:
{
Exception_t * L_6 = ___exception0;
NullCheck(L_6);
String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_6);
Exception_t * L_8 = ___exception0;
NullCheck(L_8);
Exception_t * L_9 = Exception_get_InnerException_m3836775(L_8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ValidationHelper_t3640249616_il2cpp_TypeInfo_var);
String_t* L_10 = ValidationHelper_ExceptionMessage_m1265427269(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
String_t* L_11 = String_Concat_m2163913788(NULL /*static, unused*/, L_7, _stringLiteral3451041664, L_10, _stringLiteral3452614535, /*hidden argument*/NULL);
return L_11;
}
}
// System.String System.Net.ValidationHelper::ToString(System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* ValidationHelper_ToString_m3637526118 (RuntimeObject * __this /* static, unused */, RuntimeObject * ___objectValue0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ValidationHelper_ToString_m3637526118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ValidationHelper_ToString_m3637526118_RuntimeMethod_var);
intptr_t V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___objectValue0;
if (L_0)
{
goto IL_0009;
}
}
{
return _stringLiteral2389780707;
}
IL_0009:
{
RuntimeObject * L_1 = ___objectValue0;
if (!((String_t*)IsInstSealed((RuntimeObject*)L_1, String_t_il2cpp_TypeInfo_var)))
{
goto IL_0024;
}
}
{
RuntimeObject * L_2 = ___objectValue0;
NullCheck(((String_t*)CastclassSealed((RuntimeObject*)L_2, String_t_il2cpp_TypeInfo_var)));
int32_t L_3 = String_get_Length_m3847582255(((String_t*)CastclassSealed((RuntimeObject*)L_2, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
if (L_3)
{
goto IL_0024;
}
}
{
return _stringLiteral348018992;
}
IL_0024:
{
RuntimeObject * L_4 = ___objectValue0;
if (!((Exception_t *)IsInstClass((RuntimeObject*)L_4, Exception_t_il2cpp_TypeInfo_var)))
{
goto IL_0038;
}
}
{
RuntimeObject * L_5 = ___objectValue0;
IL2CPP_RUNTIME_CLASS_INIT(ValidationHelper_t3640249616_il2cpp_TypeInfo_var);
String_t* L_6 = ValidationHelper_ExceptionMessage_m1265427269(NULL /*static, unused*/, ((Exception_t *)IsInstClass((RuntimeObject*)L_5, Exception_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return L_6;
}
IL_0038:
{
RuntimeObject * L_7 = ___objectValue0;
if (!((RuntimeObject *)IsInstSealed((RuntimeObject*)L_7, IntPtr_t_il2cpp_TypeInfo_var)))
{
goto IL_005e;
}
}
{
RuntimeObject * L_8 = ___objectValue0;
V_0 = ((*(intptr_t*)((intptr_t*)UnBox(L_8, IntPtr_t_il2cpp_TypeInfo_var))));
String_t* L_9 = IntPtr_ToString_m900170569((intptr_t*)(&V_0), _stringLiteral3452614616, /*hidden argument*/NULL);
String_t* L_10 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral3456284560, L_9, /*hidden argument*/NULL);
return L_10;
}
IL_005e:
{
RuntimeObject * L_11 = ___objectValue0;
NullCheck(L_11);
String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_11);
return L_12;
}
}
// System.Boolean System.Net.ValidationHelper::IsBlankString(System.String)
extern "C" IL2CPP_METHOD_ATTR bool ValidationHelper_IsBlankString_m3811430027 (RuntimeObject * __this /* static, unused */, String_t* ___stringValue0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ValidationHelper_IsBlankString_m3811430027_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ValidationHelper_IsBlankString_m3811430027_RuntimeMethod_var);
{
String_t* L_0 = ___stringValue0;
if (!L_0)
{
goto IL_000d;
}
}
{
String_t* L_1 = ___stringValue0;
NullCheck(L_1);
int32_t L_2 = String_get_Length_m3847582255(L_1, /*hidden argument*/NULL);
return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
}
IL_000d:
{
return (bool)1;
}
}
// System.Boolean System.Net.ValidationHelper::ValidateTcpPort(System.Int32)
extern "C" IL2CPP_METHOD_ATTR bool ValidationHelper_ValidateTcpPort_m2411968702 (RuntimeObject * __this /* static, unused */, int32_t ___port0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ValidationHelper_ValidateTcpPort_m2411968702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ValidationHelper_ValidateTcpPort_m2411968702_RuntimeMethod_var);
{
int32_t L_0 = ___port0;
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_0010;
}
}
{
int32_t L_1 = ___port0;
return (bool)((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)65535)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_0010:
{
return (bool)0;
}
}
// System.Void System.Net.ValidationHelper::.cctor()
extern "C" IL2CPP_METHOD_ATTR void ValidationHelper__cctor_m2059238382 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ValidationHelper__cctor_m2059238382_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(ValidationHelper__cctor_m2059238382_RuntimeMethod_var);
{
StringU5BU5D_t1281789340* L_0 = (StringU5BU5D_t1281789340*)SZArrayNew(StringU5BU5D_t1281789340_il2cpp_TypeInfo_var, (uint32_t)0);
((ValidationHelper_t3640249616_StaticFields*)il2cpp_codegen_static_fields_for(ValidationHelper_t3640249616_il2cpp_TypeInfo_var))->set_EmptyArray_0(L_0);
CharU5BU5D_t3528271667* L_1 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)4);
CharU5BU5D_t3528271667* L_2 = L_1;
RuntimeFieldHandle_t1871169219 L_3 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255362____03F4297FCC30D0FD5E420E5D26E7FA711167C7EF_1_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, L_3, /*hidden argument*/NULL);
((ValidationHelper_t3640249616_StaticFields*)il2cpp_codegen_static_fields_for(ValidationHelper_t3640249616_il2cpp_TypeInfo_var))->set_InvalidMethodChars_1(L_2);
CharU5BU5D_t3528271667* L_4 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)((int32_t)22));
CharU5BU5D_t3528271667* L_5 = L_4;
RuntimeFieldHandle_t1871169219 L_6 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255362____8E0EF3D67A3EB1863224EE3CACB424BC2F8CFBA3_11_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, L_6, /*hidden argument*/NULL);
((ValidationHelper_t3640249616_StaticFields*)il2cpp_codegen_static_fields_for(ValidationHelper_t3640249616_il2cpp_TypeInfo_var))->set_InvalidParamChars_2(L_5);
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.Net.WebAsyncResult::.ctor(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult__ctor_m2054281158 (WebAsyncResult_t3421962937 * __this, AsyncCallback_t3962456242 * ___cb0, RuntimeObject * ___state1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult__ctor_m2054281158_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult__ctor_m2054281158_RuntimeMethod_var);
{
AsyncCallback_t3962456242 * L_0 = ___cb0;
RuntimeObject * L_1 = ___state1;
SimpleAsyncResult__ctor_m302284371(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.WebAsyncResult::.ctor(System.Net.HttpWebRequest,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult__ctor_m3529977349 (WebAsyncResult_t3421962937 * __this, HttpWebRequest_t1669436515 * ___request0, AsyncCallback_t3962456242 * ___cb1, RuntimeObject * ___state2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult__ctor_m3529977349_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult__ctor_m3529977349_RuntimeMethod_var);
{
AsyncCallback_t3962456242 * L_0 = ___cb1;
RuntimeObject * L_1 = ___state2;
SimpleAsyncResult__ctor_m302284371(__this, L_0, L_1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_2 = ___request0;
__this->set_AsyncObject_18(L_2);
return;
}
}
// System.Void System.Net.WebAsyncResult::.ctor(System.AsyncCallback,System.Object,System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult__ctor_m4245223108 (WebAsyncResult_t3421962937 * __this, AsyncCallback_t3962456242 * ___cb0, RuntimeObject * ___state1, ByteU5BU5D_t4116647657* ___buffer2, int32_t ___offset3, int32_t ___size4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult__ctor_m4245223108_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult__ctor_m4245223108_RuntimeMethod_var);
{
AsyncCallback_t3962456242 * L_0 = ___cb0;
RuntimeObject * L_1 = ___state1;
SimpleAsyncResult__ctor_m302284371(__this, L_0, L_1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_2 = ___buffer2;
__this->set_buffer_13(L_2);
int32_t L_3 = ___offset3;
__this->set_offset_14(L_3);
int32_t L_4 = ___size4;
__this->set_size_15(L_4);
return;
}
}
// System.Void System.Net.WebAsyncResult::Reset()
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_Reset_m208950746 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_Reset_m208950746_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_Reset_m208950746_RuntimeMethod_var);
{
__this->set_nbytes_9(0);
__this->set_response_11((HttpWebResponse_t3286585418 *)NULL);
__this->set_buffer_13((ByteU5BU5D_t4116647657*)NULL);
__this->set_offset_14(0);
__this->set_size_15(0);
SimpleAsyncResult_Reset_internal_m1051157640(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.WebAsyncResult::SetCompleted(System.Boolean,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_SetCompleted_m2879962625 (WebAsyncResult_t3421962937 * __this, bool ___synch0, int32_t ___nbytes1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_SetCompleted_m2879962625_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_SetCompleted_m2879962625_RuntimeMethod_var);
{
int32_t L_0 = ___nbytes1;
__this->set_nbytes_9(L_0);
bool L_1 = ___synch0;
SimpleAsyncResult_SetCompleted_internal_m3990539307(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.WebAsyncResult::SetCompleted(System.Boolean,System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_SetCompleted_m471828713 (WebAsyncResult_t3421962937 * __this, bool ___synch0, Stream_t1273022909 * ___writeStream1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_SetCompleted_m471828713_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_SetCompleted_m471828713_RuntimeMethod_var);
{
Stream_t1273022909 * L_0 = ___writeStream1;
__this->set_writeStream_12(L_0);
bool L_1 = ___synch0;
SimpleAsyncResult_SetCompleted_internal_m3990539307(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.WebAsyncResult::SetCompleted(System.Boolean,System.Net.HttpWebResponse)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_SetCompleted_m1095618586 (WebAsyncResult_t3421962937 * __this, bool ___synch0, HttpWebResponse_t3286585418 * ___response1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_SetCompleted_m1095618586_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_SetCompleted_m1095618586_RuntimeMethod_var);
{
HttpWebResponse_t3286585418 * L_0 = ___response1;
__this->set_response_11(L_0);
bool L_1 = ___synch0;
SimpleAsyncResult_SetCompleted_internal_m3990539307(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Net.WebAsyncResult::DoCallback()
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_DoCallback_m1336537550 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_DoCallback_m1336537550_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_DoCallback_m1336537550_RuntimeMethod_var);
{
SimpleAsyncResult_DoCallback_internal_m3054769675(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 System.Net.WebAsyncResult::get_NBytes()
extern "C" IL2CPP_METHOD_ATTR int32_t WebAsyncResult_get_NBytes_m1181398750 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_NBytes_m1181398750_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_NBytes_m1181398750_RuntimeMethod_var);
{
int32_t L_0 = __this->get_nbytes_9();
return L_0;
}
}
// System.Void System.Net.WebAsyncResult::set_NBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_set_NBytes_m2701756818 (WebAsyncResult_t3421962937 * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_set_NBytes_m2701756818_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_set_NBytes_m2701756818_RuntimeMethod_var);
{
int32_t L_0 = ___value0;
__this->set_nbytes_9(L_0);
return;
}
}
// System.IAsyncResult System.Net.WebAsyncResult::get_InnerAsyncResult()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WebAsyncResult_get_InnerAsyncResult_m4134833752 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_InnerAsyncResult_m4134833752_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_InnerAsyncResult_m4134833752_RuntimeMethod_var);
{
RuntimeObject* L_0 = __this->get_innerAsyncResult_10();
return L_0;
}
}
// System.Void System.Net.WebAsyncResult::set_InnerAsyncResult(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void WebAsyncResult_set_InnerAsyncResult_m4260877195 (WebAsyncResult_t3421962937 * __this, RuntimeObject* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_set_InnerAsyncResult_m4260877195_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_set_InnerAsyncResult_m4260877195_RuntimeMethod_var);
{
RuntimeObject* L_0 = ___value0;
__this->set_innerAsyncResult_10(L_0);
return;
}
}
// System.Net.HttpWebResponse System.Net.WebAsyncResult::get_Response()
extern "C" IL2CPP_METHOD_ATTR HttpWebResponse_t3286585418 * WebAsyncResult_get_Response_m931788217 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_Response_m931788217_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_Response_m931788217_RuntimeMethod_var);
{
HttpWebResponse_t3286585418 * L_0 = __this->get_response_11();
return L_0;
}
}
// System.Byte[] System.Net.WebAsyncResult::get_Buffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* WebAsyncResult_get_Buffer_m1662146309 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_Buffer_m1662146309_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_Buffer_m1662146309_RuntimeMethod_var);
{
ByteU5BU5D_t4116647657* L_0 = __this->get_buffer_13();
return L_0;
}
}
// System.Int32 System.Net.WebAsyncResult::get_Offset()
extern "C" IL2CPP_METHOD_ATTR int32_t WebAsyncResult_get_Offset_m368370234 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_Offset_m368370234_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_Offset_m368370234_RuntimeMethod_var);
{
int32_t L_0 = __this->get_offset_14();
return L_0;
}
}
// System.Int32 System.Net.WebAsyncResult::get_Size()
extern "C" IL2CPP_METHOD_ATTR int32_t WebAsyncResult_get_Size_m4148452880 (WebAsyncResult_t3421962937 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebAsyncResult_get_Size_m4148452880_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebAsyncResult_get_Size_m4148452880_RuntimeMethod_var);
{
int32_t L_0 = __this->get_size_15();
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.Net.WebConnection::.ctor(System.Net.IWebConnectionState,System.Net.ServicePoint)
extern "C" IL2CPP_METHOD_ATTR void WebConnection__ctor_m4229643654 (WebConnection_t3982808322 * __this, RuntimeObject* ___wcs0, ServicePoint_t2786966844 * ___sPoint1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection__ctor_m4229643654_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection__ctor_m4229643654_RuntimeMethod_var);
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_socketLock_3(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
RuntimeObject* L_1 = ___wcs0;
__this->set_state_4(L_1);
ServicePoint_t2786966844 * L_2 = ___sPoint1;
__this->set_sPoint_0(L_2);
ByteU5BU5D_t4116647657* L_3 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)4096));
__this->set_buffer_7(L_3);
WebConnectionData_t3835660455 * L_4 = (WebConnectionData_t3835660455 *)il2cpp_codegen_object_new(WebConnectionData_t3835660455_il2cpp_TypeInfo_var);
WebConnectionData__ctor_m2596484140(L_4, /*hidden argument*/NULL);
__this->set_Data_10(L_4);
RuntimeObject* L_5 = ___wcs0;
NullCheck(L_5);
WebConnectionGroup_t1712379988 * L_6 = InterfaceFuncInvoker0< WebConnectionGroup_t1712379988 * >::Invoke(0 /* System.Net.WebConnectionGroup System.Net.IWebConnectionState::get_Group() */, IWebConnectionState_t1223684576_il2cpp_TypeInfo_var, L_5);
NullCheck(L_6);
Queue_t3637523393 * L_7 = WebConnectionGroup_get_Queue_m2310519839(L_6, /*hidden argument*/NULL);
__this->set_queue_13(L_7);
AbortHelper_t1490877826 * L_8 = (AbortHelper_t1490877826 *)il2cpp_codegen_object_new(AbortHelper_t1490877826_il2cpp_TypeInfo_var);
AbortHelper__ctor_m842092169(L_8, /*hidden argument*/NULL);
__this->set_abortHelper_9(L_8);
AbortHelper_t1490877826 * L_9 = __this->get_abortHelper_9();
NullCheck(L_9);
L_9->set_Connection_0(__this);
AbortHelper_t1490877826 * L_10 = __this->get_abortHelper_9();
intptr_t L_11 = (intptr_t)AbortHelper_Abort_m1162957833_RuntimeMethod_var;
EventHandler_t1348719766 * L_12 = (EventHandler_t1348719766 *)il2cpp_codegen_object_new(EventHandler_t1348719766_il2cpp_TypeInfo_var);
EventHandler__ctor_m3449229857(L_12, L_10, L_11, /*hidden argument*/NULL);
__this->set_abortHandler_8(L_12);
return;
}
}
// System.Boolean System.Net.WebConnection::CanReuse()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CanReuse_m2827124740 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_CanReuse_m2827124740_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_CanReuse_m2827124740_RuntimeMethod_var);
{
Socket_t1119025450 * L_0 = __this->get_socket_2();
NullCheck(L_0);
bool L_1 = Socket_Poll_m391414345(L_0, 0, 0, /*hidden argument*/NULL);
return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.Net.WebConnection::Connect(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_Connect_m2850066444 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_Connect_m2850066444_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_Connect_m2850066444_RuntimeMethod_var);
RuntimeObject * V_0 = NULL;
bool V_1 = false;
IPHostEntry_t263743900 * V_2 = NULL;
IPAddressU5BU5D_t596328627* V_3 = NULL;
int32_t V_4 = 0;
IPAddress_t241777590 * V_5 = NULL;
IPEndPoint_t3791887218 * V_6 = NULL;
Exception_t * V_7 = NULL;
Socket_t1119025450 * V_8 = NULL;
Exception_t * V_9 = NULL;
Socket_t1119025450 * V_10 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
WebConnection_t3982808322 * G_B12_0 = NULL;
WebConnection_t3982808322 * G_B11_0 = NULL;
int32_t G_B13_0 = 0;
WebConnection_t3982808322 * G_B13_1 = NULL;
{
RuntimeObject * L_0 = __this->get_socketLock_3();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
Socket_t1119025450 * L_2 = __this->get_socket_2();
if (!L_2)
{
goto IL_004a;
}
}
IL_0019:
{
Socket_t1119025450 * L_3 = __this->get_socket_2();
NullCheck(L_3);
bool L_4 = Socket_get_Connected_m2875145796(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_004a;
}
}
IL_0026:
{
int32_t L_5 = __this->get_status_5();
if (L_5)
{
goto IL_004a;
}
}
IL_002e:
{
bool L_6 = WebConnection_CanReuse_m2827124740(__this, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004a;
}
}
IL_0036:
{
bool L_7 = WebConnection_CompleteChunkedRead_m618073306(__this, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_004a;
}
}
IL_003e:
{
__this->set_reused_14((bool)1);
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
IL_004a:
{
__this->set_reused_14((bool)0);
Socket_t1119025450 * L_8 = __this->get_socket_2();
if (!L_8)
{
goto IL_006b;
}
}
IL_0059:
{
Socket_t1119025450 * L_9 = __this->get_socket_2();
NullCheck(L_9);
Socket_Close_m3289097516(L_9, /*hidden argument*/NULL);
__this->set_socket_2((Socket_t1119025450 *)NULL);
}
IL_006b:
{
__this->set_chunkStream_12((MonoChunkStream_t2034754733 *)NULL);
ServicePoint_t2786966844 * L_10 = __this->get_sPoint_0();
NullCheck(L_10);
IPHostEntry_t263743900 * L_11 = ServicePoint_get_HostEntry_m1249515277(L_10, /*hidden argument*/NULL);
V_2 = L_11;
IPHostEntry_t263743900 * L_12 = V_2;
if (L_12)
{
goto IL_009e;
}
}
IL_0081:
{
ServicePoint_t2786966844 * L_13 = __this->get_sPoint_0();
NullCheck(L_13);
bool L_14 = ServicePoint_get_UsesProxy_m174711556(L_13, /*hidden argument*/NULL);
G_B11_0 = __this;
if (L_14)
{
G_B12_0 = __this;
goto IL_0092;
}
}
IL_008f:
{
G_B13_0 = 1;
G_B13_1 = G_B11_0;
goto IL_0094;
}
IL_0092:
{
G_B13_0 = ((int32_t)15);
G_B13_1 = G_B12_0;
}
IL_0094:
{
NullCheck(G_B13_1);
G_B13_1->set_status_5(G_B13_0);
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
IL_009e:
{
IPHostEntry_t263743900 * L_15 = V_2;
NullCheck(L_15);
IPAddressU5BU5D_t596328627* L_16 = IPHostEntry_get_AddressList_m1351062776(L_15, /*hidden argument*/NULL);
V_3 = L_16;
V_4 = 0;
goto IL_01de;
}
IL_00ad:
{
IPAddressU5BU5D_t596328627* L_17 = V_3;
int32_t L_18 = V_4;
NullCheck(L_17);
int32_t L_19 = L_18;
IPAddress_t241777590 * L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_5 = L_20;
}
IL_00b3:
try
{ // begin try (depth: 2)
IPAddress_t241777590 * L_21 = V_5;
NullCheck(L_21);
int32_t L_22 = IPAddress_get_AddressFamily_m1010663936(L_21, /*hidden argument*/NULL);
Socket_t1119025450 * L_23 = (Socket_t1119025450 *)il2cpp_codegen_object_new(Socket_t1119025450_il2cpp_TypeInfo_var);
Socket__ctor_m3479084642(L_23, L_22, 1, 6, /*hidden argument*/NULL);
__this->set_socket_2(L_23);
goto IL_00e7;
} // end try (depth: 2)
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_00c9;
throw e;
}
CATCH_00c9:
{ // begin catch(System.Exception)
{
V_7 = ((Exception_t *)__exception_local);
HttpWebRequest_t1669436515 * L_24 = ___request0;
NullCheck(L_24);
bool L_25 = HttpWebRequest_get_Aborted_m1961501758(L_24, /*hidden argument*/NULL);
if (L_25)
{
goto IL_00da;
}
}
IL_00d3:
{
__this->set_status_5(2);
}
IL_00da:
{
Exception_t * L_26 = V_7;
__this->set_connect_exception_22(L_26);
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
} // end catch (depth: 2)
IL_00e7:
{
IPAddress_t241777590 * L_27 = V_5;
ServicePoint_t2786966844 * L_28 = __this->get_sPoint_0();
NullCheck(L_28);
Uri_t100236324 * L_29 = ServicePoint_get_Address_m4189969258(L_28, /*hidden argument*/NULL);
NullCheck(L_29);
int32_t L_30 = Uri_get_Port_m184067428(L_29, /*hidden argument*/NULL);
IPEndPoint_t3791887218 * L_31 = (IPEndPoint_t3791887218 *)il2cpp_codegen_object_new(IPEndPoint_t3791887218_il2cpp_TypeInfo_var);
IPEndPoint__ctor_m2833647099(L_31, L_27, L_30, /*hidden argument*/NULL);
V_6 = L_31;
Socket_t1119025450 * L_32 = __this->get_socket_2();
ServicePoint_t2786966844 * L_33 = __this->get_sPoint_0();
NullCheck(L_33);
bool L_34 = ServicePoint_get_UseNagleAlgorithm_m633218140(L_33, /*hidden argument*/NULL);
NullCheck(L_32);
Socket_set_NoDelay_m3209939872(L_32, (bool)((((int32_t)L_34) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
}
IL_0119:
try
{ // begin try (depth: 2)
ServicePoint_t2786966844 * L_35 = __this->get_sPoint_0();
Socket_t1119025450 * L_36 = __this->get_socket_2();
NullCheck(L_35);
ServicePoint_KeepAliveSetup_m1439766054(L_35, L_36, /*hidden argument*/NULL);
goto IL_012f;
} // end try (depth: 2)
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_012c;
throw e;
}
CATCH_012c:
{ // begin catch(System.Object)
goto IL_012f;
} // end catch (depth: 2)
IL_012f:
{
ServicePoint_t2786966844 * L_37 = __this->get_sPoint_0();
Socket_t1119025450 * L_38 = __this->get_socket_2();
IPEndPoint_t3791887218 * L_39 = V_6;
NullCheck(L_37);
bool L_40 = ServicePoint_CallEndPointDelegate_m2947487287(L_37, L_38, L_39, /*hidden argument*/NULL);
if (L_40)
{
goto IL_015f;
}
}
IL_0144:
{
Socket_t1119025450 * L_41 = __this->get_socket_2();
NullCheck(L_41);
Socket_Close_m3289097516(L_41, /*hidden argument*/NULL);
__this->set_socket_2((Socket_t1119025450 *)NULL);
__this->set_status_5(2);
goto IL_01d8;
}
IL_015f:
{
}
IL_0160:
try
{ // begin try (depth: 2)
{
HttpWebRequest_t1669436515 * L_42 = ___request0;
NullCheck(L_42);
bool L_43 = HttpWebRequest_get_Aborted_m1961501758(L_42, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_016d;
}
}
IL_0168:
{
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
IL_016d:
{
Socket_t1119025450 * L_44 = __this->get_socket_2();
IPEndPoint_t3791887218 * L_45 = V_6;
NullCheck(L_44);
Socket_Connect_m798630981(L_44, L_45, /*hidden argument*/NULL);
__this->set_status_5(0);
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ThreadAbortException_t4074510458_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0183;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_01a0;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_01a3;
throw e;
}
CATCH_0183:
{ // begin catch(System.Threading.ThreadAbortException)
{
Socket_t1119025450 * L_46 = __this->get_socket_2();
V_8 = L_46;
__this->set_socket_2((Socket_t1119025450 *)NULL);
Socket_t1119025450 * L_47 = V_8;
if (!L_47)
{
goto IL_019e;
}
}
IL_0197:
{
Socket_t1119025450 * L_48 = V_8;
NullCheck(L_48);
Socket_Close_m3289097516(L_48, /*hidden argument*/NULL);
}
IL_019e:
{
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
} // end catch (depth: 2)
CATCH_01a0:
{ // begin catch(System.ObjectDisposedException)
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
} // end catch (depth: 2)
CATCH_01a3:
{ // begin catch(System.Exception)
{
V_9 = ((Exception_t *)__exception_local);
Socket_t1119025450 * L_49 = __this->get_socket_2();
V_10 = L_49;
__this->set_socket_2((Socket_t1119025450 *)NULL);
Socket_t1119025450 * L_50 = V_10;
if (!L_50)
{
goto IL_01bf;
}
}
IL_01b8:
{
Socket_t1119025450 * L_51 = V_10;
NullCheck(L_51);
Socket_Close_m3289097516(L_51, /*hidden argument*/NULL);
}
IL_01bf:
{
HttpWebRequest_t1669436515 * L_52 = ___request0;
NullCheck(L_52);
bool L_53 = HttpWebRequest_get_Aborted_m1961501758(L_52, /*hidden argument*/NULL);
if (L_53)
{
goto IL_01ce;
}
}
IL_01c7:
{
__this->set_status_5(2);
}
IL_01ce:
{
Exception_t * L_54 = V_9;
__this->set_connect_exception_22(L_54);
goto IL_01d8;
}
} // end catch (depth: 2)
IL_01d8:
{
int32_t L_55 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)1));
}
IL_01de:
{
int32_t L_56 = V_4;
IPAddressU5BU5D_t596328627* L_57 = V_3;
NullCheck(L_57);
if ((((int32_t)L_56) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_57)->max_length)))))))
{
goto IL_00ad;
}
}
IL_01e8:
{
IL2CPP_LEAVE(0x1F4, FINALLY_01ea);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01ea;
}
FINALLY_01ea:
{ // begin finally (depth: 1)
{
bool L_58 = V_1;
if (!L_58)
{
goto IL_01f3;
}
}
IL_01ed:
{
RuntimeObject * L_59 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_59, /*hidden argument*/NULL);
}
IL_01f3:
{
IL2CPP_END_FINALLY(490)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(490)
{
IL2CPP_JUMP_TBL(0x1F4, IL_01f4)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01f4:
{
return;
}
}
// System.Boolean System.Net.WebConnection::CreateTunnel(System.Net.HttpWebRequest,System.Uri,System.IO.Stream,System.Byte[]&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CreateTunnel_m94461872 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, Uri_t100236324 * ___connectUri1, Stream_t1273022909 * ___stream2, ByteU5BU5D_t4116647657** ___buffer3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_CreateTunnel_m94461872_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_CreateTunnel_m94461872_RuntimeMethod_var);
StringBuilder_t * V_0 = NULL;
bool V_1 = false;
StringU5BU5D_t1281789340* V_2 = NULL;
String_t* V_3 = NULL;
bool V_4 = false;
ByteU5BU5D_t4116647657* V_5 = NULL;
int32_t V_6 = 0;
WebHeaderCollection_t1942268960 * V_7 = NULL;
RuntimeObject* V_8 = NULL;
int32_t V_9 = 0;
Authorization_t542416582 * V_10 = NULL;
String_t* V_11 = NULL;
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_0, /*hidden argument*/NULL);
V_0 = L_0;
StringBuilder_t * L_1 = V_0;
NullCheck(L_1);
StringBuilder_Append_m1965104174(L_1, _stringLiteral2582939798, /*hidden argument*/NULL);
StringBuilder_t * L_2 = V_0;
HttpWebRequest_t1669436515 * L_3 = ___request0;
NullCheck(L_3);
Uri_t100236324 * L_4 = HttpWebRequest_get_Address_m1609525404(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
String_t* L_5 = Uri_get_Host_m42857288(L_4, /*hidden argument*/NULL);
NullCheck(L_2);
StringBuilder_Append_m1965104174(L_2, L_5, /*hidden argument*/NULL);
StringBuilder_t * L_6 = V_0;
NullCheck(L_6);
StringBuilder_Append_m2383614642(L_6, ((int32_t)58), /*hidden argument*/NULL);
StringBuilder_t * L_7 = V_0;
HttpWebRequest_t1669436515 * L_8 = ___request0;
NullCheck(L_8);
Uri_t100236324 * L_9 = HttpWebRequest_get_Address_m1609525404(L_8, /*hidden argument*/NULL);
NullCheck(L_9);
int32_t L_10 = Uri_get_Port_m184067428(L_9, /*hidden argument*/NULL);
NullCheck(L_7);
StringBuilder_Append_m890240332(L_7, L_10, /*hidden argument*/NULL);
StringBuilder_t * L_11 = V_0;
NullCheck(L_11);
StringBuilder_Append_m1965104174(L_11, _stringLiteral1665343468, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_12 = ___request0;
NullCheck(L_12);
ServicePoint_t2786966844 * L_13 = HttpWebRequest_get_ServicePoint_m1080482337(L_12, /*hidden argument*/NULL);
NullCheck(L_13);
Version_t3456873960 * L_14 = VirtFuncInvoker0< Version_t3456873960 * >::Invoke(4 /* System.Version System.Net.ServicePoint::get_ProtocolVersion() */, L_13);
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_15 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_16 = Version_op_Equality_m3804852517(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_0070;
}
}
{
StringBuilder_t * L_17 = V_0;
NullCheck(L_17);
StringBuilder_Append_m1965104174(L_17, _stringLiteral1507642308, /*hidden argument*/NULL);
goto IL_007c;
}
IL_0070:
{
StringBuilder_t * L_18 = V_0;
NullCheck(L_18);
StringBuilder_Append_m1965104174(L_18, _stringLiteral3073726249, /*hidden argument*/NULL);
}
IL_007c:
{
StringBuilder_t * L_19 = V_0;
NullCheck(L_19);
StringBuilder_Append_m1965104174(L_19, _stringLiteral1820107566, /*hidden argument*/NULL);
StringBuilder_t * L_20 = V_0;
HttpWebRequest_t1669436515 * L_21 = ___request0;
NullCheck(L_21);
Uri_t100236324 * L_22 = HttpWebRequest_get_Address_m1609525404(L_21, /*hidden argument*/NULL);
NullCheck(L_22);
String_t* L_23 = Uri_get_Authority_m3816772302(L_22, /*hidden argument*/NULL);
NullCheck(L_20);
StringBuilder_Append_m1965104174(L_20, L_23, /*hidden argument*/NULL);
V_1 = (bool)0;
WebConnectionData_t3835660455 * L_24 = __this->get_Data_10();
NullCheck(L_24);
StringU5BU5D_t1281789340* L_25 = L_24->get_Challenge_7();
V_2 = L_25;
WebConnectionData_t3835660455 * L_26 = __this->get_Data_10();
NullCheck(L_26);
L_26->set_Challenge_7((StringU5BU5D_t1281789340*)NULL);
HttpWebRequest_t1669436515 * L_27 = ___request0;
NullCheck(L_27);
WebHeaderCollection_t1942268960 * L_28 = VirtFuncInvoker0< WebHeaderCollection_t1942268960 * >::Invoke(12 /* System.Net.WebHeaderCollection System.Net.WebRequest::get_Headers() */, L_27);
NullCheck(L_28);
String_t* L_29 = NameValueCollection_get_Item_m3979995533(L_28, _stringLiteral635763858, /*hidden argument*/NULL);
V_3 = L_29;
String_t* L_30 = V_3;
V_4 = (bool)((!(((RuntimeObject*)(String_t*)L_30) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_31 = V_4;
if (!L_31)
{
goto IL_00f9;
}
}
{
StringBuilder_t * L_32 = V_0;
NullCheck(L_32);
StringBuilder_Append_m1965104174(L_32, _stringLiteral3459079235, /*hidden argument*/NULL);
StringBuilder_t * L_33 = V_0;
String_t* L_34 = V_3;
NullCheck(L_33);
StringBuilder_Append_m1965104174(L_33, L_34, /*hidden argument*/NULL);
String_t* L_35 = V_3;
NullCheck(L_35);
String_t* L_36 = String_ToUpper_m3324454496(L_35, /*hidden argument*/NULL);
NullCheck(L_36);
bool L_37 = String_Contains_m1147431944(L_36, _stringLiteral3558610080, /*hidden argument*/NULL);
V_1 = L_37;
goto IL_01f7;
}
IL_00f9:
{
StringU5BU5D_t1281789340* L_38 = V_2;
if (!L_38)
{
goto IL_01f7;
}
}
{
WebConnectionData_t3835660455 * L_39 = __this->get_Data_10();
NullCheck(L_39);
int32_t L_40 = L_39->get_StatusCode_1();
if ((!(((uint32_t)L_40) == ((uint32_t)((int32_t)407)))))
{
goto IL_01f7;
}
}
{
HttpWebRequest_t1669436515 * L_41 = ___request0;
NullCheck(L_41);
RuntimeObject* L_42 = VirtFuncInvoker0< RuntimeObject* >::Invoke(16 /* System.Net.IWebProxy System.Net.WebRequest::get_Proxy() */, L_41);
NullCheck(L_42);
RuntimeObject* L_43 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Net.ICredentials System.Net.IWebProxy::get_Credentials() */, IWebProxy_t688979836_il2cpp_TypeInfo_var, L_42);
V_8 = L_43;
V_4 = (bool)1;
HttpWebRequest_t1669436515 * L_44 = __this->get_connect_request_21();
if (L_44)
{
goto IL_019c;
}
}
{
ObjectU5BU5D_t2843939325* L_45 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_t2843939325* L_46 = L_45;
Uri_t100236324 * L_47 = ___connectUri1;
NullCheck(L_47);
String_t* L_48 = Uri_get_Scheme_m2109479391(L_47, /*hidden argument*/NULL);
NullCheck(L_46);
ArrayElementTypeCheck (L_46, L_48);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_48);
ObjectU5BU5D_t2843939325* L_49 = L_46;
NullCheck(L_49);
ArrayElementTypeCheck (L_49, _stringLiteral1057238085);
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)_stringLiteral1057238085);
ObjectU5BU5D_t2843939325* L_50 = L_49;
Uri_t100236324 * L_51 = ___connectUri1;
NullCheck(L_51);
String_t* L_52 = Uri_get_Host_m42857288(L_51, /*hidden argument*/NULL);
NullCheck(L_50);
ArrayElementTypeCheck (L_50, L_52);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_52);
ObjectU5BU5D_t2843939325* L_53 = L_50;
NullCheck(L_53);
ArrayElementTypeCheck (L_53, _stringLiteral3452614550);
(L_53)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)_stringLiteral3452614550);
ObjectU5BU5D_t2843939325* L_54 = L_53;
Uri_t100236324 * L_55 = ___connectUri1;
NullCheck(L_55);
int32_t L_56 = Uri_get_Port_m184067428(L_55, /*hidden argument*/NULL);
int32_t L_57 = L_56;
RuntimeObject * L_58 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_57);
NullCheck(L_54);
ArrayElementTypeCheck (L_54, L_58);
(L_54)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_58);
ObjectU5BU5D_t2843939325* L_59 = L_54;
NullCheck(L_59);
ArrayElementTypeCheck (L_59, _stringLiteral3452614529);
(L_59)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)_stringLiteral3452614529);
String_t* L_60 = String_Concat_m2971454694(NULL /*static, unused*/, L_59, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(WebRequest_t1939381076_il2cpp_TypeInfo_var);
WebRequest_t1939381076 * L_61 = WebRequest_Create_m1521009289(NULL /*static, unused*/, L_60, /*hidden argument*/NULL);
__this->set_connect_request_21(((HttpWebRequest_t1669436515 *)CastclassClass((RuntimeObject*)L_61, HttpWebRequest_t1669436515_il2cpp_TypeInfo_var)));
HttpWebRequest_t1669436515 * L_62 = __this->get_connect_request_21();
NullCheck(L_62);
VirtActionInvoker1< String_t* >::Invoke(10 /* System.Void System.Net.WebRequest::set_Method(System.String) */, L_62, _stringLiteral110397590);
HttpWebRequest_t1669436515 * L_63 = __this->get_connect_request_21();
RuntimeObject* L_64 = V_8;
NullCheck(L_63);
VirtActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void System.Net.WebRequest::set_Credentials(System.Net.ICredentials) */, L_63, L_64);
}
IL_019c:
{
RuntimeObject* L_65 = V_8;
if (!L_65)
{
goto IL_01f7;
}
}
{
V_9 = 0;
goto IL_01f0;
}
IL_01a5:
{
StringU5BU5D_t1281789340* L_66 = V_2;
int32_t L_67 = V_9;
NullCheck(L_66);
int32_t L_68 = L_67;
String_t* L_69 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
HttpWebRequest_t1669436515 * L_70 = __this->get_connect_request_21();
RuntimeObject* L_71 = V_8;
IL2CPP_RUNTIME_CLASS_INIT(AuthenticationManager_t2084001809_il2cpp_TypeInfo_var);
Authorization_t542416582 * L_72 = AuthenticationManager_Authenticate_m220441371(NULL /*static, unused*/, L_69, L_70, L_71, /*hidden argument*/NULL);
V_10 = L_72;
Authorization_t542416582 * L_73 = V_10;
if (!L_73)
{
goto IL_01ea;
}
}
{
Authorization_t542416582 * L_74 = V_10;
NullCheck(L_74);
String_t* L_75 = L_74->get_ModuleAuthenticationType_2();
bool L_76 = String_op_Equality_m920492651(NULL /*static, unused*/, L_75, _stringLiteral3558610080, /*hidden argument*/NULL);
V_1 = L_76;
StringBuilder_t * L_77 = V_0;
NullCheck(L_77);
StringBuilder_Append_m1965104174(L_77, _stringLiteral3459079235, /*hidden argument*/NULL);
StringBuilder_t * L_78 = V_0;
Authorization_t542416582 * L_79 = V_10;
NullCheck(L_79);
String_t* L_80 = Authorization_get_Message_m457444391(L_79, /*hidden argument*/NULL);
NullCheck(L_78);
StringBuilder_Append_m1965104174(L_78, L_80, /*hidden argument*/NULL);
goto IL_01f7;
}
IL_01ea:
{
int32_t L_81 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_81, (int32_t)1));
}
IL_01f0:
{
int32_t L_82 = V_9;
StringU5BU5D_t1281789340* L_83 = V_2;
NullCheck(L_83);
if ((((int32_t)L_82) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_83)->max_length)))))))
{
goto IL_01a5;
}
}
IL_01f7:
{
bool L_84 = V_1;
if (!L_84)
{
goto IL_0214;
}
}
{
StringBuilder_t * L_85 = V_0;
NullCheck(L_85);
StringBuilder_Append_m1965104174(L_85, _stringLiteral2179774525, /*hidden argument*/NULL);
int32_t L_86 = __this->get_connect_ntlm_auth_state_20();
__this->set_connect_ntlm_auth_state_20(((int32_t)il2cpp_codegen_add((int32_t)L_86, (int32_t)1)));
}
IL_0214:
{
StringBuilder_t * L_87 = V_0;
NullCheck(L_87);
StringBuilder_Append_m1965104174(L_87, _stringLiteral3913920444, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_88 = __this->get_Data_10();
NullCheck(L_88);
L_88->set_StatusCode_1(0);
Encoding_t1523322056 * L_89 = Encoding_get_Default_m1632902165(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_t * L_90 = V_0;
NullCheck(L_90);
String_t* L_91 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_90);
NullCheck(L_89);
ByteU5BU5D_t4116647657* L_92 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, String_t* >::Invoke(17 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_89, L_91);
V_5 = L_92;
Stream_t1273022909 * L_93 = ___stream2;
ByteU5BU5D_t4116647657* L_94 = V_5;
ByteU5BU5D_t4116647657* L_95 = V_5;
NullCheck(L_95);
NullCheck(L_93);
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(28 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_93, L_94, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_95)->max_length)))));
Stream_t1273022909 * L_96 = ___stream2;
ByteU5BU5D_t4116647657** L_97 = ___buffer3;
WebHeaderCollection_t1942268960 * L_98 = WebConnection_ReadHeaders_m1556875581(__this, L_96, (ByteU5BU5D_t4116647657**)L_97, (int32_t*)(&V_6), /*hidden argument*/NULL);
V_7 = L_98;
bool L_99 = V_4;
if (!L_99)
{
goto IL_0268;
}
}
{
int32_t L_100 = __this->get_connect_ntlm_auth_state_20();
if ((!(((uint32_t)L_100) == ((uint32_t)1))))
{
goto IL_02ef;
}
}
IL_0268:
{
WebHeaderCollection_t1942268960 * L_101 = V_7;
if (!L_101)
{
goto IL_02ef;
}
}
{
int32_t L_102 = V_6;
if ((!(((uint32_t)L_102) == ((uint32_t)((int32_t)407)))))
{
goto IL_02ef;
}
}
{
WebHeaderCollection_t1942268960 * L_103 = V_7;
NullCheck(L_103);
String_t* L_104 = NameValueCollection_get_Item_m3979995533(L_103, _stringLiteral2744925370, /*hidden argument*/NULL);
V_11 = L_104;
Socket_t1119025450 * L_105 = __this->get_socket_2();
if (!L_105)
{
goto IL_02bc;
}
}
{
String_t* L_106 = V_11;
bool L_107 = String_IsNullOrEmpty_m2969720369(NULL /*static, unused*/, L_106, /*hidden argument*/NULL);
if (L_107)
{
goto IL_02bc;
}
}
{
String_t* L_108 = V_11;
NullCheck(L_108);
String_t* L_109 = String_ToLower_m2029374922(L_108, /*hidden argument*/NULL);
bool L_110 = String_op_Equality_m920492651(NULL /*static, unused*/, L_109, _stringLiteral3483483719, /*hidden argument*/NULL);
if (!L_110)
{
goto IL_02bc;
}
}
{
Socket_t1119025450 * L_111 = __this->get_socket_2();
NullCheck(L_111);
Socket_Close_m3289097516(L_111, /*hidden argument*/NULL);
__this->set_socket_2((Socket_t1119025450 *)NULL);
}
IL_02bc:
{
WebConnectionData_t3835660455 * L_112 = __this->get_Data_10();
int32_t L_113 = V_6;
NullCheck(L_112);
L_112->set_StatusCode_1(L_113);
WebConnectionData_t3835660455 * L_114 = __this->get_Data_10();
WebHeaderCollection_t1942268960 * L_115 = V_7;
NullCheck(L_115);
StringU5BU5D_t1281789340* L_116 = VirtFuncInvoker1< StringU5BU5D_t1281789340*, String_t* >::Invoke(18 /* System.String[] System.Collections.Specialized.NameValueCollection::GetValues(System.String) */, L_115, _stringLiteral2239610844);
NullCheck(L_114);
L_114->set_Challenge_7(L_116);
WebConnectionData_t3835660455 * L_117 = __this->get_Data_10();
WebHeaderCollection_t1942268960 * L_118 = V_7;
NullCheck(L_117);
L_117->set_Headers_3(L_118);
return (bool)0;
}
IL_02ef:
{
int32_t L_119 = V_6;
if ((((int32_t)L_119) == ((int32_t)((int32_t)200))))
{
goto IL_0314;
}
}
{
WebConnectionData_t3835660455 * L_120 = __this->get_Data_10();
int32_t L_121 = V_6;
NullCheck(L_120);
L_120->set_StatusCode_1(L_121);
WebConnectionData_t3835660455 * L_122 = __this->get_Data_10();
WebHeaderCollection_t1942268960 * L_123 = V_7;
NullCheck(L_122);
L_122->set_Headers_3(L_123);
return (bool)0;
}
IL_0314:
{
WebHeaderCollection_t1942268960 * L_124 = V_7;
return (bool)((!(((RuntimeObject*)(WebHeaderCollection_t1942268960 *)L_124) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
}
}
// System.Net.WebHeaderCollection System.Net.WebConnection::ReadHeaders(System.IO.Stream,System.Byte[]&,System.Int32&)
extern "C" IL2CPP_METHOD_ATTR WebHeaderCollection_t1942268960 * WebConnection_ReadHeaders_m1556875581 (WebConnection_t3982808322 * __this, Stream_t1273022909 * ___stream0, ByteU5BU5D_t4116647657** ___retBuffer1, int32_t* ___status2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_ReadHeaders_m1556875581_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_ReadHeaders_m1556875581_RuntimeMethod_var);
ByteU5BU5D_t4116647657* V_0 = NULL;
MemoryStream_t94973147 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
String_t* V_4 = NULL;
bool V_5 = false;
WebHeaderCollection_t1942268960 * V_6 = NULL;
StringU5BU5D_t1281789340* V_7 = NULL;
int32_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
ByteU5BU5D_t4116647657** L_0 = ___retBuffer1;
*((RuntimeObject **)(L_0)) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_0), (RuntimeObject *)NULL);
int32_t* L_1 = ___status2;
*((int32_t*)(L_1)) = (int32_t)((int32_t)200);
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)1024));
V_0 = L_2;
MemoryStream_t94973147 * L_3 = (MemoryStream_t94973147 *)il2cpp_codegen_object_new(MemoryStream_t94973147_il2cpp_TypeInfo_var);
MemoryStream__ctor_m2678285228(L_3, /*hidden argument*/NULL);
V_1 = L_3;
}
IL_001b:
{
Stream_t1273022909 * L_4 = ___stream0;
ByteU5BU5D_t4116647657* L_5 = V_0;
NullCheck(L_4);
int32_t L_6 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(26 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_4, L_5, 0, ((int32_t)1024));
V_2 = L_6;
int32_t L_7 = V_2;
if (L_7)
{
goto IL_003c;
}
}
{
WebConnection_HandleError_m738788885(__this, ((int32_t)11), (Exception_t *)NULL, _stringLiteral2105548370, /*hidden argument*/NULL);
return (WebHeaderCollection_t1942268960 *)NULL;
}
IL_003c:
{
MemoryStream_t94973147 * L_8 = V_1;
ByteU5BU5D_t4116647657* L_9 = V_0;
int32_t L_10 = V_2;
NullCheck(L_8);
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(28 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_8, L_9, 0, L_10);
V_3 = 0;
V_4 = (String_t*)NULL;
V_5 = (bool)0;
WebHeaderCollection_t1942268960 * L_11 = (WebHeaderCollection_t1942268960 *)il2cpp_codegen_object_new(WebHeaderCollection_t1942268960_il2cpp_TypeInfo_var);
WebHeaderCollection__ctor_m896654210(L_11, /*hidden argument*/NULL);
V_6 = L_11;
goto IL_0196;
}
IL_0059:
{
String_t* L_12 = V_4;
if (L_12)
{
goto IL_00d0;
}
}
{
V_8 = 0;
}
IL_0060:
try
{ // begin try (depth: 1)
WebHeaderCollection_t1942268960 * L_13 = V_6;
NullCheck(L_13);
String_t* L_14 = NameValueCollection_get_Item_m3979995533(L_13, _stringLiteral1348707855, /*hidden argument*/NULL);
int32_t L_15 = Int32_Parse_m1033611559(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
V_8 = L_15;
goto IL_007b;
} // 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_0075;
throw e;
}
CATCH_0075:
{ // begin catch(System.Object)
V_8 = 0;
goto IL_007b;
} // end catch (depth: 1)
IL_007b:
{
MemoryStream_t94973147 * L_16 = V_1;
NullCheck(L_16);
int64_t L_17 = VirtFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_16);
int32_t L_18 = V_3;
int32_t L_19 = V_8;
if ((((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_17, (int64_t)(((int64_t)((int64_t)L_18))))), (int64_t)(((int64_t)((int64_t)L_19)))))) <= ((int64_t)(((int64_t)((int64_t)0))))))
{
goto IL_00b9;
}
}
{
ByteU5BU5D_t4116647657** L_20 = ___retBuffer1;
MemoryStream_t94973147 * L_21 = V_1;
NullCheck(L_21);
int64_t L_22 = VirtFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_21);
int32_t L_23 = V_3;
int32_t L_24 = V_8;
if ((int64_t)(((int64_t)il2cpp_codegen_subtract((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_22, (int64_t)(((int64_t)((int64_t)L_23))))), (int64_t)(((int64_t)((int64_t)L_24)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), NULL, WebConnection_ReadHeaders_m1556875581_RuntimeMethod_var);
ByteU5BU5D_t4116647657* L_25 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)(((intptr_t)((int64_t)il2cpp_codegen_subtract((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_22, (int64_t)(((int64_t)((int64_t)L_23))))), (int64_t)(((int64_t)((int64_t)L_24))))))));
*((RuntimeObject **)(L_20)) = (RuntimeObject *)L_25;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_20), (RuntimeObject *)L_25);
MemoryStream_t94973147 * L_26 = V_1;
NullCheck(L_26);
ByteU5BU5D_t4116647657* L_27 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(30 /* System.Byte[] System.IO.MemoryStream::GetBuffer() */, L_26);
int32_t L_28 = V_3;
int32_t L_29 = V_8;
ByteU5BU5D_t4116647657** L_30 = ___retBuffer1;
ByteU5BU5D_t4116647657* L_31 = *((ByteU5BU5D_t4116647657**)L_30);
ByteU5BU5D_t4116647657** L_32 = ___retBuffer1;
ByteU5BU5D_t4116647657* L_33 = *((ByteU5BU5D_t4116647657**)L_32);
NullCheck(L_33);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_27, ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)L_29)), (RuntimeArray *)(RuntimeArray *)L_31, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_33)->max_length)))), /*hidden argument*/NULL);
goto IL_00cd;
}
IL_00b9:
{
Stream_t1273022909 * L_34 = ___stream0;
int32_t L_35 = V_8;
MemoryStream_t94973147 * L_36 = V_1;
NullCheck(L_36);
int64_t L_37 = VirtFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_36);
int32_t L_38 = V_3;
WebConnection_FlushContents_m3149390488(__this, L_34, ((int32_t)il2cpp_codegen_subtract((int32_t)L_35, (int32_t)(((int32_t)((int32_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_37, (int64_t)(((int64_t)((int64_t)L_38)))))))))), /*hidden argument*/NULL);
}
IL_00cd:
{
WebHeaderCollection_t1942268960 * L_39 = V_6;
return L_39;
}
IL_00d0:
{
bool L_40 = V_5;
if (!L_40)
{
goto IL_00e2;
}
}
{
WebHeaderCollection_t1942268960 * L_41 = V_6;
String_t* L_42 = V_4;
NullCheck(L_41);
WebHeaderCollection_Add_m928193981(L_41, L_42, /*hidden argument*/NULL);
goto IL_0196;
}
IL_00e2:
{
String_t* L_43 = V_4;
CharU5BU5D_t3528271667* L_44 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t3528271667* L_45 = L_44;
NullCheck(L_45);
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)32));
NullCheck(L_43);
StringU5BU5D_t1281789340* L_46 = String_Split_m3646115398(L_43, L_45, /*hidden argument*/NULL);
V_7 = L_46;
StringU5BU5D_t1281789340* L_47 = V_7;
NullCheck(L_47);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_47)->max_length))))) >= ((int32_t)2)))
{
goto IL_010d;
}
}
{
WebConnection_HandleError_m738788885(__this, ((int32_t)11), (Exception_t *)NULL, _stringLiteral3724156498, /*hidden argument*/NULL);
return (WebHeaderCollection_t1942268960 *)NULL;
}
IL_010d:
{
StringU5BU5D_t1281789340* L_48 = V_7;
NullCheck(L_48);
int32_t L_49 = 0;
String_t* L_50 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
int32_t L_51 = String_Compare_m1071830722(NULL /*static, unused*/, L_50, _stringLiteral1394625933, (bool)1, /*hidden argument*/NULL);
if (L_51)
{
goto IL_0130;
}
}
{
WebConnectionData_t3835660455 * L_52 = __this->get_Data_10();
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_53 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
NullCheck(L_52);
L_52->set_ProxyVersion_5(L_53);
goto IL_0163;
}
IL_0130:
{
StringU5BU5D_t1281789340* L_54 = V_7;
NullCheck(L_54);
int32_t L_55 = 0;
String_t* L_56 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
int32_t L_57 = String_Compare_m1071830722(NULL /*static, unused*/, L_56, _stringLiteral3350941069, (bool)1, /*hidden argument*/NULL);
if (L_57)
{
goto IL_0153;
}
}
{
WebConnectionData_t3835660455 * L_58 = __this->get_Data_10();
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_59 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version10_0();
NullCheck(L_58);
L_58->set_ProxyVersion_5(L_59);
goto IL_0163;
}
IL_0153:
{
WebConnection_HandleError_m738788885(__this, ((int32_t)11), (Exception_t *)NULL, _stringLiteral3724156498, /*hidden argument*/NULL);
return (WebHeaderCollection_t1942268960 *)NULL;
}
IL_0163:
{
int32_t* L_60 = ___status2;
StringU5BU5D_t1281789340* L_61 = V_7;
NullCheck(L_61);
int32_t L_62 = 1;
String_t* L_63 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_62));
uint32_t L_64 = UInt32_Parse_m3270868885(NULL /*static, unused*/, L_63, /*hidden argument*/NULL);
*((int32_t*)(L_60)) = (int32_t)L_64;
StringU5BU5D_t1281789340* L_65 = V_7;
NullCheck(L_65);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_65)->max_length))))) < ((int32_t)3)))
{
goto IL_0193;
}
}
{
WebConnectionData_t3835660455 * L_66 = __this->get_Data_10();
StringU5BU5D_t1281789340* L_67 = V_7;
StringU5BU5D_t1281789340* L_68 = V_7;
NullCheck(L_68);
String_t* L_69 = String_Join_m29736248(NULL /*static, unused*/, _stringLiteral3452614528, L_67, 2, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_68)->max_length)))), (int32_t)2)), /*hidden argument*/NULL);
NullCheck(L_66);
L_66->set_StatusDescription_2(L_69);
}
IL_0193:
{
V_5 = (bool)1;
}
IL_0196:
{
MemoryStream_t94973147 * L_70 = V_1;
NullCheck(L_70);
ByteU5BU5D_t4116647657* L_71 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(30 /* System.Byte[] System.IO.MemoryStream::GetBuffer() */, L_70);
MemoryStream_t94973147 * L_72 = V_1;
NullCheck(L_72);
int64_t L_73 = VirtFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_72);
bool L_74 = WebConnection_ReadLine_m1318917240(NULL /*static, unused*/, L_71, (int32_t*)(&V_3), (((int32_t)((int32_t)L_73))), (String_t**)(&V_4), /*hidden argument*/NULL);
if (L_74)
{
goto IL_0059;
}
}
{
goto IL_001b;
}
}
// System.Void System.Net.WebConnection::FlushContents(System.IO.Stream,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_FlushContents_m3149390488 (WebConnection_t3982808322 * __this, Stream_t1273022909 * ___stream0, int32_t ___contentLength1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_FlushContents_m3149390488_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_FlushContents_m3149390488_RuntimeMethod_var);
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
{
goto IL_001c;
}
IL_0002:
{
int32_t L_0 = ___contentLength1;
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
Stream_t1273022909 * L_2 = ___stream0;
ByteU5BU5D_t4116647657* L_3 = V_0;
int32_t L_4 = ___contentLength1;
NullCheck(L_2);
int32_t L_5 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(26 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_2, L_3, 0, L_4);
V_1 = L_5;
int32_t L_6 = V_1;
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0020;
}
}
{
int32_t L_7 = ___contentLength1;
int32_t L_8 = V_1;
___contentLength1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)L_8));
}
IL_001c:
{
int32_t L_9 = ___contentLength1;
if ((((int32_t)L_9) > ((int32_t)0)))
{
goto IL_0002;
}
}
IL_0020:
{
return;
}
}
// System.Boolean System.Net.WebConnection::CreateStream(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CreateStream_m3387195587 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_CreateStream_m3387195587_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_CreateStream_m3387195587_RuntimeMethod_var);
NetworkStream_t4071955934 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
bool V_2 = false;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
Socket_t1119025450 * L_0 = __this->get_socket_2();
NetworkStream_t4071955934 * L_1 = (NetworkStream_t4071955934 *)il2cpp_codegen_object_new(NetworkStream_t4071955934_il2cpp_TypeInfo_var);
NetworkStream__ctor_m594102681(L_1, L_0, (bool)0, /*hidden argument*/NULL);
V_0 = L_1;
HttpWebRequest_t1669436515 * L_2 = ___request0;
NullCheck(L_2);
Uri_t100236324 * L_3 = HttpWebRequest_get_Address_m1609525404(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
String_t* L_4 = Uri_get_Scheme_m2109479391(L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Uri_t100236324_il2cpp_TypeInfo_var);
String_t* L_5 = ((Uri_t100236324_StaticFields*)il2cpp_codegen_static_fields_for(Uri_t100236324_il2cpp_TypeInfo_var))->get_UriSchemeHttps_4();
bool L_6 = String_op_Equality_m920492651(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0087;
}
}
IL_0024:
{
bool L_7 = __this->get_reused_14();
if (!L_7)
{
goto IL_003c;
}
}
IL_002c:
{
Stream_t1273022909 * L_8 = __this->get_nstream_1();
if (!L_8)
{
goto IL_003c;
}
}
IL_0034:
{
MonoTlsStream_t1980138907 * L_9 = __this->get_tlsStream_23();
if (L_9)
{
goto IL_008e;
}
}
IL_003c:
{
V_1 = (ByteU5BU5D_t4116647657*)NULL;
ServicePoint_t2786966844 * L_10 = __this->get_sPoint_0();
NullCheck(L_10);
bool L_11 = ServicePoint_get_UseConnect_m2085353846(L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0066;
}
}
IL_004b:
{
HttpWebRequest_t1669436515 * L_12 = ___request0;
ServicePoint_t2786966844 * L_13 = __this->get_sPoint_0();
NullCheck(L_13);
Uri_t100236324 * L_14 = ServicePoint_get_Address_m4189969258(L_13, /*hidden argument*/NULL);
NetworkStream_t4071955934 * L_15 = V_0;
bool L_16 = WebConnection_CreateTunnel_m94461872(__this, L_12, L_14, L_15, (ByteU5BU5D_t4116647657**)(&V_1), /*hidden argument*/NULL);
if (L_16)
{
goto IL_0066;
}
}
IL_0062:
{
V_2 = (bool)0;
goto IL_00c8;
}
IL_0066:
{
HttpWebRequest_t1669436515 * L_17 = ___request0;
NetworkStream_t4071955934 * L_18 = V_0;
MonoTlsStream_t1980138907 * L_19 = (MonoTlsStream_t1980138907 *)il2cpp_codegen_object_new(MonoTlsStream_t1980138907_il2cpp_TypeInfo_var);
MonoTlsStream__ctor_m2909716305(L_19, L_17, L_18, /*hidden argument*/NULL);
__this->set_tlsStream_23(L_19);
MonoTlsStream_t1980138907 * L_20 = __this->get_tlsStream_23();
ByteU5BU5D_t4116647657* L_21 = V_1;
NullCheck(L_20);
Stream_t1273022909 * L_22 = MonoTlsStream_CreateStream_m973768516(L_20, L_21, /*hidden argument*/NULL);
__this->set_nstream_1(L_22);
goto IL_008e;
}
IL_0087:
{
NetworkStream_t4071955934 * L_23 = V_0;
__this->set_nstream_1(L_23);
}
IL_008e:
{
goto IL_00c6;
}
} // 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_0090;
throw e;
}
CATCH_0090:
{ // begin catch(System.Exception)
{
V_3 = ((Exception_t *)__exception_local);
MonoTlsStream_t1980138907 * L_24 = __this->get_tlsStream_23();
if (!L_24)
{
goto IL_00ac;
}
}
IL_0099:
{
MonoTlsStream_t1980138907 * L_25 = __this->get_tlsStream_23();
NullCheck(L_25);
int32_t L_26 = MonoTlsStream_get_ExceptionStatus_m2449772005(L_25, /*hidden argument*/NULL);
__this->set_status_5(L_26);
goto IL_00bb;
}
IL_00ac:
{
HttpWebRequest_t1669436515 * L_27 = ___request0;
NullCheck(L_27);
bool L_28 = HttpWebRequest_get_Aborted_m1961501758(L_27, /*hidden argument*/NULL);
if (L_28)
{
goto IL_00bb;
}
}
IL_00b4:
{
__this->set_status_5(2);
}
IL_00bb:
{
Exception_t * L_29 = V_3;
__this->set_connect_exception_22(L_29);
V_2 = (bool)0;
goto IL_00c8;
}
} // end catch (depth: 1)
IL_00c6:
{
return (bool)1;
}
IL_00c8:
{
bool L_30 = V_2;
return L_30;
}
}
// System.Void System.Net.WebConnection::HandleError(System.Net.WebExceptionStatus,System.Exception,System.String)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_HandleError_m738788885 (WebConnection_t3982808322 * __this, int32_t ___st0, Exception_t * ___e1, String_t* ___where2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_HandleError_m738788885_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_HandleError_m738788885_RuntimeMethod_var);
HttpWebRequest_t1669436515 * V_0 = NULL;
WebConnection_t3982808322 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
int32_t L_0 = ___st0;
__this->set_status_5(L_0);
V_1 = __this;
V_2 = (bool)0;
}
IL_000b:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_1 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_2 = ___st0;
if ((!(((uint32_t)L_2) == ((uint32_t)6))))
{
goto IL_0022;
}
}
IL_0017:
{
WebConnectionData_t3835660455 * L_3 = (WebConnectionData_t3835660455 *)il2cpp_codegen_object_new(WebConnectionData_t3835660455_il2cpp_TypeInfo_var);
WebConnectionData__ctor_m2596484140(L_3, /*hidden argument*/NULL);
__this->set_Data_10(L_3);
}
IL_0022:
{
IL2CPP_LEAVE(0x2E, FINALLY_0024);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0024;
}
FINALLY_0024:
{ // begin finally (depth: 1)
{
bool L_4 = V_2;
if (!L_4)
{
goto IL_002d;
}
}
IL_0027:
{
WebConnection_t3982808322 * L_5 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
}
IL_002d:
{
IL2CPP_END_FINALLY(36)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(36)
{
IL2CPP_JUMP_TBL(0x2E, IL_002e)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002e:
{
Exception_t * L_6 = ___e1;
if (L_6)
{
goto IL_0045;
}
}
IL_0031:
try
{ // begin try (depth: 1)
StackTrace_t1598645457 * L_7 = (StackTrace_t1598645457 *)il2cpp_codegen_object_new(StackTrace_t1598645457_il2cpp_TypeInfo_var);
StackTrace__ctor_m206492268(L_7, /*hidden argument*/NULL);
NullCheck(L_7);
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_7);
Exception_t * L_9 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m1152696503(L_9, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, WebConnection_HandleError_m738788885_RuntimeMethod_var);
} // 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_0041;
throw e;
}
CATCH_0041:
{ // begin catch(System.Exception)
___e1 = ((Exception_t *)__exception_local);
goto IL_0045;
} // end catch (depth: 1)
IL_0045:
{
V_0 = (HttpWebRequest_t1669436515 *)NULL;
WebConnectionData_t3835660455 * L_10 = __this->get_Data_10();
if (!L_10)
{
goto IL_0068;
}
}
{
WebConnectionData_t3835660455 * L_11 = __this->get_Data_10();
NullCheck(L_11);
HttpWebRequest_t1669436515 * L_12 = WebConnectionData_get_request_m2565424488(L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0068;
}
}
{
WebConnectionData_t3835660455 * L_13 = __this->get_Data_10();
NullCheck(L_13);
HttpWebRequest_t1669436515 * L_14 = WebConnectionData_get_request_m2565424488(L_13, /*hidden argument*/NULL);
V_0 = L_14;
}
IL_0068:
{
WebConnection_Close_m1464903054(__this, (bool)1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_15 = V_0;
if (!L_15)
{
goto IL_0082;
}
}
{
HttpWebRequest_t1669436515 * L_16 = V_0;
NullCheck(L_16);
HttpWebRequest_set_FinishedReading_m2455679796(L_16, (bool)1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_17 = V_0;
int32_t L_18 = ___st0;
Exception_t * L_19 = ___e1;
String_t* L_20 = ___where2;
NullCheck(L_17);
HttpWebRequest_SetResponseError_m4064263808(L_17, L_18, L_19, L_20, /*hidden argument*/NULL);
}
IL_0082:
{
return;
}
}
// System.Void System.Net.WebConnection::ReadDone(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_ReadDone_m4265791416 (WebConnection_t3982808322 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_ReadDone_m4265791416_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_ReadDone_m4265791416_RuntimeMethod_var);
WebConnectionData_t3835660455 * V_0 = NULL;
Stream_t1273022909 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
WebConnectionStream_t2170064850 * V_4 = NULL;
bool V_5 = false;
String_t* V_6 = NULL;
Exception_t * V_7 = NULL;
Exception_t * V_8 = NULL;
int32_t V_9 = 0;
ByteU5BU5D_t4116647657* V_10 = NULL;
Exception_t * V_11 = NULL;
Exception_t * V_12 = NULL;
Exception_t * V_13 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
int32_t G_B25_0 = 0;
WebConnection_t3982808322 * G_B30_0 = NULL;
WebConnection_t3982808322 * G_B29_0 = NULL;
int32_t G_B31_0 = 0;
WebConnection_t3982808322 * G_B31_1 = NULL;
{
WebConnectionData_t3835660455 * L_0 = __this->get_Data_10();
V_0 = L_0;
Stream_t1273022909 * L_1 = __this->get_nstream_1();
V_1 = L_1;
Stream_t1273022909 * L_2 = V_1;
if (L_2)
{
goto IL_0019;
}
}
{
WebConnection_Close_m1464903054(__this, (bool)1, /*hidden argument*/NULL);
return;
}
IL_0019:
{
V_2 = (-1);
}
IL_001b:
try
{ // begin try (depth: 1)
Stream_t1273022909 * L_3 = V_1;
RuntimeObject* L_4 = ___result0;
NullCheck(L_3);
int32_t L_5 = VirtFuncInvoker1< int32_t, RuntimeObject* >::Invoke(19 /* System.Int32 System.IO.Stream::EndRead(System.IAsyncResult) */, L_3, L_4);
V_2 = L_5;
goto IL_0053;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0025;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_002b;
throw e;
}
CATCH_0025:
{ // begin catch(System.ObjectDisposedException)
goto IL_0259;
} // end catch (depth: 1)
CATCH_002b:
{ // begin catch(System.Exception)
{
V_7 = ((Exception_t *)__exception_local);
Exception_t * L_6 = V_7;
NullCheck(L_6);
Exception_t * L_7 = Exception_get_InnerException_m3836775(L_6, /*hidden argument*/NULL);
if (!((ObjectDisposedException_t21392786 *)IsInstClass((RuntimeObject*)L_7, ObjectDisposedException_t21392786_il2cpp_TypeInfo_var)))
{
goto IL_0040;
}
}
IL_003b:
{
goto IL_0259;
}
IL_0040:
{
Exception_t * L_8 = V_7;
WebConnection_HandleError_m738788885(__this, 3, L_8, _stringLiteral4192158119, /*hidden argument*/NULL);
goto IL_0259;
}
} // end catch (depth: 1)
IL_0053:
{
int32_t L_9 = V_2;
if (L_9)
{
goto IL_0064;
}
}
{
WebConnection_HandleError_m738788885(__this, 3, (Exception_t *)NULL, _stringLiteral4192158120, /*hidden argument*/NULL);
return;
}
IL_0064:
{
int32_t L_10 = V_2;
if ((((int32_t)L_10) >= ((int32_t)0)))
{
goto IL_0077;
}
}
{
WebConnection_HandleError_m738788885(__this, ((int32_t)11), (Exception_t *)NULL, _stringLiteral4192158121, /*hidden argument*/NULL);
return;
}
IL_0077:
{
V_3 = (-1);
int32_t L_11 = V_2;
int32_t L_12 = __this->get_position_15();
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12));
WebConnectionData_t3835660455 * L_13 = V_0;
NullCheck(L_13);
int32_t L_14 = WebConnectionData_get_ReadState_m4024752547(L_13, /*hidden argument*/NULL);
if (L_14)
{
goto IL_00bf;
}
}
{
V_8 = (Exception_t *)NULL;
}
IL_008d:
try
{ // begin try (depth: 1)
WebConnectionData_t3835660455 * L_15 = V_0;
ServicePoint_t2786966844 * L_16 = __this->get_sPoint_0();
ByteU5BU5D_t4116647657* L_17 = __this->get_buffer_7();
int32_t L_18 = V_2;
int32_t L_19 = WebConnection_GetResponse_m3731018748(NULL /*static, unused*/, L_15, L_16, L_17, L_18, /*hidden argument*/NULL);
V_3 = L_19;
goto IL_00a7;
} // 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_00a3;
throw e;
}
CATCH_00a3:
{ // begin catch(System.Exception)
V_8 = ((Exception_t *)__exception_local);
goto IL_00a7;
} // end catch (depth: 1)
IL_00a7:
{
Exception_t * L_20 = V_8;
if (L_20)
{
goto IL_00af;
}
}
{
int32_t L_21 = V_3;
if ((!(((uint32_t)L_21) == ((uint32_t)(-1)))))
{
goto IL_00bf;
}
}
IL_00af:
{
Exception_t * L_22 = V_8;
WebConnection_HandleError_m738788885(__this, ((int32_t)11), L_22, _stringLiteral4192158114, /*hidden argument*/NULL);
return;
}
IL_00bf:
{
WebConnectionData_t3835660455 * L_23 = V_0;
NullCheck(L_23);
int32_t L_24 = WebConnectionData_get_ReadState_m4024752547(L_23, /*hidden argument*/NULL);
if ((!(((uint32_t)L_24) == ((uint32_t)4))))
{
goto IL_00d6;
}
}
{
WebConnection_HandleError_m738788885(__this, 6, (Exception_t *)NULL, _stringLiteral722511849, /*hidden argument*/NULL);
return;
}
IL_00d6:
{
WebConnectionData_t3835660455 * L_25 = V_0;
NullCheck(L_25);
int32_t L_26 = WebConnectionData_get_ReadState_m4024752547(L_25, /*hidden argument*/NULL);
if ((((int32_t)L_26) == ((int32_t)3)))
{
goto IL_0130;
}
}
{
int32_t L_27 = V_2;
V_9 = ((int32_t)il2cpp_codegen_multiply((int32_t)L_27, (int32_t)2));
int32_t L_28 = V_9;
ByteU5BU5D_t4116647657* L_29 = __this->get_buffer_7();
NullCheck(L_29);
if ((((int32_t)L_28) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_29)->max_length)))))))
{
goto IL_00f4;
}
}
{
int32_t L_30 = V_9;
G_B25_0 = L_30;
goto IL_00fc;
}
IL_00f4:
{
ByteU5BU5D_t4116647657* L_31 = __this->get_buffer_7();
NullCheck(L_31);
G_B25_0 = (((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length))));
}
IL_00fc:
{
ByteU5BU5D_t4116647657* L_32 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)G_B25_0);
V_10 = L_32;
ByteU5BU5D_t4116647657* L_33 = __this->get_buffer_7();
ByteU5BU5D_t4116647657* L_34 = V_10;
int32_t L_35 = V_2;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_33, 0, (RuntimeArray *)(RuntimeArray *)L_34, 0, L_35, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_36 = V_10;
__this->set_buffer_7(L_36);
int32_t L_37 = V_2;
__this->set_position_15(L_37);
WebConnectionData_t3835660455 * L_38 = V_0;
NullCheck(L_38);
WebConnectionData_set_ReadState_m1219866531(L_38, 0, /*hidden argument*/NULL);
WebConnection_InitRead_m3547797554(__this, /*hidden argument*/NULL);
return;
}
IL_0130:
{
__this->set_position_15(0);
WebConnectionData_t3835660455 * L_39 = V_0;
WebConnectionStream_t2170064850 * L_40 = (WebConnectionStream_t2170064850 *)il2cpp_codegen_object_new(WebConnectionStream_t2170064850_il2cpp_TypeInfo_var);
WebConnectionStream__ctor_m3833248332(L_40, __this, L_39, /*hidden argument*/NULL);
V_4 = L_40;
WebConnectionData_t3835660455 * L_41 = V_0;
NullCheck(L_41);
int32_t L_42 = L_41->get_StatusCode_1();
WebConnectionData_t3835660455 * L_43 = V_0;
NullCheck(L_43);
HttpWebRequest_t1669436515 * L_44 = WebConnectionData_get_request_m2565424488(L_43, /*hidden argument*/NULL);
NullCheck(L_44);
String_t* L_45 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Net.WebRequest::get_Method() */, L_44);
bool L_46 = WebConnection_ExpectContent_m3637777693(NULL /*static, unused*/, L_42, L_45, /*hidden argument*/NULL);
V_5 = L_46;
V_6 = (String_t*)NULL;
bool L_47 = V_5;
if (!L_47)
{
goto IL_0171;
}
}
{
WebConnectionData_t3835660455 * L_48 = V_0;
NullCheck(L_48);
WebHeaderCollection_t1942268960 * L_49 = L_48->get_Headers_3();
NullCheck(L_49);
String_t* L_50 = NameValueCollection_get_Item_m3979995533(L_49, _stringLiteral3911150437, /*hidden argument*/NULL);
V_6 = L_50;
}
IL_0171:
{
String_t* L_51 = V_6;
G_B29_0 = __this;
if (!L_51)
{
G_B30_0 = __this;
goto IL_018b;
}
}
{
String_t* L_52 = V_6;
NullCheck(L_52);
int32_t L_53 = String_IndexOf_m1298810678(L_52, _stringLiteral1492806893, 5, /*hidden argument*/NULL);
G_B31_0 = ((((int32_t)((((int32_t)L_53) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
G_B31_1 = G_B29_0;
goto IL_018c;
}
IL_018b:
{
G_B31_0 = 0;
G_B31_1 = G_B30_0;
}
IL_018c:
{
NullCheck(G_B31_1);
G_B31_1->set_chunkedRead_11((bool)G_B31_0);
bool L_54 = __this->get_chunkedRead_11();
if (L_54)
{
goto IL_01d1;
}
}
{
WebConnectionStream_t2170064850 * L_55 = V_4;
ByteU5BU5D_t4116647657* L_56 = __this->get_buffer_7();
NullCheck(L_55);
WebConnectionStream_set_ReadBuffer_m2380223665(L_55, L_56, /*hidden argument*/NULL);
WebConnectionStream_t2170064850 * L_57 = V_4;
int32_t L_58 = V_3;
NullCheck(L_57);
WebConnectionStream_set_ReadBufferOffset_m2243374622(L_57, L_58, /*hidden argument*/NULL);
WebConnectionStream_t2170064850 * L_59 = V_4;
int32_t L_60 = V_2;
NullCheck(L_59);
WebConnectionStream_set_ReadBufferSize_m3389230(L_59, L_60, /*hidden argument*/NULL);
}
IL_01b6:
try
{ // begin try (depth: 1)
WebConnectionStream_t2170064850 * L_61 = V_4;
NullCheck(L_61);
WebConnectionStream_CheckResponseInBuffer_m3201279978(L_61, /*hidden argument*/NULL);
goto IL_023a;
} // 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_01bf;
throw e;
}
CATCH_01bf:
{ // begin catch(System.Exception)
V_11 = ((Exception_t *)__exception_local);
Exception_t * L_62 = V_11;
WebConnection_HandleError_m738788885(__this, 3, L_62, _stringLiteral4192158117, /*hidden argument*/NULL);
goto IL_023a;
} // end catch (depth: 1)
IL_01d1:
{
MonoChunkStream_t2034754733 * L_63 = __this->get_chunkStream_12();
if (L_63)
{
goto IL_0207;
}
}
IL_01d9:
try
{ // begin try (depth: 1)
ByteU5BU5D_t4116647657* L_64 = __this->get_buffer_7();
int32_t L_65 = V_3;
int32_t L_66 = V_2;
WebConnectionData_t3835660455 * L_67 = V_0;
NullCheck(L_67);
WebHeaderCollection_t1942268960 * L_68 = L_67->get_Headers_3();
MonoChunkStream_t2034754733 * L_69 = (MonoChunkStream_t2034754733 *)il2cpp_codegen_object_new(MonoChunkStream_t2034754733_il2cpp_TypeInfo_var);
MonoChunkStream__ctor_m2491428210(L_69, L_64, L_65, L_66, L_68, /*hidden argument*/NULL);
__this->set_chunkStream_12(L_69);
goto IL_023a;
} // 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_01f4;
throw e;
}
CATCH_01f4:
{ // begin catch(System.Exception)
V_12 = ((Exception_t *)__exception_local);
Exception_t * L_70 = V_12;
WebConnection_HandleError_m738788885(__this, ((int32_t)11), L_70, _stringLiteral4192158115, /*hidden argument*/NULL);
goto IL_0259;
} // end catch (depth: 1)
IL_0207:
{
MonoChunkStream_t2034754733 * L_71 = __this->get_chunkStream_12();
NullCheck(L_71);
MonoChunkStream_ResetBuffer_m3146850297(L_71, /*hidden argument*/NULL);
}
IL_0212:
try
{ // begin try (depth: 1)
MonoChunkStream_t2034754733 * L_72 = __this->get_chunkStream_12();
ByteU5BU5D_t4116647657* L_73 = __this->get_buffer_7();
int32_t L_74 = V_3;
int32_t L_75 = V_2;
NullCheck(L_72);
MonoChunkStream_Write_m3040529004(L_72, L_73, L_74, L_75, /*hidden argument*/NULL);
goto IL_023a;
} // 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_0227;
throw e;
}
CATCH_0227:
{ // begin catch(System.Exception)
V_13 = ((Exception_t *)__exception_local);
Exception_t * L_76 = V_13;
WebConnection_HandleError_m738788885(__this, ((int32_t)11), L_76, _stringLiteral4192158116, /*hidden argument*/NULL);
goto IL_0259;
} // end catch (depth: 1)
IL_023a:
{
WebConnectionData_t3835660455 * L_77 = V_0;
WebConnectionStream_t2170064850 * L_78 = V_4;
NullCheck(L_77);
L_77->set_stream_6(L_78);
bool L_79 = V_5;
if (L_79)
{
goto IL_024d;
}
}
{
WebConnectionStream_t2170064850 * L_80 = V_4;
NullCheck(L_80);
WebConnectionStream_ForceCompletion_m543651373(L_80, /*hidden argument*/NULL);
}
IL_024d:
{
WebConnectionData_t3835660455 * L_81 = V_0;
NullCheck(L_81);
HttpWebRequest_t1669436515 * L_82 = WebConnectionData_get_request_m2565424488(L_81, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_83 = V_0;
NullCheck(L_82);
HttpWebRequest_SetResponseData_m1747650150(L_82, L_83, /*hidden argument*/NULL);
}
IL_0259:
{
return;
}
}
// System.Boolean System.Net.WebConnection::ExpectContent(System.Int32,System.String)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_ExpectContent_m3637777693 (RuntimeObject * __this /* static, unused */, int32_t ___statusCode0, String_t* ___method1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_ExpectContent_m3637777693_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_ExpectContent_m3637777693_RuntimeMethod_var);
{
String_t* L_0 = ___method1;
bool L_1 = String_op_Equality_m920492651(NULL /*static, unused*/, L_0, _stringLiteral831347629, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000f;
}
}
{
return (bool)0;
}
IL_000f:
{
int32_t L_2 = ___statusCode0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)200))))
{
goto IL_002b;
}
}
{
int32_t L_3 = ___statusCode0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)204))))
{
goto IL_002b;
}
}
{
int32_t L_4 = ___statusCode0;
return (bool)((((int32_t)((((int32_t)L_4) == ((int32_t)((int32_t)304)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_002b:
{
return (bool)0;
}
}
// System.Void System.Net.WebConnection::InitRead()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_InitRead_m3547797554 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_InitRead_m3547797554_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_InitRead_m3547797554_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
int32_t V_1 = 0;
Exception_t * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
Stream_t1273022909 * L_0 = __this->get_nstream_1();
V_0 = L_0;
}
IL_0007:
try
{ // begin try (depth: 1)
ByteU5BU5D_t4116647657* L_1 = __this->get_buffer_7();
NullCheck(L_1);
int32_t L_2 = __this->get_position_15();
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))), (int32_t)L_2));
Stream_t1273022909 * L_3 = V_0;
ByteU5BU5D_t4116647657* L_4 = __this->get_buffer_7();
int32_t L_5 = __this->get_position_15();
int32_t L_6 = V_1;
intptr_t L_7 = (intptr_t)WebConnection_ReadDone_m4265791416_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_8 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_8, __this, L_7, /*hidden argument*/NULL);
NullCheck(L_3);
VirtFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(18 /* System.IAsyncResult System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, L_3, L_4, L_5, L_6, L_8, NULL);
goto IL_004a;
} // 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_003a;
throw e;
}
CATCH_003a:
{ // begin catch(System.Exception)
V_2 = ((Exception_t *)__exception_local);
Exception_t * L_9 = V_2;
WebConnection_HandleError_m738788885(__this, 3, L_9, _stringLiteral2419126351, /*hidden argument*/NULL);
goto IL_004a;
} // end catch (depth: 1)
IL_004a:
{
return;
}
}
// System.Int32 System.Net.WebConnection::GetResponse(System.Net.WebConnectionData,System.Net.ServicePoint,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_GetResponse_m3731018748 (RuntimeObject * __this /* static, unused */, WebConnectionData_t3835660455 * ___data0, ServicePoint_t2786966844 * ___sPoint1, ByteU5BU5D_t4116647657* ___buffer2, int32_t ___max3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_GetResponse_m3731018748_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_GetResponse_m3731018748_RuntimeMethod_var);
int32_t V_0 = 0;
String_t* V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
StringU5BU5D_t1281789340* V_4 = NULL;
ArrayList_t2718874744 * V_5 = NULL;
bool V_6 = false;
int32_t V_7 = 0;
String_t* V_8 = NULL;
RuntimeObject* V_9 = NULL;
int32_t V_10 = 0;
String_t* V_11 = NULL;
String_t* V_12 = NULL;
WebHeaderCollection_t1942268960 * V_13 = NULL;
RuntimeObject* V_14 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
String_t* G_B36_0 = NULL;
String_t* G_B35_0 = NULL;
{
V_0 = 0;
V_1 = (String_t*)NULL;
V_2 = (bool)0;
V_3 = (bool)0;
}
IL_0008:
{
WebConnectionData_t3835660455 * L_0 = ___data0;
NullCheck(L_0);
int32_t L_1 = WebConnectionData_get_ReadState_m4024752547(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
{
goto IL_0013;
}
}
{
return (-1);
}
IL_0013:
{
WebConnectionData_t3835660455 * L_2 = ___data0;
NullCheck(L_2);
int32_t L_3 = WebConnectionData_get_ReadState_m4024752547(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_00dd;
}
}
{
ByteU5BU5D_t4116647657* L_4 = ___buffer2;
int32_t L_5 = ___max3;
bool L_6 = WebConnection_ReadLine_m1318917240(NULL /*static, unused*/, L_4, (int32_t*)(&V_0), L_5, (String_t**)(&V_1), /*hidden argument*/NULL);
if (L_6)
{
goto IL_002d;
}
}
{
return 0;
}
IL_002d:
{
String_t* L_7 = V_1;
if (L_7)
{
goto IL_0037;
}
}
{
V_3 = (bool)1;
goto IL_0278;
}
IL_0037:
{
V_3 = (bool)0;
WebConnectionData_t3835660455 * L_8 = ___data0;
NullCheck(L_8);
WebConnectionData_set_ReadState_m1219866531(L_8, 1, /*hidden argument*/NULL);
String_t* L_9 = V_1;
CharU5BU5D_t3528271667* L_10 = (CharU5BU5D_t3528271667*)SZArrayNew(CharU5BU5D_t3528271667_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t3528271667* L_11 = L_10;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)32));
NullCheck(L_9);
StringU5BU5D_t1281789340* L_12 = String_Split_m3646115398(L_9, L_11, /*hidden argument*/NULL);
V_4 = L_12;
StringU5BU5D_t1281789340* L_13 = V_4;
NullCheck(L_13);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length))))) >= ((int32_t)2)))
{
goto IL_005c;
}
}
{
return (-1);
}
IL_005c:
{
StringU5BU5D_t1281789340* L_14 = V_4;
NullCheck(L_14);
int32_t L_15 = 0;
String_t* L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
int32_t L_17 = String_Compare_m1071830722(NULL /*static, unused*/, L_16, _stringLiteral1394625933, (bool)1, /*hidden argument*/NULL);
if (L_17)
{
goto IL_0085;
}
}
{
WebConnectionData_t3835660455 * L_18 = ___data0;
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_19 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
NullCheck(L_18);
L_18->set_Version_4(L_19);
ServicePoint_t2786966844 * L_20 = ___sPoint1;
Version_t3456873960 * L_21 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
NullCheck(L_20);
ServicePoint_SetVersion_m218713483(L_20, L_21, /*hidden argument*/NULL);
goto IL_009b;
}
IL_0085:
{
WebConnectionData_t3835660455 * L_22 = ___data0;
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_23 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version10_0();
NullCheck(L_22);
L_22->set_Version_4(L_23);
ServicePoint_t2786966844 * L_24 = ___sPoint1;
Version_t3456873960 * L_25 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version10_0();
NullCheck(L_24);
ServicePoint_SetVersion_m218713483(L_24, L_25, /*hidden argument*/NULL);
}
IL_009b:
{
WebConnectionData_t3835660455 * L_26 = ___data0;
StringU5BU5D_t1281789340* L_27 = V_4;
NullCheck(L_27);
int32_t L_28 = 1;
String_t* L_29 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
uint32_t L_30 = UInt32_Parse_m3270868885(NULL /*static, unused*/, L_29, /*hidden argument*/NULL);
NullCheck(L_26);
L_26->set_StatusCode_1(L_30);
StringU5BU5D_t1281789340* L_31 = V_4;
NullCheck(L_31);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length))))) < ((int32_t)3)))
{
goto IL_00cc;
}
}
{
WebConnectionData_t3835660455 * L_32 = ___data0;
StringU5BU5D_t1281789340* L_33 = V_4;
StringU5BU5D_t1281789340* L_34 = V_4;
NullCheck(L_34);
String_t* L_35 = String_Join_m29736248(NULL /*static, unused*/, _stringLiteral3452614528, L_33, 2, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_34)->max_length)))), (int32_t)2)), /*hidden argument*/NULL);
NullCheck(L_32);
L_32->set_StatusDescription_2(L_35);
goto IL_00d7;
}
IL_00cc:
{
WebConnectionData_t3835660455 * L_36 = ___data0;
NullCheck(L_36);
L_36->set_StatusDescription_2(_stringLiteral757602046);
}
IL_00d7:
{
int32_t L_37 = V_0;
int32_t L_38 = ___max3;
if ((((int32_t)L_37) < ((int32_t)L_38)))
{
goto IL_00dd;
}
}
{
int32_t L_39 = V_0;
return L_39;
}
IL_00dd:
{
V_3 = (bool)0;
WebConnectionData_t3835660455 * L_40 = ___data0;
NullCheck(L_40);
int32_t L_41 = WebConnectionData_get_ReadState_m4024752547(L_40, /*hidden argument*/NULL);
if ((!(((uint32_t)L_41) == ((uint32_t)1))))
{
goto IL_0278;
}
}
{
WebConnectionData_t3835660455 * L_42 = ___data0;
NullCheck(L_42);
WebConnectionData_set_ReadState_m1219866531(L_42, 2, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_43 = ___data0;
WebHeaderCollection_t1942268960 * L_44 = (WebHeaderCollection_t1942268960 *)il2cpp_codegen_object_new(WebHeaderCollection_t1942268960_il2cpp_TypeInfo_var);
WebHeaderCollection__ctor_m896654210(L_44, /*hidden argument*/NULL);
NullCheck(L_43);
L_43->set_Headers_3(L_44);
ArrayList_t2718874744 * L_45 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_45, /*hidden argument*/NULL);
V_5 = L_45;
V_6 = (bool)0;
goto IL_0179;
}
IL_0109:
{
ByteU5BU5D_t4116647657* L_46 = ___buffer2;
int32_t L_47 = ___max3;
bool L_48 = WebConnection_ReadLine_m1318917240(NULL /*static, unused*/, L_46, (int32_t*)(&V_0), L_47, (String_t**)(&V_1), /*hidden argument*/NULL);
if (!L_48)
{
goto IL_017d;
}
}
{
String_t* L_49 = V_1;
if (L_49)
{
goto IL_011e;
}
}
{
V_6 = (bool)1;
goto IL_0179;
}
IL_011e:
{
String_t* L_50 = V_1;
NullCheck(L_50);
int32_t L_51 = String_get_Length_m3847582255(L_50, /*hidden argument*/NULL);
if ((((int32_t)L_51) <= ((int32_t)0)))
{
goto IL_0170;
}
}
{
String_t* L_52 = V_1;
NullCheck(L_52);
Il2CppChar L_53 = String_get_Chars_m2986988803(L_52, 0, /*hidden argument*/NULL);
if ((((int32_t)L_53) == ((int32_t)((int32_t)32))))
{
goto IL_013d;
}
}
{
String_t* L_54 = V_1;
NullCheck(L_54);
Il2CppChar L_55 = String_get_Chars_m2986988803(L_54, 0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_55) == ((uint32_t)((int32_t)9)))))
{
goto IL_0170;
}
}
IL_013d:
{
ArrayList_t2718874744 * L_56 = V_5;
NullCheck(L_56);
int32_t L_57 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_56);
V_7 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_57, (int32_t)1));
int32_t L_58 = V_7;
if ((((int32_t)L_58) < ((int32_t)0)))
{
goto IL_017d;
}
}
{
ArrayList_t2718874744 * L_59 = V_5;
int32_t L_60 = V_7;
NullCheck(L_59);
RuntimeObject * L_61 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_59, L_60);
String_t* L_62 = V_1;
String_t* L_63 = String_Concat_m3937257545(NULL /*static, unused*/, ((String_t*)CastclassSealed((RuntimeObject*)L_61, String_t_il2cpp_TypeInfo_var)), L_62, /*hidden argument*/NULL);
V_8 = L_63;
ArrayList_t2718874744 * L_64 = V_5;
int32_t L_65 = V_7;
String_t* L_66 = V_8;
NullCheck(L_64);
VirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(28 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_64, L_65, L_66);
goto IL_0179;
}
IL_0170:
{
ArrayList_t2718874744 * L_67 = V_5;
String_t* L_68 = V_1;
NullCheck(L_67);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(29 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_67, L_68);
}
IL_0179:
{
bool L_69 = V_6;
if (!L_69)
{
goto IL_0109;
}
}
IL_017d:
{
bool L_70 = V_6;
if (L_70)
{
goto IL_0183;
}
}
{
return 0;
}
IL_0183:
{
ArrayList_t2718874744 * L_71 = V_5;
NullCheck(L_71);
RuntimeObject* L_72 = VirtFuncInvoker0< RuntimeObject* >::Invoke(37 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_71);
V_9 = L_72;
}
IL_018c:
try
{ // begin try (depth: 1)
{
goto IL_01fd;
}
IL_018e:
{
RuntimeObject* L_73 = V_9;
NullCheck(L_73);
RuntimeObject * L_74 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_73);
String_t* L_75 = ((String_t*)CastclassSealed((RuntimeObject*)L_74, String_t_il2cpp_TypeInfo_var));
NullCheck(L_75);
int32_t L_76 = String_IndexOf_m363431711(L_75, ((int32_t)58), /*hidden argument*/NULL);
V_10 = L_76;
int32_t L_77 = V_10;
G_B35_0 = L_75;
if ((!(((uint32_t)L_77) == ((uint32_t)(-1)))))
{
G_B36_0 = L_75;
goto IL_01b9;
}
}
IL_01a9:
{
ArgumentException_t132251570 * L_78 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_78, _stringLiteral3093097083, _stringLiteral3529812190, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_78, NULL, WebConnection_GetResponse_m3731018748_RuntimeMethod_var);
}
IL_01b9:
{
String_t* L_79 = G_B36_0;
int32_t L_80 = V_10;
NullCheck(L_79);
String_t* L_81 = String_Substring_m1610150815(L_79, 0, L_80, /*hidden argument*/NULL);
V_11 = L_81;
int32_t L_82 = V_10;
NullCheck(L_79);
String_t* L_83 = String_Substring_m2848979100(L_79, ((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)1)), /*hidden argument*/NULL);
NullCheck(L_83);
String_t* L_84 = String_Trim_m923598732(L_83, /*hidden argument*/NULL);
V_12 = L_84;
WebConnectionData_t3835660455 * L_85 = ___data0;
NullCheck(L_85);
WebHeaderCollection_t1942268960 * L_86 = L_85->get_Headers_3();
V_13 = L_86;
String_t* L_87 = V_11;
IL2CPP_RUNTIME_CLASS_INIT(WebHeaderCollection_t1942268960_il2cpp_TypeInfo_var);
bool L_88 = WebHeaderCollection_AllowMultiValues_m3519361423(NULL /*static, unused*/, L_87, /*hidden argument*/NULL);
if (!L_88)
{
goto IL_01f2;
}
}
IL_01e5:
{
WebHeaderCollection_t1942268960 * L_89 = V_13;
String_t* L_90 = V_11;
String_t* L_91 = V_12;
NullCheck(L_89);
WebHeaderCollection_AddInternal_m3052165385(L_89, L_90, L_91, /*hidden argument*/NULL);
goto IL_01fd;
}
IL_01f2:
{
WebHeaderCollection_t1942268960 * L_92 = V_13;
String_t* L_93 = V_11;
String_t* L_94 = V_12;
NullCheck(L_92);
WebHeaderCollection_SetInternal_m126443775(L_92, L_93, L_94, /*hidden argument*/NULL);
}
IL_01fd:
{
RuntimeObject* L_95 = V_9;
NullCheck(L_95);
bool L_96 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_95);
if (L_96)
{
goto IL_018e;
}
}
IL_0206:
{
IL2CPP_LEAVE(0x21D, FINALLY_0208);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0208;
}
FINALLY_0208:
{ // begin finally (depth: 1)
{
RuntimeObject* L_97 = V_9;
V_14 = ((RuntimeObject*)IsInst((RuntimeObject*)L_97, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_98 = V_14;
if (!L_98)
{
goto IL_021c;
}
}
IL_0215:
{
RuntimeObject* L_99 = V_14;
NullCheck(L_99);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_99);
}
IL_021c:
{
IL2CPP_END_FINALLY(520)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(520)
{
IL2CPP_JUMP_TBL(0x21D, IL_021d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_021d:
{
WebConnectionData_t3835660455 * L_100 = ___data0;
NullCheck(L_100);
int32_t L_101 = L_100->get_StatusCode_1();
if ((!(((uint32_t)L_101) == ((uint32_t)((int32_t)100)))))
{
goto IL_026f;
}
}
{
ServicePoint_t2786966844 * L_102 = ___sPoint1;
NullCheck(L_102);
ServicePoint_set_SendContinue_m3004714502(L_102, (bool)1, /*hidden argument*/NULL);
int32_t L_103 = V_0;
int32_t L_104 = ___max3;
if ((((int32_t)L_103) < ((int32_t)L_104)))
{
goto IL_0234;
}
}
{
int32_t L_105 = V_0;
return L_105;
}
IL_0234:
{
WebConnectionData_t3835660455 * L_106 = ___data0;
NullCheck(L_106);
HttpWebRequest_t1669436515 * L_107 = WebConnectionData_get_request_m2565424488(L_106, /*hidden argument*/NULL);
NullCheck(L_107);
bool L_108 = HttpWebRequest_get_ExpectContinue_m1265660027(L_107, /*hidden argument*/NULL);
if (!L_108)
{
goto IL_0264;
}
}
{
WebConnectionData_t3835660455 * L_109 = ___data0;
NullCheck(L_109);
HttpWebRequest_t1669436515 * L_110 = WebConnectionData_get_request_m2565424488(L_109, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_111 = ___data0;
NullCheck(L_111);
int32_t L_112 = L_111->get_StatusCode_1();
WebConnectionData_t3835660455 * L_113 = ___data0;
NullCheck(L_113);
WebHeaderCollection_t1942268960 * L_114 = L_113->get_Headers_3();
NullCheck(L_110);
HttpWebRequest_DoContinueDelegate_m3383944917(L_110, L_112, L_114, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_115 = ___data0;
NullCheck(L_115);
HttpWebRequest_t1669436515 * L_116 = WebConnectionData_get_request_m2565424488(L_115, /*hidden argument*/NULL);
NullCheck(L_116);
HttpWebRequest_set_ExpectContinue_m494724185(L_116, (bool)0, /*hidden argument*/NULL);
}
IL_0264:
{
WebConnectionData_t3835660455 * L_117 = ___data0;
NullCheck(L_117);
WebConnectionData_set_ReadState_m1219866531(L_117, 0, /*hidden argument*/NULL);
V_2 = (bool)1;
goto IL_0278;
}
IL_026f:
{
WebConnectionData_t3835660455 * L_118 = ___data0;
NullCheck(L_118);
WebConnectionData_set_ReadState_m1219866531(L_118, 3, /*hidden argument*/NULL);
int32_t L_119 = V_0;
return L_119;
}
IL_0278:
{
bool L_120 = V_3;
bool L_121 = V_2;
if (((int32_t)((int32_t)L_120|(int32_t)L_121)))
{
goto IL_0008;
}
}
{
return (-1);
}
}
// System.Void System.Net.WebConnection::InitConnection(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_InitConnection_m1346209371 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_InitConnection_m1346209371_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_InitConnection_m1346209371_RuntimeMethod_var);
int32_t V_0 = 0;
Exception_t * V_1 = NULL;
HttpWebResponse_t3286585418 * V_2 = NULL;
String_t* G_B23_0 = NULL;
{
HttpWebRequest_t1669436515 * L_0 = ___request0;
NullCheck(L_0);
L_0->set_WebConnection_58(__this);
HttpWebRequest_t1669436515 * L_1 = ___request0;
NullCheck(L_1);
bool L_2 = HttpWebRequest_get_ReuseConnection_m3470145138(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0016;
}
}
{
HttpWebRequest_t1669436515 * L_3 = ___request0;
NullCheck(L_3);
L_3->set_StoredConnection_72(__this);
}
IL_0016:
{
HttpWebRequest_t1669436515 * L_4 = ___request0;
NullCheck(L_4);
bool L_5 = HttpWebRequest_get_Aborted_m1961501758(L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_001f;
}
}
{
return;
}
IL_001f:
{
HttpWebRequest_t1669436515 * L_6 = ___request0;
NullCheck(L_6);
bool L_7 = HttpWebRequest_get_KeepAlive_m125307640(L_6, /*hidden argument*/NULL);
__this->set_keepAlive_6(L_7);
HttpWebRequest_t1669436515 * L_8 = ___request0;
WebConnectionData_t3835660455 * L_9 = (WebConnectionData_t3835660455 *)il2cpp_codegen_object_new(WebConnectionData_t3835660455_il2cpp_TypeInfo_var);
WebConnectionData__ctor_m3924339920(L_9, L_8, /*hidden argument*/NULL);
__this->set_Data_10(L_9);
}
IL_0037:
{
HttpWebRequest_t1669436515 * L_10 = ___request0;
WebConnection_Connect_m2850066444(__this, L_10, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_11 = ___request0;
NullCheck(L_11);
bool L_12 = HttpWebRequest_get_Aborted_m1961501758(L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0047;
}
}
{
return;
}
IL_0047:
{
int32_t L_13 = __this->get_status_5();
if (!L_13)
{
goto IL_0071;
}
}
{
HttpWebRequest_t1669436515 * L_14 = ___request0;
NullCheck(L_14);
bool L_15 = HttpWebRequest_get_Aborted_m1961501758(L_14, /*hidden argument*/NULL);
if (L_15)
{
goto IL_0070;
}
}
{
HttpWebRequest_t1669436515 * L_16 = ___request0;
int32_t L_17 = __this->get_status_5();
Exception_t * L_18 = __this->get_connect_exception_22();
NullCheck(L_16);
HttpWebRequest_SetWriteStreamError_m336408989(L_16, L_17, L_18, /*hidden argument*/NULL);
WebConnection_Close_m1464903054(__this, (bool)1, /*hidden argument*/NULL);
}
IL_0070:
{
return;
}
IL_0071:
{
HttpWebRequest_t1669436515 * L_19 = ___request0;
bool L_20 = WebConnection_CreateStream_m3387195587(__this, L_19, /*hidden argument*/NULL);
if (L_20)
{
goto IL_0145;
}
}
{
HttpWebRequest_t1669436515 * L_21 = ___request0;
NullCheck(L_21);
bool L_22 = HttpWebRequest_get_Aborted_m1961501758(L_21, /*hidden argument*/NULL);
if (!L_22)
{
goto IL_0086;
}
}
{
return;
}
IL_0086:
{
int32_t L_23 = __this->get_status_5();
V_0 = L_23;
WebConnectionData_t3835660455 * L_24 = __this->get_Data_10();
NullCheck(L_24);
StringU5BU5D_t1281789340* L_25 = L_24->get_Challenge_7();
if (L_25)
{
goto IL_0037;
}
}
{
Exception_t * L_26 = __this->get_connect_exception_22();
V_1 = L_26;
Exception_t * L_27 = V_1;
if (L_27)
{
goto IL_012e;
}
}
{
WebConnectionData_t3835660455 * L_28 = __this->get_Data_10();
NullCheck(L_28);
int32_t L_29 = L_28->get_StatusCode_1();
if ((((int32_t)L_29) == ((int32_t)((int32_t)401))))
{
goto IL_00cb;
}
}
{
WebConnectionData_t3835660455 * L_30 = __this->get_Data_10();
NullCheck(L_30);
int32_t L_31 = L_30->get_StatusCode_1();
if ((!(((uint32_t)L_31) == ((uint32_t)((int32_t)407)))))
{
goto IL_012e;
}
}
IL_00cb:
{
V_0 = 7;
WebConnectionData_t3835660455 * L_32 = __this->get_Data_10();
NullCheck(L_32);
WebHeaderCollection_t1942268960 * L_33 = L_32->get_Headers_3();
if (L_33)
{
goto IL_00ea;
}
}
{
WebConnectionData_t3835660455 * L_34 = __this->get_Data_10();
WebHeaderCollection_t1942268960 * L_35 = (WebHeaderCollection_t1942268960 *)il2cpp_codegen_object_new(WebHeaderCollection_t1942268960_il2cpp_TypeInfo_var);
WebHeaderCollection__ctor_m896654210(L_35, /*hidden argument*/NULL);
NullCheck(L_34);
L_34->set_Headers_3(L_35);
}
IL_00ea:
{
ServicePoint_t2786966844 * L_36 = __this->get_sPoint_0();
NullCheck(L_36);
Uri_t100236324 * L_37 = ServicePoint_get_Address_m4189969258(L_36, /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_38 = __this->get_Data_10();
HttpWebResponse_t3286585418 * L_39 = (HttpWebResponse_t3286585418 *)il2cpp_codegen_object_new(HttpWebResponse_t3286585418_il2cpp_TypeInfo_var);
HttpWebResponse__ctor_m470181940(L_39, L_37, _stringLiteral110397590, L_38, (CookieContainer_t2331592909 *)NULL, /*hidden argument*/NULL);
V_2 = L_39;
WebConnectionData_t3835660455 * L_40 = __this->get_Data_10();
NullCheck(L_40);
int32_t L_41 = L_40->get_StatusCode_1();
if ((((int32_t)L_41) == ((int32_t)((int32_t)407))))
{
goto IL_0120;
}
}
{
G_B23_0 = _stringLiteral2030688321;
goto IL_0125;
}
IL_0120:
{
G_B23_0 = _stringLiteral523355159;
}
IL_0125:
{
int32_t L_42 = V_0;
HttpWebResponse_t3286585418 * L_43 = V_2;
WebException_t3237156354 * L_44 = (WebException_t3237156354 *)il2cpp_codegen_object_new(WebException_t3237156354_il2cpp_TypeInfo_var);
WebException__ctor_m2761056832(L_44, G_B23_0, (Exception_t *)NULL, L_42, L_43, /*hidden argument*/NULL);
V_1 = L_44;
}
IL_012e:
{
__this->set_connect_exception_22((Exception_t *)NULL);
HttpWebRequest_t1669436515 * L_45 = ___request0;
int32_t L_46 = V_0;
Exception_t * L_47 = V_1;
NullCheck(L_45);
HttpWebRequest_SetWriteStreamError_m336408989(L_45, L_46, L_47, /*hidden argument*/NULL);
WebConnection_Close_m1464903054(__this, (bool)1, /*hidden argument*/NULL);
return;
}
IL_0145:
{
HttpWebRequest_t1669436515 * L_48 = ___request0;
HttpWebRequest_t1669436515 * L_49 = ___request0;
WebConnectionStream_t2170064850 * L_50 = (WebConnectionStream_t2170064850 *)il2cpp_codegen_object_new(WebConnectionStream_t2170064850_il2cpp_TypeInfo_var);
WebConnectionStream__ctor_m1091771122(L_50, __this, L_49, /*hidden argument*/NULL);
NullCheck(L_48);
HttpWebRequest_SetWriteStream_m2739138088(L_48, L_50, /*hidden argument*/NULL);
return;
}
}
// System.EventHandler System.Net.WebConnection::SendRequest(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR EventHandler_t1348719766 * WebConnection_SendRequest_m4284869211 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_SendRequest_m4284869211_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_SendRequest_m4284869211_RuntimeMethod_var);
WebConnection_t3982808322 * V_0 = NULL;
bool V_1 = false;
Queue_t3637523393 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
HttpWebRequest_t1669436515 * L_0 = ___request0;
NullCheck(L_0);
bool L_1 = HttpWebRequest_get_Aborted_m1961501758(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
return (EventHandler_t1348719766 *)NULL;
}
IL_000a:
{
V_0 = __this;
V_1 = (bool)0;
}
IL_000e:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_2 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_2, (bool*)(&V_1), /*hidden argument*/NULL);
RuntimeObject* L_3 = __this->get_state_4();
NullCheck(L_3);
bool L_4 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Net.IWebConnectionState::TrySetBusy() */, IWebConnectionState_t1223684576_il2cpp_TypeInfo_var, L_3);
if (!L_4)
{
goto IL_003f;
}
}
IL_0023:
{
__this->set_status_5(0);
intptr_t L_5 = (intptr_t)WebConnection_U3CSendRequestU3Eb__41_0_m3242074501_RuntimeMethod_var;
WaitCallback_t2448485498 * L_6 = (WaitCallback_t2448485498 *)il2cpp_codegen_object_new(WaitCallback_t2448485498_il2cpp_TypeInfo_var);
WaitCallback__ctor_m1893321019(L_6, __this, L_5, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_7 = ___request0;
ThreadPool_QueueUserWorkItem_m1526970260(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x72, FINALLY_0068);
}
IL_003f:
{
Queue_t3637523393 * L_8 = __this->get_queue_13();
V_2 = L_8;
V_3 = (bool)0;
}
IL_0048:
try
{ // begin try (depth: 2)
Queue_t3637523393 * L_9 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_9, (bool*)(&V_3), /*hidden argument*/NULL);
Queue_t3637523393 * L_10 = __this->get_queue_13();
HttpWebRequest_t1669436515 * L_11 = ___request0;
NullCheck(L_10);
VirtActionInvoker1< RuntimeObject * >::Invoke(16 /* System.Void System.Collections.Queue::Enqueue(System.Object) */, L_10, L_11);
IL2CPP_LEAVE(0x72, FINALLY_005e);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005e;
}
FINALLY_005e:
{ // begin finally (depth: 2)
{
bool L_12 = V_3;
if (!L_12)
{
goto IL_0067;
}
}
IL_0061:
{
Queue_t3637523393 * L_13 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
}
IL_0067:
{
IL2CPP_END_FINALLY(94)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(94)
{
IL2CPP_END_CLEANUP(0x72, FINALLY_0068);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0068;
}
FINALLY_0068:
{ // begin finally (depth: 1)
{
bool L_14 = V_1;
if (!L_14)
{
goto IL_0071;
}
}
IL_006b:
{
WebConnection_t3982808322 * L_15 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
}
IL_0071:
{
IL2CPP_END_FINALLY(104)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(104)
{
IL2CPP_JUMP_TBL(0x72, IL_0072)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0072:
{
EventHandler_t1348719766 * L_16 = __this->get_abortHandler_8();
return L_16;
}
}
// System.Void System.Net.WebConnection::SendNext()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_SendNext_m1567013439 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_SendNext_m1567013439_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_SendNext_m1567013439_RuntimeMethod_var);
Queue_t3637523393 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
Queue_t3637523393 * L_0 = __this->get_queue_13();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0009:
try
{ // begin try (depth: 1)
{
Queue_t3637523393 * L_1 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_1), /*hidden argument*/NULL);
Queue_t3637523393 * L_2 = __this->get_queue_13();
NullCheck(L_2);
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Queue::get_Count() */, L_2);
if ((((int32_t)L_3) <= ((int32_t)0)))
{
goto IL_0036;
}
}
IL_001f:
{
Queue_t3637523393 * L_4 = __this->get_queue_13();
NullCheck(L_4);
RuntimeObject * L_5 = VirtFuncInvoker0< RuntimeObject * >::Invoke(18 /* System.Object System.Collections.Queue::Dequeue() */, L_4);
WebConnection_SendRequest_m4284869211(__this, ((HttpWebRequest_t1669436515 *)CastclassClass((RuntimeObject*)L_5, HttpWebRequest_t1669436515_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_0036:
{
IL2CPP_LEAVE(0x42, FINALLY_0038);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0038;
}
FINALLY_0038:
{ // begin finally (depth: 1)
{
bool L_6 = V_1;
if (!L_6)
{
goto IL_0041;
}
}
IL_003b:
{
Queue_t3637523393 * L_7 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
}
IL_0041:
{
IL2CPP_END_FINALLY(56)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(56)
{
IL2CPP_JUMP_TBL(0x42, IL_0042)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0042:
{
return;
}
}
// System.Void System.Net.WebConnection::NextRead()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_NextRead_m3275930655 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_NextRead_m3275930655_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_NextRead_m3275930655_RuntimeMethod_var);
WebConnection_t3982808322 * V_0 = NULL;
bool V_1 = false;
String_t* V_2 = NULL;
String_t* V_3 = NULL;
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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
String_t* G_B6_0 = NULL;
String_t* G_B9_0 = NULL;
int32_t G_B12_0 = 0;
int32_t G_B19_0 = 0;
{
V_0 = __this;
V_1 = (bool)0;
}
IL_0004:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_1), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_1 = __this->get_Data_10();
NullCheck(L_1);
HttpWebRequest_t1669436515 * L_2 = WebConnectionData_get_request_m2565424488(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002a;
}
}
IL_0019:
{
WebConnectionData_t3835660455 * L_3 = __this->get_Data_10();
NullCheck(L_3);
HttpWebRequest_t1669436515 * L_4 = WebConnectionData_get_request_m2565424488(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
HttpWebRequest_set_FinishedReading_m2455679796(L_4, (bool)1, /*hidden argument*/NULL);
}
IL_002a:
{
ServicePoint_t2786966844 * L_5 = __this->get_sPoint_0();
NullCheck(L_5);
bool L_6 = ServicePoint_get_UsesProxy_m174711556(L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_003e;
}
}
IL_0037:
{
G_B6_0 = _stringLiteral2744925370;
goto IL_0043;
}
IL_003e:
{
G_B6_0 = _stringLiteral1113504260;
}
IL_0043:
{
V_2 = G_B6_0;
WebConnectionData_t3835660455 * L_7 = __this->get_Data_10();
NullCheck(L_7);
WebHeaderCollection_t1942268960 * L_8 = L_7->get_Headers_3();
if (L_8)
{
goto IL_0054;
}
}
IL_0051:
{
G_B9_0 = ((String_t*)(NULL));
goto IL_0065;
}
IL_0054:
{
WebConnectionData_t3835660455 * L_9 = __this->get_Data_10();
NullCheck(L_9);
WebHeaderCollection_t1942268960 * L_10 = L_9->get_Headers_3();
String_t* L_11 = V_2;
NullCheck(L_10);
String_t* L_12 = NameValueCollection_get_Item_m3979995533(L_10, L_11, /*hidden argument*/NULL);
G_B9_0 = L_12;
}
IL_0065:
{
V_3 = G_B9_0;
WebConnectionData_t3835660455 * L_13 = __this->get_Data_10();
NullCheck(L_13);
Version_t3456873960 * L_14 = L_13->get_Version_4();
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_15 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_16 = Version_op_Equality_m3804852517(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_0085;
}
}
IL_007d:
{
bool L_17 = __this->get_keepAlive_6();
G_B12_0 = ((int32_t)(L_17));
goto IL_0086;
}
IL_0085:
{
G_B12_0 = 0;
}
IL_0086:
{
V_4 = (bool)G_B12_0;
WebConnectionData_t3835660455 * L_18 = __this->get_Data_10();
NullCheck(L_18);
Version_t3456873960 * L_19 = L_18->get_ProxyVersion_5();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_20 = Version_op_Inequality_m1696193441(NULL /*static, unused*/, L_19, (Version_t3456873960 *)NULL, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00b5;
}
}
IL_009b:
{
WebConnectionData_t3835660455 * L_21 = __this->get_Data_10();
NullCheck(L_21);
Version_t3456873960 * L_22 = L_21->get_ProxyVersion_5();
IL2CPP_RUNTIME_CLASS_INIT(HttpVersion_t346520293_il2cpp_TypeInfo_var);
Version_t3456873960 * L_23 = ((HttpVersion_t346520293_StaticFields*)il2cpp_codegen_static_fields_for(HttpVersion_t346520293_il2cpp_TypeInfo_var))->get_Version11_1();
IL2CPP_RUNTIME_CLASS_INIT(Version_t3456873960_il2cpp_TypeInfo_var);
bool L_24 = Version_op_Inequality_m1696193441(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_00b5;
}
}
IL_00b2:
{
V_4 = (bool)0;
}
IL_00b5:
{
String_t* L_25 = V_3;
if (!L_25)
{
goto IL_00de;
}
}
IL_00b8:
{
String_t* L_26 = V_3;
NullCheck(L_26);
String_t* L_27 = String_ToLower_m2029374922(L_26, /*hidden argument*/NULL);
V_3 = L_27;
bool L_28 = __this->get_keepAlive_6();
if (!L_28)
{
goto IL_00db;
}
}
IL_00c7:
{
String_t* L_29 = V_3;
NullCheck(L_29);
int32_t L_30 = String_IndexOf_m1298810678(L_29, _stringLiteral122745998, 4, /*hidden argument*/NULL);
G_B19_0 = ((((int32_t)((((int32_t)L_30) == ((int32_t)(-1)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_00dc;
}
IL_00db:
{
G_B19_0 = 0;
}
IL_00dc:
{
V_4 = (bool)G_B19_0;
}
IL_00de:
{
Socket_t1119025450 * L_31 = __this->get_socket_2();
if (!L_31)
{
goto IL_00f3;
}
}
IL_00e6:
{
Socket_t1119025450 * L_32 = __this->get_socket_2();
NullCheck(L_32);
bool L_33 = Socket_get_Connected_m2875145796(L_32, /*hidden argument*/NULL);
if (!L_33)
{
goto IL_0109;
}
}
IL_00f3:
{
bool L_34 = V_4;
if (!L_34)
{
goto IL_0109;
}
}
IL_00f7:
{
String_t* L_35 = V_3;
if (!L_35)
{
goto IL_0110;
}
}
IL_00fa:
{
String_t* L_36 = V_3;
NullCheck(L_36);
int32_t L_37 = String_IndexOf_m1298810678(L_36, _stringLiteral3483483719, 4, /*hidden argument*/NULL);
if ((((int32_t)L_37) == ((int32_t)(-1))))
{
goto IL_0110;
}
}
IL_0109:
{
WebConnection_Close_m1464903054(__this, (bool)0, /*hidden argument*/NULL);
}
IL_0110:
{
RuntimeObject* L_38 = __this->get_state_4();
NullCheck(L_38);
InterfaceActionInvoker0::Invoke(2 /* System.Void System.Net.IWebConnectionState::SetIdle() */, IWebConnectionState_t1223684576_il2cpp_TypeInfo_var, L_38);
HttpWebRequest_t1669436515 * L_39 = __this->get_priority_request_16();
if (!L_39)
{
goto IL_0139;
}
}
IL_0123:
{
HttpWebRequest_t1669436515 * L_40 = __this->get_priority_request_16();
WebConnection_SendRequest_m4284869211(__this, L_40, /*hidden argument*/NULL);
__this->set_priority_request_16((HttpWebRequest_t1669436515 *)NULL);
IL2CPP_LEAVE(0x14B, FINALLY_0141);
}
IL_0139:
{
WebConnection_SendNext_m1567013439(__this, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x14B, FINALLY_0141);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0141;
}
FINALLY_0141:
{ // begin finally (depth: 1)
{
bool L_41 = V_1;
if (!L_41)
{
goto IL_014a;
}
}
IL_0144:
{
WebConnection_t3982808322 * L_42 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_42, /*hidden argument*/NULL);
}
IL_014a:
{
IL2CPP_END_FINALLY(321)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(321)
{
IL2CPP_JUMP_TBL(0x14B, IL_014b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_014b:
{
return;
}
}
// System.Boolean System.Net.WebConnection::ReadLine(System.Byte[],System.Int32&,System.Int32,System.String&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_ReadLine_m1318917240 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___buffer0, int32_t* ___start1, int32_t ___max2, String_t** ___output3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_ReadLine_m1318917240_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_ReadLine_m1318917240_RuntimeMethod_var);
bool V_0 = false;
StringBuilder_t * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
V_0 = (bool)0;
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_0, /*hidden argument*/NULL);
V_1 = L_0;
V_2 = 0;
goto IL_0071;
}
IL_000c:
{
ByteU5BU5D_t4116647657* L_1 = ___buffer0;
int32_t* L_2 = ___start1;
int32_t* L_3 = ___start1;
V_3 = (*((int32_t*)L_3));
int32_t L_4 = V_3;
*((int32_t*)(L_2)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
int32_t L_5 = V_3;
NullCheck(L_1);
int32_t L_6 = L_5;
uint8_t L_7 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_2 = L_7;
int32_t L_8 = V_2;
if ((!(((uint32_t)L_8) == ((uint32_t)((int32_t)10)))))
{
goto IL_004c;
}
}
{
StringBuilder_t * L_9 = V_1;
NullCheck(L_9);
int32_t L_10 = StringBuilder_get_Length_m3238060835(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_0048;
}
}
{
StringBuilder_t * L_11 = V_1;
StringBuilder_t * L_12 = V_1;
NullCheck(L_12);
int32_t L_13 = StringBuilder_get_Length_m3238060835(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
Il2CppChar L_14 = StringBuilder_get_Chars_m1819843468(L_11, ((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)1)), /*hidden argument*/NULL);
if ((!(((uint32_t)L_14) == ((uint32_t)((int32_t)13)))))
{
goto IL_0048;
}
}
{
StringBuilder_t * L_15 = V_1;
StringBuilder_t * L_16 = L_15;
NullCheck(L_16);
int32_t L_17 = StringBuilder_get_Length_m3238060835(L_16, /*hidden argument*/NULL);
V_3 = L_17;
int32_t L_18 = V_3;
NullCheck(L_16);
StringBuilder_set_Length_m1410065908(L_16, ((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)1)), /*hidden argument*/NULL);
}
IL_0048:
{
V_0 = (bool)0;
goto IL_0076;
}
IL_004c:
{
bool L_19 = V_0;
if (!L_19)
{
goto IL_0061;
}
}
{
StringBuilder_t * L_20 = V_1;
StringBuilder_t * L_21 = L_20;
NullCheck(L_21);
int32_t L_22 = StringBuilder_get_Length_m3238060835(L_21, /*hidden argument*/NULL);
V_3 = L_22;
int32_t L_23 = V_3;
NullCheck(L_21);
StringBuilder_set_Length_m1410065908(L_21, ((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)1)), /*hidden argument*/NULL);
goto IL_0076;
}
IL_0061:
{
int32_t L_24 = V_2;
if ((!(((uint32_t)L_24) == ((uint32_t)((int32_t)13)))))
{
goto IL_0068;
}
}
{
V_0 = (bool)1;
}
IL_0068:
{
StringBuilder_t * L_25 = V_1;
int32_t L_26 = V_2;
NullCheck(L_25);
StringBuilder_Append_m2383614642(L_25, (((int32_t)((uint16_t)L_26))), /*hidden argument*/NULL);
}
IL_0071:
{
int32_t* L_27 = ___start1;
int32_t L_28 = ___max2;
if ((((int32_t)(*((int32_t*)L_27))) < ((int32_t)L_28)))
{
goto IL_000c;
}
}
IL_0076:
{
int32_t L_29 = V_2;
if ((((int32_t)L_29) == ((int32_t)((int32_t)10))))
{
goto IL_0082;
}
}
{
int32_t L_30 = V_2;
if ((((int32_t)L_30) == ((int32_t)((int32_t)13))))
{
goto IL_0082;
}
}
{
return (bool)0;
}
IL_0082:
{
StringBuilder_t * L_31 = V_1;
NullCheck(L_31);
int32_t L_32 = StringBuilder_get_Length_m3238060835(L_31, /*hidden argument*/NULL);
if (L_32)
{
goto IL_009a;
}
}
{
String_t** L_33 = ___output3;
*((RuntimeObject **)(L_33)) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_33), (RuntimeObject *)NULL);
int32_t L_34 = V_2;
if ((((int32_t)L_34) == ((int32_t)((int32_t)10))))
{
goto IL_0098;
}
}
{
int32_t L_35 = V_2;
return (bool)((((int32_t)L_35) == ((int32_t)((int32_t)13)))? 1 : 0);
}
IL_0098:
{
return (bool)1;
}
IL_009a:
{
bool L_36 = V_0;
if (!L_36)
{
goto IL_00ad;
}
}
{
StringBuilder_t * L_37 = V_1;
StringBuilder_t * L_38 = L_37;
NullCheck(L_38);
int32_t L_39 = StringBuilder_get_Length_m3238060835(L_38, /*hidden argument*/NULL);
V_3 = L_39;
int32_t L_40 = V_3;
NullCheck(L_38);
StringBuilder_set_Length_m1410065908(L_38, ((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)1)), /*hidden argument*/NULL);
}
IL_00ad:
{
String_t** L_41 = ___output3;
StringBuilder_t * L_42 = V_1;
NullCheck(L_42);
String_t* L_43 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_42);
*((RuntimeObject **)(L_41)) = (RuntimeObject *)L_43;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_41), (RuntimeObject *)L_43);
return (bool)1;
}
}
// System.IAsyncResult System.Net.WebConnection::BeginRead(System.Net.HttpWebRequest,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WebConnection_BeginRead_m2950707033 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, ByteU5BU5D_t4116647657* ___buffer1, int32_t ___offset2, int32_t ___size3, AsyncCallback_t3962456242 * ___cb4, RuntimeObject * ___state5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_BeginRead_m2950707033_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_BeginRead_m2950707033_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
RuntimeObject* V_1 = NULL;
WebConnection_t3982808322 * V_2 = NULL;
bool V_3 = false;
RuntimeObject* V_4 = NULL;
WebAsyncResult_t3421962937 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Stream_t1273022909 *)NULL;
V_2 = __this;
V_3 = (bool)0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_3), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_1 = __this->get_Data_10();
NullCheck(L_1);
HttpWebRequest_t1669436515 * L_2 = WebConnectionData_get_request_m2565424488(L_1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_3 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_2) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_3)))
{
goto IL_0031;
}
}
IL_001c:
{
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
NullCheck(L_5);
String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_5);
ObjectDisposedException_t21392786 * L_7 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, WebConnection_BeginRead_m2950707033_RuntimeMethod_var);
}
IL_0031:
{
Stream_t1273022909 * L_8 = __this->get_nstream_1();
if (L_8)
{
goto IL_0041;
}
}
IL_0039:
{
V_4 = (RuntimeObject*)NULL;
IL2CPP_LEAVE(0xD4, FINALLY_004a);
}
IL_0041:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
V_0 = L_9;
IL2CPP_LEAVE(0x54, FINALLY_004a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004a;
}
FINALLY_004a:
{ // begin finally (depth: 1)
{
bool L_10 = V_3;
if (!L_10)
{
goto IL_0053;
}
}
IL_004d:
{
WebConnection_t3982808322 * L_11 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
}
IL_0053:
{
IL2CPP_END_FINALLY(74)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(74)
{
IL2CPP_JUMP_TBL(0xD4, IL_00d4)
IL2CPP_JUMP_TBL(0x54, IL_0054)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0054:
{
V_1 = (RuntimeObject*)NULL;
bool L_12 = __this->get_chunkedRead_11();
if (!L_12)
{
goto IL_0078;
}
}
{
MonoChunkStream_t2034754733 * L_13 = __this->get_chunkStream_12();
NullCheck(L_13);
bool L_14 = MonoChunkStream_get_DataAvailable_m306863724(L_13, /*hidden argument*/NULL);
if (L_14)
{
goto IL_009d;
}
}
{
MonoChunkStream_t2034754733 * L_15 = __this->get_chunkStream_12();
NullCheck(L_15);
bool L_16 = MonoChunkStream_get_WantMore_m2502286912(L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_009d;
}
}
IL_0078:
{
}
IL_0079:
try
{ // begin try (depth: 1)
Stream_t1273022909 * L_17 = V_0;
ByteU5BU5D_t4116647657* L_18 = ___buffer1;
int32_t L_19 = ___offset2;
int32_t L_20 = ___size3;
AsyncCallback_t3962456242 * L_21 = ___cb4;
RuntimeObject * L_22 = ___state5;
NullCheck(L_17);
RuntimeObject* L_23 = VirtFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(18 /* System.IAsyncResult System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, L_17, L_18, L_19, L_20, L_21, L_22);
V_1 = L_23;
___cb4 = (AsyncCallback_t3962456242 *)NULL;
goto IL_009d;
} // 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_008d;
throw e;
}
CATCH_008d:
{ // begin catch(System.Exception)
WebConnection_HandleError_m738788885(__this, 3, (Exception_t *)NULL, _stringLiteral4159479073, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, WebConnection_BeginRead_m2950707033_RuntimeMethod_var);
} // end catch (depth: 1)
IL_009d:
{
bool L_24 = __this->get_chunkedRead_11();
if (!L_24)
{
goto IL_00d2;
}
}
{
AsyncCallback_t3962456242 * L_25 = ___cb4;
RuntimeObject * L_26 = ___state5;
ByteU5BU5D_t4116647657* L_27 = ___buffer1;
int32_t L_28 = ___offset2;
int32_t L_29 = ___size3;
WebAsyncResult_t3421962937 * L_30 = (WebAsyncResult_t3421962937 *)il2cpp_codegen_object_new(WebAsyncResult_t3421962937_il2cpp_TypeInfo_var);
WebAsyncResult__ctor_m4245223108(L_30, L_25, L_26, L_27, L_28, L_29, /*hidden argument*/NULL);
V_5 = L_30;
WebAsyncResult_t3421962937 * L_31 = V_5;
RuntimeObject* L_32 = V_1;
NullCheck(L_31);
WebAsyncResult_set_InnerAsyncResult_m4260877195(L_31, L_32, /*hidden argument*/NULL);
RuntimeObject* L_33 = V_1;
if (L_33)
{
goto IL_00cf;
}
}
{
WebAsyncResult_t3421962937 * L_34 = V_5;
NullCheck(L_34);
SimpleAsyncResult_SetCompleted_m515399313(L_34, (bool)1, (Exception_t *)NULL, /*hidden argument*/NULL);
WebAsyncResult_t3421962937 * L_35 = V_5;
NullCheck(L_35);
WebAsyncResult_DoCallback_m1336537550(L_35, /*hidden argument*/NULL);
}
IL_00cf:
{
WebAsyncResult_t3421962937 * L_36 = V_5;
return L_36;
}
IL_00d2:
{
RuntimeObject* L_37 = V_1;
return L_37;
}
IL_00d4:
{
RuntimeObject* L_38 = V_4;
return L_38;
}
}
// System.Int32 System.Net.WebConnection::EndRead(System.Net.HttpWebRequest,System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_EndRead_m3553040041 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, RuntimeObject* ___result1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_EndRead_m3553040041_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_EndRead_m3553040041_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
WebAsyncResult_t3421962937 * V_3 = NULL;
RuntimeObject* V_4 = NULL;
WebConnection_t3982808322 * V_5 = NULL;
bool V_6 = false;
RuntimeObject* V_7 = NULL;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Stream_t1273022909 *)NULL;
V_5 = __this;
V_6 = (bool)0;
}
IL_0008:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_5;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_6), /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_1 = ___request0;
NullCheck(L_1);
bool L_2 = HttpWebRequest_get_Aborted_m1961501758(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0025;
}
}
IL_0019:
{
WebException_t3237156354 * L_3 = (WebException_t3237156354 *)il2cpp_codegen_object_new(WebException_t3237156354_il2cpp_TypeInfo_var);
WebException__ctor_m2864788884(L_3, _stringLiteral2069147700, 6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
IL_0025:
{
WebConnectionData_t3835660455 * L_4 = __this->get_Data_10();
NullCheck(L_4);
HttpWebRequest_t1669436515 * L_5 = WebConnectionData_get_request_m2565424488(L_4, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_6 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_5) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_6)))
{
goto IL_0048;
}
}
IL_0033:
{
RuntimeTypeHandle_t3027515415 L_7 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_8 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
NullCheck(L_8);
String_t* L_9 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_8);
ObjectDisposedException_t21392786 * L_10 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
IL_0048:
{
Stream_t1273022909 * L_11 = __this->get_nstream_1();
if (L_11)
{
goto IL_0065;
}
}
IL_0050:
{
RuntimeTypeHandle_t3027515415 L_12 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_13 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
NullCheck(L_13);
String_t* L_14 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_13);
ObjectDisposedException_t21392786 * L_15 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_15, L_14, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
IL_0065:
{
Stream_t1273022909 * L_16 = __this->get_nstream_1();
V_0 = L_16;
IL2CPP_LEAVE(0x7A, FINALLY_006e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_006e;
}
FINALLY_006e:
{ // begin finally (depth: 1)
{
bool L_17 = V_6;
if (!L_17)
{
goto IL_0079;
}
}
IL_0072:
{
WebConnection_t3982808322 * L_18 = V_5;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
}
IL_0079:
{
IL2CPP_END_FINALLY(110)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(110)
{
IL2CPP_JUMP_TBL(0x7A, IL_007a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_007a:
{
V_1 = 0;
V_2 = (bool)0;
V_3 = (WebAsyncResult_t3421962937 *)NULL;
RuntimeObject* L_19 = ___result1;
NullCheck(((WebAsyncResult_t3421962937 *)CastclassClass((RuntimeObject*)L_19, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var)));
RuntimeObject* L_20 = WebAsyncResult_get_InnerAsyncResult_m4134833752(((WebAsyncResult_t3421962937 *)CastclassClass((RuntimeObject*)L_19, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_4 = L_20;
bool L_21 = __this->get_chunkedRead_11();
if (!L_21)
{
goto IL_00cb;
}
}
{
RuntimeObject* L_22 = V_4;
if (!((WebAsyncResult_t3421962937 *)IsInstClass((RuntimeObject*)L_22, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var)))
{
goto IL_00cb;
}
}
{
RuntimeObject* L_23 = V_4;
V_3 = ((WebAsyncResult_t3421962937 *)CastclassClass((RuntimeObject*)L_23, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var));
WebAsyncResult_t3421962937 * L_24 = V_3;
NullCheck(L_24);
RuntimeObject* L_25 = WebAsyncResult_get_InnerAsyncResult_m4134833752(L_24, /*hidden argument*/NULL);
V_7 = L_25;
RuntimeObject* L_26 = V_7;
if (!L_26)
{
goto IL_00e9;
}
}
{
RuntimeObject* L_27 = V_7;
if (((WebAsyncResult_t3421962937 *)IsInstClass((RuntimeObject*)L_27, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var)))
{
goto IL_00e9;
}
}
{
Stream_t1273022909 * L_28 = V_0;
RuntimeObject* L_29 = V_7;
NullCheck(L_28);
int32_t L_30 = VirtFuncInvoker1< int32_t, RuntimeObject* >::Invoke(19 /* System.Int32 System.IO.Stream::EndRead(System.IAsyncResult) */, L_28, L_29);
V_1 = L_30;
int32_t L_31 = V_1;
V_2 = (bool)((((int32_t)L_31) == ((int32_t)0))? 1 : 0);
goto IL_00e9;
}
IL_00cb:
{
RuntimeObject* L_32 = V_4;
if (((WebAsyncResult_t3421962937 *)IsInstClass((RuntimeObject*)L_32, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var)))
{
goto IL_00e9;
}
}
{
Stream_t1273022909 * L_33 = V_0;
RuntimeObject* L_34 = V_4;
NullCheck(L_33);
int32_t L_35 = VirtFuncInvoker1< int32_t, RuntimeObject* >::Invoke(19 /* System.Int32 System.IO.Stream::EndRead(System.IAsyncResult) */, L_33, L_34);
V_1 = L_35;
RuntimeObject* L_36 = ___result1;
V_3 = ((WebAsyncResult_t3421962937 *)CastclassClass((RuntimeObject*)L_36, WebAsyncResult_t3421962937_il2cpp_TypeInfo_var));
int32_t L_37 = V_1;
V_2 = (bool)((((int32_t)L_37) == ((int32_t)0))? 1 : 0);
}
IL_00e9:
{
bool L_38 = __this->get_chunkedRead_11();
if (!L_38)
{
goto IL_018d;
}
}
IL_00f4:
try
{ // begin try (depth: 1)
{
MonoChunkStream_t2034754733 * L_39 = __this->get_chunkStream_12();
WebAsyncResult_t3421962937 * L_40 = V_3;
NullCheck(L_40);
ByteU5BU5D_t4116647657* L_41 = WebAsyncResult_get_Buffer_m1662146309(L_40, /*hidden argument*/NULL);
WebAsyncResult_t3421962937 * L_42 = V_3;
NullCheck(L_42);
int32_t L_43 = WebAsyncResult_get_Offset_m368370234(L_42, /*hidden argument*/NULL);
WebAsyncResult_t3421962937 * L_44 = V_3;
NullCheck(L_44);
int32_t L_45 = WebAsyncResult_get_Size_m4148452880(L_44, /*hidden argument*/NULL);
NullCheck(L_39);
MonoChunkStream_WriteAndReadBack_m2930844533(L_39, L_41, L_43, L_45, (int32_t*)(&V_1), /*hidden argument*/NULL);
bool L_46 = V_2;
if (L_46)
{
goto IL_013f;
}
}
IL_0116:
{
int32_t L_47 = V_1;
if (L_47)
{
goto IL_013f;
}
}
IL_0119:
{
MonoChunkStream_t2034754733 * L_48 = __this->get_chunkStream_12();
NullCheck(L_48);
bool L_49 = MonoChunkStream_get_WantMore_m2502286912(L_48, /*hidden argument*/NULL);
if (!L_49)
{
goto IL_013f;
}
}
IL_0126:
{
WebAsyncResult_t3421962937 * L_50 = V_3;
NullCheck(L_50);
ByteU5BU5D_t4116647657* L_51 = WebAsyncResult_get_Buffer_m1662146309(L_50, /*hidden argument*/NULL);
WebAsyncResult_t3421962937 * L_52 = V_3;
NullCheck(L_52);
int32_t L_53 = WebAsyncResult_get_Offset_m368370234(L_52, /*hidden argument*/NULL);
WebAsyncResult_t3421962937 * L_54 = V_3;
NullCheck(L_54);
int32_t L_55 = WebAsyncResult_get_Size_m4148452880(L_54, /*hidden argument*/NULL);
int32_t L_56 = WebConnection_EnsureRead_m1250887662(__this, L_51, L_53, L_55, /*hidden argument*/NULL);
V_1 = L_56;
}
IL_013f:
{
goto IL_015f;
}
} // 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_0141;
throw e;
}
CATCH_0141:
{ // begin catch(System.Exception)
{
V_8 = ((Exception_t *)__exception_local);
Exception_t * L_57 = V_8;
if (!((WebException_t3237156354 *)IsInstClass((RuntimeObject*)L_57, WebException_t3237156354_il2cpp_TypeInfo_var)))
{
goto IL_014f;
}
}
IL_014c:
{
Exception_t * L_58 = V_8;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_58, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
IL_014f:
{
Exception_t * L_59 = V_8;
WebException_t3237156354 * L_60 = (WebException_t3237156354 *)il2cpp_codegen_object_new(WebException_t3237156354_il2cpp_TypeInfo_var);
WebException__ctor_m2761056832(L_60, _stringLiteral3494384225, L_59, ((int32_t)11), (WebResponse_t229922639 *)NULL, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_60, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_015f:
{
bool L_61 = V_2;
if (L_61)
{
goto IL_0165;
}
}
{
int32_t L_62 = V_1;
if (L_62)
{
goto IL_018d;
}
}
IL_0165:
{
MonoChunkStream_t2034754733 * L_63 = __this->get_chunkStream_12();
NullCheck(L_63);
int32_t L_64 = MonoChunkStream_get_ChunkLeft_m2121264135(L_63, /*hidden argument*/NULL);
if (!L_64)
{
goto IL_018d;
}
}
{
WebConnection_HandleError_m738788885(__this, 3, (Exception_t *)NULL, _stringLiteral562865041, /*hidden argument*/NULL);
WebException_t3237156354 * L_65 = (WebException_t3237156354 *)il2cpp_codegen_object_new(WebException_t3237156354_il2cpp_TypeInfo_var);
WebException__ctor_m2761056832(L_65, _stringLiteral4288548861, (Exception_t *)NULL, 3, (WebResponse_t229922639 *)NULL, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_65, NULL, WebConnection_EndRead_m3553040041_RuntimeMethod_var);
}
IL_018d:
{
int32_t L_66 = V_1;
if (L_66)
{
goto IL_0192;
}
}
{
return (-1);
}
IL_0192:
{
int32_t L_67 = V_1;
return L_67;
}
}
// System.Int32 System.Net.WebConnection::EnsureRead(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_EnsureRead_m1250887662 (WebConnection_t3982808322 * __this, ByteU5BU5D_t4116647657* ___buffer0, int32_t ___offset1, int32_t ___size2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_EnsureRead_m1250887662_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_EnsureRead_m1250887662_RuntimeMethod_var);
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
V_0 = (ByteU5BU5D_t4116647657*)NULL;
V_1 = 0;
goto IL_0074;
}
IL_0006:
{
MonoChunkStream_t2034754733 * L_0 = __this->get_chunkStream_12();
NullCheck(L_0);
int32_t L_1 = MonoChunkStream_get_ChunkLeft_m2121264135(L_0, /*hidden argument*/NULL);
V_2 = L_1;
int32_t L_2 = V_2;
if ((((int32_t)L_2) > ((int32_t)0)))
{
goto IL_001e;
}
}
{
V_2 = ((int32_t)1024);
goto IL_002c;
}
IL_001e:
{
int32_t L_3 = V_2;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)16384))))
{
goto IL_002c;
}
}
{
V_2 = ((int32_t)16384);
}
IL_002c:
{
ByteU5BU5D_t4116647657* L_4 = V_0;
if (!L_4)
{
goto IL_0035;
}
}
{
ByteU5BU5D_t4116647657* L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = V_2;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length))))) >= ((int32_t)L_6)))
{
goto IL_003c;
}
}
IL_0035:
{
int32_t L_7 = V_2;
ByteU5BU5D_t4116647657* L_8 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_7);
V_0 = L_8;
}
IL_003c:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
ByteU5BU5D_t4116647657* L_10 = V_0;
int32_t L_11 = V_2;
NullCheck(L_9);
int32_t L_12 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(26 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_9, L_10, 0, L_11);
V_3 = L_12;
int32_t L_13 = V_3;
if ((((int32_t)L_13) > ((int32_t)0)))
{
goto IL_0051;
}
}
{
return 0;
}
IL_0051:
{
MonoChunkStream_t2034754733 * L_14 = __this->get_chunkStream_12();
ByteU5BU5D_t4116647657* L_15 = V_0;
int32_t L_16 = V_3;
NullCheck(L_14);
MonoChunkStream_Write_m3040529004(L_14, L_15, 0, L_16, /*hidden argument*/NULL);
int32_t L_17 = V_1;
MonoChunkStream_t2034754733 * L_18 = __this->get_chunkStream_12();
ByteU5BU5D_t4116647657* L_19 = ___buffer0;
int32_t L_20 = ___offset1;
int32_t L_21 = V_1;
int32_t L_22 = ___size2;
int32_t L_23 = V_1;
NullCheck(L_18);
int32_t L_24 = MonoChunkStream_Read_m2449136904(L_18, L_19, ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)L_21)), ((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)L_23)), /*hidden argument*/NULL);
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)L_24));
}
IL_0074:
{
int32_t L_25 = V_1;
if (L_25)
{
goto IL_0084;
}
}
{
MonoChunkStream_t2034754733 * L_26 = __this->get_chunkStream_12();
NullCheck(L_26);
bool L_27 = MonoChunkStream_get_WantMore_m2502286912(L_26, /*hidden argument*/NULL);
if (L_27)
{
goto IL_0006;
}
}
IL_0084:
{
int32_t L_28 = V_1;
return L_28;
}
}
// System.Boolean System.Net.WebConnection::CompleteChunkedRead()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_CompleteChunkedRead_m618073306 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_CompleteChunkedRead_m618073306_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_CompleteChunkedRead_m618073306_RuntimeMethod_var);
int32_t V_0 = 0;
{
bool L_0 = __this->get_chunkedRead_11();
if (!L_0)
{
goto IL_0010;
}
}
{
MonoChunkStream_t2034754733 * L_1 = __this->get_chunkStream_12();
if (L_1)
{
goto IL_0046;
}
}
IL_0010:
{
return (bool)1;
}
IL_0012:
{
Stream_t1273022909 * L_2 = __this->get_nstream_1();
ByteU5BU5D_t4116647657* L_3 = __this->get_buffer_7();
ByteU5BU5D_t4116647657* L_4 = __this->get_buffer_7();
NullCheck(L_4);
NullCheck(L_2);
int32_t L_5 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(26 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_2, L_3, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))));
V_0 = L_5;
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)0)))
{
goto IL_0033;
}
}
{
return (bool)0;
}
IL_0033:
{
MonoChunkStream_t2034754733 * L_7 = __this->get_chunkStream_12();
ByteU5BU5D_t4116647657* L_8 = __this->get_buffer_7();
int32_t L_9 = V_0;
NullCheck(L_7);
MonoChunkStream_Write_m3040529004(L_7, L_8, 0, L_9, /*hidden argument*/NULL);
}
IL_0046:
{
MonoChunkStream_t2034754733 * L_10 = __this->get_chunkStream_12();
NullCheck(L_10);
bool L_11 = MonoChunkStream_get_WantMore_m2502286912(L_10, /*hidden argument*/NULL);
if (L_11)
{
goto IL_0012;
}
}
{
return (bool)1;
}
}
// System.IAsyncResult System.Net.WebConnection::BeginWrite(System.Net.HttpWebRequest,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* WebConnection_BeginWrite_m3795141727 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, ByteU5BU5D_t4116647657* ___buffer1, int32_t ___offset2, int32_t ___size3, AsyncCallback_t3962456242 * ___cb4, RuntimeObject * ___state5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_BeginWrite_m3795141727_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_BeginWrite_m3795141727_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
RuntimeObject* V_1 = NULL;
WebConnection_t3982808322 * V_2 = NULL;
bool V_3 = false;
RuntimeObject* V_4 = NULL;
SocketException_t3852068672 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Stream_t1273022909 *)NULL;
V_2 = __this;
V_3 = (bool)0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_3), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_1 = __this->get_Data_10();
NullCheck(L_1);
HttpWebRequest_t1669436515 * L_2 = WebConnectionData_get_request_m2565424488(L_1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_3 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_2) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_3)))
{
goto IL_0031;
}
}
IL_001c:
{
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
NullCheck(L_5);
String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_5);
ObjectDisposedException_t21392786 * L_7 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, WebConnection_BeginWrite_m3795141727_RuntimeMethod_var);
}
IL_0031:
{
Stream_t1273022909 * L_8 = __this->get_nstream_1();
if (L_8)
{
goto IL_0041;
}
}
IL_0039:
{
V_4 = (RuntimeObject*)NULL;
IL2CPP_LEAVE(0xC6, FINALLY_004a);
}
IL_0041:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
V_0 = L_9;
IL2CPP_LEAVE(0x54, FINALLY_004a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004a;
}
FINALLY_004a:
{ // begin finally (depth: 1)
{
bool L_10 = V_3;
if (!L_10)
{
goto IL_0053;
}
}
IL_004d:
{
WebConnection_t3982808322 * L_11 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
}
IL_0053:
{
IL2CPP_END_FINALLY(74)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(74)
{
IL2CPP_JUMP_TBL(0xC6, IL_00c6)
IL2CPP_JUMP_TBL(0x54, IL_0054)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0054:
{
V_1 = (RuntimeObject*)NULL;
}
IL_0056:
try
{ // begin try (depth: 1)
Stream_t1273022909 * L_12 = V_0;
ByteU5BU5D_t4116647657* L_13 = ___buffer1;
int32_t L_14 = ___offset2;
int32_t L_15 = ___size3;
AsyncCallback_t3962456242 * L_16 = ___cb4;
RuntimeObject * L_17 = ___state5;
NullCheck(L_12);
RuntimeObject* L_18 = VirtFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(21 /* System.IAsyncResult System.IO.Stream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, L_12, L_13, L_14, L_15, L_16, L_17);
V_1 = L_18;
goto IL_00c4;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t21392786_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0067;
if(il2cpp_codegen_class_is_assignable_from (IOException_t4088381929_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0095;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_00ba;
throw e;
}
CATCH_0067:
{ // begin catch(System.ObjectDisposedException)
{
V_2 = __this;
V_3 = (bool)0;
}
IL_006c:
try
{ // begin try (depth: 2)
{
WebConnection_t3982808322 * L_19 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_19, (bool*)(&V_3), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_20 = __this->get_Data_10();
NullCheck(L_20);
HttpWebRequest_t1669436515 * L_21 = WebConnectionData_get_request_m2565424488(L_20, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_22 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_21) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_22)))
{
goto IL_0087;
}
}
IL_0082:
{
V_4 = (RuntimeObject*)NULL;
IL2CPP_LEAVE(0xC6, FINALLY_0089);
}
IL_0087:
{
IL2CPP_LEAVE(0x93, FINALLY_0089);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0089;
}
FINALLY_0089:
{ // begin finally (depth: 2)
{
bool L_23 = V_3;
if (!L_23)
{
goto IL_0092;
}
}
IL_008c:
{
WebConnection_t3982808322 * L_24 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
}
IL_0092:
{
IL2CPP_END_FINALLY(137)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(137)
{
IL2CPP_JUMP_TBL(0xC6, IL_00c6)
IL2CPP_JUMP_TBL(0x93, IL_0093)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0093:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, WebConnection_BeginWrite_m3795141727_RuntimeMethod_var);
}
} // end catch (depth: 1)
CATCH_0095:
{ // begin catch(System.IO.IOException)
{
NullCheck(((IOException_t4088381929 *)__exception_local));
Exception_t * L_25 = Exception_get_InnerException_m3836775(((IOException_t4088381929 *)__exception_local), /*hidden argument*/NULL);
V_5 = ((SocketException_t3852068672 *)IsInstClass((RuntimeObject*)L_25, SocketException_t3852068672_il2cpp_TypeInfo_var));
SocketException_t3852068672 * L_26 = V_5;
if (!L_26)
{
goto IL_00b8;
}
}
IL_00a5:
{
SocketException_t3852068672 * L_27 = V_5;
NullCheck(L_27);
int32_t L_28 = SocketException_get_SocketErrorCode_m2767669540(L_27, /*hidden argument*/NULL);
if ((!(((uint32_t)L_28) == ((uint32_t)((int32_t)10057)))))
{
goto IL_00b8;
}
}
IL_00b3:
{
V_4 = (RuntimeObject*)NULL;
goto IL_00c6;
}
IL_00b8:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, WebConnection_BeginWrite_m3795141727_RuntimeMethod_var);
}
} // end catch (depth: 1)
CATCH_00ba:
{ // begin catch(System.Exception)
__this->set_status_5(4);
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, WebConnection_BeginWrite_m3795141727_RuntimeMethod_var);
} // end catch (depth: 1)
IL_00c4:
{
RuntimeObject* L_29 = V_1;
return L_29;
}
IL_00c6:
{
RuntimeObject* L_30 = V_4;
return L_30;
}
}
// System.Boolean System.Net.WebConnection::EndWrite(System.Net.HttpWebRequest,System.Boolean,System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_EndWrite_m1985976895 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, bool ___throwOnError1, RuntimeObject* ___result2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_EndWrite_m1985976895_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_EndWrite_m1985976895_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
WebConnection_t3982808322 * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Stream_t1273022909 *)NULL;
V_1 = __this;
V_2 = (bool)0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_1 = __this->get_status_5();
if ((!(((uint32_t)L_1) == ((uint32_t)6))))
{
goto IL_001e;
}
}
IL_0017:
{
V_3 = (bool)1;
IL2CPP_LEAVE(0x9E, FINALLY_0067);
}
IL_001e:
{
WebConnectionData_t3835660455 * L_2 = __this->get_Data_10();
NullCheck(L_2);
HttpWebRequest_t1669436515 * L_3 = WebConnectionData_get_request_m2565424488(L_2, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_4 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_3) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_4)))
{
goto IL_0041;
}
}
IL_002c:
{
RuntimeTypeHandle_t3027515415 L_5 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_6 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
NullCheck(L_6);
String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_6);
ObjectDisposedException_t21392786 * L_8 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, WebConnection_EndWrite_m1985976895_RuntimeMethod_var);
}
IL_0041:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
if (L_9)
{
goto IL_005e;
}
}
IL_0049:
{
RuntimeTypeHandle_t3027515415 L_10 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_11 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
NullCheck(L_11);
String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_11);
ObjectDisposedException_t21392786 * L_13 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_13, L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, WebConnection_EndWrite_m1985976895_RuntimeMethod_var);
}
IL_005e:
{
Stream_t1273022909 * L_14 = __this->get_nstream_1();
V_0 = L_14;
IL2CPP_LEAVE(0x71, FINALLY_0067);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0067;
}
FINALLY_0067:
{ // begin finally (depth: 1)
{
bool L_15 = V_2;
if (!L_15)
{
goto IL_0070;
}
}
IL_006a:
{
WebConnection_t3982808322 * L_16 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
}
IL_0070:
{
IL2CPP_END_FINALLY(103)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(103)
{
IL2CPP_JUMP_TBL(0x9E, IL_009e)
IL2CPP_JUMP_TBL(0x71, IL_0071)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0071:
{
}
IL_0072:
try
{ // begin try (depth: 1)
Stream_t1273022909 * L_17 = V_0;
RuntimeObject* L_18 = ___result2;
NullCheck(L_17);
VirtActionInvoker1< RuntimeObject* >::Invoke(22 /* System.Void System.IO.Stream::EndWrite(System.IAsyncResult) */, L_17, L_18);
V_3 = (bool)1;
goto IL_009e;
} // 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_007d;
throw e;
}
CATCH_007d:
{ // begin catch(System.Exception)
{
V_4 = ((Exception_t *)__exception_local);
__this->set_status_5(4);
bool L_19 = ___throwOnError1;
if (!L_19)
{
goto IL_009a;
}
}
IL_0089:
{
Exception_t * L_20 = V_4;
NullCheck(L_20);
Exception_t * L_21 = Exception_get_InnerException_m3836775(L_20, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_009a;
}
}
IL_0092:
{
Exception_t * L_22 = V_4;
NullCheck(L_22);
Exception_t * L_23 = Exception_get_InnerException_m3836775(L_22, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, WebConnection_EndWrite_m1985976895_RuntimeMethod_var);
}
IL_009a:
{
V_3 = (bool)0;
goto IL_009e;
}
} // end catch (depth: 1)
IL_009e:
{
bool L_24 = V_3;
return L_24;
}
}
// System.Int32 System.Net.WebConnection::Read(System.Net.HttpWebRequest,System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t WebConnection_Read_m1054701704 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, ByteU5BU5D_t4116647657* ___buffer1, int32_t ___offset2, int32_t ___size3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_Read_m1054701704_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_Read_m1054701704_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
int32_t V_1 = 0;
WebConnection_t3982808322 * V_2 = NULL;
bool V_3 = false;
int32_t V_4 = 0;
bool V_5 = false;
Exception_t * V_6 = NULL;
Exception_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (Stream_t1273022909 *)NULL;
V_2 = __this;
V_3 = (bool)0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_3), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_1 = __this->get_Data_10();
NullCheck(L_1);
HttpWebRequest_t1669436515 * L_2 = WebConnectionData_get_request_m2565424488(L_1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_3 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_2) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_3)))
{
goto IL_0031;
}
}
IL_001c:
{
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
NullCheck(L_5);
String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_5);
ObjectDisposedException_t21392786 * L_7 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, WebConnection_Read_m1054701704_RuntimeMethod_var);
}
IL_0031:
{
Stream_t1273022909 * L_8 = __this->get_nstream_1();
if (L_8)
{
goto IL_0041;
}
}
IL_0039:
{
V_4 = 0;
IL2CPP_LEAVE(0x103, FINALLY_004a);
}
IL_0041:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
V_0 = L_9;
IL2CPP_LEAVE(0x54, FINALLY_004a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004a;
}
FINALLY_004a:
{ // begin finally (depth: 1)
{
bool L_10 = V_3;
if (!L_10)
{
goto IL_0053;
}
}
IL_004d:
{
WebConnection_t3982808322 * L_11 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
}
IL_0053:
{
IL2CPP_END_FINALLY(74)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(74)
{
IL2CPP_JUMP_TBL(0x103, IL_0103)
IL2CPP_JUMP_TBL(0x54, IL_0054)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0054:
{
V_1 = 0;
}
IL_0056:
try
{ // begin try (depth: 1)
{
V_5 = (bool)0;
bool L_12 = __this->get_chunkedRead_11();
if (L_12)
{
goto IL_0072;
}
}
IL_0061:
{
Stream_t1273022909 * L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = ___buffer1;
int32_t L_15 = ___offset2;
int32_t L_16 = ___size3;
NullCheck(L_13);
int32_t L_17 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(26 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_13, L_14, L_15, L_16);
V_1 = L_17;
int32_t L_18 = V_1;
V_5 = (bool)((((int32_t)L_18) == ((int32_t)0))? 1 : 0);
}
IL_0072:
{
bool L_19 = __this->get_chunkedRead_11();
if (!L_19)
{
goto IL_00ed;
}
}
IL_007a:
try
{ // begin try (depth: 2)
{
MonoChunkStream_t2034754733 * L_20 = __this->get_chunkStream_12();
ByteU5BU5D_t4116647657* L_21 = ___buffer1;
int32_t L_22 = ___offset2;
int32_t L_23 = ___size3;
NullCheck(L_20);
MonoChunkStream_WriteAndReadBack_m2930844533(L_20, L_21, L_22, L_23, (int32_t*)(&V_1), /*hidden argument*/NULL);
bool L_24 = V_5;
if (L_24)
{
goto IL_00aa;
}
}
IL_008f:
{
int32_t L_25 = V_1;
if (L_25)
{
goto IL_00aa;
}
}
IL_0092:
{
MonoChunkStream_t2034754733 * L_26 = __this->get_chunkStream_12();
NullCheck(L_26);
bool L_27 = MonoChunkStream_get_WantMore_m2502286912(L_26, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00aa;
}
}
IL_009f:
{
ByteU5BU5D_t4116647657* L_28 = ___buffer1;
int32_t L_29 = ___offset2;
int32_t L_30 = ___size3;
int32_t L_31 = WebConnection_EnsureRead_m1250887662(__this, L_28, L_29, L_30, /*hidden argument*/NULL);
V_1 = L_31;
}
IL_00aa:
{
goto IL_00be;
}
} // end try (depth: 2)
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_00ac;
throw e;
}
CATCH_00ac:
{ // begin catch(System.Exception)
V_6 = ((Exception_t *)__exception_local);
Exception_t * L_32 = V_6;
WebConnection_HandleError_m738788885(__this, 3, L_32, _stringLiteral2781893249, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, WebConnection_Read_m1054701704_RuntimeMethod_var);
} // end catch (depth: 2)
IL_00be:
{
bool L_33 = V_5;
if (L_33)
{
goto IL_00c5;
}
}
IL_00c2:
{
int32_t L_34 = V_1;
if (L_34)
{
goto IL_00ed;
}
}
IL_00c5:
{
MonoChunkStream_t2034754733 * L_35 = __this->get_chunkStream_12();
NullCheck(L_35);
bool L_36 = MonoChunkStream_get_WantMore_m2502286912(L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_00ed;
}
}
IL_00d2:
{
WebConnection_HandleError_m738788885(__this, 3, (Exception_t *)NULL, _stringLiteral2781893250, /*hidden argument*/NULL);
WebException_t3237156354 * L_37 = (WebException_t3237156354 *)il2cpp_codegen_object_new(WebException_t3237156354_il2cpp_TypeInfo_var);
WebException__ctor_m2761056832(L_37, _stringLiteral4288548861, (Exception_t *)NULL, 3, (WebResponse_t229922639 *)NULL, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_37, NULL, WebConnection_Read_m1054701704_RuntimeMethod_var);
}
IL_00ed:
{
goto IL_0101;
}
} // 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_00ef;
throw e;
}
CATCH_00ef:
{ // begin catch(System.Exception)
V_7 = ((Exception_t *)__exception_local);
Exception_t * L_38 = V_7;
WebConnection_HandleError_m738788885(__this, 3, L_38, _stringLiteral431746835, /*hidden argument*/NULL);
goto IL_0101;
} // end catch (depth: 1)
IL_0101:
{
int32_t L_39 = V_1;
return L_39;
}
IL_0103:
{
int32_t L_40 = V_4;
return L_40;
}
}
// System.Boolean System.Net.WebConnection::Write(System.Net.HttpWebRequest,System.Byte[],System.Int32,System.Int32,System.String&)
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_Write_m3744361765 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___request0, ByteU5BU5D_t4116647657* ___buffer1, int32_t ___offset2, int32_t ___size3, String_t** ___err_msg4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_Write_m3744361765_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_Write_m3744361765_RuntimeMethod_var);
Stream_t1273022909 * V_0 = NULL;
WebConnection_t3982808322 * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
Exception_t * V_4 = NULL;
int32_t V_5 = 0;
String_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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
String_t** L_0 = ___err_msg4;
*((RuntimeObject **)(L_0)) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_0), (RuntimeObject *)NULL);
V_0 = (Stream_t1273022909 *)NULL;
V_1 = __this;
V_2 = (bool)0;
}
IL_000a:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_1 = V_1;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_1, (bool*)(&V_2), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_2 = __this->get_Data_10();
NullCheck(L_2);
HttpWebRequest_t1669436515 * L_3 = WebConnectionData_get_request_m2565424488(L_2, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_4 = ___request0;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_3) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_4)))
{
goto IL_0035;
}
}
IL_0020:
{
RuntimeTypeHandle_t3027515415 L_5 = { reinterpret_cast<intptr_t> (NetworkStream_t4071955934_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_6 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
NullCheck(L_6);
String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(26 /* System.String System.Type::get_FullName() */, L_6);
ObjectDisposedException_t21392786 * L_8 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, WebConnection_Write_m3744361765_RuntimeMethod_var);
}
IL_0035:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
V_0 = L_9;
Stream_t1273022909 * L_10 = V_0;
if (L_10)
{
goto IL_0043;
}
}
IL_003f:
{
V_3 = (bool)0;
IL2CPP_LEAVE(0x94, FINALLY_0045);
}
IL_0043:
{
IL2CPP_LEAVE(0x4F, FINALLY_0045);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0045;
}
FINALLY_0045:
{ // begin finally (depth: 1)
{
bool L_11 = V_2;
if (!L_11)
{
goto IL_004e;
}
}
IL_0048:
{
WebConnection_t3982808322 * L_12 = V_1;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
}
IL_004e:
{
IL2CPP_END_FINALLY(69)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(69)
{
IL2CPP_JUMP_TBL(0x94, IL_0094)
IL2CPP_JUMP_TBL(0x4F, IL_004f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_004f:
{
}
IL_0050:
try
{ // begin try (depth: 1)
Stream_t1273022909 * L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = ___buffer1;
int32_t L_15 = ___offset2;
int32_t L_16 = ___size3;
NullCheck(L_13);
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(28 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_13, L_14, L_15, L_16);
goto IL_0092;
} // 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_005c;
throw e;
}
CATCH_005c:
{ // begin catch(System.Exception)
V_4 = ((Exception_t *)__exception_local);
String_t** L_17 = ___err_msg4;
Exception_t * L_18 = V_4;
NullCheck(L_18);
String_t* L_19 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_18);
*((RuntimeObject **)(L_17)) = (RuntimeObject *)L_19;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_17), (RuntimeObject *)L_19);
V_5 = 4;
String_t** L_20 = ___err_msg4;
String_t* L_21 = *((String_t**)L_20);
String_t* L_22 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral487754551, L_21, /*hidden argument*/NULL);
V_6 = L_22;
Exception_t * L_23 = V_4;
int32_t L_24 = V_5;
Exception_t * L_25 = V_4;
String_t* L_26 = V_6;
WebConnection_HandleError_m738788885(__this, L_24, L_25, L_26, /*hidden argument*/NULL);
V_3 = (bool)0;
goto IL_0094;
} // end catch (depth: 1)
IL_0092:
{
return (bool)1;
}
IL_0094:
{
bool L_27 = V_3;
return L_27;
}
}
// System.Void System.Net.WebConnection::Close(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_Close_m1464903054 (WebConnection_t3982808322 * __this, bool ___sendNext0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_Close_m1464903054_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_Close_m1464903054_RuntimeMethod_var);
WebConnection_t3982808322 * V_0 = NULL;
bool V_1 = false;
WebConnectionData_t3835660455 * 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = __this;
V_1 = (bool)0;
}
IL_0004:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_1), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_1 = __this->get_Data_10();
if (!L_1)
{
goto IL_0049;
}
}
IL_0014:
{
WebConnectionData_t3835660455 * L_2 = __this->get_Data_10();
NullCheck(L_2);
HttpWebRequest_t1669436515 * L_3 = WebConnectionData_get_request_m2565424488(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0049;
}
}
IL_0021:
{
WebConnectionData_t3835660455 * L_4 = __this->get_Data_10();
NullCheck(L_4);
HttpWebRequest_t1669436515 * L_5 = WebConnectionData_get_request_m2565424488(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_6 = HttpWebRequest_get_ReuseConnection_m3470145138(L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0049;
}
}
IL_0033:
{
WebConnectionData_t3835660455 * L_7 = __this->get_Data_10();
NullCheck(L_7);
HttpWebRequest_t1669436515 * L_8 = WebConnectionData_get_request_m2565424488(L_7, /*hidden argument*/NULL);
NullCheck(L_8);
HttpWebRequest_set_ReuseConnection_m3288622955(L_8, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0xFF, FINALLY_00f5);
}
IL_0049:
{
Stream_t1273022909 * L_9 = __this->get_nstream_1();
if (!L_9)
{
goto IL_0068;
}
}
IL_0051:
try
{ // begin try (depth: 2)
Stream_t1273022909 * L_10 = __this->get_nstream_1();
NullCheck(L_10);
VirtActionInvoker0::Invoke(15 /* System.Void System.IO.Stream::Close() */, L_10);
goto IL_0061;
} // end try (depth: 2)
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_005e;
throw e;
}
CATCH_005e:
{ // begin catch(System.Object)
goto IL_0061;
} // end catch (depth: 2)
IL_0061:
{
__this->set_nstream_1((Stream_t1273022909 *)NULL);
}
IL_0068:
{
Socket_t1119025450 * L_11 = __this->get_socket_2();
if (!L_11)
{
goto IL_0087;
}
}
IL_0070:
try
{ // begin try (depth: 2)
Socket_t1119025450 * L_12 = __this->get_socket_2();
NullCheck(L_12);
Socket_Close_m3289097516(L_12, /*hidden argument*/NULL);
goto IL_0080;
} // end try (depth: 2)
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_007d;
throw e;
}
CATCH_007d:
{ // begin catch(System.Object)
goto IL_0080;
} // end catch (depth: 2)
IL_0080:
{
__this->set_socket_2((Socket_t1119025450 *)NULL);
}
IL_0087:
{
bool L_13 = __this->get_ntlm_authenticated_18();
if (!L_13)
{
goto IL_0095;
}
}
IL_008f:
{
WebConnection_ResetNtlm_m1997409512(__this, /*hidden argument*/NULL);
}
IL_0095:
{
WebConnectionData_t3835660455 * L_14 = __this->get_Data_10();
if (!L_14)
{
goto IL_00c6;
}
}
IL_009d:
{
WebConnectionData_t3835660455 * L_15 = __this->get_Data_10();
V_2 = L_15;
V_3 = (bool)0;
}
IL_00a6:
try
{ // begin try (depth: 2)
WebConnectionData_t3835660455 * L_16 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_16, (bool*)(&V_3), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_17 = __this->get_Data_10();
NullCheck(L_17);
WebConnectionData_set_ReadState_m1219866531(L_17, 4, /*hidden argument*/NULL);
IL2CPP_LEAVE(0xC6, FINALLY_00bc);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00bc;
}
FINALLY_00bc:
{ // begin finally (depth: 2)
{
bool L_18 = V_3;
if (!L_18)
{
goto IL_00c5;
}
}
IL_00bf:
{
WebConnectionData_t3835660455 * L_19 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
}
IL_00c5:
{
IL2CPP_END_FINALLY(188)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(188)
{
IL2CPP_JUMP_TBL(0xC6, IL_00c6)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00c6:
{
RuntimeObject* L_20 = __this->get_state_4();
NullCheck(L_20);
InterfaceActionInvoker0::Invoke(2 /* System.Void System.Net.IWebConnectionState::SetIdle() */, IWebConnectionState_t1223684576_il2cpp_TypeInfo_var, L_20);
WebConnectionData_t3835660455 * L_21 = (WebConnectionData_t3835660455 *)il2cpp_codegen_object_new(WebConnectionData_t3835660455_il2cpp_TypeInfo_var);
WebConnectionData__ctor_m2596484140(L_21, /*hidden argument*/NULL);
__this->set_Data_10(L_21);
bool L_22 = ___sendNext0;
if (!L_22)
{
goto IL_00e5;
}
}
IL_00df:
{
WebConnection_SendNext_m1567013439(__this, /*hidden argument*/NULL);
}
IL_00e5:
{
__this->set_connect_request_21((HttpWebRequest_t1669436515 *)NULL);
__this->set_connect_ntlm_auth_state_20(0);
IL2CPP_LEAVE(0xFF, FINALLY_00f5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f5;
}
FINALLY_00f5:
{ // begin finally (depth: 1)
{
bool L_23 = V_1;
if (!L_23)
{
goto IL_00fe;
}
}
IL_00f8:
{
WebConnection_t3982808322 * L_24 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
}
IL_00fe:
{
IL2CPP_END_FINALLY(245)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(245)
{
IL2CPP_JUMP_TBL(0xFF, IL_00ff)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ff:
{
return;
}
}
// System.Void System.Net.WebConnection::Abort(System.Object,System.EventArgs)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_Abort_m20739763 (WebConnection_t3982808322 * __this, RuntimeObject * ___sender0, EventArgs_t3591816995 * ___args1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_Abort_m20739763_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_Abort_m20739763_RuntimeMethod_var);
WebConnection_t3982808322 * V_0 = NULL;
bool V_1 = false;
Queue_t3637523393 * V_2 = NULL;
bool V_3 = false;
HttpWebRequest_t1669436515 * V_4 = NULL;
ObjectU5BU5D_t2843939325* 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);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = __this;
V_1 = (bool)0;
}
IL_0004:
try
{ // begin try (depth: 1)
{
WebConnection_t3982808322 * L_0 = V_0;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_0, (bool*)(&V_1), /*hidden argument*/NULL);
Queue_t3637523393 * L_1 = __this->get_queue_13();
V_2 = L_1;
V_3 = (bool)0;
}
IL_0015:
try
{ // begin try (depth: 2)
{
Queue_t3637523393 * L_2 = V_2;
Monitor_Enter_m984175629(NULL /*static, unused*/, L_2, (bool*)(&V_3), /*hidden argument*/NULL);
RuntimeObject * L_3 = ___sender0;
V_4 = ((HttpWebRequest_t1669436515 *)CastclassClass((RuntimeObject*)L_3, HttpWebRequest_t1669436515_il2cpp_TypeInfo_var));
WebConnectionData_t3835660455 * L_4 = __this->get_Data_10();
NullCheck(L_4);
HttpWebRequest_t1669436515 * L_5 = WebConnectionData_get_request_m2565424488(L_4, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_6 = V_4;
if ((((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_5) == ((RuntimeObject*)(HttpWebRequest_t1669436515 *)L_6)))
{
goto IL_0041;
}
}
IL_0034:
{
WebConnectionData_t3835660455 * L_7 = __this->get_Data_10();
NullCheck(L_7);
HttpWebRequest_t1669436515 * L_8 = WebConnectionData_get_request_m2565424488(L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0098;
}
}
IL_0041:
{
HttpWebRequest_t1669436515 * L_9 = V_4;
NullCheck(L_9);
bool L_10 = HttpWebRequest_get_FinishedReading_m1895117237(L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_0093;
}
}
IL_004a:
{
__this->set_status_5(6);
WebConnection_Close_m1464903054(__this, (bool)0, /*hidden argument*/NULL);
Queue_t3637523393 * L_11 = __this->get_queue_13();
NullCheck(L_11);
int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Queue::get_Count() */, L_11);
if ((((int32_t)L_12) <= ((int32_t)0)))
{
goto IL_0093;
}
}
IL_0066:
{
WebConnectionData_t3835660455 * L_13 = __this->get_Data_10();
Queue_t3637523393 * L_14 = __this->get_queue_13();
NullCheck(L_14);
RuntimeObject * L_15 = VirtFuncInvoker0< RuntimeObject * >::Invoke(18 /* System.Object System.Collections.Queue::Dequeue() */, L_14);
NullCheck(L_13);
WebConnectionData_set_request_m2687368876(L_13, ((HttpWebRequest_t1669436515 *)CastclassClass((RuntimeObject*)L_15, HttpWebRequest_t1669436515_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
WebConnectionData_t3835660455 * L_16 = __this->get_Data_10();
NullCheck(L_16);
HttpWebRequest_t1669436515 * L_17 = WebConnectionData_get_request_m2565424488(L_16, /*hidden argument*/NULL);
WebConnection_SendRequest_m4284869211(__this, L_17, /*hidden argument*/NULL);
}
IL_0093:
{
IL2CPP_LEAVE(0x141, FINALLY_012d);
}
IL_0098:
{
HttpWebRequest_t1669436515 * L_18 = V_4;
NullCheck(L_18);
HttpWebRequest_set_FinishedReading_m2455679796(L_18, (bool)1, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_19 = V_4;
NullCheck(L_19);
HttpWebRequest_SetResponseError_m4064263808(L_19, 6, (Exception_t *)NULL, _stringLiteral1766284293, /*hidden argument*/NULL);
Queue_t3637523393 * L_20 = __this->get_queue_13();
NullCheck(L_20);
int32_t L_21 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Queue::get_Count() */, L_20);
if ((((int32_t)L_21) <= ((int32_t)0)))
{
goto IL_00d8;
}
}
IL_00bc:
{
Queue_t3637523393 * L_22 = __this->get_queue_13();
NullCheck(L_22);
RuntimeObject * L_23 = VirtFuncInvoker0< RuntimeObject * >::Invoke(19 /* System.Object System.Collections.Queue::Peek() */, L_22);
RuntimeObject * L_24 = ___sender0;
if ((!(((RuntimeObject*)(RuntimeObject *)L_23) == ((RuntimeObject*)(RuntimeObject *)L_24))))
{
goto IL_00d8;
}
}
IL_00ca:
{
Queue_t3637523393 * L_25 = __this->get_queue_13();
NullCheck(L_25);
VirtFuncInvoker0< RuntimeObject * >::Invoke(18 /* System.Object System.Collections.Queue::Dequeue() */, L_25);
IL2CPP_LEAVE(0x141, FINALLY_012d);
}
IL_00d8:
{
Queue_t3637523393 * L_26 = __this->get_queue_13();
NullCheck(L_26);
int32_t L_27 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Queue::get_Count() */, L_26);
if ((((int32_t)L_27) <= ((int32_t)0)))
{
goto IL_012b;
}
}
IL_00e6:
{
Queue_t3637523393 * L_28 = __this->get_queue_13();
NullCheck(L_28);
ObjectU5BU5D_t2843939325* L_29 = VirtFuncInvoker0< ObjectU5BU5D_t2843939325* >::Invoke(20 /* System.Object[] System.Collections.Queue::ToArray() */, L_28);
V_5 = L_29;
Queue_t3637523393 * L_30 = __this->get_queue_13();
NullCheck(L_30);
VirtActionInvoker0::Invoke(14 /* System.Void System.Collections.Queue::Clear() */, L_30);
ObjectU5BU5D_t2843939325* L_31 = V_5;
NullCheck(L_31);
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length)))), (int32_t)1));
goto IL_0126;
}
IL_0108:
{
ObjectU5BU5D_t2843939325* L_32 = V_5;
int32_t L_33 = V_6;
NullCheck(L_32);
int32_t L_34 = L_33;
RuntimeObject * L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
RuntimeObject * L_36 = ___sender0;
if ((((RuntimeObject*)(RuntimeObject *)L_35) == ((RuntimeObject*)(RuntimeObject *)L_36)))
{
goto IL_0120;
}
}
IL_0110:
{
Queue_t3637523393 * L_37 = __this->get_queue_13();
ObjectU5BU5D_t2843939325* L_38 = V_5;
int32_t L_39 = V_6;
NullCheck(L_38);
int32_t L_40 = L_39;
RuntimeObject * L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
NullCheck(L_37);
VirtActionInvoker1< RuntimeObject * >::Invoke(16 /* System.Void System.Collections.Queue::Enqueue(System.Object) */, L_37, L_41);
}
IL_0120:
{
int32_t L_42 = V_6;
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_42, (int32_t)1));
}
IL_0126:
{
int32_t L_43 = V_6;
if ((((int32_t)L_43) >= ((int32_t)0)))
{
goto IL_0108;
}
}
IL_012b:
{
IL2CPP_LEAVE(0x141, FINALLY_012d);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_012d;
}
FINALLY_012d:
{ // begin finally (depth: 2)
{
bool L_44 = V_3;
if (!L_44)
{
goto IL_0136;
}
}
IL_0130:
{
Queue_t3637523393 * L_45 = V_2;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_45, /*hidden argument*/NULL);
}
IL_0136:
{
IL2CPP_END_FINALLY(301)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(301)
{
IL2CPP_END_CLEANUP(0x141, FINALLY_0137);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0137;
}
FINALLY_0137:
{ // begin finally (depth: 1)
{
bool L_46 = V_1;
if (!L_46)
{
goto IL_0140;
}
}
IL_013a:
{
WebConnection_t3982808322 * L_47 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_47, /*hidden argument*/NULL);
}
IL_0140:
{
IL2CPP_END_FINALLY(311)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(311)
{
IL2CPP_JUMP_TBL(0x141, IL_0141)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0141:
{
return;
}
}
// System.Void System.Net.WebConnection::ResetNtlm()
extern "C" IL2CPP_METHOD_ATTR void WebConnection_ResetNtlm_m1997409512 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_ResetNtlm_m1997409512_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_ResetNtlm_m1997409512_RuntimeMethod_var);
{
__this->set_ntlm_authenticated_18((bool)0);
__this->set_ntlm_credentials_17((NetworkCredential_t3282608323 *)NULL);
__this->set_unsafe_sharing_19((bool)0);
return;
}
}
// System.Void System.Net.WebConnection::set_PriorityRequest(System.Net.HttpWebRequest)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_set_PriorityRequest_m1465137853 (WebConnection_t3982808322 * __this, HttpWebRequest_t1669436515 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_set_PriorityRequest_m1465137853_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_set_PriorityRequest_m1465137853_RuntimeMethod_var);
{
HttpWebRequest_t1669436515 * L_0 = ___value0;
__this->set_priority_request_16(L_0);
return;
}
}
// System.Boolean System.Net.WebConnection::get_NtlmAuthenticated()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_get_NtlmAuthenticated_m2082355413 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_get_NtlmAuthenticated_m2082355413_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_get_NtlmAuthenticated_m2082355413_RuntimeMethod_var);
{
bool L_0 = __this->get_ntlm_authenticated_18();
return L_0;
}
}
// System.Void System.Net.WebConnection::set_NtlmAuthenticated(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_set_NtlmAuthenticated_m3388586408 (WebConnection_t3982808322 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_set_NtlmAuthenticated_m3388586408_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_set_NtlmAuthenticated_m3388586408_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_ntlm_authenticated_18(L_0);
return;
}
}
// System.Net.NetworkCredential System.Net.WebConnection::get_NtlmCredential()
extern "C" IL2CPP_METHOD_ATTR NetworkCredential_t3282608323 * WebConnection_get_NtlmCredential_m2384740598 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_get_NtlmCredential_m2384740598_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_get_NtlmCredential_m2384740598_RuntimeMethod_var);
{
NetworkCredential_t3282608323 * L_0 = __this->get_ntlm_credentials_17();
return L_0;
}
}
// System.Void System.Net.WebConnection::set_NtlmCredential(System.Net.NetworkCredential)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_set_NtlmCredential_m4103205352 (WebConnection_t3982808322 * __this, NetworkCredential_t3282608323 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_set_NtlmCredential_m4103205352_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_set_NtlmCredential_m4103205352_RuntimeMethod_var);
{
NetworkCredential_t3282608323 * L_0 = ___value0;
__this->set_ntlm_credentials_17(L_0);
return;
}
}
// System.Boolean System.Net.WebConnection::get_UnsafeAuthenticatedConnectionSharing()
extern "C" IL2CPP_METHOD_ATTR bool WebConnection_get_UnsafeAuthenticatedConnectionSharing_m453020971 (WebConnection_t3982808322 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_get_UnsafeAuthenticatedConnectionSharing_m453020971_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_get_UnsafeAuthenticatedConnectionSharing_m453020971_RuntimeMethod_var);
{
bool L_0 = __this->get_unsafe_sharing_19();
return L_0;
}
}
// System.Void System.Net.WebConnection::set_UnsafeAuthenticatedConnectionSharing(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_set_UnsafeAuthenticatedConnectionSharing_m987184906 (WebConnection_t3982808322 * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_set_UnsafeAuthenticatedConnectionSharing_m987184906_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_set_UnsafeAuthenticatedConnectionSharing_m987184906_RuntimeMethod_var);
{
bool L_0 = ___value0;
__this->set_unsafe_sharing_19(L_0);
return;
}
}
// System.Void System.Net.WebConnection::<SendRequest>b__41_0(System.Object)
extern "C" IL2CPP_METHOD_ATTR void WebConnection_U3CSendRequestU3Eb__41_0_m3242074501 (WebConnection_t3982808322 * __this, RuntimeObject * ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WebConnection_U3CSendRequestU3Eb__41_0_m3242074501_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackTraceSentry _stackTraceSentry(WebConnection_U3CSendRequestU3Eb__41_0_m3242074501_RuntimeMethod_var);
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
RuntimeObject * L_0 = ___o0;
WebConnection_InitConnection_m1346209371(__this, ((HttpWebRequest_t1669436515 *)CastclassClass((RuntimeObject*)L_0, HttpWebRequest_t1669436515_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
goto IL_0011;
} // 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_000e;
throw e;
}
CATCH_000e:
{ // begin catch(System.Object)
goto IL_0011;
} // end catch (depth: 1)
IL_0011:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"ericrosen@erics-mbp-3.devices.brown.edu"
] | ericrosen@erics-mbp-3.devices.brown.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.