File: gen\CILParser.cs
Web Access
Project: ILAssembler.csproj (Microsoft.DotNet.ILAssembler)
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     ANTLR Version: 4.13.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Generated from CIL.g4 by ANTLR 4.13.1

// Unreachable code detected
#pragma warning disable 0162
// The variable '...' is assigned but its value is never used
#pragma warning disable 0219
// Missing XML comment for publicly visible type or member '...'
#pragma warning disable 1591
// Ambiguous reference in cref attribute
#pragma warning disable 419

namespace Microsoft.DotNet.ILAssembler {

#nullable enable annotations

using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using Antlr4.Runtime;
using Antlr4.Runtime.Atn;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
using DFA = Antlr4.Runtime.Dfa.DFA;

[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public partial class CILParser : Parser {
	protected static DFA[] decisionToDFA;
	protected static PredictionContextCache sharedContextCache = new PredictionContextCache();
	public const int
		T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, 
		T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17, 
		T__17=18, T__18=19, T__19=20, T__20=21, T__21=22, T__22=23, T__23=24, 
		T__24=25, T__25=26, T__26=27, T__27=28, T__28=29, T__29=30, T__30=31, 
		T__31=32, T__32=33, T__33=34, T__34=35, T__35=36, T__36=37, T__37=38, 
		T__38=39, T__39=40, T__40=41, T__41=42, T__42=43, T__43=44, T__44=45, 
		T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52, 
		T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59, 
		T__59=60, T__60=61, T__61=62, T__62=63, T__63=64, T__64=65, T__65=66, 
		T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, T__71=72, T__72=73, 
		T__73=74, T__74=75, T__75=76, T__76=77, T__77=78, T__78=79, T__79=80, 
		T__80=81, T__81=82, T__82=83, T__83=84, T__84=85, T__85=86, T__86=87, 
		T__87=88, T__88=89, T__89=90, T__90=91, T__91=92, T__92=93, T__93=94, 
		T__94=95, T__95=96, T__96=97, T__97=98, T__98=99, T__99=100, T__100=101, 
		T__101=102, T__102=103, T__103=104, T__104=105, T__105=106, T__106=107, 
		T__107=108, T__108=109, T__109=110, T__110=111, T__111=112, T__112=113, 
		T__113=114, T__114=115, T__115=116, T__116=117, T__117=118, T__118=119, 
		T__119=120, T__120=121, T__121=122, T__122=123, T__123=124, T__124=125, 
		T__125=126, T__126=127, T__127=128, T__128=129, T__129=130, T__130=131, 
		T__131=132, T__132=133, T__133=134, T__134=135, T__135=136, T__136=137, 
		T__137=138, T__138=139, T__139=140, T__140=141, T__141=142, T__142=143, 
		T__143=144, T__144=145, T__145=146, T__146=147, T__147=148, T__148=149, 
		T__149=150, T__150=151, T__151=152, T__152=153, T__153=154, T__154=155, 
		T__155=156, T__156=157, T__157=158, T__158=159, T__159=160, T__160=161, 
		T__161=162, T__162=163, T__163=164, T__164=165, T__165=166, T__166=167, 
		T__167=168, T__168=169, T__169=170, T__170=171, INT32=172, INT64=173, 
		FLOAT64=174, DCOLON=175, ELLIPSIS=176, NULL=177, NULLREF=178, HASH=179, 
		CHAR=180, STRING=181, BOOL=182, INT8=183, INT16=184, INT32_=185, INT64_=186, 
		FLOAT32=187, FLOAT64_=188, UINT8=189, UINT16=190, UINT32=191, UINT64=192, 
		INT=193, UINT=194, TYPE=195, OBJECT=196, MODULE=197, VALUE=198, VALUETYPE=199, 
		VOID=200, ENUM=201, CUSTOM=202, FIXED=203, SYSSTRING=204, ARRAY=205, VARIANT=206, 
		CURRENCY=207, SYSCHAR=208, ERROR=209, DECIMAL=210, DATE=211, BSTR=212, 
		LPSTR=213, LPWSTR=214, LPTSTR=215, OBJECTREF=216, IUNKNOWN=217, IDISPATCH=218, 
		STRUCT=219, INTERFACE=220, SAFEARRAY=221, BYVALSTR=222, ANSI=223, TBSTR=224, 
		METHOD=225, ANY=226, LPSTRUCT=227, VECTOR=228, HRESULT=229, CARRAY=230, 
		USERDEFINED=231, RECORD=232, FILETIME=233, BLOB=234, STREAM=235, STORAGE=236, 
		STREAMED_OBJECT=237, STORED_OBJECT=238, BLOB_OBJECT=239, CF=240, CLSID=241, 
		INSTANCE=242, EXPLICIT=243, DEFAULT=244, VARARG=245, UNMANAGED=246, CDECL=247, 
		STDCALL=248, THISCALL=249, FASTCALL=250, TYPE_PARAMETER=251, METHOD_TYPE_PARAMETER=252, 
		TYPEDREF=253, PARAM=254, CONSTRAINT=255, THIS=256, BASE=257, NESTER=258, 
		REF=259, ARRAY_TYPE_NO_BOUNDS=260, PTR=261, QSTRING=262, SQSTRING=263, 
		DOT=264, PLUS=265, PP_DEFINE=266, PP_UNDEF=267, PP_IFDEF=268, PP_IFNDEF=269, 
		PP_ELSE=270, PP_ENDIF=271, PP_INCLUDE=272, MRESOURCE=273, INSTR_NONE=274, 
		INSTR_VAR=275, INSTR_I=276, INSTR_I8=277, INSTR_R=278, INSTR_METHOD=279, 
		INSTR_SIG=280, INSTR_BRTARGET=281, INSTR_SWITCH=282, INSTR_TYPE=283, INSTR_STRING=284, 
		INSTR_FIELD=285, INSTR_TOK=286, DOTTEDNAME=287, ID=288, HEXBYTE=289, WS=290, 
		SINGLE_LINE_COMMENT=291, COMMENT=292, PERMISSION=293, PERMISSIONSET=294, 
		EMITBYTE=295, MAXSTACK=296, ENTRYPOINT=297, ZEROINIT=298, LOCALS=299, 
		EXPORT=300, OVERRIDE=301, VTENTRY=302, IncludedFileEof=303, SyntheticIncludedFileEof=304;
	public const int
		RULE_id = 0, RULE_dottedName = 1, RULE_dottedNamePart = 2, RULE_compQstring = 3, 
		RULE_decls = 4, RULE_decl = 5, RULE_subsystem = 6, RULE_corflags = 7, 
		RULE_alignment = 8, RULE_imagebase = 9, RULE_stackreserve = 10, RULE_assemblyBlock = 11, 
		RULE_mscorlib = 12, RULE_languageDecl = 13, RULE_languageString = 14, 
		RULE_typelist = 15, RULE_int32 = 16, RULE_int64 = 17, RULE_float64 = 18, 
		RULE_intOrWildcard = 19, RULE_compControl = 20, RULE_typedefDecl = 21, 
		RULE_customDescr = 22, RULE_customDescrWithOwner = 23, RULE_customType = 24, 
		RULE_ownerType = 25, RULE_customBlobDescr = 26, RULE_customBlobArgs = 27, 
		RULE_customBlobNVPairs = 28, RULE_fieldOrProp = 29, RULE_serializType = 30, 
		RULE_serializTypeElement = 31, RULE_moduleHead = 32, RULE_vtfixupDecl = 33, 
		RULE_vtfixupAttr = 34, RULE_vtfixupAttrElement = 35, RULE_vtableDecl = 36, 
		RULE_nameSpaceHead = 37, RULE_classHead = 38, RULE_classAttr = 39, RULE_extendsClause = 40, 
		RULE_implClause = 41, RULE_classDecls = 42, RULE_implList = 43, RULE_esHead = 44, 
		RULE_extSourceSpec = 45, RULE_fileDecl = 46, RULE_fileAttr = 47, RULE_fileEntry = 48, 
		RULE_asmAttrAny = 49, RULE_asmAttr = 50, RULE_instr = 51, RULE_simpleInstr = 52, 
		RULE_calliSignature = 53, RULE_labels = 54, RULE_typeArgs = 55, RULE_bounds = 56, 
		RULE_sigArgs = 57, RULE_sigArg = 58, RULE_className = 59, RULE_slashedName = 60, 
		RULE_assemblyDecls = 61, RULE_assemblyDecl = 62, RULE_typeSpec = 63, RULE_typeSpecOrScope = 64, 
		RULE_nativeType = 65, RULE_nativeTypeArrayPointerInfo = 66, RULE_nativeTypeElement = 67, 
		RULE_iidParamIndex = 68, RULE_variantType = 69, RULE_variantTypeElement = 70, 
		RULE_type = 71, RULE_typeModifiers = 72, RULE_elementType = 73, RULE_simpleType = 74, 
		RULE_bound = 75, RULE_nativeInt = 76, RULE_nativeUint = 77, RULE_secDecl = 78, 
		RULE_secAttrSetBlob = 79, RULE_secAttrBlob = 80, RULE_nameValPairs = 81, 
		RULE_nameValPair = 82, RULE_truefalse = 83, RULE_caValue = 84, RULE_secAction = 85, 
		RULE_methodRef = 86, RULE_callConv = 87, RULE_callKind = 88, RULE_mdtoken = 89, 
		RULE_memberRef = 90, RULE_fieldRef = 91, RULE_typeList = 92, RULE_typarsClause = 93, 
		RULE_typarAttrib = 94, RULE_typarAttribs = 95, RULE_typar = 96, RULE_typars = 97, 
		RULE_tyBound = 98, RULE_genArity = 99, RULE_genArityNotEmpty = 100, RULE_classDecl = 101, 
		RULE_fieldDecl = 102, RULE_fieldAttr = 103, RULE_atOpt = 104, RULE_initOpt = 105, 
		RULE_repeatOpt = 106, RULE_eventHead = 107, RULE_eventAttr = 108, RULE_eventDecls = 109, 
		RULE_eventDecl = 110, RULE_propHead = 111, RULE_propAttr = 112, RULE_propDecls = 113, 
		RULE_propDecl = 114, RULE_marshalClause = 115, RULE_marshalBlob = 116, 
		RULE_paramAttr = 117, RULE_paramAttrElement = 118, RULE_methodHead = 119, 
		RULE_methAttr = 120, RULE_pinvImpl = 121, RULE_pinvAttr = 122, RULE_methodName = 123, 
		RULE_implAttr = 124, RULE_methodDecls = 125, RULE_methodDecl = 126, RULE_localsDecl = 127, 
		RULE_exportDecl = 128, RULE_vtentryDecl = 129, RULE_overrideDecl = 130, 
		RULE_parameterDecl = 131, RULE_labelDecl = 132, RULE_customDescrInMethodBody = 133, 
		RULE_scopeBlock = 134, RULE_sehBlock = 135, RULE_sehClauses = 136, RULE_tryBlock = 137, 
		RULE_sehClause = 138, RULE_filterClause = 139, RULE_catchClause = 140, 
		RULE_finallyClause = 141, RULE_faultClause = 142, RULE_handlerBlock = 143, 
		RULE_dataDecl = 144, RULE_ddHead = 145, RULE_tls = 146, RULE_ddBody = 147, 
		RULE_ddItemList = 148, RULE_ddItemCount = 149, RULE_ddItem = 150, RULE_fieldSerInit = 151, 
		RULE_bytes = 152, RULE_hexbyte = 153, RULE_fieldInit = 154, RULE_serInit = 155, 
		RULE_f32seq = 156, RULE_f64seq = 157, RULE_i64seq = 158, RULE_i32seq = 159, 
		RULE_i16seq = 160, RULE_i8seq = 161, RULE_boolSeq = 162, RULE_sqstringSeq = 163, 
		RULE_classSeq = 164, RULE_classSeqElement = 165, RULE_objSeq = 166, RULE_customAttrDecl = 167, 
		RULE_asmOrRefDecl = 168, RULE_assemblyRefBlock = 169, RULE_assemblyRefHead = 170, 
		RULE_assemblyRefDecls = 171, RULE_assemblyRefDecl = 172, RULE_exptypeBlock = 173, 
		RULE_exptypeHead = 174, RULE_exportHead = 175, RULE_exptAttrs = 176, RULE_exptAttr = 177, 
		RULE_exptypeDecls = 178, RULE_exptypeDecl = 179, RULE_manifestResBlock = 180, 
		RULE_manifestResHead = 181, RULE_manresAttrs = 182, RULE_manresAttr = 183, 
		RULE_manifestResDecls = 184, RULE_manifestResDecl = 185, RULE_document = 186;
	public static readonly string[] ruleNames = {
		"id", "dottedName", "dottedNamePart", "compQstring", "decls", "decl", 
		"subsystem", "corflags", "alignment", "imagebase", "stackreserve", "assemblyBlock", 
		"mscorlib", "languageDecl", "languageString", "typelist", "int32", "int64", 
		"float64", "intOrWildcard", "compControl", "typedefDecl", "customDescr", 
		"customDescrWithOwner", "customType", "ownerType", "customBlobDescr", 
		"customBlobArgs", "customBlobNVPairs", "fieldOrProp", "serializType", 
		"serializTypeElement", "moduleHead", "vtfixupDecl", "vtfixupAttr", "vtfixupAttrElement", 
		"vtableDecl", "nameSpaceHead", "classHead", "classAttr", "extendsClause", 
		"implClause", "classDecls", "implList", "esHead", "extSourceSpec", "fileDecl", 
		"fileAttr", "fileEntry", "asmAttrAny", "asmAttr", "instr", "simpleInstr", 
		"calliSignature", "labels", "typeArgs", "bounds", "sigArgs", "sigArg", 
		"className", "slashedName", "assemblyDecls", "assemblyDecl", "typeSpec", 
		"typeSpecOrScope", "nativeType", "nativeTypeArrayPointerInfo", "nativeTypeElement", 
		"iidParamIndex", "variantType", "variantTypeElement", "type", "typeModifiers", 
		"elementType", "simpleType", "bound", "nativeInt", "nativeUint", "secDecl", 
		"secAttrSetBlob", "secAttrBlob", "nameValPairs", "nameValPair", "truefalse", 
		"caValue", "secAction", "methodRef", "callConv", "callKind", "mdtoken", 
		"memberRef", "fieldRef", "typeList", "typarsClause", "typarAttrib", "typarAttribs", 
		"typar", "typars", "tyBound", "genArity", "genArityNotEmpty", "classDecl", 
		"fieldDecl", "fieldAttr", "atOpt", "initOpt", "repeatOpt", "eventHead", 
		"eventAttr", "eventDecls", "eventDecl", "propHead", "propAttr", "propDecls", 
		"propDecl", "marshalClause", "marshalBlob", "paramAttr", "paramAttrElement", 
		"methodHead", "methAttr", "pinvImpl", "pinvAttr", "methodName", "implAttr", 
		"methodDecls", "methodDecl", "localsDecl", "exportDecl", "vtentryDecl", 
		"overrideDecl", "parameterDecl", "labelDecl", "customDescrInMethodBody", 
		"scopeBlock", "sehBlock", "sehClauses", "tryBlock", "sehClause", "filterClause", 
		"catchClause", "finallyClause", "faultClause", "handlerBlock", "dataDecl", 
		"ddHead", "tls", "ddBody", "ddItemList", "ddItemCount", "ddItem", "fieldSerInit", 
		"bytes", "hexbyte", "fieldInit", "serInit", "f32seq", "f64seq", "i64seq", 
		"i32seq", "i16seq", "i8seq", "boolSeq", "sqstringSeq", "classSeq", "classSeqElement", 
		"objSeq", "customAttrDecl", "asmOrRefDecl", "assemblyRefBlock", "assemblyRefHead", 
		"assemblyRefDecls", "assemblyRefDecl", "exptypeBlock", "exptypeHead", 
		"exportHead", "exptAttrs", "exptAttr", "exptypeDecls", "exptypeDecl", 
		"manifestResBlock", "manifestResHead", "manresAttrs", "manresAttr", "manifestResDecls", 
		"manifestResDecl", "document"
	};

	private static readonly string[] _LiteralNames = {
		null, "'native'", "'cil'", "'optil'", "'managed'", "'forwardref'", "'preservesig'", 
		"'runtime'", "'internalcall'", "'synchronized'", "'noinlining'", "'aggressiveinlining'", 
		"'nooptimization'", "'aggressiveoptimization'", "'async'", "'extended'", 
		"'volatile'", "'{'", "'}'", "'.subsystem'", "'.corflags'", "'.file'", 
		"'alignment'", "'.imagebase'", "'.stackreserve'", "'.assembly'", "'.mscorlib'", 
		"'.language'", "','", "'.typelist'", "'('", "')'", "';'", "'.typedef'", 
		"'as'", "'.custom'", "'='", "'field'", "'property'", "'class'", "'extern'", 
		"'.vtfixup'", "'['", "']'", "'at'", "'fromunmanaged'", "'callmostderived'", 
		"'retainappdomain'", "'.vtable'", "'.namespace'", "'.class'", "'public'", 
		"'private'", "'sealed'", "'abstract'", "'auto'", "'sequential'", "'unicode'", 
		"'autochar'", "'import'", "'serializable'", "'windowsruntime'", "'nested'", 
		"'family'", "'assembly'", "'famandassem'", "'famorassem'", "'beforefieldinit'", 
		"'specialname'", "'rtspecialname'", "'flags'", "'extends'", "'implements'", 
		"'.line'", "'#line'", "':'", "'nometadata'", "'retargetable'", "'noplatform'", 
		"'legacy library'", "'x86'", "'amd64'", "'arm'", "'arm64'", "'bytearray'", 
		"'()'", "'<'", "'>'", "'/'", "'algorithm'", "'unsigned'", "'iidparam'", 
		"'pinned'", "'modreq'", "'modopt'", "'true'", "'false'", "'request'", 
		"'demand'", "'assert'", "'deny'", "'permitonly'", "'linkcheck'", "'inheritcheck'", 
		"'reqmin'", "'reqopt'", "'reqrefuse'", "'prejitgrant'", "'prejitdeny'", 
		"'noncasdemand'", "'noncaslinkdemand'", "'noncasinheritance'", "'callconv'", 
		"'mdtoken'", "'-'", "'byreflike'", "'.ctor'", "'.size'", "'.pack'", "'with'", 
		"'.interfaceimpl'", "'.field'", "'marshal'", "'static'", "'initonly'", 
		"'privatescope'", "'literal'", "'notserialized'", "'.event'", "'.addon'", 
		"'.removeon'", "'.fire'", "'.other'", "'.property'", "'.set'", "'.get'", 
		"'in'", "'out'", "'opt'", "'.method'", "'final'", "'virtual'", "'strict'", 
		"'hidebysig'", "'newslot'", "'unmanagedexp'", "'reqsecobj'", "'pinvokeimpl'", 
		"'nomangle'", "'lasterr'", "'winapi'", "'bestfit'", "'on'", "'off'", "'charmaperror'", 
		"'.cctor'", "'il'", "'init'", "'.try'", "'to'", "'filter'", "'catch'", 
		"'finally'", "'fault'", "'handler'", "'.data'", "'tls'", "'.publickey'", 
		"'.ver'", "'.locale'", "'.publickeytoken'", "'forwarder'", null, null, 
		null, "'::'", "'...'", "'null'", "'nullref'", "'.hash'", null, "'string'", 
		"'bool'", "'int8'", "'int16'", "'int32'", "'int64'", "'float32'", "'float64'", 
		"'uint8'", "'uint16'", "'uint32'", "'uint64'", "'int'", "'uint'", "'type'", 
		"'object'", "'.module'", "'value'", "'valuetype'", "'void'", "'enum'", 
		"'custom'", "'fixed'", "'sysstring'", "'array'", "'variant'", "'currency'", 
		"'syschar'", "'error'", "'decimal'", "'date'", "'bstr'", "'lpstr'", "'lpwstr'", 
		"'lptstr'", "'objectref'", "'iunknown'", "'idispatch'", "'struct'", "'interface'", 
		"'safearray'", "'byvalstr'", "'ansi'", "'tbstr'", "'method'", "'any'", 
		"'lpstruct'", "'vector'", "'hresult'", "'carray'", "'userdefined'", "'record'", 
		"'filetime'", "'blob'", "'stream'", "'storage'", "'streamed_object'", 
		"'stored_object'", "'blob_object'", "'cf'", "'clsid'", "'instance'", "'explicit'", 
		"'default'", "'vararg'", "'unmanaged'", "'cdecl'", "'stdcall'", "'thiscall'", 
		"'fastcall'", "'!'", null, null, "'.param'", "'constraint'", "'.this'", 
		"'.base'", "'.nester'", "'&'", null, "'*'", null, null, "'.'", "'+'", 
		"'#define'", "'#undef'", "'#ifdef'", "'#ifndef'", "'#else'", "'#endif'", 
		"'#include'", "'.mresource'", null, null, null, "'ldc.i8'", null, null, 
		"'calli'", null, "'switch'", null, "'ldstr'", null, "'ldtoken'", null, 
		null, null, null, null, null, "'.permission'", "'.permissionset'", "'.emitbyte'", 
		"'.maxstack'", "'.entrypoint'", "'.zeroinit'", "'.locals'", "'.export'", 
		"'.override'", "'.vtentry'"
	};
	private static readonly string[] _SymbolicNames = {
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, null, null, null, null, null, null, null, null, 
		null, null, null, null, "INT32", "INT64", "FLOAT64", "DCOLON", "ELLIPSIS", 
		"NULL", "NULLREF", "HASH", "CHAR", "STRING", "BOOL", "INT8", "INT16", 
		"INT32_", "INT64_", "FLOAT32", "FLOAT64_", "UINT8", "UINT16", "UINT32", 
		"UINT64", "INT", "UINT", "TYPE", "OBJECT", "MODULE", "VALUE", "VALUETYPE", 
		"VOID", "ENUM", "CUSTOM", "FIXED", "SYSSTRING", "ARRAY", "VARIANT", "CURRENCY", 
		"SYSCHAR", "ERROR", "DECIMAL", "DATE", "BSTR", "LPSTR", "LPWSTR", "LPTSTR", 
		"OBJECTREF", "IUNKNOWN", "IDISPATCH", "STRUCT", "INTERFACE", "SAFEARRAY", 
		"BYVALSTR", "ANSI", "TBSTR", "METHOD", "ANY", "LPSTRUCT", "VECTOR", "HRESULT", 
		"CARRAY", "USERDEFINED", "RECORD", "FILETIME", "BLOB", "STREAM", "STORAGE", 
		"STREAMED_OBJECT", "STORED_OBJECT", "BLOB_OBJECT", "CF", "CLSID", "INSTANCE", 
		"EXPLICIT", "DEFAULT", "VARARG", "UNMANAGED", "CDECL", "STDCALL", "THISCALL", 
		"FASTCALL", "TYPE_PARAMETER", "METHOD_TYPE_PARAMETER", "TYPEDREF", "PARAM", 
		"CONSTRAINT", "THIS", "BASE", "NESTER", "REF", "ARRAY_TYPE_NO_BOUNDS", 
		"PTR", "QSTRING", "SQSTRING", "DOT", "PLUS", "PP_DEFINE", "PP_UNDEF", 
		"PP_IFDEF", "PP_IFNDEF", "PP_ELSE", "PP_ENDIF", "PP_INCLUDE", "MRESOURCE", 
		"INSTR_NONE", "INSTR_VAR", "INSTR_I", "INSTR_I8", "INSTR_R", "INSTR_METHOD", 
		"INSTR_SIG", "INSTR_BRTARGET", "INSTR_SWITCH", "INSTR_TYPE", "INSTR_STRING", 
		"INSTR_FIELD", "INSTR_TOK", "DOTTEDNAME", "ID", "HEXBYTE", "WS", "SINGLE_LINE_COMMENT", 
		"COMMENT", "PERMISSION", "PERMISSIONSET", "EMITBYTE", "MAXSTACK", "ENTRYPOINT", 
		"ZEROINIT", "LOCALS", "EXPORT", "OVERRIDE", "VTENTRY", "IncludedFileEof", 
		"SyntheticIncludedFileEof"
	};
	public static readonly IVocabulary DefaultVocabulary = new Vocabulary(_LiteralNames, _SymbolicNames);

	[NotNull]
	public override IVocabulary Vocabulary
	{
		get
		{
			return DefaultVocabulary;
		}
	}

	public override string GrammarFileName { get { return "CIL.g4"; } }

	public override string[] RuleNames { get { return ruleNames; } }

	public override int[] SerializedAtn { get { return _serializedATN; } }

	static CILParser() {
		decisionToDFA = new DFA[_ATN.NumberOfDecisions];
		for (int i = 0; i < _ATN.NumberOfDecisions; i++) {
			decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i);
		}
	}


	    internal GrammarActions Actions { get; set; } = null!;

		public CILParser(ITokenStream input) : this(input, Console.Out, Console.Error) { }

		public CILParser(ITokenStream input, TextWriter output, TextWriter errorOutput)
		: base(input, output, errorOutput)
	{
		Interpreter = new ParserATNSimulator(this, _ATN, decisionToDFA, sharedContextCache);
	}

	public partial class IdContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ID() { return GetToken(CILParser.ID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNMANAGED() { return GetToken(CILParser.UNMANAGED, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTANCE() { return GetToken(CILParser.INSTANCE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		public IdContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_id; } }
	}

	[RuleVersion(0)]
	public IdContext id() {
		IdContext _localctx = new IdContext(Context, State);
		EnterRule(_localctx, 0, RULE_id);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 374;
			_la = TokenStream.LA(1);
			if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 65534L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 70368746274833L) != 0)) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DottedNameContext : ParserRuleContext {
		public string Value;
		public CILParser.DottedNameBuilder Builder;
		public IToken direct;
		public DottedNamePartContext part;
		public DottedNamePartContext tail;
		public IToken quoted;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOTTEDNAME() { return GetToken(CILParser.DOTTEDNAME, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public DottedNamePartContext[] dottedNamePart() {
			return GetRuleContexts<DottedNamePartContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNamePartContext dottedNamePart(int i) {
			return GetRuleContext<DottedNamePartContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] DOT() { return GetTokens(CILParser.DOT); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOT(int i) {
			return GetToken(CILParser.DOT, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		public DottedNameContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_dottedName; } }
	}

	[RuleVersion(0)]
	public DottedNameContext dottedName() {
		DottedNameContext _localctx = new DottedNameContext(Context, State);
		EnterRule(_localctx, 2, RULE_dottedName);
		_localctx.Builder = new CILParser.DottedNameBuilder();
		try {
			int _alt;
			State = 392;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,1,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 376;
				_localctx.direct = Match(DOTTEDNAME);
				Actions.AddDottedNameToken(_localctx.Builder, _localctx.direct);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				{
				State = 384;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,0,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 378;
						_localctx.part = dottedNamePart();
						Actions.AddDottedNamePart(_localctx.Builder, _localctx.part.Value);
						State = 380;
						Match(DOT);
						}
						} 
					}
					State = 386;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,0,Context);
				}
				State = 387;
				_localctx.tail = dottedNamePart();
				Actions.AddDottedNamePart(_localctx.Builder, _localctx.tail.Value);
				}
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 390;
				_localctx.quoted = Match(SQSTRING);
				Actions.AddDottedNameToken(_localctx.Builder, _localctx.quoted);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.EndDottedName(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class DottedNamePartContext : ParserRuleContext {
		public string Value;
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOTTEDNAME() { return GetToken(CILParser.DOTTEDNAME, 0); }
		public DottedNamePartContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_dottedNamePart; } }
	}

	[RuleVersion(0)]
	public DottedNamePartContext dottedNamePart() {
		DottedNamePartContext _localctx = new DottedNamePartContext(Context, State);
		EnterRule(_localctx, 4, RULE_dottedNamePart);
		_localctx.Value = string.Empty;
		try {
			State = 397;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case ID:
				EnterOuterAlt(_localctx, 1);
				{
				State = 394;
				id();
				}
				break;
			case DOTTEDNAME:
				EnterOuterAlt(_localctx, 2);
				{
				State = 395;
				Match(DOTTEDNAME);
				}
				break;
			case T__15:
				EnterOuterAlt(_localctx, 3);
				{
				State = 396;
				Match(T__15);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseDottedNamePart(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CompQstringContext : ParserRuleContext {
		public string Value;
		public System.Text.StringBuilder Builder;
		public IToken head;
		public IToken tail;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] QSTRING() { return GetTokens(CILParser.QSTRING); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode QSTRING(int i) {
			return GetToken(CILParser.QSTRING, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] PLUS() { return GetTokens(CILParser.PLUS); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PLUS(int i) {
			return GetToken(CILParser.PLUS, i);
		}
		public CompQstringContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_compQstring; } }
	}

	[RuleVersion(0)]
	public CompQstringContext compQstring() {
		CompQstringContext _localctx = new CompQstringContext(Context, State);
		EnterRule(_localctx, 6, RULE_compQstring);
		_localctx.Builder = new System.Text.StringBuilder();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 404;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,3,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 399;
					_localctx.head = Match(QSTRING);
					Actions.AddComposedStringPart(_localctx.Builder, _localctx.head);
					State = 401;
					Match(PLUS);
					}
					} 
				}
				State = 406;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,3,Context);
			}
			State = 407;
			_localctx.tail = Match(QSTRING);
			Actions.AddComposedStringPart(_localctx.Builder, _localctx.tail);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.EndComposedString(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class DeclsContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public DeclContext[] decl() {
			return GetRuleContexts<DeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DeclContext decl(int i) {
			return GetRuleContext<DeclContext>(i);
		}
		public DeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_decls; } }
	}

	[RuleVersion(0)]
	public DeclsContext decls() {
		DeclsContext _localctx = new DeclsContext(Context, State);
		EnterRule(_localctx, 8, RULE_decls);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 413;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 1972571905589246L) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & 281474976710659L) != 0) || ((((_la - 139)) & ~0x3f) == 0 && ((1L << (_la - 139)) & 288230376218820609L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 6860956837609489L) != 0)) {
				{
				{
				State = 410;
				decl();
				}
				}
				State = 415;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DeclContext : ParserRuleContext {
		public DataDeclContext data;
		public VtableDeclContext vtable;
		public VtfixupDeclContext vtfixup;
		public ExtSourceSpecContext source;
		public FileDeclContext file;
		public AssemblyBlockContext assembly;
		public AssemblyRefBlockContext assemblyReference;
		public ExptypeBlockContext exportedType;
		public ManifestResBlockContext resource;
		public ModuleHeadContext module;
		public SecDeclContext security;
		public CustomAttrDeclContext attribute;
		public LanguageDeclContext language;
		public TypedefDeclContext typedef;
		[System.Diagnostics.DebuggerNonUserCode] public ClassHeadContext classHead() {
			return GetRuleContext<ClassHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassDeclsContext classDecls() {
			return GetRuleContext<ClassDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public NameSpaceHeadContext nameSpaceHead() {
			return GetRuleContext<NameSpaceHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DeclsContext decls() {
			return GetRuleContext<DeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodHeadContext methodHead() {
			return GetRuleContext<MethodHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodDeclsContext methodDecls() {
			return GetRuleContext<MethodDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldDeclContext fieldDecl() {
			return GetRuleContext<FieldDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DataDeclContext dataDecl() {
			return GetRuleContext<DataDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public VtableDeclContext vtableDecl() {
			return GetRuleContext<VtableDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public VtfixupDeclContext vtfixupDecl() {
			return GetRuleContext<VtfixupDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtSourceSpecContext extSourceSpec() {
			return GetRuleContext<ExtSourceSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FileDeclContext fileDecl() {
			return GetRuleContext<FileDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyBlockContext assemblyBlock() {
			return GetRuleContext<AssemblyBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyRefBlockContext assemblyRefBlock() {
			return GetRuleContext<AssemblyRefBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeBlockContext exptypeBlock() {
			return GetRuleContext<ExptypeBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ManifestResBlockContext manifestResBlock() {
			return GetRuleContext<ManifestResBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ModuleHeadContext moduleHead() {
			return GetRuleContext<ModuleHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecDeclContext secDecl() {
			return GetRuleContext<SecDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SubsystemContext subsystem() {
			return GetRuleContext<SubsystemContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CorflagsContext corflags() {
			return GetRuleContext<CorflagsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AlignmentContext alignment() {
			return GetRuleContext<AlignmentContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ImagebaseContext imagebase() {
			return GetRuleContext<ImagebaseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public StackreserveContext stackreserve() {
			return GetRuleContext<StackreserveContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageDeclContext languageDecl() {
			return GetRuleContext<LanguageDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypedefDeclContext typedefDecl() {
			return GetRuleContext<TypedefDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypelistContext typelist() {
			return GetRuleContext<TypelistContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MscorlibContext mscorlib() {
			return GetRuleContext<MscorlibContext>(0);
		}
		public DeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_decl; } }
	}

	[RuleVersion(0)]
	public DeclContext decl() {
		DeclContext _localctx = new DeclContext(Context, State);
		EnterRule(_localctx, 10, RULE_decl);
		try {
			State = 502;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,5,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 416;
				classHead();
				State = 417;
				Match(T__16);
				State = 418;
				classDecls();
				State = 419;
				Match(T__17);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 421;
				nameSpaceHead();
				State = 422;
				Match(T__16);
				State = 423;
				decls();
				State = 424;
				Match(T__17);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 426;
				methodHead();
				State = 427;
				Match(T__16);
				State = 428;
				methodDecls();
				State = 429;
				Match(T__17);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 431;
				fieldDecl();
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				Actions.BeginTopLevelDirective();
				State = 433;
				_localctx.data = dataDecl();
				Actions.ProcessTopLevelDataDeclaration(_localctx.data);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				Actions.BeginTopLevelDirective();
				State = 437;
				_localctx.vtable = vtableDecl();
				Actions.ProcessTopLevelVTableDeclaration(_localctx.vtable);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				Actions.BeginTopLevelDirective();
				State = 441;
				_localctx.vtfixup = vtfixupDecl();
				Actions.ProcessTopLevelVTableFixupDeclaration(_localctx.vtfixup);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				Actions.BeginTopLevelDirective();
				State = 445;
				_localctx.source = extSourceSpec();
				Actions.ProcessTopLevelSourceDirective(_localctx.source);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				Actions.BeginTopLevelDirective();
				State = 449;
				_localctx.file = fileDecl();
				Actions.ProcessTopLevelFileDeclaration(_localctx.file);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				Actions.BeginTopLevelDirective();
				State = 453;
				_localctx.assembly = assemblyBlock();
				Actions.ProcessTopLevelAssembly(_localctx.assembly);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				Actions.BeginTopLevelDirective();
				State = 457;
				_localctx.assemblyReference = assemblyRefBlock();
				Actions.ProcessTopLevelAssemblyReference(_localctx.assemblyReference);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				Actions.BeginTopLevelDirective();
				State = 461;
				_localctx.exportedType = exptypeBlock();
				Actions.ProcessTopLevelExportedType(_localctx.exportedType);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				Actions.BeginTopLevelDirective();
				State = 465;
				_localctx.resource = manifestResBlock();
				Actions.ProcessTopLevelManifestResource(_localctx.resource);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				Actions.BeginTopLevelDirective();
				State = 469;
				_localctx.module = moduleHead();
				Actions.ProcessTopLevelModule(_localctx.module.Value, _localctx.module.HasName, _localctx.module.IsExternal);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				Actions.BeginTopLevelDirective();
				State = 473;
				_localctx.security = secDecl();
				Actions.ProcessTopLevelSecurityDeclaration(_localctx.security);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 476;
				_localctx.attribute = customAttrDecl();
				Actions.ProcessTopLevelCustomAttribute(_localctx.attribute);
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				Actions.BeginTopLevelDirective();
				State = 480;
				subsystem();
				}
				break;
			case 18:
				EnterOuterAlt(_localctx, 18);
				{
				Actions.BeginTopLevelDirective();
				State = 482;
				corflags();
				}
				break;
			case 19:
				EnterOuterAlt(_localctx, 19);
				{
				Actions.BeginTopLevelDirective();
				State = 484;
				alignment();
				}
				break;
			case 20:
				EnterOuterAlt(_localctx, 20);
				{
				Actions.BeginTopLevelDirective();
				State = 486;
				imagebase();
				}
				break;
			case 21:
				EnterOuterAlt(_localctx, 21);
				{
				Actions.BeginTopLevelDirective();
				State = 488;
				stackreserve();
				}
				break;
			case 22:
				EnterOuterAlt(_localctx, 22);
				{
				Actions.BeginTopLevelDirective();
				State = 490;
				_localctx.language = languageDecl();
				Actions.ProcessTopLevelLanguageDirective(_localctx.language);
				}
				break;
			case 23:
				EnterOuterAlt(_localctx, 23);
				{
				Actions.BeginTopLevelDirective();
				State = 494;
				_localctx.typedef = typedefDecl();
				Actions.ProcessTopLevelTypedef(_localctx.typedef);
				}
				break;
			case 24:
				EnterOuterAlt(_localctx, 24);
				{
				Actions.BeginTopLevelDirective();
				State = 498;
				compControl();
				}
				break;
			case 25:
				EnterOuterAlt(_localctx, 25);
				{
				State = 499;
				typelist();
				}
				break;
			case 26:
				EnterOuterAlt(_localctx, 26);
				{
				Actions.BeginTopLevelDirective();
				State = 501;
				mscorlib();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndDeclaration(_localctx);
			ExitRule();
		}
		return _localctx;
	}

	public partial class SubsystemContext : ParserRuleContext {
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public SubsystemContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_subsystem; } }
	}

	[RuleVersion(0)]
	public SubsystemContext subsystem() {
		SubsystemContext _localctx = new SubsystemContext(Context, State);
		EnterRule(_localctx, 12, RULE_subsystem);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 504;
			Match(T__18);
			State = 505;
			_localctx.value = int32();
			Actions.ProcessTopLevelSubsystem((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CorflagsContext : ParserRuleContext {
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public CorflagsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_corflags; } }
	}

	[RuleVersion(0)]
	public CorflagsContext corflags() {
		CorflagsContext _localctx = new CorflagsContext(Context, State);
		EnterRule(_localctx, 14, RULE_corflags);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 508;
			Match(T__19);
			State = 509;
			_localctx.value = int32();
			Actions.ProcessTopLevelCorFlags((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AlignmentContext : ParserRuleContext {
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public AlignmentContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_alignment; } }
	}

	[RuleVersion(0)]
	public AlignmentContext alignment() {
		AlignmentContext _localctx = new AlignmentContext(Context, State);
		EnterRule(_localctx, 16, RULE_alignment);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 512;
			Match(T__20);
			State = 513;
			Match(T__21);
			State = 514;
			_localctx.value = int32();
			Actions.ProcessTopLevelAlignment((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ImagebaseContext : ParserRuleContext {
		public Int64Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		public ImagebaseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_imagebase; } }
	}

	[RuleVersion(0)]
	public ImagebaseContext imagebase() {
		ImagebaseContext _localctx = new ImagebaseContext(Context, State);
		EnterRule(_localctx, 18, RULE_imagebase);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 517;
			Match(T__22);
			State = 518;
			_localctx.value = int64();
			Actions.ProcessTopLevelImageBase((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class StackreserveContext : ParserRuleContext {
		public Int64Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		public StackreserveContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_stackreserve; } }
	}

	[RuleVersion(0)]
	public StackreserveContext stackreserve() {
		StackreserveContext _localctx = new StackreserveContext(Context, State);
		EnterRule(_localctx, 20, RULE_stackreserve);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 521;
			Match(T__23);
			State = 522;
			_localctx.value = int64();
			Actions.ProcessTopLevelStackReserve((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyBlockContext : ParserRuleContext {
		public CILParser.AssemblyDefinitionValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public AsmAttrContext attributes;
		public DottedNameContext name;
		public AssemblyDeclsContext declarations;
		[System.Diagnostics.DebuggerNonUserCode] public AsmAttrContext asmAttr() {
			return GetRuleContext<AsmAttrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyDeclsContext assemblyDecls() {
			return GetRuleContext<AssemblyDeclsContext>(0);
		}
		public AssemblyBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyBlock; } }
	}

	[RuleVersion(0)]
	public AssemblyBlockContext assemblyBlock() {
		AssemblyBlockContext _localctx = new AssemblyBlockContext(Context, State);
		EnterRule(_localctx, 22, RULE_assemblyBlock);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 525;
			Match(T__24);
			State = 526;
			_localctx.attributes = asmAttr();
			State = 527;
			_localctx.name = dottedName();
			State = 528;
			Match(T__16);
			State = 529;
			_localctx.declarations = assemblyDecls();
			State = 530;
			Match(T__17);
			_localctx.Value = Actions.CreateAssemblyDefinition(
						_localctx.attributes.Value,
						_localctx.name.Value,
						_localctx.declarations.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class MscorlibContext : ParserRuleContext {
		public MscorlibContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_mscorlib; } }
	}

	[RuleVersion(0)]
	public MscorlibContext mscorlib() {
		MscorlibContext _localctx = new MscorlibContext(Context, State);
		EnterRule(_localctx, 24, RULE_mscorlib);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 533;
			Match(T__25);
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.ProcessCoreLibraryDirective();
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class LanguageDeclContext : ParserRuleContext {
		public CILParser.LanguageDirectiveValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public LanguageStringContext language;
		public LanguageStringContext vendor;
		public LanguageStringContext documentType;
		[System.Diagnostics.DebuggerNonUserCode] public LanguageStringContext[] languageString() {
			return GetRuleContexts<LanguageStringContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageStringContext languageString(int i) {
			return GetRuleContext<LanguageStringContext>(i);
		}
		public LanguageDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_languageDecl; } }
	}

	[RuleVersion(0)]
	public LanguageDeclContext languageDecl() {
		LanguageDeclContext _localctx = new LanguageDeclContext(Context, State);
		EnterRule(_localctx, 26, RULE_languageDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			State = 553;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,6,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 535;
				Match(T__26);
				State = 536;
				_localctx.language = languageString();
				_localctx.Value = Actions.CreateLanguageDirective(_localctx.language.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 539;
				Match(T__26);
				State = 540;
				_localctx.language = languageString();
				State = 541;
				Match(T__27);
				State = 542;
				_localctx.vendor = languageString();
				_localctx.Value = Actions.CreateLanguageDirective(_localctx.language.Value, _localctx.vendor.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 545;
				Match(T__26);
				State = 546;
				_localctx.language = languageString();
				State = 547;
				Match(T__27);
				State = 548;
				_localctx.vendor = languageString();
				State = 549;
				Match(T__27);
				State = 550;
				_localctx.documentType = languageString();
				_localctx.Value = Actions.CreateLanguageDirective(_localctx.language.Value, _localctx.vendor.Value, _localctx.documentType.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndLanguageDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class LanguageStringContext : ParserRuleContext {
		public string Value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		public LanguageStringContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_languageString; } }
	}

	[RuleVersion(0)]
	public LanguageStringContext languageString() {
		LanguageStringContext _localctx = new LanguageStringContext(Context, State);
		EnterRule(_localctx, 28, RULE_languageString);
		_localctx.Value = string.Empty;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 555;
			Match(SQSTRING);
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseLanguageString(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypelistContext : ParserRuleContext {
		public ClassNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext[] className() {
			return GetRuleContexts<ClassNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className(int i) {
			return GetRuleContext<ClassNameContext>(i);
		}
		public TypelistContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typelist; } }
	}

	[RuleVersion(0)]
	public TypelistContext typelist() {
		TypelistContext _localctx = new TypelistContext(Context, State);
		EnterRule(_localctx, 30, RULE_typelist);
		Actions.BeginTopLevelTypeList();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 557;
			Match(T__28);
			State = 558;
			Match(T__16);
			State = 564;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4398046642174L) != 0) || _la==T__112 || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105553118478353L) != 0)) {
				{
				{
				State = 559;
				_localctx.name = className();
				Actions.ProcessTopLevelTypeListEntry(_localctx.name.Value);
				}
				}
				State = 566;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			State = 567;
			Match(T__17);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class Int32Context : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32() { return GetToken(CILParser.INT32, 0); }
		public Int32Context(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_int32; } }
	}

	[RuleVersion(0)]
	public Int32Context int32() {
		Int32Context _localctx = new Int32Context(Context, State);
		EnterRule(_localctx, 32, RULE_int32);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 569;
			Match(INT32);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class Int64Context : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64() { return GetToken(CILParser.INT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32() { return GetToken(CILParser.INT32, 0); }
		public Int64Context(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_int64; } }
	}

	[RuleVersion(0)]
	public Int64Context int64() {
		Int64Context _localctx = new Int64Context(Context, State);
		EnterRule(_localctx, 34, RULE_int64);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 571;
			_la = TokenStream.LA(1);
			if ( !(_la==INT32 || _la==INT64) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class Float64Context : ParserRuleContext {
		public double Value;
		public IToken @decimal;
		public Int32Context trailing;
		public Int32Context integer;
		public Int32Context singleBits;
		public Int64Context doubleBits;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64() { return GetToken(CILParser.FLOAT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOT() { return GetToken(CILParser.DOT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		public Float64Context(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_float64; } }
	}

	[RuleVersion(0)]
	public Float64Context float64() {
		Float64Context _localctx = new Float64Context(Context, State);
		EnterRule(_localctx, 36, RULE_float64);
		try {
			State = 594;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,8,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 573;
				_localctx.@decimal = Match(FLOAT64);
				_localctx.Value = Actions.ParseFloatingLiteral(_localctx.@decimal);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 575;
				_localctx.trailing = int32();
				State = 576;
				Match(DOT);
				_localctx.Value = Actions.ParseFloatingInteger((_localctx.trailing!=null?(_localctx.trailing.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 579;
				_localctx.integer = int32();
				_localctx.Value = Actions.ParseFloatingInteger((_localctx.integer!=null?(_localctx.integer.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 582;
				Match(FLOAT32);
				State = 583;
				Match(T__29);
				State = 584;
				_localctx.singleBits = int32();
				State = 585;
				Match(T__30);
				_localctx.Value = Actions.ParseFloat32Bits((_localctx.singleBits!=null?(_localctx.singleBits.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 588;
				Match(FLOAT64_);
				State = 589;
				Match(T__29);
				State = 590;
				_localctx.doubleBits = int64();
				State = 591;
				Match(T__30);
				_localctx.Value = Actions.ParseFloat64Bits((_localctx.doubleBits!=null?(_localctx.doubleBits.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class IntOrWildcardContext : ParserRuleContext {
		public int? Value;
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		public IntOrWildcardContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_intOrWildcard; } }
	}

	[RuleVersion(0)]
	public IntOrWildcardContext intOrWildcard() {
		IntOrWildcardContext _localctx = new IntOrWildcardContext(Context, State);
		EnterRule(_localctx, 38, RULE_intOrWildcard);
		try {
			State = 601;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case INT32:
				EnterOuterAlt(_localctx, 1);
				{
				State = 596;
				_localctx.value = int32();
				_localctx.Value = Actions.ParseInt32((_localctx.value!=null?(_localctx.value.Start):null));
				}
				break;
			case PTR:
				EnterOuterAlt(_localctx, 2);
				{
				State = 599;
				Match(PTR);
				_localctx.Value = null;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CompControlContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_DEFINE() { return GetToken(CILParser.PP_DEFINE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ID() { return GetToken(CILParser.ID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode QSTRING() { return GetToken(CILParser.QSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_UNDEF() { return GetToken(CILParser.PP_UNDEF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_IFDEF() { return GetToken(CILParser.PP_IFDEF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_IFNDEF() { return GetToken(CILParser.PP_IFNDEF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_ELSE() { return GetToken(CILParser.PP_ELSE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_ENDIF() { return GetToken(CILParser.PP_ENDIF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PP_INCLUDE() { return GetToken(CILParser.PP_INCLUDE, 0); }
		public CompControlContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_compControl; } }
	}

	[RuleVersion(0)]
	public CompControlContext compControl() {
		CompControlContext _localctx = new CompControlContext(Context, State);
		EnterRule(_localctx, 40, RULE_compControl);
		try {
			State = 619;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,10,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 603;
				Match(PP_DEFINE);
				State = 604;
				Match(ID);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 605;
				Match(PP_DEFINE);
				State = 606;
				Match(ID);
				State = 607;
				Match(QSTRING);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 608;
				Match(PP_UNDEF);
				State = 609;
				Match(ID);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 610;
				Match(PP_IFDEF);
				State = 611;
				Match(ID);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 612;
				Match(PP_IFNDEF);
				State = 613;
				Match(ID);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 614;
				Match(PP_ELSE);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 615;
				Match(PP_ENDIF);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 616;
				Match(PP_INCLUDE);
				State = 617;
				Match(QSTRING);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 618;
				Match(T__31);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypedefDeclContext : ParserRuleContext {
		public CILParser.TypedefDeclarationValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public TypeContext signature;
		public DottedNameContext alias;
		public ClassNameContext classType;
		public MemberRefContext member;
		public CustomDescrContext attribute;
		public CustomDescrWithOwnerContext ownedAttribute;
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MemberRefContext memberRef() {
			return GetRuleContext<MemberRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrContext customDescr() {
			return GetRuleContext<CustomDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrWithOwnerContext customDescrWithOwner() {
			return GetRuleContext<CustomDescrWithOwnerContext>(0);
		}
		public TypedefDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typedefDecl; } }
	}

	[RuleVersion(0)]
	public TypedefDeclContext typedefDecl() {
		TypedefDeclContext _localctx = new TypedefDeclContext(Context, State);
		EnterRule(_localctx, 42, RULE_typedefDecl);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.TypedefDeclarationValue.Error;

		try {
			State = 651;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,11,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 621;
				Match(T__32);
				State = 622;
				_localctx.signature = type();
				State = 623;
				Match(T__33);
				State = 624;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateTypeSignatureTypedef(_localctx.signature.Value, _localctx.alias.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 627;
				Match(T__32);
				State = 628;
				_localctx.classType = className();
				State = 629;
				Match(T__33);
				State = 630;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateClassTypedef(_localctx.classType.Value, _localctx.alias.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 633;
				Match(T__32);
				State = 634;
				_localctx.member = memberRef();
				State = 635;
				Match(T__33);
				State = 636;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateMemberTypedef(_localctx.member.Value, _localctx.alias.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 639;
				Match(T__32);
				State = 640;
				_localctx.attribute = customDescr();
				State = 641;
				Match(T__33);
				State = 642;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateCustomAttributeTypedefDeclaration(
							_localctx.attribute.Value,
							(_localctx.attribute!=null?(_localctx.attribute.Start):null),
							_localctx.alias.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 645;
				Match(T__32);
				State = 646;
				_localctx.ownedAttribute = customDescrWithOwner();
				State = 647;
				Match(T__33);
				State = 648;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateCustomAttributeTypedefDeclaration(
							_localctx.ownedAttribute.Value,
							(_localctx.ownedAttribute!=null?(_localctx.ownedAttribute.Start):null),
							_localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomDescrContext : ParserRuleContext {
		public CILParser.CustomAttributeDescriptorValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CustomTypeContext constructor;
		public CompQstringContext stringValue;
		public CustomBlobDescrContext structuredValue;
		public BytesContext rawValue;
		[System.Diagnostics.DebuggerNonUserCode] public CustomTypeContext customType() {
			return GetRuleContext<CustomTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobDescrContext customBlobDescr() {
			return GetRuleContext<CustomBlobDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		public CustomDescrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customDescr; } }
	}

	[RuleVersion(0)]
	public CustomDescrContext customDescr() {
		CustomDescrContext _localctx = new CustomDescrContext(Context, State);
		EnterRule(_localctx, 44, RULE_customDescr);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CustomAttributeDescriptorValue.Error;

		try {
			State = 679;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,12,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 653;
				Match(T__34);
				State = 654;
				_localctx.constructor = customType();
				_localctx.Value = Actions.CreateDefaultCustomAttribute(_localctx.constructor.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 657;
				Match(T__34);
				State = 658;
				_localctx.constructor = customType();
				State = 659;
				Match(T__35);
				State = 660;
				_localctx.stringValue = compQstring();
				_localctx.Value = Actions.CreateStringCustomAttribute(_localctx.constructor.Value, _localctx.stringValue.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 663;
				Match(T__34);
				State = 664;
				_localctx.constructor = customType();
				State = 665;
				Match(T__35);
				State = 666;
				Match(T__16);
				State = 667;
				_localctx.structuredValue = customBlobDescr();
				State = 668;
				Match(T__17);
				_localctx.Value = Actions.CreateStructuredCustomAttribute(_localctx.constructor.Value, _localctx.structuredValue.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 671;
				Match(T__34);
				State = 672;
				_localctx.constructor = customType();
				State = 673;
				Match(T__35);
				State = 674;
				Match(T__29);
				State = 675;
				_localctx.rawValue = bytes();
				State = 676;
				Match(T__30);
				_localctx.Value = Actions.CreateRawCustomAttribute(_localctx.constructor.Value, _localctx.rawValue.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomDescrWithOwnerContext : ParserRuleContext {
		public CILParser.CustomAttributeDescriptorValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public OwnerTypeContext owner;
		public CustomTypeContext constructor;
		public CompQstringContext stringValue;
		public CustomBlobDescrContext structuredValue;
		public BytesContext rawValue;
		[System.Diagnostics.DebuggerNonUserCode] public OwnerTypeContext ownerType() {
			return GetRuleContext<OwnerTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomTypeContext customType() {
			return GetRuleContext<CustomTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobDescrContext customBlobDescr() {
			return GetRuleContext<CustomBlobDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		public CustomDescrWithOwnerContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customDescrWithOwner; } }
	}

	[RuleVersion(0)]
	public CustomDescrWithOwnerContext customDescrWithOwner() {
		CustomDescrWithOwnerContext _localctx = new CustomDescrWithOwnerContext(Context, State);
		EnterRule(_localctx, 46, RULE_customDescrWithOwner);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CustomAttributeDescriptorValue.Error;

		try {
			State = 719;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,13,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 681;
				Match(T__34);
				State = 682;
				Match(T__29);
				State = 683;
				_localctx.owner = ownerType();
				State = 684;
				Match(T__30);
				State = 685;
				_localctx.constructor = customType();
				_localctx.Value = Actions.CreateDefaultOwnedCustomAttribute(_localctx.owner.Value, _localctx.constructor.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 688;
				Match(T__34);
				State = 689;
				Match(T__29);
				State = 690;
				_localctx.owner = ownerType();
				State = 691;
				Match(T__30);
				State = 692;
				_localctx.constructor = customType();
				State = 693;
				Match(T__35);
				State = 694;
				_localctx.stringValue = compQstring();
				_localctx.Value = Actions.CreateStringOwnedCustomAttribute(_localctx.owner.Value, _localctx.constructor.Value, _localctx.stringValue.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 697;
				Match(T__34);
				State = 698;
				Match(T__29);
				State = 699;
				_localctx.owner = ownerType();
				State = 700;
				Match(T__30);
				State = 701;
				_localctx.constructor = customType();
				State = 702;
				Match(T__35);
				State = 703;
				Match(T__16);
				State = 704;
				_localctx.structuredValue = customBlobDescr();
				State = 705;
				Match(T__17);
				_localctx.Value = Actions.CreateStructuredOwnedCustomAttribute(_localctx.owner.Value, _localctx.constructor.Value, _localctx.structuredValue.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 708;
				Match(T__34);
				State = 709;
				Match(T__29);
				State = 710;
				_localctx.owner = ownerType();
				State = 711;
				Match(T__30);
				State = 712;
				_localctx.constructor = customType();
				State = 713;
				Match(T__35);
				State = 714;
				Match(T__29);
				State = 715;
				_localctx.rawValue = bytes();
				State = 716;
				Match(T__30);
				_localctx.Value = Actions.CreateRawOwnedCustomAttribute(_localctx.owner.Value, _localctx.constructor.Value, _localctx.rawValue.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomTypeContext : ParserRuleContext {
		public CILParser.MethodReferenceValue Value;
		public MethodRefContext constructor;
		[System.Diagnostics.DebuggerNonUserCode] public MethodRefContext methodRef() {
			return GetRuleContext<MethodRefContext>(0);
		}
		public CustomTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customType; } }
	}

	[RuleVersion(0)]
	public CustomTypeContext customType() {
		CustomTypeContext _localctx = new CustomTypeContext(Context, State);
		EnterRule(_localctx, 48, RULE_customType);
		_localctx.Value = CILParser.MethodReferenceValue.Error;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 721;
			_localctx.constructor = methodRef();
			_localctx.Value = Actions.CreateCustomAttributeType(_localctx.constructor.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class OwnerTypeContext : ParserRuleContext {
		public CILParser.OwnerTypeValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public TypeSpecOrScopeContext typeValue;
		public MemberRefContext member;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext typeSpecOrScope() {
			return GetRuleContext<TypeSpecOrScopeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MemberRefContext memberRef() {
			return GetRuleContext<MemberRefContext>(0);
		}
		public OwnerTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_ownerType; } }
	}

	[RuleVersion(0)]
	public OwnerTypeContext ownerType() {
		OwnerTypeContext _localctx = new OwnerTypeContext(Context, State);
		EnterRule(_localctx, 50, RULE_ownerType);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.OwnerTypeValue.Error;

		try {
			State = 730;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,14,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 724;
				_localctx.typeValue = typeSpecOrScope();
				_localctx.Value = Actions.CreateTypeOwner(_localctx.typeValue.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 727;
				_localctx.member = memberRef();
				_localctx.Value = Actions.CreateMemberOwner(_localctx.member.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomBlobDescrContext : ParserRuleContext {
		public CILParser.CustomAttributeBlobValue Value;
		public CustomBlobArgsContext arguments;
		public CustomBlobNVPairsContext namedArguments;
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobArgsContext customBlobArgs() {
			return GetRuleContext<CustomBlobArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobNVPairsContext customBlobNVPairs() {
			return GetRuleContext<CustomBlobNVPairsContext>(0);
		}
		public CustomBlobDescrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customBlobDescr; } }
	}

	[RuleVersion(0)]
	public CustomBlobDescrContext customBlobDescr() {
		CustomBlobDescrContext _localctx = new CustomBlobDescrContext(Context, State);
		EnterRule(_localctx, 52, RULE_customBlobDescr);
		_localctx.Value = CILParser.CustomAttributeBlobValue.Error;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 732;
			_localctx.arguments = customBlobArgs();
			State = 733;
			_localctx.namedArguments = customBlobNVPairs();
			_localctx.Value = Actions.CreateCustomAttributeBlob(_localctx.arguments.Value, _localctx.namedArguments.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomBlobArgsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.SerializedInitializerValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.SerializedInitializerValue>.Builder Builder;
		public SerInitContext argument;
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext[] compControl() {
			return GetRuleContexts<CompControlContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl(int i) {
			return GetRuleContext<CompControlContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext[] serInit() {
			return GetRuleContexts<SerInitContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext serInit(int i) {
			return GetRuleContext<SerInitContext>(i);
		}
		public CustomBlobArgsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customBlobArgs; } }
	}

	[RuleVersion(0)]
	public CustomBlobArgsContext customBlobArgs() {
		CustomBlobArgsContext _localctx = new CustomBlobArgsContext(Context, State);
		EnterRule(_localctx, 54, RULE_customBlobArgs);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.SerializedInitializerValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 742;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,16,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					State = 740;
					ErrorHandler.Sync(this);
					switch (TokenStream.LA(1)) {
					case T__83:
					case CHAR:
					case STRING:
					case BOOL:
					case INT8:
					case INT16:
					case INT32_:
					case INT64_:
					case FLOAT32:
					case FLOAT64_:
					case UINT8:
					case UINT16:
					case UINT32:
					case UINT64:
					case TYPE:
					case OBJECT:
						{
						State = 736;
						_localctx.argument = serInit();
						_localctx.Builder.Add(_localctx.argument.Value);
						}
						break;
					case T__31:
					case PP_DEFINE:
					case PP_UNDEF:
					case PP_IFDEF:
					case PP_IFNDEF:
					case PP_ELSE:
					case PP_ENDIF:
					case PP_INCLUDE:
						{
						State = 739;
						compControl();
						}
						break;
					default:
						throw new NoViableAltException(this);
					}
					} 
				}
				State = 744;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,16,Context);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomBlobNVPairsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.CustomAttributeNamedArgumentValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.CustomAttributeNamedArgumentValue>.Builder Builder;
		public FieldOrPropContext kind;
		public SerializTypeContext argumentType;
		public DottedNameContext name;
		public SerInitContext value;
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext[] compControl() {
			return GetRuleContexts<CompControlContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl(int i) {
			return GetRuleContext<CompControlContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldOrPropContext[] fieldOrProp() {
			return GetRuleContexts<FieldOrPropContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldOrPropContext fieldOrProp(int i) {
			return GetRuleContext<FieldOrPropContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerializTypeContext[] serializType() {
			return GetRuleContexts<SerializTypeContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerializTypeContext serializType(int i) {
			return GetRuleContext<SerializTypeContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext[] dottedName() {
			return GetRuleContexts<DottedNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName(int i) {
			return GetRuleContext<DottedNameContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext[] serInit() {
			return GetRuleContexts<SerInitContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext serInit(int i) {
			return GetRuleContext<SerInitContext>(i);
		}
		public CustomBlobNVPairsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customBlobNVPairs; } }
	}

	[RuleVersion(0)]
	public CustomBlobNVPairsContext customBlobNVPairs() {
		CustomBlobNVPairsContext _localctx = new CustomBlobNVPairsContext(Context, State);
		EnterRule(_localctx, 56, RULE_customBlobNVPairs);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.CustomAttributeNamedArgumentValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 755;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 416611827712L) != 0) || ((((_la - 266)) & ~0x3f) == 0 && ((1L << (_la - 266)) & 127L) != 0)) {
				{
				State = 753;
				ErrorHandler.Sync(this);
				switch (TokenStream.LA(1)) {
				case T__36:
				case T__37:
					{
					State = 745;
					_localctx.kind = fieldOrProp();
					State = 746;
					_localctx.argumentType = serializType();
					State = 747;
					_localctx.name = dottedName();
					State = 748;
					Match(T__35);
					State = 749;
					_localctx.value = serInit();
					_localctx.Builder.Add(Actions.CreateCustomBlobNamedArgument(
									_localctx.kind.Value,
									_localctx.argumentType.Value,
									_localctx.name.Value,
									_localctx.value.Value));
					}
					break;
				case T__31:
				case PP_DEFINE:
				case PP_UNDEF:
				case PP_IFDEF:
				case PP_IFNDEF:
				case PP_ELSE:
				case PP_ENDIF:
				case PP_INCLUDE:
					{
					State = 752;
					compControl();
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				State = 757;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldOrPropContext : ParserRuleContext {
		public byte Value;
		public IToken kind;
		public FieldOrPropContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldOrProp; } }
	}

	[RuleVersion(0)]
	public FieldOrPropContext fieldOrProp() {
		FieldOrPropContext _localctx = new FieldOrPropContext(Context, State);
		EnterRule(_localctx, 58, RULE_fieldOrProp);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 758;
			_localctx.kind = TokenStream.LT(1);
			_la = TokenStream.LA(1);
			if ( !(_la==T__36 || _la==T__37) ) {
				_localctx.kind = ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			_localctx.Value = Actions.GetCustomAttributeNamedArgumentKind(_localctx.kind);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SerializTypeContext : ParserRuleContext {
		public CILParser.SerializationTypeValue Value;
		public SerializTypeElementContext element;
		public IToken array;
		[System.Diagnostics.DebuggerNonUserCode] public SerializTypeElementContext serializTypeElement() {
			return GetRuleContext<SerializTypeElementContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ARRAY_TYPE_NO_BOUNDS() { return GetToken(CILParser.ARRAY_TYPE_NO_BOUNDS, 0); }
		public SerializTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_serializType; } }
	}

	[RuleVersion(0)]
	public SerializTypeContext serializType() {
		SerializTypeContext _localctx = new SerializTypeContext(Context, State);
		EnterRule(_localctx, 60, RULE_serializType);
		_localctx.Value = CILParser.SerializationTypeValue.Error;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 761;
			_localctx.element = serializTypeElement();
			State = 763;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==ARRAY_TYPE_NO_BOUNDS) {
				{
				State = 762;
				_localctx.array = Match(ARRAY_TYPE_NO_BOUNDS);
				}
			}

			_localctx.Value = Actions.CreateSerializationType(_localctx.element.Value, _localctx.array);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SerializTypeElementContext : ParserRuleContext {
		public CILParser.SerializationTypeValue Value;
		public SimpleTypeContext primitive;
		public DottedNameContext alias;
		public IToken simpleTypeToken;
		public IToken quotedName;
		public ClassNameContext classNameValue;
		[System.Diagnostics.DebuggerNonUserCode] public SimpleTypeContext simpleType() {
			return GetRuleContext<SimpleTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPE() { return GetToken(CILParser.TYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OBJECT() { return GetToken(CILParser.OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ENUM() { return GetToken(CILParser.ENUM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		public SerializTypeElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_serializTypeElement; } }
	}

	[RuleVersion(0)]
	public SerializTypeElementContext serializTypeElement() {
		SerializTypeElementContext _localctx = new SerializTypeElementContext(Context, State);
		EnterRule(_localctx, 62, RULE_serializTypeElement);
		_localctx.Value = CILParser.SerializationTypeValue.Error;
		try {
			State = 785;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,20,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 767;
				_localctx.primitive = simpleType();
				_localctx.Value = Actions.CreatePrimitiveSerializationType(_localctx.primitive.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 770;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateSerializationTypeTypedef(_localctx, _localctx.alias.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 773;
				_localctx.simpleTypeToken = Match(TYPE);
				_localctx.Value = Actions.CreateSimpleSerializationType(_localctx.simpleTypeToken);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 775;
				_localctx.simpleTypeToken = Match(OBJECT);
				_localctx.Value = Actions.CreateSimpleSerializationType(_localctx.simpleTypeToken);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 777;
				Match(ENUM);
				State = 778;
				Match(T__38);
				State = 779;
				_localctx.quotedName = Match(SQSTRING);
				_localctx.Value = Actions.CreateEnumSerializationType(_localctx.quotedName);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 781;
				Match(ENUM);
				State = 782;
				_localctx.classNameValue = className();
				_localctx.Value = Actions.CreateEnumSerializationType(_localctx.classNameValue.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ModuleHeadContext : ParserRuleContext {
		public string? Value;
		public bool HasName;
		public bool IsExternal;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MODULE() { return GetToken(CILParser.MODULE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public ModuleHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_moduleHead; } }
	}

	[RuleVersion(0)]
	public ModuleHeadContext moduleHead() {
		ModuleHeadContext _localctx = new ModuleHeadContext(Context, State);
		EnterRule(_localctx, 64, RULE_moduleHead);
		_localctx.Value = null;
		try {
			State = 798;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,21,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 787;
				Match(MODULE);
				State = 788;
				Match(T__39);
				State = 789;
				_localctx.name = dottedName();
				Actions.SetModuleHeader(_localctx, _localctx.name.Value, true);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 792;
				Match(MODULE);
				State = 793;
				_localctx.name = dottedName();
				Actions.SetModuleHeader(_localctx, _localctx.name.Value, false);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 796;
				Match(MODULE);
				Actions.SetEmptyModuleHeader(_localctx);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class VtfixupDeclContext : ParserRuleContext {
		public CILParser.VTableFixupValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public Int32Context count;
		public VtfixupAttrContext attributes;
		public IdContext label;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public VtfixupAttrContext vtfixupAttr() {
			return GetRuleContext<VtfixupAttrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		public VtfixupDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_vtfixupDecl; } }
	}

	[RuleVersion(0)]
	public VtfixupDeclContext vtfixupDecl() {
		VtfixupDeclContext _localctx = new VtfixupDeclContext(Context, State);
		EnterRule(_localctx, 66, RULE_vtfixupDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 800;
			Match(T__40);
			State = 801;
			Match(T__41);
			State = 802;
			_localctx.count = int32();
			State = 803;
			Match(T__42);
			State = 804;
			_localctx.attributes = vtfixupAttr();
			State = 805;
			Match(T__43);
			State = 806;
			_localctx.label = id();
			_localctx.Value = Actions.CreateVTableFixup(
						(_localctx.count!=null?(_localctx.count.Start):null),
						_localctx.attributes.Value,
						(_localctx.label!=null?(_localctx.label.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class VtfixupAttrContext : ParserRuleContext {
		public ushort Value;
		public VtfixupAttrElementContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public VtfixupAttrElementContext[] vtfixupAttrElement() {
			return GetRuleContexts<VtfixupAttrElementContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public VtfixupAttrElementContext vtfixupAttrElement(int i) {
			return GetRuleContext<VtfixupAttrElementContext>(i);
		}
		public VtfixupAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_vtfixupAttr; } }
	}

	[RuleVersion(0)]
	public VtfixupAttrContext vtfixupAttr() {
		VtfixupAttrContext _localctx = new VtfixupAttrContext(Context, State);
		EnterRule(_localctx, 68, RULE_vtfixupAttr);
		_localctx.Value = 0;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 814;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 246290604621824L) != 0) || _la==INT32_ || _la==INT64_) {
				{
				{
				State = 809;
				_localctx.attribute = vtfixupAttrElement();
				_localctx.Value = Actions.AddVTableFixupAttribute(_localctx.Value, _localctx.attribute.Value);
				}
				}
				State = 816;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			_localctx.Value = Actions.CompleteVTableFixupAttributes(_localctx.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class VtfixupAttrElementContext : ParserRuleContext {
		public ushort Value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		public VtfixupAttrElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_vtfixupAttrElement; } }
	}

	[RuleVersion(0)]
	public VtfixupAttrElementContext vtfixupAttrElement() {
		VtfixupAttrElementContext _localctx = new VtfixupAttrElementContext(Context, State);
		EnterRule(_localctx, 70, RULE_vtfixupAttrElement);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 819;
			_la = TokenStream.LA(1);
			if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 246290604621824L) != 0) || _la==INT32_ || _la==INT64_) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseVTableFixupAttribute(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class VtableDeclContext : ParserRuleContext {
		public CILParser.RawVTableValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public BytesContext value;
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		public VtableDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_vtableDecl; } }
	}

	[RuleVersion(0)]
	public VtableDeclContext vtableDecl() {
		VtableDeclContext _localctx = new VtableDeclContext(Context, State);
		EnterRule(_localctx, 72, RULE_vtableDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 821;
			Match(T__47);
			State = 822;
			Match(T__35);
			State = 823;
			Match(T__29);
			State = 824;
			_localctx.value = bytes();
			State = 825;
			Match(T__30);
			_localctx.Value = Actions.CreateRawVTable(_localctx.value.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class NameSpaceHeadContext : ParserRuleContext {
		public string Value;
		public int InitialSyntaxErrorCount;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public NameSpaceHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nameSpaceHead; } }
	}

	[RuleVersion(0)]
	public NameSpaceHeadContext nameSpaceHead() {
		NameSpaceHeadContext _localctx = new NameSpaceHeadContext(Context, State);
		EnterRule(_localctx, 74, RULE_nameSpaceHead);

			Actions.PrepareNamespaceHeader();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = string.Empty;

		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 828;
			Match(T__48);
			State = 829;
			_localctx.name = dottedName();
			_localctx.Value = _localctx.name.Value;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.BeginNamespace(_localctx, _localctx.Value, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassHeadContext : ParserRuleContext {
		public CILParser.ClassHeaderValue Value;
		public int InitialSyntaxErrorCount;
		public CILParser.ClassHeaderBuilder Builder;
		public ClassAttrContext attribute;
		public DottedNameContext name;
		public TyparsClauseContext genericParameters;
		public ExtendsClauseContext baseType;
		public ImplClauseContext interfaces;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TyparsClauseContext typarsClause() {
			return GetRuleContext<TyparsClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtendsClauseContext extendsClause() {
			return GetRuleContext<ExtendsClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ImplClauseContext implClause() {
			return GetRuleContext<ImplClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassAttrContext[] classAttr() {
			return GetRuleContexts<ClassAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassAttrContext classAttr(int i) {
			return GetRuleContext<ClassAttrContext>(i);
		}
		public ClassHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classHead; } }
	}

	[RuleVersion(0)]
	public ClassHeadContext classHead() {
		ClassHeadContext _localctx = new ClassHeadContext(Context, State);
		EnterRule(_localctx, 76, RULE_classHead);

			_localctx.Builder = Actions.PrepareClassHeader();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.ClassHeaderValue.Error;

		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 832;
			Match(T__49);
			State = 838;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,23,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 833;
					_localctx.attribute = classAttr();
					Actions.AddClassHeaderAttribute(_localctx.Builder, _localctx.attribute.Value);
					}
					}
				}
				State = 840;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,23,Context);
			}
			State = 841;
			_localctx.name = dottedName();
			State = 842;
			_localctx.genericParameters = typarsClause();
			State = 843;
			_localctx.baseType = extendsClause();
			State = 844;
			_localctx.interfaces = implClause();
			_localctx.Value = Actions.CreateClassHeader(
						_localctx,
						_localctx.Builder,
						_localctx.InitialSyntaxErrorCount,
						(_localctx.name!=null?(_localctx.name.Stop):null),
						_localctx.name.Value,
						_localctx.genericParameters.Value,
						_localctx.baseType.Value,
						_localctx.interfaces.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.BeginType(_localctx, _localctx.Value);
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassAttrContext : ParserRuleContext {
		public CILParser.ClassAttributeValue Value;
		public IToken attribute;
		public IToken visibility;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VALUE() { return GetToken(CILParser.VALUE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ENUM() { return GetToken(CILParser.ENUM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTERFACE() { return GetToken(CILParser.INTERFACE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXPLICIT() { return GetToken(CILParser.EXPLICIT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ANSI() { return GetToken(CILParser.ANSI, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public ClassAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classAttr; } }
	}

	[RuleVersion(0)]
	public ClassAttrContext classAttr() {
		ClassAttrContext _localctx = new ClassAttrContext(Context, State);
		EnterRule(_localctx, 78, RULE_classAttr);
		_localctx.Value = CILParser.ClassAttributeValue.Empty;
		try {
			State = 911;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,24,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 847;
				_localctx.attribute = Match(T__50);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 849;
				_localctx.attribute = Match(T__51);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 851;
				_localctx.attribute = Match(VALUE);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 853;
				_localctx.attribute = Match(ENUM);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 855;
				_localctx.attribute = Match(INTERFACE);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 857;
				_localctx.attribute = Match(T__52);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 859;
				_localctx.attribute = Match(T__53);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 861;
				_localctx.attribute = Match(T__54);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 863;
				_localctx.attribute = Match(T__55);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 865;
				_localctx.attribute = Match(EXPLICIT);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 867;
				_localctx.attribute = Match(T__14);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 869;
				_localctx.attribute = Match(ANSI);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 871;
				_localctx.attribute = Match(T__56);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 873;
				_localctx.attribute = Match(T__57);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 875;
				_localctx.attribute = Match(T__58);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 877;
				_localctx.attribute = Match(T__59);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				State = 879;
				_localctx.attribute = Match(T__60);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 18:
				EnterOuterAlt(_localctx, 18);
				{
				State = 881;
				Match(T__61);
				State = 882;
				_localctx.visibility = Match(T__50);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 19:
				EnterOuterAlt(_localctx, 19);
				{
				State = 884;
				Match(T__61);
				State = 885;
				_localctx.visibility = Match(T__51);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 20:
				EnterOuterAlt(_localctx, 20);
				{
				State = 887;
				Match(T__61);
				State = 888;
				_localctx.visibility = Match(T__62);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 21:
				EnterOuterAlt(_localctx, 21);
				{
				State = 890;
				Match(T__61);
				State = 891;
				_localctx.visibility = Match(T__63);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 22:
				EnterOuterAlt(_localctx, 22);
				{
				State = 893;
				Match(T__61);
				State = 894;
				_localctx.visibility = Match(T__64);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 23:
				EnterOuterAlt(_localctx, 23);
				{
				State = 896;
				Match(T__61);
				State = 897;
				_localctx.visibility = Match(T__65);
				_localctx.Value = Actions.CreateNestedClassAttribute(_localctx.visibility);
				}
				break;
			case 24:
				EnterOuterAlt(_localctx, 24);
				{
				State = 899;
				_localctx.attribute = Match(T__66);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 25:
				EnterOuterAlt(_localctx, 25);
				{
				State = 901;
				_localctx.attribute = Match(T__67);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 26:
				EnterOuterAlt(_localctx, 26);
				{
				State = 903;
				_localctx.attribute = Match(T__68);
				_localctx.Value = Actions.CreateClassAttribute(_localctx.attribute);
				}
				break;
			case 27:
				EnterOuterAlt(_localctx, 27);
				{
				State = 905;
				Match(T__69);
				State = 906;
				Match(T__29);
				State = 907;
				_localctx.flags = int32();
				State = 908;
				Match(T__30);
				_localctx.Value = Actions.CreateRawClassAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExtendsClauseContext : ParserRuleContext {
		public CILParser.TypeSpecificationValue? Value;
		public TypeSpecContext baseType;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		public ExtendsClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_extendsClause; } }
	}

	[RuleVersion(0)]
	public ExtendsClauseContext extendsClause() {
		ExtendsClauseContext _localctx = new ExtendsClauseContext(Context, State);
		EnterRule(_localctx, 80, RULE_extendsClause);
		_localctx.Value = Actions.CreateEmptyClassBase();
		try {
			State = 918;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__16:
			case T__71:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__70:
				EnterOuterAlt(_localctx, 2);
				{
				State = 914;
				Match(T__70);
				State = 915;
				_localctx.baseType = typeSpec();
				_localctx.Value = Actions.CreateClassBase(_localctx.baseType.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ImplClauseContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue> Value;
		public ImplListContext interfaces;
		[System.Diagnostics.DebuggerNonUserCode] public ImplListContext implList() {
			return GetRuleContext<ImplListContext>(0);
		}
		public ImplClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_implClause; } }
	}

	[RuleVersion(0)]
	public ImplClauseContext implClause() {
		ImplClauseContext _localctx = new ImplClauseContext(Context, State);
		EnterRule(_localctx, 82, RULE_implClause);
		_localctx.Value = Actions.CreateEmptyInterfaceList();
		try {
			State = 925;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__16:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__71:
				EnterOuterAlt(_localctx, 2);
				{
				State = 921;
				Match(T__71);
				State = 922;
				_localctx.interfaces = implList();
				_localctx.Value = _localctx.interfaces.Value;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassDeclsContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public ClassDeclContext[] classDecl() {
			return GetRuleContexts<ClassDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassDeclContext classDecl(int i) {
			return GetRuleContext<ClassDeclContext>(i);
		}
		public ClassDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classDecls; } }
	}

	[RuleVersion(0)]
	public ClassDeclsContext classDecls() {
		ClassDeclsContext _localctx = new ClassDeclsContext(Context, State);
		EnterRule(_localctx, 84, RULE_classDecls);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 930;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 1125938695897086L) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & 1189425290649010179L) != 0) || _la==T__138 || _la==T__164 || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 871552083145265169L) != 0)) {
				{
				{
				State = 927;
				classDecl();
				}
				}
				State = 932;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ImplListContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue>.Builder Builder;
		public TypeSpecContext interfaceType;
		public TypeSpecContext lastInterfaceType;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext[] typeSpec() {
			return GetRuleContexts<TypeSpecContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec(int i) {
			return GetRuleContext<TypeSpecContext>(i);
		}
		public ImplListContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_implList; } }
	}

	[RuleVersion(0)]
	public ImplListContext implList() {
		ImplListContext _localctx = new ImplListContext(Context, State);
		EnterRule(_localctx, 86, RULE_implList);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.TypeSpecificationValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 939;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,28,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 933;
					_localctx.interfaceType = typeSpec();
					_localctx.Builder.Add(_localctx.interfaceType.Value);
					State = 935;
					Match(T__27);
					}
					} 
				}
				State = 941;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,28,Context);
			}
			State = 942;
			_localctx.lastInterfaceType = typeSpec();
			_localctx.Builder.Add(_localctx.lastInterfaceType.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class EsHeadContext : ParserRuleContext {
		public bool AutoIncrement;
		public EsHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_esHead; } }
	}

	[RuleVersion(0)]
	public EsHeadContext esHead() {
		EsHeadContext _localctx = new EsHeadContext(Context, State);
		EnterRule(_localctx, 88, RULE_esHead);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 945;
			_la = TokenStream.LA(1);
			if ( !(_la==T__72 || _la==T__73) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.AutoIncrement = Actions.IsAutoIncrementSourceDirective(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExtSourceSpecContext : ParserRuleContext {
		public CILParser.SourceDirectiveValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public EsHeadContext head;
		public Int32Context line;
		public IToken path;
		public Int32Context column;
		public Int32Context startColumn;
		public Int32Context endColumn;
		public Int32Context startLine;
		public Int32Context endLine;
		[System.Diagnostics.DebuggerNonUserCode] public EsHeadContext esHead() {
			return GetRuleContext<EsHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode QSTRING() { return GetToken(CILParser.QSTRING, 0); }
		public ExtSourceSpecContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_extSourceSpec; } }
	}

	[RuleVersion(0)]
	public ExtSourceSpecContext extSourceSpec() {
		ExtSourceSpecContext _localctx = new ExtSourceSpecContext(Context, State);
		EnterRule(_localctx, 90, RULE_extSourceSpec);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		int _la;
		try {
			State = 998;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,34,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 947;
				_localctx.head = esHead();
				State = 948;
				_localctx.line = int32();
				State = 950;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,29,Context) ) {
				case 1:
					{
					State = 949;
					_localctx.path = TokenStream.LT(1);
					_la = TokenStream.LA(1);
					if ( !(_la==QSTRING || _la==SQSTRING) ) {
						_localctx.path = ErrorHandler.RecoverInline(this);
					}
					else {
						ErrorHandler.ReportMatch(this);
					    Consume();
					}
					}
					break;
				}
				_localctx.Value = Actions.CreateSourceLine(_localctx.head.AutoIncrement, (_localctx.line!=null?(_localctx.line.Start):null), _localctx.path);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 954;
				_localctx.head = esHead();
				State = 955;
				_localctx.line = int32();
				State = 956;
				Match(T__74);
				State = 957;
				_localctx.column = int32();
				State = 959;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,30,Context) ) {
				case 1:
					{
					State = 958;
					_localctx.path = Match(SQSTRING);
					}
					break;
				}
				_localctx.Value = Actions.CreateSourceColumn(_localctx.head.AutoIncrement, (_localctx.line!=null?(_localctx.line.Start):null), (_localctx.column!=null?(_localctx.column.Start):null), _localctx.path);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 963;
				_localctx.head = esHead();
				State = 964;
				_localctx.line = int32();
				State = 965;
				Match(T__74);
				State = 966;
				_localctx.startColumn = int32();
				State = 967;
				Match(T__27);
				State = 968;
				_localctx.endColumn = int32();
				State = 970;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,31,Context) ) {
				case 1:
					{
					State = 969;
					_localctx.path = Match(SQSTRING);
					}
					break;
				}
				_localctx.Value = Actions.CreateSourceColumnRange(
							_localctx.head.AutoIncrement,
							(_localctx.line!=null?(_localctx.line.Start):null),
							(_localctx.startColumn!=null?(_localctx.startColumn.Start):null),
							(_localctx.endColumn!=null?(_localctx.endColumn.Start):null),
							_localctx.path);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 974;
				_localctx.head = esHead();
				State = 975;
				_localctx.startLine = int32();
				State = 976;
				Match(T__27);
				State = 977;
				_localctx.endLine = int32();
				State = 978;
				Match(T__74);
				State = 979;
				_localctx.column = int32();
				State = 981;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,32,Context) ) {
				case 1:
					{
					State = 980;
					_localctx.path = Match(SQSTRING);
					}
					break;
				}
				_localctx.Value = Actions.CreateSourceLineRange(
							_localctx.head.AutoIncrement,
							(_localctx.startLine!=null?(_localctx.startLine.Start):null),
							(_localctx.endLine!=null?(_localctx.endLine.Start):null),
							(_localctx.column!=null?(_localctx.column.Start):null),
							_localctx.path);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 985;
				_localctx.head = esHead();
				State = 986;
				_localctx.startLine = int32();
				State = 987;
				Match(T__27);
				State = 988;
				_localctx.endLine = int32();
				State = 989;
				Match(T__74);
				State = 990;
				_localctx.startColumn = int32();
				State = 991;
				Match(T__27);
				State = 992;
				_localctx.endColumn = int32();
				State = 994;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,33,Context) ) {
				case 1:
					{
					State = 993;
					_localctx.path = Match(SQSTRING);
					}
					break;
				}
				_localctx.Value = Actions.CreateSourceRange(
							_localctx.head.AutoIncrement,
							(_localctx.startLine!=null?(_localctx.startLine.Start):null),
							(_localctx.endLine!=null?(_localctx.endLine.Start):null),
							(_localctx.startColumn!=null?(_localctx.startColumn.Start):null),
							(_localctx.endColumn!=null?(_localctx.endColumn.Start):null),
							_localctx.path);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndSourceDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class FileDeclContext : ParserRuleContext {
		public CILParser.FileDeclarationValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CILParser.FileDeclarationBuilder Builder;
		public FileAttrContext attribute;
		public DottedNameContext name;
		public FileEntryContext entry;
		public BytesContext hash;
		public FileEntryContext trailingEntry;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FileEntryContext[] fileEntry() {
			return GetRuleContexts<FileEntryContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public FileEntryContext fileEntry(int i) {
			return GetRuleContext<FileEntryContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HASH() { return GetToken(CILParser.HASH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public FileAttrContext[] fileAttr() {
			return GetRuleContexts<FileAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public FileAttrContext fileAttr(int i) {
			return GetRuleContext<FileAttrContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		public FileDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fileDecl; } }
	}

	[RuleVersion(0)]
	public FileDeclContext fileDecl() {
		FileDeclContext _localctx = new FileDeclContext(Context, State);
		EnterRule(_localctx, 92, RULE_fileDecl);

			_localctx.Builder = new CILParser.FileDeclarationBuilder();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;

		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1000;
			Match(T__20);
			State = 1006;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__75) {
				{
				{
				State = 1001;
				_localctx.attribute = fileAttr();
				Actions.AddFileAttribute(_localctx.Builder, _localctx.attribute.Value);
				}
				}
				State = 1008;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			State = 1009;
			_localctx.name = dottedName();
			Actions.SetFileName(_localctx.Builder, _localctx.name.Value);
			State = 1011;
			_localctx.entry = fileEntry();
			Actions.AddFileEntry(_localctx.Builder, _localctx.entry.Value);
			State = 1022;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==HASH) {
				{
				State = 1013;
				Match(HASH);
				State = 1014;
				Match(T__35);
				State = 1015;
				Match(T__29);
				State = 1016;
				_localctx.hash = bytes();
				State = 1017;
				Match(T__30);
				Actions.SetFileHash(_localctx.Builder, _localctx.hash.Value);
				State = 1019;
				_localctx.trailingEntry = fileEntry();
				Actions.AddFileEntry(_localctx.Builder, _localctx.trailingEntry.Value);
				}
			}

			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndFileDeclaration(_localctx, _localctx.Builder, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class FileAttrContext : ParserRuleContext {
		public bool Value;
		public FileAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fileAttr; } }
	}

	[RuleVersion(0)]
	public FileAttrContext fileAttr() {
		FileAttrContext _localctx = new FileAttrContext(Context, State);
		EnterRule(_localctx, 94, RULE_fileAttr);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1024;
			Match(T__75);
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseFileAttribute(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FileEntryContext : ParserRuleContext {
		public bool Value;
		public IToken entry;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ENTRYPOINT() { return GetToken(CILParser.ENTRYPOINT, 0); }
		public FileEntryContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fileEntry; } }
	}

	[RuleVersion(0)]
	public FileEntryContext fileEntry() {
		FileEntryContext _localctx = new FileEntryContext(Context, State);
		EnterRule(_localctx, 96, RULE_fileEntry);
		_localctx.Value = false;
		try {
			State = 1029;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case Eof:
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__17:
			case T__18:
			case T__19:
			case T__20:
			case T__22:
			case T__23:
			case T__24:
			case T__25:
			case T__26:
			case T__28:
			case T__31:
			case T__32:
			case T__34:
			case T__40:
			case T__47:
			case T__48:
			case T__49:
			case T__72:
			case T__73:
			case T__120:
			case T__138:
			case T__164:
			case HASH:
			case MODULE:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
			case MRESOURCE:
			case DOTTEDNAME:
			case ID:
			case PERMISSION:
			case PERMISSIONSET:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case ENTRYPOINT:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1027;
				_localctx.entry = Match(ENTRYPOINT);
				_localctx.Value = Actions.ParseFileEntry(_localctx.entry);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AsmAttrAnyContext : ParserRuleContext {
		public System.Reflection.AssemblyFlags Value;
		public System.Reflection.AssemblyFlags Mask;
		public AsmAttrAnyContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_asmAttrAny; } }
	}

	[RuleVersion(0)]
	public AsmAttrAnyContext asmAttrAny() {
		AsmAttrAnyContext _localctx = new AsmAttrAnyContext(Context, State);
		EnterRule(_localctx, 98, RULE_asmAttrAny);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1031;
			_la = TokenStream.LA(1);
			if ( !(_la==T__1 || _la==T__60 || ((((_la - 77)) & ~0x3f) == 0 && ((1L << (_la - 77)) & 127L) != 0)) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.SetAssemblyAttribute(_localctx);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AsmAttrContext : ParserRuleContext {
		public System.Reflection.AssemblyFlags Value;
		public AsmAttrAnyContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public AsmAttrAnyContext[] asmAttrAny() {
			return GetRuleContexts<AsmAttrAnyContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public AsmAttrAnyContext asmAttrAny(int i) {
			return GetRuleContext<AsmAttrAnyContext>(i);
		}
		public AsmAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_asmAttr; } }
	}

	[RuleVersion(0)]
	public AsmAttrContext asmAttr() {
		AsmAttrContext _localctx = new AsmAttrContext(Context, State);
		EnterRule(_localctx, 100, RULE_asmAttr);
		_localctx.Value = 0;
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1038;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,38,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1033;
					_localctx.attribute = asmAttrAny();
					_localctx.Value = Actions.AddAssemblyAttribute(
								_localctx.Value,
								_localctx.attribute.Value,
								_localctx.attribute.Mask);
					}
					}
				}
				State = 1040;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,38,Context);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class InstrContext : ParserRuleContext {
		public IToken op;
		public MethodRefContext methodOperand;
		public FieldRefContext fieldOperand;
		public MdtokenContext metadataOperand;
		public TypeSpecContext typeOperand;
		public CalliSignatureContext signatureOperand;
		public OwnerTypeContext ownerOperand;
		[System.Diagnostics.DebuggerNonUserCode] public SimpleInstrContext simpleInstr() {
			return GetRuleContext<SimpleInstrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_METHOD() { return GetToken(CILParser.INSTR_METHOD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public MethodRefContext methodRef() {
			return GetRuleContext<MethodRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_FIELD() { return GetToken(CILParser.INSTR_FIELD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public FieldRefContext fieldRef() {
			return GetRuleContext<FieldRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MdtokenContext mdtoken() {
			return GetRuleContext<MdtokenContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_TYPE() { return GetToken(CILParser.INSTR_TYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_SIG() { return GetToken(CILParser.INSTR_SIG, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CalliSignatureContext calliSignature() {
			return GetRuleContext<CalliSignatureContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_TOK() { return GetToken(CILParser.INSTR_TOK, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public OwnerTypeContext ownerType() {
			return GetRuleContext<OwnerTypeContext>(0);
		}
		public InstrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_instr; } }
	}

	[RuleVersion(0)]
	public InstrContext instr() {
		InstrContext _localctx = new InstrContext(Context, State);
		EnterRule(_localctx, 102, RULE_instr);
		try {
			State = 1066;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,39,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1041;
				simpleInstr();
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1042;
				_localctx.op = Match(INSTR_METHOD);
				State = 1043;
				_localctx.methodOperand = methodRef();
				Actions.EmitMethodReferenceInstruction(_localctx.op, _localctx.methodOperand);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1046;
				_localctx.op = Match(INSTR_FIELD);
				State = 1047;
				_localctx.fieldOperand = fieldRef();
				Actions.EmitFieldReferenceInstruction(_localctx.op, _localctx.fieldOperand);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1050;
				_localctx.op = Match(INSTR_FIELD);
				State = 1051;
				_localctx.metadataOperand = mdtoken();
				Actions.EmitMetadataTokenInstruction(_localctx.op, _localctx.metadataOperand);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1054;
				_localctx.op = Match(INSTR_TYPE);
				State = 1055;
				_localctx.typeOperand = typeSpec();
				Actions.EmitTypeReferenceInstruction(_localctx.op, _localctx.typeOperand);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1058;
				_localctx.op = Match(INSTR_SIG);
				State = 1059;
				_localctx.signatureOperand = calliSignature();
				Actions.EmitCalliInstruction(_localctx.op, _localctx.signatureOperand);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1062;
				_localctx.op = Match(INSTR_TOK);
				State = 1063;
				_localctx.ownerOperand = ownerType();
				Actions.EmitOwnerTokenInstruction(_localctx.op, _localctx.ownerOperand);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SimpleInstrContext : ParserRuleContext {
		public CILParser.SwitchInstructionBuilder SwitchBuilder;
		public IToken op;
		public Int32Context index;
		public IdContext name;
		public Int32Context value32;
		public Int64Context value64;
		public Float64Context value;
		public Int64Context integerValue;
		public BytesContext rawFloat;
		public Int32Context offset;
		public IdContext label;
		public CompQstringContext userString;
		public CompQstringContext ansiString;
		public BytesContext rawString;
		public Int32Context rawToken;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_NONE() { return GetToken(CILParser.INSTR_NONE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_VAR() { return GetToken(CILParser.INSTR_VAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_I() { return GetToken(CILParser.INSTR_I, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_I8() { return GetToken(CILParser.INSTR_I8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_R() { return GetToken(CILParser.INSTR_R, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context float64() {
			return GetRuleContext<Float64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_BRTARGET() { return GetToken(CILParser.INSTR_BRTARGET, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_STRING() { return GetToken(CILParser.INSTR_STRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ANSI() { return GetToken(CILParser.ANSI, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_TOK() { return GetToken(CILParser.INSTR_TOK, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTR_SWITCH() { return GetToken(CILParser.INSTR_SWITCH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public LabelsContext labels() {
			return GetRuleContext<LabelsContext>(0);
		}
		public SimpleInstrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_simpleInstr; } }
	}

	[RuleVersion(0)]
	public SimpleInstrContext simpleInstr() {
		SimpleInstrContext _localctx = new SimpleInstrContext(Context, State);
		EnterRule(_localctx, 104, RULE_simpleInstr);
		try {
			State = 1146;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,41,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1068;
				_localctx.op = Match(INSTR_NONE);
				Actions.EmitNoOperandInstruction(_localctx.op);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1070;
				_localctx.op = Match(INSTR_VAR);
				State = 1071;
				_localctx.index = int32();
				Actions.EmitVariableIndexInstruction(_localctx.op, (_localctx.index!=null?(_localctx.index.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1074;
				_localctx.op = Match(INSTR_VAR);
				State = 1075;
				_localctx.name = id();
				Actions.EmitVariableNameInstruction(_localctx.op, (_localctx.name!=null?(_localctx.name.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1078;
				_localctx.op = Match(INSTR_I);
				State = 1079;
				_localctx.value32 = int32();
				Actions.EmitInt32Instruction(_localctx.op, (_localctx.value32!=null?(_localctx.value32.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1082;
				_localctx.op = Match(INSTR_I8);
				State = 1083;
				_localctx.value64 = int64();
				Actions.EmitInt64Instruction(_localctx.op, (_localctx.value64!=null?(_localctx.value64.Start):null));
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1086;
				_localctx.op = Match(INSTR_R);
				State = 1087;
				_localctx.value = float64();
				Actions.EmitFloatingInstruction(_localctx.op, _localctx.value.Value);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1090;
				_localctx.op = Match(INSTR_R);
				State = 1091;
				_localctx.integerValue = int64();
				Actions.EmitFloatingInstruction(_localctx.op, (_localctx.integerValue!=null?(_localctx.integerValue.Start):null));
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1094;
				_localctx.op = Match(INSTR_R);
				State = 1095;
				Match(T__29);
				State = 1096;
				_localctx.rawFloat = bytes();
				State = 1097;
				Match(T__30);
				Actions.EmitRawFloatingInstruction(_localctx.op, _localctx.rawFloat.Value, (_localctx.rawFloat!=null?(_localctx.rawFloat.Start):null));
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1100;
				_localctx.op = Match(INSTR_R);
				State = 1101;
				Match(T__83);
				State = 1102;
				Match(T__29);
				State = 1103;
				_localctx.rawFloat = bytes();
				State = 1104;
				Match(T__30);
				Actions.EmitRawFloatingInstruction(_localctx.op, _localctx.rawFloat.Value, (_localctx.rawFloat!=null?(_localctx.rawFloat.Start):null));
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 1107;
				_localctx.op = Match(INSTR_BRTARGET);
				State = 1108;
				_localctx.offset = int32();
				Actions.EmitBranchOffsetInstruction(_localctx.op, (_localctx.offset!=null?(_localctx.offset.Start):null));
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 1111;
				_localctx.op = Match(INSTR_BRTARGET);
				State = 1112;
				_localctx.label = id();
				Actions.EmitBranchLabelInstruction(_localctx.op, (_localctx.label!=null?(_localctx.label.Start):null));
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 1115;
				_localctx.op = Match(INSTR_STRING);
				State = 1116;
				_localctx.userString = compQstring();
				Actions.EmitStringInstruction(_localctx.op, _localctx.userString.Value);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 1119;
				_localctx.op = Match(INSTR_STRING);
				State = 1120;
				Match(ANSI);
				State = 1121;
				Match(T__29);
				State = 1122;
				_localctx.ansiString = compQstring();
				State = 1123;
				Match(T__30);
				Actions.EmitAnsiStringInstruction(_localctx.op, _localctx.ansiString.Value);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 1126;
				_localctx.op = Match(INSTR_STRING);
				State = 1127;
				Match(T__83);
				State = 1128;
				Match(T__29);
				State = 1129;
				_localctx.rawString = bytes();
				State = 1130;
				Match(T__30);
				Actions.EmitRawStringInstruction(_localctx.op, _localctx.rawString.Value);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 1133;
				_localctx.op = Match(INSTR_TOK);
				State = 1134;
				_localctx.rawToken = int32();
				Actions.EmitRawTokenInstruction(_localctx.op, (_localctx.rawToken!=null?(_localctx.rawToken.Start):null));
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 1137;
				_localctx.op = Match(INSTR_SWITCH);
				_localctx.SwitchBuilder = Actions.CreateSwitchInstruction(_localctx.op);
				State = 1144;
				ErrorHandler.Sync(this);
				switch (TokenStream.LA(1)) {
				case T__29:
					{
					State = 1139;
					Match(T__29);
					State = 1140;
					labels(_localctx.SwitchBuilder);
					State = 1141;
					Match(T__30);
					}
					break;
				case T__84:
					{
					State = 1143;
					Match(T__84);
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				break;
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.CompleteSwitchInstruction(_localctx.SwitchBuilder);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CalliSignatureContext : ParserRuleContext {
		public CILParser.CalliSignatureValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CallConvContext convention;
		public TypeContext returnType;
		public SigArgsContext arguments;
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		public CalliSignatureContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_calliSignature; } }
	}

	[RuleVersion(0)]
	public CalliSignatureContext calliSignature() {
		CalliSignatureContext _localctx = new CalliSignatureContext(Context, State);
		EnterRule(_localctx, 106, RULE_calliSignature);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CalliSignatureValue.Error;

		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1148;
			_localctx.convention = callConv();
			State = 1149;
			_localctx.returnType = type();
			State = 1150;
			_localctx.arguments = sigArgs();
			_localctx.Value = Actions.CreateCalliSignature(_localctx.convention.Value, _localctx.returnType.Value, _localctx.arguments.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class LabelsContext : ParserRuleContext {
		public CILParser.SwitchInstructionBuilder Builder;
		public IdContext headLabel;
		public Int32Context headOffset;
		public IdContext tailLabel;
		public Int32Context tailOffset;
		[System.Diagnostics.DebuggerNonUserCode] public IdContext[] id() {
			return GetRuleContexts<IdContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id(int i) {
			return GetRuleContext<IdContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public LabelsContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public LabelsContext(ParserRuleContext parent, int invokingState, CILParser.SwitchInstructionBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_labels; } }
	}

	[RuleVersion(0)]
	public LabelsContext labels(CILParser.SwitchInstructionBuilder Builder) {
		LabelsContext _localctx = new LabelsContext(Context, State, Builder);
		EnterRule(_localctx, 108, RULE_labels);
		try {
			int _alt;
			State = 1177;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__30:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case INT32:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case ID:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1166;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,43,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 1160;
						ErrorHandler.Sync(this);
						switch (TokenStream.LA(1)) {
						case T__0:
						case T__1:
						case T__2:
						case T__3:
						case T__4:
						case T__5:
						case T__6:
						case T__7:
						case T__8:
						case T__9:
						case T__10:
						case T__11:
						case T__12:
						case T__13:
						case T__14:
						case INSTANCE:
						case UNMANAGED:
						case SQSTRING:
						case ID:
							{
							State = 1154;
							_localctx.headLabel = id();
							Actions.AddSwitchLabel(_localctx.Builder, (_localctx.headLabel!=null?(_localctx.headLabel.Start):null));
							}
							break;
						case INT32:
							{
							State = 1157;
							_localctx.headOffset = int32();
							Actions.AddSwitchOffset(_localctx.Builder, (_localctx.headOffset!=null?(_localctx.headOffset.Start):null));
							}
							break;
						default:
							throw new NoViableAltException(this);
						}
						State = 1162;
						Match(T__27);
						}
						} 
					}
					State = 1168;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,43,Context);
				}
				State = 1175;
				ErrorHandler.Sync(this);
				switch (TokenStream.LA(1)) {
				case T__0:
				case T__1:
				case T__2:
				case T__3:
				case T__4:
				case T__5:
				case T__6:
				case T__7:
				case T__8:
				case T__9:
				case T__10:
				case T__11:
				case T__12:
				case T__13:
				case T__14:
				case INSTANCE:
				case UNMANAGED:
				case SQSTRING:
				case ID:
					{
					State = 1169;
					_localctx.tailLabel = id();
					Actions.AddSwitchLabel(_localctx.Builder, (_localctx.tailLabel!=null?(_localctx.tailLabel.Start):null));
					}
					break;
				case INT32:
					{
					State = 1172;
					_localctx.tailOffset = int32();
					Actions.AddSwitchOffset(_localctx.Builder, (_localctx.tailOffset!=null?(_localctx.tailOffset.Start):null));
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeArgsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeValue>.Builder Builder;
		public TypeContext argument;
		public TypeContext lastArgument;
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext[] type() {
			return GetRuleContexts<TypeContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type(int i) {
			return GetRuleContext<TypeContext>(i);
		}
		public TypeArgsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typeArgs; } }
	}

	[RuleVersion(0)]
	public TypeArgsContext typeArgs() {
		TypeArgsContext _localctx = new TypeArgsContext(Context, State);
		EnterRule(_localctx, 110, RULE_typeArgs);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.TypeValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1179;
			Match(T__85);
			State = 1186;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,46,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1180;
					_localctx.argument = type();
					_localctx.Builder.Add(_localctx.argument.Value);
					State = 1182;
					Match(T__27);
					}
					} 
				}
				State = 1188;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,46,Context);
			}
			State = 1189;
			_localctx.lastArgument = type();
			_localctx.Builder.Add(_localctx.lastArgument.Value);
			State = 1191;
			Match(T__86);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class BoundsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.ArrayBoundValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.ArrayBoundValue>.Builder Builder;
		public BoundContext item;
		public BoundContext lastItem;
		[System.Diagnostics.DebuggerNonUserCode] public BoundContext[] bound() {
			return GetRuleContexts<BoundContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public BoundContext bound(int i) {
			return GetRuleContext<BoundContext>(i);
		}
		public BoundsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_bounds; } }
	}

	[RuleVersion(0)]
	public BoundsContext bounds() {
		BoundsContext _localctx = new BoundsContext(Context, State);
		EnterRule(_localctx, 112, RULE_bounds);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.ArrayBoundValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1193;
			Match(T__41);
			State = 1200;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,47,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1194;
					_localctx.item = bound();
					_localctx.Builder.Add(Actions.CreateArrayBound(_localctx.item));
					State = 1196;
					Match(T__27);
					}
					} 
				}
				State = 1202;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,47,Context);
			}
			State = 1203;
			_localctx.lastItem = bound();
			_localctx.Builder.Add(Actions.CreateArrayBound(_localctx.lastItem));
			State = 1205;
			Match(T__42);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class SigArgsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.SignatureArgumentValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.SignatureArgumentValue>.Builder Builder;
		public SigArgContext argument;
		public SigArgContext lastArgument;
		[System.Diagnostics.DebuggerNonUserCode] public SigArgContext[] sigArg() {
			return GetRuleContexts<SigArgContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgContext sigArg(int i) {
			return GetRuleContext<SigArgContext>(i);
		}
		public SigArgsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sigArgs; } }
	}

	[RuleVersion(0)]
	public SigArgsContext sigArgs() {
		SigArgsContext _localctx = new SigArgsContext(Context, State);
		EnterRule(_localctx, 114, RULE_sigArgs);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.SignatureArgumentValue>();
		try {
			int _alt;
			State = 1224;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,49,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1207;
				Match(T__29);
				State = 1214;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,48,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 1208;
						_localctx.argument = sigArg();
						_localctx.Builder.Add(_localctx.argument.Value);
						State = 1210;
						Match(T__27);
						}
						} 
					}
					State = 1216;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,48,Context);
				}
				State = 1217;
				_localctx.lastArgument = sigArg();
				_localctx.Builder.Add(_localctx.lastArgument.Value);
				State = 1219;
				Match(T__30);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1221;
				Match(T__29);
				State = 1222;
				Match(T__30);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1223;
				Match(T__84);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class SigArgContext : ParserRuleContext {
		public CILParser.SignatureArgumentValue Value;
		public ParamAttrContext attributes;
		public TypeContext argumentType;
		public MarshalClauseContext marshalling;
		public IdContext name;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ELLIPSIS() { return GetToken(CILParser.ELLIPSIS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ParamAttrContext paramAttr() {
			return GetRuleContext<ParamAttrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MarshalClauseContext marshalClause() {
			return GetRuleContext<MarshalClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		public SigArgContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sigArg; } }
	}

	[RuleVersion(0)]
	public SigArgContext sigArg() {
		SigArgContext _localctx = new SigArgContext(Context, State);
		EnterRule(_localctx, 116, RULE_sigArg);
		_localctx.Value = CILParser.SignatureArgumentValue.Error;
		int _la;
		try {
			State = 1236;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,51,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1226;
				Match(ELLIPSIS);
				_localctx.Value = Actions.CreateSentinelSignatureArgument();
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1228;
				_localctx.attributes = paramAttr();
				State = 1229;
				_localctx.argumentType = type();
				State = 1230;
				_localctx.marshalling = marshalClause();
				State = 1232;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 65534L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 70368746274833L) != 0)) {
					{
					State = 1231;
					_localctx.name = id();
					}
				}

				_localctx.Value = Actions.CreateSignatureArgument(_localctx.attributes.Value, _localctx.argumentType.Value, _localctx.marshalling.Value, _localctx.name);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassNameContext : ParserRuleContext {
		public CILParser.ClassNameValue Value;
		public DottedNameContext assemblyName;
		public SlashedNameContext typeName;
		public MdtokenContext scopeToken;
		public DottedNameContext moduleName;
		public MdtokenContext typeToken;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SlashedNameContext slashedName() {
			return GetRuleContext<SlashedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MdtokenContext mdtoken() {
			return GetRuleContext<MdtokenContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MODULE() { return GetToken(CILParser.MODULE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode THIS() { return GetToken(CILParser.THIS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BASE() { return GetToken(CILParser.BASE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NESTER() { return GetToken(CILParser.NESTER, 0); }
		public ClassNameContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_className; } }
	}

	[RuleVersion(0)]
	public ClassNameContext className() {
		ClassNameContext _localctx = new ClassNameContext(Context, State);
		EnterRule(_localctx, 118, RULE_className);
		_localctx.Value = CILParser.ClassNameValue.Error;
		try {
			State = 1275;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,52,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1238;
				Match(T__41);
				State = 1239;
				_localctx.assemblyName = dottedName();
				State = 1240;
				Match(T__42);
				State = 1241;
				_localctx.typeName = slashedName();
				_localctx.Value = Actions.CreateAssemblyQualifiedClassName(_localctx.assemblyName.Value, _localctx.typeName.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1244;
				Match(T__41);
				State = 1245;
				_localctx.scopeToken = mdtoken();
				State = 1246;
				Match(T__42);
				State = 1247;
				_localctx.typeName = slashedName();
				_localctx.Value = Actions.CreateTokenQualifiedClassName(_localctx.scopeToken.Value, _localctx.typeName.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1250;
				Match(T__41);
				State = 1251;
				Match(PTR);
				State = 1252;
				Match(T__42);
				State = 1253;
				_localctx.typeName = slashedName();
				_localctx.Value = Actions.CreatePointerQualifiedClassName(_localctx.typeName.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1256;
				Match(T__41);
				State = 1257;
				Match(MODULE);
				State = 1258;
				_localctx.moduleName = dottedName();
				State = 1259;
				Match(T__42);
				State = 1260;
				_localctx.typeName = slashedName();
				_localctx.Value = Actions.CreateModuleQualifiedClassName(_localctx.Start, _localctx.moduleName.Value, _localctx.typeName.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1263;
				_localctx.typeName = slashedName();
				_localctx.Value = Actions.CreateUnqualifiedClassName(_localctx.typeName.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1266;
				_localctx.typeToken = mdtoken();
				_localctx.Value = Actions.CreateTokenClassName(_localctx.typeToken.Value);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1269;
				Match(THIS);
				_localctx.Value = Actions.CreateThisClassName(_localctx.Start);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1271;
				Match(BASE);
				_localctx.Value = Actions.CreateBaseClassName(_localctx.Start);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1273;
				Match(NESTER);
				_localctx.Value = Actions.CreateNesterClassName(_localctx.Start);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SlashedNameContext : ParserRuleContext {
		public CILParser.TypeName Value;
		public CILParser.TypeName CurrentName;
		public DottedNameContext part;
		public DottedNameContext lastPart;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext[] dottedName() {
			return GetRuleContexts<DottedNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName(int i) {
			return GetRuleContext<DottedNameContext>(i);
		}
		public SlashedNameContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_slashedName; } }
	}

	[RuleVersion(0)]
	public SlashedNameContext slashedName() {
		SlashedNameContext _localctx = new SlashedNameContext(Context, State);
		EnterRule(_localctx, 120, RULE_slashedName);
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1283;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,53,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1277;
					_localctx.part = dottedName();
					_localctx.CurrentName = Actions.AddSlashedNamePart(_localctx.CurrentName, _localctx.part.Value);
					State = 1279;
					Match(T__87);
					}
					} 
				}
				State = 1285;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,53,Context);
			}
			State = 1286;
			_localctx.lastPart = dottedName();
			_localctx.CurrentName = Actions.AddSlashedNamePart(_localctx.CurrentName, _localctx.lastPart.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.CurrentName ?? new CILParser.TypeName(null, string.Empty);
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyDeclsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.AssemblyDeclarationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.AssemblyDeclarationValue>.Builder Builder;
		public AssemblyDeclContext declaration;
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyDeclContext[] assemblyDecl() {
			return GetRuleContexts<AssemblyDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyDeclContext assemblyDecl(int i) {
			return GetRuleContext<AssemblyDeclContext>(i);
		}
		public AssemblyDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyDecls; } }
	}

	[RuleVersion(0)]
	public AssemblyDeclsContext assemblyDecls() {
		AssemblyDeclsContext _localctx = new AssemblyDeclsContext(Context, State);
		EnterRule(_localctx, 122, RULE_assemblyDecls);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.AssemblyDeclarationValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1294;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 38654836734L) != 0) || ((((_la - 167)) & ~0x3f) == 0 && ((1L << (_la - 167)) & 4103L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 6860954690125841L) != 0)) {
				{
				{
				State = 1289;
				_localctx.declaration = assemblyDecl();
				if (_localctx.declaration.Value is not null) _localctx.Builder.Add(_localctx.declaration.Value);
				}
				}
				State = 1296;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyDeclContext : ParserRuleContext {
		public CILParser.AssemblyDeclarationValue? Value;
		public Int32Context algorithm;
		public SecDeclContext security;
		public AsmOrRefDeclContext shared;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HASH() { return GetToken(CILParser.HASH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecDeclContext secDecl() {
			return GetRuleContext<SecDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AsmOrRefDeclContext asmOrRefDecl() {
			return GetRuleContext<AsmOrRefDeclContext>(0);
		}
		public AssemblyDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyDecl; } }
	}

	[RuleVersion(0)]
	public AssemblyDeclContext assemblyDecl() {
		AssemblyDeclContext _localctx = new AssemblyDeclContext(Context, State);
		EnterRule(_localctx, 124, RULE_assemblyDecl);
		try {
			State = 1308;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case HASH:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1297;
				Match(HASH);
				State = 1298;
				Match(T__88);
				State = 1299;
				_localctx.algorithm = int32();
				_localctx.Value = Actions.CreateAssemblyHashAlgorithmDeclaration((_localctx.algorithm!=null?(_localctx.algorithm.Start):null));
				}
				break;
			case PERMISSION:
			case PERMISSIONSET:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1302;
				_localctx.security = secDecl();
				_localctx.Value = Actions.CreateAssemblySecurityDeclaration(
							_localctx.security.Value,
							(_localctx.security!=null?(_localctx.security.Start):null));
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__31:
			case T__34:
			case T__166:
			case T__167:
			case T__168:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1305;
				_localctx.shared = asmOrRefDecl();
				_localctx.Value = _localctx.shared.Value;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeSpecContext : ParserRuleContext {
		public CILParser.TypeSpecificationValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public ClassNameContext classType;
		public TypeContext signatureType;
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		public TypeSpecContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typeSpec; } }
	}

	[RuleVersion(0)]
	public TypeSpecContext typeSpec() {
		TypeSpecContext _localctx = new TypeSpecContext(Context, State);
		EnterRule(_localctx, 126, RULE_typeSpec);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.TypeSpecificationValue.Error;

		try {
			State = 1316;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,56,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1310;
				_localctx.classType = className();
				_localctx.Value = Actions.CreateClassTypeSpecification(_localctx.classType.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1313;
				_localctx.signatureType = type();
				_localctx.Value = Actions.CreateSignatureTypeSpecification(_localctx.signatureType.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeSpecOrScopeContext : ParserRuleContext {
		public CILParser.TypeSpecificationValue Value;
		public TypeSpecContext typeValue;
		public DottedNameContext assemblyName;
		public DottedNameContext moduleName;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MODULE() { return GetToken(CILParser.MODULE, 0); }
		public TypeSpecOrScopeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typeSpecOrScope; } }
	}

	[RuleVersion(0)]
	public TypeSpecOrScopeContext typeSpecOrScope() {
		TypeSpecOrScopeContext _localctx = new TypeSpecOrScopeContext(Context, State);
		EnterRule(_localctx, 128, RULE_typeSpecOrScope);
		_localctx.Value = CILParser.TypeSpecificationValue.Error;
		try {
			State = 1332;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,57,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1318;
				_localctx.typeValue = typeSpec();
				_localctx.Value = _localctx.typeValue.Value;
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1321;
				Match(T__41);
				State = 1322;
				_localctx.assemblyName = dottedName();
				State = 1323;
				Match(T__42);
				_localctx.Value = Actions.CreateAssemblyTypeSpecification(_localctx.assemblyName.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1326;
				Match(T__41);
				State = 1327;
				Match(MODULE);
				State = 1328;
				_localctx.moduleName = dottedName();
				State = 1329;
				Match(T__42);
				_localctx.Value = Actions.CreateModuleTypeSpecification(_localctx.moduleName.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class NativeTypeContext : ParserRuleContext {
		public CILParser.NativeTypeValue Value;
		public CILParser.NativeTypeBuilder Builder;
		public NativeTypeElementContext element;
		public NativeTypeArrayPointerInfoContext info;
		[System.Diagnostics.DebuggerNonUserCode] public NativeTypeElementContext nativeTypeElement() {
			return GetRuleContext<NativeTypeElementContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public NativeTypeArrayPointerInfoContext[] nativeTypeArrayPointerInfo() {
			return GetRuleContexts<NativeTypeArrayPointerInfoContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public NativeTypeArrayPointerInfoContext nativeTypeArrayPointerInfo(int i) {
			return GetRuleContext<NativeTypeArrayPointerInfoContext>(i);
		}
		public NativeTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nativeType; } }
	}

	[RuleVersion(0)]
	public NativeTypeContext nativeType() {
		NativeTypeContext _localctx = new NativeTypeContext(Context, State);
		EnterRule(_localctx, 130, RULE_nativeType);
		_localctx.Builder = new CILParser.NativeTypeBuilder();
		try {
			int _alt;
			State = 1345;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,59,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1335;
				_localctx.element = nativeTypeElement();
				Actions.SetNativeTypeElement(_localctx.Builder, _localctx.element.Value);
				State = 1342;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,58,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 1337;
						_localctx.info = nativeTypeArrayPointerInfo();
						Actions.AddNativeTypeArrayPointerInfo(_localctx.Builder, _localctx.info.Value);
						}
						} 
					}
					State = 1344;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,58,Context);
				}
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.CreateNativeType(_localctx.Start, _localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class NativeTypeArrayPointerInfoContext : ParserRuleContext {
		public CILParser.NativeTypeArrayPointerInfoValue Value;
		public NativeTypeArrayPointerInfoContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nativeTypeArrayPointerInfo; } }
	 
		public NativeTypeArrayPointerInfoContext() { }
		public virtual void CopyFrom(NativeTypeArrayPointerInfoContext context) {
			base.CopyFrom(context);
			this.Value = context.Value;
		}
	}
	public partial class PointerArrayTypeSizeContext : NativeTypeArrayPointerInfoContext {
		public Int32Context size;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public PointerArrayTypeSizeContext(NativeTypeArrayPointerInfoContext context) { CopyFrom(context); }
	}
	public partial class PointerArrayTypeParamIndexContext : NativeTypeArrayPointerInfoContext {
		public Int32Context parameterIndex;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PLUS() { return GetToken(CILParser.PLUS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public PointerArrayTypeParamIndexContext(NativeTypeArrayPointerInfoContext context) { CopyFrom(context); }
	}
	public partial class PointerNativeTypeContext : NativeTypeArrayPointerInfoContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		public PointerNativeTypeContext(NativeTypeArrayPointerInfoContext context) { CopyFrom(context); }
	}
	public partial class PointerArrayTypeSizeParamIndexContext : NativeTypeArrayPointerInfoContext {
		public Int32Context size;
		public Int32Context parameterIndex;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PLUS() { return GetToken(CILParser.PLUS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public PointerArrayTypeSizeParamIndexContext(NativeTypeArrayPointerInfoContext context) { CopyFrom(context); }
	}
	public partial class PointerArrayTypeNoSizeDataContext : NativeTypeArrayPointerInfoContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ARRAY_TYPE_NO_BOUNDS() { return GetToken(CILParser.ARRAY_TYPE_NO_BOUNDS, 0); }
		public PointerArrayTypeNoSizeDataContext(NativeTypeArrayPointerInfoContext context) { CopyFrom(context); }
	}

	[RuleVersion(0)]
	public NativeTypeArrayPointerInfoContext nativeTypeArrayPointerInfo() {
		NativeTypeArrayPointerInfoContext _localctx = new NativeTypeArrayPointerInfoContext(Context, State);
		EnterRule(_localctx, 132, RULE_nativeTypeArrayPointerInfo);
		_localctx.Value = Actions.CreatePointerNativeType();
		try {
			State = 1369;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,60,Context) ) {
			case 1:
				_localctx = new PointerNativeTypeContext(_localctx);
				EnterOuterAlt(_localctx, 1);
				{
				State = 1347;
				Match(PTR);
				_localctx.Value = Actions.CreatePointerNativeType();
				}
				break;
			case 2:
				_localctx = new PointerArrayTypeNoSizeDataContext(_localctx);
				EnterOuterAlt(_localctx, 2);
				{
				State = 1349;
				Match(ARRAY_TYPE_NO_BOUNDS);
				_localctx.Value = Actions.CreatePointerArrayTypeNoSizeData();
				}
				break;
			case 3:
				_localctx = new PointerArrayTypeSizeContext(_localctx);
				EnterOuterAlt(_localctx, 3);
				{
				State = 1351;
				Match(T__41);
				State = 1352;
				((PointerArrayTypeSizeContext)_localctx).size = int32();
				State = 1353;
				Match(T__42);
				_localctx.Value = Actions.CreatePointerArrayTypeSize((((PointerArrayTypeSizeContext)_localctx).size!=null?(((PointerArrayTypeSizeContext)_localctx).size.Start):null));
				}
				break;
			case 4:
				_localctx = new PointerArrayTypeSizeParamIndexContext(_localctx);
				EnterOuterAlt(_localctx, 4);
				{
				State = 1356;
				Match(T__41);
				State = 1357;
				((PointerArrayTypeSizeParamIndexContext)_localctx).size = int32();
				State = 1358;
				Match(PLUS);
				State = 1359;
				((PointerArrayTypeSizeParamIndexContext)_localctx).parameterIndex = int32();
				State = 1360;
				Match(T__42);
				_localctx.Value = Actions.CreatePointerArrayTypeSizeParamIndex((((PointerArrayTypeSizeParamIndexContext)_localctx).size!=null?(((PointerArrayTypeSizeParamIndexContext)_localctx).size.Start):null), (((PointerArrayTypeSizeParamIndexContext)_localctx).parameterIndex!=null?(((PointerArrayTypeSizeParamIndexContext)_localctx).parameterIndex.Start):null));
				}
				break;
			case 5:
				_localctx = new PointerArrayTypeParamIndexContext(_localctx);
				EnterOuterAlt(_localctx, 5);
				{
				State = 1363;
				Match(T__41);
				State = 1364;
				Match(PLUS);
				State = 1365;
				((PointerArrayTypeParamIndexContext)_localctx).parameterIndex = int32();
				State = 1366;
				Match(T__42);
				_localctx.Value = Actions.CreatePointerArrayTypeParamIndex((((PointerArrayTypeParamIndexContext)_localctx).parameterIndex!=null?(((PointerArrayTypeParamIndexContext)_localctx).parameterIndex.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class NativeTypeElementContext : ParserRuleContext {
		public CILParser.NativeTypeElementValue Value;
		public IToken marshalType;
		public CompQstringContext guid;
		public CompQstringContext nativeTypeName;
		public CompQstringContext marshallerType;
		public CompQstringContext cookie;
		public Int32Context size;
		public NativeTypeContext element;
		public IidParamIndexContext index;
		public VariantTypeContext variant;
		public CompQstringContext userDefinedType;
		public IToken unsignedMarshalType;
		public IToken marshalBool;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CUSTOM() { return GetToken(CILParser.CUSTOM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext[] compQstring() {
			return GetRuleContexts<CompQstringContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring(int i) {
			return GetRuleContext<CompQstringContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FIXED() { return GetToken(CILParser.FIXED, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SYSSTRING() { return GetToken(CILParser.SYSSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ARRAY() { return GetToken(CILParser.ARRAY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public NativeTypeContext nativeType() {
			return GetRuleContext<NativeTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARIANT() { return GetToken(CILParser.VARIANT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENCY() { return GetToken(CILParser.CURRENCY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SYSCHAR() { return GetToken(CILParser.SYSCHAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VOID() { return GetToken(CILParser.VOID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BOOL() { return GetToken(CILParser.BOOL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ERROR() { return GetToken(CILParser.ERROR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT8() { return GetToken(CILParser.UINT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT16() { return GetToken(CILParser.UINT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT32() { return GetToken(CILParser.UINT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT64() { return GetToken(CILParser.UINT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DECIMAL() { return GetToken(CILParser.DECIMAL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATE() { return GetToken(CILParser.DATE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BSTR() { return GetToken(CILParser.BSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPSTR() { return GetToken(CILParser.LPSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPWSTR() { return GetToken(CILParser.LPWSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPTSTR() { return GetToken(CILParser.LPTSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OBJECTREF() { return GetToken(CILParser.OBJECTREF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IUNKNOWN() { return GetToken(CILParser.IUNKNOWN, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public IidParamIndexContext iidParamIndex() {
			return GetRuleContext<IidParamIndexContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IDISPATCH() { return GetToken(CILParser.IDISPATCH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRUCT() { return GetToken(CILParser.STRUCT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTERFACE() { return GetToken(CILParser.INTERFACE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SAFEARRAY() { return GetToken(CILParser.SAFEARRAY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public VariantTypeContext variantType() {
			return GetRuleContext<VariantTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT() { return GetToken(CILParser.INT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT() { return GetToken(CILParser.UINT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BYVALSTR() { return GetToken(CILParser.BYVALSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ANSI() { return GetToken(CILParser.ANSI, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TBSTR() { return GetToken(CILParser.TBSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD() { return GetToken(CILParser.METHOD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPSTRUCT() { return GetToken(CILParser.LPSTRUCT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ANY() { return GetToken(CILParser.ANY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public NativeTypeElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nativeTypeElement; } }
	}

	[RuleVersion(0)]
	public NativeTypeElementContext nativeTypeElement() {
		NativeTypeElementContext _localctx = new NativeTypeElementContext(Context, State);
		EnterRule(_localctx, 134, RULE_nativeTypeElement);
		_localctx.Value = CILParser.EmptyNativeTypeElementValue.Instance;
		try {
			State = 1516;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,61,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				_localctx.Value = Actions.CreateEmptyNativeType();
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1372;
				_localctx.marshalType = Match(CUSTOM);
				State = 1373;
				Match(T__29);
				State = 1374;
				_localctx.guid = compQstring();
				State = 1375;
				Match(T__27);
				State = 1376;
				_localctx.nativeTypeName = compQstring();
				State = 1377;
				Match(T__27);
				State = 1378;
				_localctx.marshallerType = compQstring();
				State = 1379;
				Match(T__27);
				State = 1380;
				_localctx.cookie = compQstring();
				State = 1381;
				Match(T__30);
				_localctx.Value = Actions.CreateDeprecatedCustomMarshallerNativeType(
							_localctx, _localctx.guid.Value, _localctx.nativeTypeName.Value, _localctx.marshallerType.Value, _localctx.cookie.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1384;
				_localctx.marshalType = Match(CUSTOM);
				State = 1385;
				Match(T__29);
				State = 1386;
				_localctx.marshallerType = compQstring();
				State = 1387;
				Match(T__27);
				State = 1388;
				_localctx.cookie = compQstring();
				State = 1389;
				Match(T__30);
				_localctx.Value = Actions.CreateCustomMarshallerNativeType(_localctx.marshallerType.Value, _localctx.cookie.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1392;
				Match(FIXED);
				State = 1393;
				_localctx.marshalType = Match(SYSSTRING);
				State = 1394;
				Match(T__41);
				State = 1395;
				_localctx.size = int32();
				State = 1396;
				Match(T__42);
				_localctx.Value = Actions.CreateFixedSysStringNativeType((_localctx.size!=null?(_localctx.size.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1399;
				Match(FIXED);
				State = 1400;
				_localctx.marshalType = Match(ARRAY);
				State = 1401;
				Match(T__41);
				State = 1402;
				_localctx.size = int32();
				State = 1403;
				Match(T__42);
				State = 1404;
				_localctx.element = nativeType();
				_localctx.Value = Actions.CreateFixedArrayNativeType((_localctx.size!=null?(_localctx.size.Start):null), _localctx.element.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1407;
				_localctx.marshalType = Match(VARIANT);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1409;
				_localctx.marshalType = Match(CURRENCY);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1411;
				_localctx.marshalType = Match(SYSCHAR);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1413;
				_localctx.marshalType = Match(VOID);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 1415;
				_localctx.marshalType = Match(BOOL);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 1417;
				_localctx.marshalType = Match(INT8);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 1419;
				_localctx.marshalType = Match(INT16);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 1421;
				_localctx.marshalType = Match(INT32_);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 1423;
				_localctx.marshalType = Match(INT64_);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 1425;
				_localctx.marshalType = Match(FLOAT32);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 1427;
				_localctx.marshalType = Match(FLOAT64_);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				State = 1429;
				_localctx.marshalType = Match(ERROR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 18:
				EnterOuterAlt(_localctx, 18);
				{
				State = 1431;
				_localctx.marshalType = Match(UINT8);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 19:
				EnterOuterAlt(_localctx, 19);
				{
				State = 1433;
				_localctx.marshalType = Match(UINT16);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 20:
				EnterOuterAlt(_localctx, 20);
				{
				State = 1435;
				_localctx.marshalType = Match(UINT32);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 21:
				EnterOuterAlt(_localctx, 21);
				{
				State = 1437;
				_localctx.marshalType = Match(UINT64);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 22:
				EnterOuterAlt(_localctx, 22);
				{
				State = 1439;
				_localctx.marshalType = Match(DECIMAL);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 23:
				EnterOuterAlt(_localctx, 23);
				{
				State = 1441;
				_localctx.marshalType = Match(DATE);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 24:
				EnterOuterAlt(_localctx, 24);
				{
				State = 1443;
				_localctx.marshalType = Match(BSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 25:
				EnterOuterAlt(_localctx, 25);
				{
				State = 1445;
				_localctx.marshalType = Match(LPSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 26:
				EnterOuterAlt(_localctx, 26);
				{
				State = 1447;
				_localctx.marshalType = Match(LPWSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 27:
				EnterOuterAlt(_localctx, 27);
				{
				State = 1449;
				_localctx.marshalType = Match(LPTSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 28:
				EnterOuterAlt(_localctx, 28);
				{
				State = 1451;
				_localctx.marshalType = Match(OBJECTREF);
				_localctx.Value = Actions.CreateDeprecatedNativeType(_localctx, _localctx.marshalType);
				}
				break;
			case 29:
				EnterOuterAlt(_localctx, 29);
				{
				State = 1453;
				_localctx.marshalType = Match(IUNKNOWN);
				State = 1454;
				_localctx.index = iidParamIndex();
				_localctx.Value = Actions.CreateIidNativeType(_localctx.marshalType, _localctx.index.Value);
				}
				break;
			case 30:
				EnterOuterAlt(_localctx, 30);
				{
				State = 1457;
				_localctx.marshalType = Match(IDISPATCH);
				State = 1458;
				_localctx.index = iidParamIndex();
				_localctx.Value = Actions.CreateIidNativeType(_localctx.marshalType, _localctx.index.Value);
				}
				break;
			case 31:
				EnterOuterAlt(_localctx, 31);
				{
				State = 1461;
				_localctx.marshalType = Match(STRUCT);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 32:
				EnterOuterAlt(_localctx, 32);
				{
				State = 1463;
				_localctx.marshalType = Match(INTERFACE);
				State = 1464;
				_localctx.index = iidParamIndex();
				_localctx.Value = Actions.CreateIidNativeType(_localctx.marshalType, _localctx.index.Value);
				}
				break;
			case 33:
				EnterOuterAlt(_localctx, 33);
				{
				State = 1467;
				_localctx.marshalType = Match(SAFEARRAY);
				State = 1468;
				_localctx.variant = variantType();
				_localctx.Value = Actions.CreateSafeArrayNativeType(_localctx.variant.Value, null);
				}
				break;
			case 34:
				EnterOuterAlt(_localctx, 34);
				{
				State = 1471;
				_localctx.marshalType = Match(SAFEARRAY);
				State = 1472;
				_localctx.variant = variantType();
				State = 1473;
				Match(T__27);
				State = 1474;
				_localctx.userDefinedType = compQstring();
				_localctx.Value = Actions.CreateSafeArrayNativeType(_localctx.variant.Value, _localctx.userDefinedType.Value);
				}
				break;
			case 35:
				EnterOuterAlt(_localctx, 35);
				{
				State = 1477;
				_localctx.marshalType = Match(INT);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 36:
				EnterOuterAlt(_localctx, 36);
				{
				State = 1479;
				_localctx.marshalType = Match(UINT);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 37:
				EnterOuterAlt(_localctx, 37);
				{
				State = 1481;
				Match(T__89);
				State = 1482;
				_localctx.unsignedMarshalType = Match(INT8);
				_localctx.Value = Actions.CreateUnsignedNativeType(_localctx.unsignedMarshalType);
				}
				break;
			case 38:
				EnterOuterAlt(_localctx, 38);
				{
				State = 1484;
				Match(T__89);
				State = 1485;
				_localctx.unsignedMarshalType = Match(INT16);
				_localctx.Value = Actions.CreateUnsignedNativeType(_localctx.unsignedMarshalType);
				}
				break;
			case 39:
				EnterOuterAlt(_localctx, 39);
				{
				State = 1487;
				Match(T__89);
				State = 1488;
				_localctx.unsignedMarshalType = Match(INT32_);
				_localctx.Value = Actions.CreateUnsignedNativeType(_localctx.unsignedMarshalType);
				}
				break;
			case 40:
				EnterOuterAlt(_localctx, 40);
				{
				State = 1490;
				Match(T__89);
				State = 1491;
				_localctx.unsignedMarshalType = Match(INT64_);
				_localctx.Value = Actions.CreateUnsignedNativeType(_localctx.unsignedMarshalType);
				}
				break;
			case 41:
				EnterOuterAlt(_localctx, 41);
				{
				State = 1493;
				Match(T__61);
				State = 1494;
				_localctx.marshalType = Match(STRUCT);
				_localctx.Value = Actions.CreateNestedStructNativeType(_localctx);
				}
				break;
			case 42:
				EnterOuterAlt(_localctx, 42);
				{
				State = 1496;
				_localctx.marshalType = Match(BYVALSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 43:
				EnterOuterAlt(_localctx, 43);
				{
				State = 1498;
				Match(ANSI);
				State = 1499;
				_localctx.marshalType = Match(BSTR);
				_localctx.Value = Actions.CreateAnsiBstrNativeType();
				}
				break;
			case 44:
				EnterOuterAlt(_localctx, 44);
				{
				State = 1501;
				_localctx.marshalType = Match(TBSTR);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 45:
				EnterOuterAlt(_localctx, 45);
				{
				State = 1503;
				Match(VARIANT);
				State = 1504;
				_localctx.marshalBool = Match(BOOL);
				_localctx.Value = Actions.CreateVariantBoolNativeType();
				}
				break;
			case 46:
				EnterOuterAlt(_localctx, 46);
				{
				State = 1506;
				_localctx.marshalType = Match(METHOD);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 47:
				EnterOuterAlt(_localctx, 47);
				{
				State = 1508;
				_localctx.marshalType = Match(LPSTRUCT);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 48:
				EnterOuterAlt(_localctx, 48);
				{
				State = 1510;
				Match(T__33);
				State = 1511;
				_localctx.marshalType = Match(ANY);
				_localctx.Value = Actions.CreateSimpleNativeType(_localctx.marshalType);
				}
				break;
			case 49:
				EnterOuterAlt(_localctx, 49);
				{
				State = 1513;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateNativeTypeTypedef(_localctx, _localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class IidParamIndexContext : ParserRuleContext {
		public CILParser.IidParamIndexValue Value;
		public Int32Context index;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public IidParamIndexContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_iidParamIndex; } }
	}

	[RuleVersion(0)]
	public IidParamIndexContext iidParamIndex() {
		IidParamIndexContext _localctx = new IidParamIndexContext(Context, State);
		EnterRule(_localctx, 136, RULE_iidParamIndex);
		_localctx.Value = CILParser.IidParamIndexValue.Empty;
		try {
			State = 1526;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__30:
			case T__41:
			case ARRAY_TYPE_NO_BOUNDS:
			case PTR:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__29:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1519;
				Match(T__29);
				State = 1520;
				Match(T__90);
				State = 1521;
				Match(T__35);
				State = 1522;
				_localctx.index = int32();
				State = 1523;
				Match(T__30);
				_localctx.Value = Actions.GetIidParamIndex((_localctx.index!=null?(_localctx.index.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class VariantTypeContext : ParserRuleContext {
		public CILParser.VariantTypeValue Value;
		public CILParser.VariantTypeBuilder Builder;
		public VariantTypeElementContext element;
		public IToken modifier;
		[System.Diagnostics.DebuggerNonUserCode] public VariantTypeElementContext variantTypeElement() {
			return GetRuleContext<VariantTypeElementContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] ARRAY_TYPE_NO_BOUNDS() { return GetTokens(CILParser.ARRAY_TYPE_NO_BOUNDS); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ARRAY_TYPE_NO_BOUNDS(int i) {
			return GetToken(CILParser.ARRAY_TYPE_NO_BOUNDS, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] VECTOR() { return GetTokens(CILParser.VECTOR); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VECTOR(int i) {
			return GetToken(CILParser.VECTOR, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] REF() { return GetTokens(CILParser.REF); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REF(int i) {
			return GetToken(CILParser.REF, i);
		}
		public VariantTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_variantType; } }
	}

	[RuleVersion(0)]
	public VariantTypeContext variantType() {
		VariantTypeContext _localctx = new VariantTypeContext(Context, State);
		EnterRule(_localctx, 138, RULE_variantType);
		_localctx.Builder = new CILParser.VariantTypeBuilder();
		int _la;
		try {
			int _alt;
			State = 1538;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,64,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1529;
				_localctx.element = variantTypeElement();
				Actions.SetVariantTypeElement(_localctx.Builder, _localctx.element.Value);
				State = 1535;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,63,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 1531;
						_localctx.modifier = TokenStream.LT(1);
						_la = TokenStream.LA(1);
						if ( !(((((_la - 228)) & ~0x3f) == 0 && ((1L << (_la - 228)) & 6442450945L) != 0)) ) {
							_localctx.modifier = ErrorHandler.RecoverInline(this);
						}
						else {
							ErrorHandler.ReportMatch(this);
						    Consume();
						}
						Actions.AddVariantTypeModifier(_localctx.Builder, _localctx.modifier);
						}
						} 
					}
					State = 1537;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,63,Context);
				}
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.CreateVariantType(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class VariantTypeElementContext : ParserRuleContext {
		public CILParser.VariantTypeElementValue Value;
		public IToken value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULL() { return GetToken(CILParser.NULL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARIANT() { return GetToken(CILParser.VARIANT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENCY() { return GetToken(CILParser.CURRENCY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VOID() { return GetToken(CILParser.VOID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BOOL() { return GetToken(CILParser.BOOL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT8() { return GetToken(CILParser.UINT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT16() { return GetToken(CILParser.UINT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT32() { return GetToken(CILParser.UINT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT64() { return GetToken(CILParser.UINT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DECIMAL() { return GetToken(CILParser.DECIMAL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATE() { return GetToken(CILParser.DATE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BSTR() { return GetToken(CILParser.BSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPSTR() { return GetToken(CILParser.LPSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LPWSTR() { return GetToken(CILParser.LPWSTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IUNKNOWN() { return GetToken(CILParser.IUNKNOWN, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IDISPATCH() { return GetToken(CILParser.IDISPATCH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SAFEARRAY() { return GetToken(CILParser.SAFEARRAY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT() { return GetToken(CILParser.INT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT() { return GetToken(CILParser.UINT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ERROR() { return GetToken(CILParser.ERROR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HRESULT() { return GetToken(CILParser.HRESULT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CARRAY() { return GetToken(CILParser.CARRAY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode USERDEFINED() { return GetToken(CILParser.USERDEFINED, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode RECORD() { return GetToken(CILParser.RECORD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FILETIME() { return GetToken(CILParser.FILETIME, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BLOB() { return GetToken(CILParser.BLOB, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STREAM() { return GetToken(CILParser.STREAM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STORAGE() { return GetToken(CILParser.STORAGE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STREAMED_OBJECT() { return GetToken(CILParser.STREAMED_OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STORED_OBJECT() { return GetToken(CILParser.STORED_OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BLOB_OBJECT() { return GetToken(CILParser.BLOB_OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CF() { return GetToken(CILParser.CF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CLSID() { return GetToken(CILParser.CLSID, 0); }
		public VariantTypeElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_variantTypeElement; } }
	}

	[RuleVersion(0)]
	public VariantTypeElementContext variantTypeElement() {
		VariantTypeElementContext _localctx = new VariantTypeElementContext(Context, State);
		EnterRule(_localctx, 140, RULE_variantTypeElement);
		_localctx.Value = CILParser.VariantTypeElementValue.Error;
		try {
			State = 1620;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case NULL:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1540;
				_localctx.value = Match(NULL);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case VARIANT:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1542;
				_localctx.value = Match(VARIANT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case CURRENCY:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1544;
				_localctx.value = Match(CURRENCY);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case VOID:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1546;
				_localctx.value = Match(VOID);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case BOOL:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1548;
				_localctx.value = Match(BOOL);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case INT8:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1550;
				_localctx.value = Match(INT8);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case INT16:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1552;
				_localctx.value = Match(INT16);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case INT32_:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1554;
				_localctx.value = Match(INT32_);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case INT64_:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1556;
				_localctx.value = Match(INT64_);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case FLOAT32:
				EnterOuterAlt(_localctx, 10);
				{
				State = 1558;
				_localctx.value = Match(FLOAT32);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case FLOAT64_:
				EnterOuterAlt(_localctx, 11);
				{
				State = 1560;
				_localctx.value = Match(FLOAT64_);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case UINT8:
				EnterOuterAlt(_localctx, 12);
				{
				State = 1562;
				_localctx.value = Match(UINT8);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case UINT16:
				EnterOuterAlt(_localctx, 13);
				{
				State = 1564;
				_localctx.value = Match(UINT16);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case UINT32:
				EnterOuterAlt(_localctx, 14);
				{
				State = 1566;
				_localctx.value = Match(UINT32);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case UINT64:
				EnterOuterAlt(_localctx, 15);
				{
				State = 1568;
				_localctx.value = Match(UINT64);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case PTR:
				EnterOuterAlt(_localctx, 16);
				{
				State = 1570;
				_localctx.value = Match(PTR);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case DECIMAL:
				EnterOuterAlt(_localctx, 17);
				{
				State = 1572;
				_localctx.value = Match(DECIMAL);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case DATE:
				EnterOuterAlt(_localctx, 18);
				{
				State = 1574;
				_localctx.value = Match(DATE);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case BSTR:
				EnterOuterAlt(_localctx, 19);
				{
				State = 1576;
				_localctx.value = Match(BSTR);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case LPSTR:
				EnterOuterAlt(_localctx, 20);
				{
				State = 1578;
				_localctx.value = Match(LPSTR);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case LPWSTR:
				EnterOuterAlt(_localctx, 21);
				{
				State = 1580;
				_localctx.value = Match(LPWSTR);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case IUNKNOWN:
				EnterOuterAlt(_localctx, 22);
				{
				State = 1582;
				_localctx.value = Match(IUNKNOWN);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case IDISPATCH:
				EnterOuterAlt(_localctx, 23);
				{
				State = 1584;
				_localctx.value = Match(IDISPATCH);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case SAFEARRAY:
				EnterOuterAlt(_localctx, 24);
				{
				State = 1586;
				_localctx.value = Match(SAFEARRAY);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case INT:
				EnterOuterAlt(_localctx, 25);
				{
				State = 1588;
				_localctx.value = Match(INT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case UINT:
				EnterOuterAlt(_localctx, 26);
				{
				State = 1590;
				_localctx.value = Match(UINT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case ERROR:
				EnterOuterAlt(_localctx, 27);
				{
				State = 1592;
				_localctx.value = Match(ERROR);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case HRESULT:
				EnterOuterAlt(_localctx, 28);
				{
				State = 1594;
				_localctx.value = Match(HRESULT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case CARRAY:
				EnterOuterAlt(_localctx, 29);
				{
				State = 1596;
				_localctx.value = Match(CARRAY);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case USERDEFINED:
				EnterOuterAlt(_localctx, 30);
				{
				State = 1598;
				_localctx.value = Match(USERDEFINED);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case RECORD:
				EnterOuterAlt(_localctx, 31);
				{
				State = 1600;
				_localctx.value = Match(RECORD);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case FILETIME:
				EnterOuterAlt(_localctx, 32);
				{
				State = 1602;
				_localctx.value = Match(FILETIME);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case BLOB:
				EnterOuterAlt(_localctx, 33);
				{
				State = 1604;
				_localctx.value = Match(BLOB);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case STREAM:
				EnterOuterAlt(_localctx, 34);
				{
				State = 1606;
				_localctx.value = Match(STREAM);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case STORAGE:
				EnterOuterAlt(_localctx, 35);
				{
				State = 1608;
				_localctx.value = Match(STORAGE);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case STREAMED_OBJECT:
				EnterOuterAlt(_localctx, 36);
				{
				State = 1610;
				_localctx.value = Match(STREAMED_OBJECT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case STORED_OBJECT:
				EnterOuterAlt(_localctx, 37);
				{
				State = 1612;
				_localctx.value = Match(STORED_OBJECT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case BLOB_OBJECT:
				EnterOuterAlt(_localctx, 38);
				{
				State = 1614;
				_localctx.value = Match(BLOB_OBJECT);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case CF:
				EnterOuterAlt(_localctx, 39);
				{
				State = 1616;
				_localctx.value = Match(CF);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			case CLSID:
				EnterOuterAlt(_localctx, 40);
				{
				State = 1618;
				_localctx.value = Match(CLSID);
				_localctx.Value = Actions.GetVariantTypeElement(_localctx.value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeContext : ParserRuleContext {
		public CILParser.TypeValue Value;
		public CILParser.ElementTypeValue ElementType;
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeModifierValue>.Builder Modifiers;
		public ElementTypeContext element;
		public TypeModifiersContext modifier;
		[System.Diagnostics.DebuggerNonUserCode] public ElementTypeContext elementType() {
			return GetRuleContext<ElementTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeModifiersContext[] typeModifiers() {
			return GetRuleContexts<TypeModifiersContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeModifiersContext typeModifiers(int i) {
			return GetRuleContext<TypeModifiersContext>(i);
		}
		public TypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_type; } }
	}

	[RuleVersion(0)]
	public TypeContext type() {
		TypeContext _localctx = new TypeContext(Context, State);
		EnterRule(_localctx, 142, RULE_type);

			_localctx.ElementType = CILParser.ElementTypeValue.Error;
			_localctx.Modifiers = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.TypeModifierValue>();

		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1622;
			_localctx.element = elementType();
			_localctx.ElementType = _localctx.element.Value;
			State = 1629;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,66,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1624;
					_localctx.modifier = typeModifiers();
					_localctx.Modifiers.Add(_localctx.modifier.Value);
					}
					} 
				}
				State = 1631;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,66,Context);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = new CILParser.TypeValue(_localctx.ElementType, _localctx.Modifiers.ToImmutable());
			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeModifiersContext : ParserRuleContext {
		public CILParser.TypeModifierValue Value;
		public TypeModifiersContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typeModifiers; } }
	 
		public TypeModifiersContext() { }
		public virtual void CopyFrom(TypeModifiersContext context) {
			base.CopyFrom(context);
			this.Value = context.Value;
		}
	}
	public partial class OptionalModifierContext : TypeModifiersContext {
		public TypeSpecContext modifierType;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		public OptionalModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class SZArrayModifierContext : TypeModifiersContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ARRAY_TYPE_NO_BOUNDS() { return GetToken(CILParser.ARRAY_TYPE_NO_BOUNDS, 0); }
		public SZArrayModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class RequiredModifierContext : TypeModifiersContext {
		public TypeSpecContext modifierType;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		public RequiredModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class PtrModifierContext : TypeModifiersContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		public PtrModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class PinnedModifierContext : TypeModifiersContext {
		public PinnedModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class GenericArgumentsModifierContext : TypeModifiersContext {
		public TypeArgsContext arguments;
		[System.Diagnostics.DebuggerNonUserCode] public TypeArgsContext typeArgs() {
			return GetRuleContext<TypeArgsContext>(0);
		}
		public GenericArgumentsModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class ByRefModifierContext : TypeModifiersContext {
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REF() { return GetToken(CILParser.REF, 0); }
		public ByRefModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}
	public partial class ArrayModifierContext : TypeModifiersContext {
		public BoundsContext arrayBounds;
		[System.Diagnostics.DebuggerNonUserCode] public BoundsContext bounds() {
			return GetRuleContext<BoundsContext>(0);
		}
		public ArrayModifierContext(TypeModifiersContext context) { CopyFrom(context); }
	}

	[RuleVersion(0)]
	public TypeModifiersContext typeModifiers() {
		TypeModifiersContext _localctx = new TypeModifiersContext(Context, State);
		EnterRule(_localctx, 144, RULE_typeModifiers);
		_localctx.Value = CILParser.TypeModifierValue.Error;
		try {
			State = 1661;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,67,Context) ) {
			case 1:
				_localctx = new SZArrayModifierContext(_localctx);
				EnterOuterAlt(_localctx, 1);
				{
				State = 1632;
				Match(ARRAY_TYPE_NO_BOUNDS);
				_localctx.Value = Actions.CreateSzArrayTypeModifier();
				}
				break;
			case 2:
				_localctx = new SZArrayModifierContext(_localctx);
				EnterOuterAlt(_localctx, 2);
				{
				State = 1634;
				Match(T__41);
				State = 1635;
				Match(T__42);
				_localctx.Value = Actions.CreateSzArrayTypeModifier();
				}
				break;
			case 3:
				_localctx = new ArrayModifierContext(_localctx);
				EnterOuterAlt(_localctx, 3);
				{
				State = 1637;
				((ArrayModifierContext)_localctx).arrayBounds = bounds();
				_localctx.Value = Actions.CreateArrayTypeModifier(((ArrayModifierContext)_localctx).arrayBounds.Value);
				}
				break;
			case 4:
				_localctx = new ByRefModifierContext(_localctx);
				EnterOuterAlt(_localctx, 4);
				{
				State = 1640;
				Match(REF);
				_localctx.Value = Actions.CreateByReferenceTypeModifier();
				}
				break;
			case 5:
				_localctx = new PtrModifierContext(_localctx);
				EnterOuterAlt(_localctx, 5);
				{
				State = 1642;
				Match(PTR);
				_localctx.Value = Actions.CreatePointerTypeModifier();
				}
				break;
			case 6:
				_localctx = new PinnedModifierContext(_localctx);
				EnterOuterAlt(_localctx, 6);
				{
				State = 1644;
				Match(T__91);
				_localctx.Value = Actions.CreatePinnedTypeModifier();
				}
				break;
			case 7:
				_localctx = new RequiredModifierContext(_localctx);
				EnterOuterAlt(_localctx, 7);
				{
				State = 1646;
				Match(T__92);
				State = 1647;
				Match(T__29);
				State = 1648;
				((RequiredModifierContext)_localctx).modifierType = typeSpec();
				State = 1649;
				Match(T__30);
				_localctx.Value = Actions.CreateCustomTypeModifier(((RequiredModifierContext)_localctx).modifierType.Value, true);
				}
				break;
			case 8:
				_localctx = new OptionalModifierContext(_localctx);
				EnterOuterAlt(_localctx, 8);
				{
				State = 1652;
				Match(T__93);
				State = 1653;
				Match(T__29);
				State = 1654;
				((OptionalModifierContext)_localctx).modifierType = typeSpec();
				State = 1655;
				Match(T__30);
				_localctx.Value = Actions.CreateCustomTypeModifier(((OptionalModifierContext)_localctx).modifierType.Value, false);
				}
				break;
			case 9:
				_localctx = new GenericArgumentsModifierContext(_localctx);
				EnterOuterAlt(_localctx, 9);
				{
				State = 1658;
				((GenericArgumentsModifierContext)_localctx).arguments = typeArgs();
				_localctx.Value = Actions.CreateGenericArgumentsModifier(((GenericArgumentsModifierContext)_localctx).arguments.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ElementTypeContext : ParserRuleContext {
		public CILParser.ElementTypeValue Value;
		public ClassNameContext classType;
		public ClassNameContext valueClassType;
		public ClassNameContext valueType;
		public CallConvContext convention;
		public TypeContext returnType;
		public SigArgsContext arguments;
		public Int32Context parameterIndex;
		public DottedNameContext parameterName;
		public NativeIntContext signedNative;
		public NativeUintContext unsignedNative;
		public SimpleTypeContext primitive;
		public DottedNameContext alias;
		public TypeContext sentinelType;
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OBJECT() { return GetToken(CILParser.OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VALUE() { return GetToken(CILParser.VALUE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VALUETYPE() { return GetToken(CILParser.VALUETYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD() { return GetToken(CILParser.METHOD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD_TYPE_PARAMETER() { return GetToken(CILParser.METHOD_TYPE_PARAMETER, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPE_PARAMETER() { return GetToken(CILParser.TYPE_PARAMETER, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPEDREF() { return GetToken(CILParser.TYPEDREF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VOID() { return GetToken(CILParser.VOID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public NativeIntContext nativeInt() {
			return GetRuleContext<NativeIntContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public NativeUintContext nativeUint() {
			return GetRuleContext<NativeUintContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SimpleTypeContext simpleType() {
			return GetRuleContext<SimpleTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ELLIPSIS() { return GetToken(CILParser.ELLIPSIS, 0); }
		public ElementTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_elementType; } }
	}

	[RuleVersion(0)]
	public ElementTypeContext elementType() {
		ElementTypeContext _localctx = new ElementTypeContext(Context, State);
		EnterRule(_localctx, 146, RULE_elementType);
		_localctx.Value = CILParser.ElementTypeValue.Error;
		try {
			State = 1721;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,68,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1663;
				Match(T__38);
				State = 1664;
				_localctx.classType = className();
				_localctx.Value = Actions.CreateClassElementType(_localctx.classType.Value, false);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1667;
				Match(OBJECT);
				_localctx.Value = Actions.CreateObjectElementType();
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1669;
				Match(VALUE);
				State = 1670;
				Match(T__38);
				State = 1671;
				_localctx.valueClassType = className();
				_localctx.Value = Actions.CreateClassElementType(_localctx.valueClassType.Value, true);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1674;
				Match(VALUETYPE);
				State = 1675;
				_localctx.valueType = className();
				_localctx.Value = Actions.CreateClassElementType(_localctx.valueType.Value, true);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1678;
				Match(METHOD);
				State = 1679;
				_localctx.convention = callConv();
				State = 1680;
				_localctx.returnType = type();
				State = 1681;
				Match(PTR);
				State = 1682;
				_localctx.arguments = sigArgs();
				_localctx.Value = Actions.CreateFunctionPointerElementType(_localctx.convention.Value, _localctx.returnType.Value, _localctx.arguments.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1685;
				Match(METHOD_TYPE_PARAMETER);
				State = 1686;
				_localctx.parameterIndex = int32();
				_localctx.Value = Actions.CreateIndexedGenericParameterElementType(true, (_localctx.parameterIndex!=null?(_localctx.parameterIndex.Start):null));
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1689;
				Match(TYPE_PARAMETER);
				State = 1690;
				_localctx.parameterIndex = int32();
				_localctx.Value = Actions.CreateIndexedGenericParameterElementType(false, (_localctx.parameterIndex!=null?(_localctx.parameterIndex.Start):null));
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1693;
				Match(METHOD_TYPE_PARAMETER);
				State = 1694;
				_localctx.parameterName = dottedName();
				_localctx.Value = Actions.CreateNamedGenericParameterElementType(_localctx.Start, true, _localctx.parameterName.Value);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1697;
				Match(TYPE_PARAMETER);
				State = 1698;
				_localctx.parameterName = dottedName();
				_localctx.Value = Actions.CreateNamedGenericParameterElementType(_localctx.Start, false, _localctx.parameterName.Value);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 1701;
				Match(TYPEDREF);
				_localctx.Value = Actions.CreateTypedReferenceElementType();
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 1703;
				Match(VOID);
				_localctx.Value = Actions.CreateVoidElementType();
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 1705;
				_localctx.signedNative = nativeInt();
				_localctx.Value = Actions.CreatePrimitiveElementType(_localctx.signedNative.Value);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 1708;
				_localctx.unsignedNative = nativeUint();
				_localctx.Value = Actions.CreatePrimitiveElementType(_localctx.unsignedNative.Value);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 1711;
				_localctx.primitive = simpleType();
				_localctx.Value = Actions.CreatePrimitiveElementType(_localctx.primitive.Value);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 1714;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateTypedefElementType(_localctx.Start, _localctx.alias.Value);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 1717;
				Match(ELLIPSIS);
				State = 1718;
				_localctx.sentinelType = type();
				_localctx.Value = Actions.CreateSentinelElementType(_localctx.sentinelType.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SimpleTypeContext : ParserRuleContext {
		public byte Value;
		public IToken value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CHAR() { return GetToken(CILParser.CHAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRING() { return GetToken(CILParser.STRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BOOL() { return GetToken(CILParser.BOOL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT8() { return GetToken(CILParser.UINT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT16() { return GetToken(CILParser.UINT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT32() { return GetToken(CILParser.UINT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT64() { return GetToken(CILParser.UINT64, 0); }
		public SimpleTypeContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_simpleType; } }
	}

	[RuleVersion(0)]
	public SimpleTypeContext simpleType() {
		SimpleTypeContext _localctx = new SimpleTypeContext(Context, State);
		EnterRule(_localctx, 148, RULE_simpleType);
		try {
			State = 1761;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,69,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1723;
				_localctx.value = Match(CHAR);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1725;
				_localctx.value = Match(STRING);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1727;
				_localctx.value = Match(BOOL);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1729;
				_localctx.value = Match(INT8);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1731;
				_localctx.value = Match(INT16);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1733;
				_localctx.value = Match(INT32_);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1735;
				_localctx.value = Match(INT64_);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1737;
				_localctx.value = Match(FLOAT32);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 1739;
				_localctx.value = Match(FLOAT64_);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 1741;
				_localctx.value = Match(UINT8);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 1743;
				_localctx.value = Match(UINT16);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 1745;
				_localctx.value = Match(UINT32);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 1747;
				_localctx.value = Match(UINT64);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, false);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 1749;
				Match(T__89);
				State = 1750;
				_localctx.value = Match(INT8);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, true);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 1752;
				Match(T__89);
				State = 1753;
				_localctx.value = Match(INT16);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, true);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 1755;
				Match(T__89);
				State = 1756;
				_localctx.value = Match(INT32_);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, true);
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				State = 1758;
				Match(T__89);
				State = 1759;
				_localctx.value = Match(INT64_);
				_localctx.Value = Actions.GetSimpleType(_localctx.value, true);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class BoundContext : ParserRuleContext {
		public int Lower;
		public int Upper;
		public bool HasLower;
		public bool HasUpper;
		public Int32Context size;
		public Int32Context lower;
		public Int32Context upper;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ELLIPSIS() { return GetToken(CILParser.ELLIPSIS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public BoundContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_bound; } }
	}

	[RuleVersion(0)]
	public BoundContext bound() {
		BoundContext _localctx = new BoundContext(Context, State);
		EnterRule(_localctx, 150, RULE_bound);
		Actions.InitializeBound(_localctx);
		try {
			State = 1777;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,70,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1764;
				Match(ELLIPSIS);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1765;
				_localctx.size = int32();
				Actions.SetBoundSize(_localctx, (_localctx.size!=null?(_localctx.size.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1768;
				_localctx.lower = int32();
				State = 1769;
				Match(ELLIPSIS);
				State = 1770;
				_localctx.upper = int32();
				Actions.SetBoundRange(_localctx, (_localctx.lower!=null?(_localctx.lower.Start):null), (_localctx.upper!=null?(_localctx.upper.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1773;
				_localctx.lower = int32();
				State = 1774;
				Match(ELLIPSIS);
				Actions.SetBoundLower(_localctx, (_localctx.lower!=null?(_localctx.lower.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class NativeIntContext : ParserRuleContext {
		public byte Value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT() { return GetToken(CILParser.INT, 0); }
		public NativeIntContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nativeInt; } }
	}

	[RuleVersion(0)]
	public NativeIntContext nativeInt() {
		NativeIntContext _localctx = new NativeIntContext(Context, State);
		EnterRule(_localctx, 152, RULE_nativeInt);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1779;
			Match(T__0);
			State = 1780;
			Match(INT);
			_localctx.Value = Actions.GetNativeIntType();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class NativeUintContext : ParserRuleContext {
		public byte Value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT() { return GetToken(CILParser.INT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT() { return GetToken(CILParser.UINT, 0); }
		public NativeUintContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nativeUint; } }
	}

	[RuleVersion(0)]
	public NativeUintContext nativeUint() {
		NativeUintContext _localctx = new NativeUintContext(Context, State);
		EnterRule(_localctx, 154, RULE_nativeUint);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1783;
			Match(T__0);
			State = 1787;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__89:
				{
				State = 1784;
				Match(T__89);
				State = 1785;
				Match(INT);
				}
				break;
			case UINT:
				{
				State = 1786;
				Match(UINT);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
			_localctx.Value = Actions.GetNativeUIntType();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SecDeclContext : ParserRuleContext {
		public CILParser.SecurityDeclarationValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public SecActionContext action;
		public TypeSpecContext permissionType;
		public NameValPairsContext pairs;
		public CustomBlobDescrContext structuredValue;
		public BytesContext rawValue;
		public CompQstringContext textValue;
		public SecAttrSetBlobContext attributes;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PERMISSION() { return GetToken(CILParser.PERMISSION, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public SecActionContext secAction() {
			return GetRuleContext<SecActionContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public NameValPairsContext nameValPairs() {
			return GetRuleContext<NameValPairsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobDescrContext customBlobDescr() {
			return GetRuleContext<CustomBlobDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PERMISSIONSET() { return GetToken(CILParser.PERMISSIONSET, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecAttrSetBlobContext secAttrSetBlob() {
			return GetRuleContext<SecAttrSetBlobContext>(0);
		}
		public SecDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_secDecl; } }
	}

	[RuleVersion(0)]
	public SecDeclContext secDecl() {
		SecDeclContext _localctx = new SecDeclContext(Context, State);
		EnterRule(_localctx, 156, RULE_secDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		int _la;
		try {
			State = 1845;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,73,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1791;
				Match(PERMISSION);
				State = 1792;
				_localctx.action = secAction();
				State = 1793;
				_localctx.permissionType = typeSpec();
				State = 1794;
				Match(T__29);
				State = 1795;
				_localctx.pairs = nameValPairs();
				State = 1796;
				Match(T__30);
				_localctx.Value = Actions.CreateNamedPermissionDeclaration(
							_localctx.action.Value,
							_localctx.permissionType.Value,
							_localctx.pairs.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1799;
				Match(PERMISSION);
				State = 1800;
				_localctx.action = secAction();
				State = 1801;
				_localctx.permissionType = typeSpec();
				State = 1802;
				Match(T__35);
				State = 1803;
				Match(T__16);
				State = 1804;
				_localctx.structuredValue = customBlobDescr();
				State = 1805;
				Match(T__17);
				_localctx.Value = Actions.CreateStructuredPermissionDeclaration(
							_localctx.action.Value,
							_localctx.permissionType.Value,
							_localctx.structuredValue.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1808;
				Match(PERMISSION);
				State = 1809;
				_localctx.action = secAction();
				State = 1810;
				_localctx.permissionType = typeSpec();
				_localctx.Value = Actions.CreateEmptyPermissionDeclaration(_localctx.action.Value, _localctx.permissionType.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1813;
				Match(PERMISSIONSET);
				State = 1814;
				_localctx.action = secAction();
				State = 1815;
				Match(T__35);
				State = 1817;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				if (_la==T__83) {
					{
					State = 1816;
					Match(T__83);
					}
				}

				State = 1819;
				Match(T__29);
				State = 1820;
				_localctx.rawValue = bytes();
				State = 1821;
				Match(T__30);
				_localctx.Value = Actions.CreateRawPermissionSetDeclaration(_localctx.action.Value, _localctx.rawValue.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1824;
				Match(PERMISSIONSET);
				State = 1825;
				_localctx.action = secAction();
				State = 1826;
				Match(T__83);
				State = 1827;
				Match(T__29);
				State = 1828;
				_localctx.rawValue = bytes();
				State = 1829;
				Match(T__30);
				_localctx.Value = Actions.CreateRawPermissionSetDeclaration(_localctx.action.Value, _localctx.rawValue.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1832;
				Match(PERMISSIONSET);
				State = 1833;
				_localctx.action = secAction();
				State = 1834;
				_localctx.textValue = compQstring();
				_localctx.Value = Actions.CreateStringPermissionSetDeclaration(_localctx.action.Value, _localctx.textValue.Value);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1837;
				Match(PERMISSIONSET);
				State = 1838;
				_localctx.action = secAction();
				State = 1839;
				Match(T__35);
				State = 1840;
				Match(T__16);
				State = 1841;
				_localctx.attributes = secAttrSetBlob();
				State = 1842;
				Match(T__17);
				_localctx.Value = Actions.CreateAttributePermissionSetDeclaration(_localctx.action.Value, _localctx.attributes.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndSecurityDeclaration(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class SecAttrSetBlobContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.SecurityAttributeValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.SecurityAttributeValue>.Builder Builder;
		public SecAttrBlobContext attribute;
		public SecAttrBlobContext tail;
		[System.Diagnostics.DebuggerNonUserCode] public SecAttrBlobContext[] secAttrBlob() {
			return GetRuleContexts<SecAttrBlobContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecAttrBlobContext secAttrBlob(int i) {
			return GetRuleContext<SecAttrBlobContext>(i);
		}
		public SecAttrSetBlobContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_secAttrSetBlob; } }
	}

	[RuleVersion(0)]
	public SecAttrSetBlobContext secAttrSetBlob() {
		SecAttrSetBlobContext _localctx = new SecAttrSetBlobContext(Context, State);
		EnterRule(_localctx, 158, RULE_secAttrSetBlob);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.SecurityAttributeValue>();
		try {
			int _alt;
			State = 1860;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__17:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__38:
			case T__41:
			case T__89:
			case T__112:
			case ELLIPSIS:
			case CHAR:
			case STRING:
			case BOOL:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case UINT8:
			case UINT16:
			case UINT32:
			case UINT64:
			case OBJECT:
			case VALUE:
			case VALUETYPE:
			case VOID:
			case METHOD:
			case INSTANCE:
			case UNMANAGED:
			case TYPE_PARAMETER:
			case METHOD_TYPE_PARAMETER:
			case TYPEDREF:
			case THIS:
			case BASE:
			case NESTER:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1854;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,74,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 1848;
						_localctx.attribute = secAttrBlob();
						_localctx.Builder.Add(_localctx.attribute.Value);
						State = 1850;
						Match(T__27);
						}
						} 
					}
					State = 1856;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,74,Context);
				}
				State = 1857;
				_localctx.tail = secAttrBlob();
				_localctx.Builder.Add(_localctx.tail.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class SecAttrBlobContext : ParserRuleContext {
		public CILParser.SecurityAttributeValue Value;
		public IToken name;
		public CustomBlobNVPairsContext arguments;
		public TypeSpecContext securityType;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CustomBlobNVPairsContext customBlobNVPairs() {
			return GetRuleContext<CustomBlobNVPairsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		public SecAttrBlobContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_secAttrBlob; } }
	}

	[RuleVersion(0)]
	public SecAttrBlobContext secAttrBlob() {
		SecAttrBlobContext _localctx = new SecAttrBlobContext(Context, State);
		EnterRule(_localctx, 160, RULE_secAttrBlob);
		_localctx.Value = CILParser.SecurityAttributeValue.Error;
		try {
			State = 1877;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,76,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1862;
				Match(T__38);
				State = 1863;
				_localctx.name = Match(SQSTRING);
				State = 1864;
				Match(T__35);
				State = 1865;
				Match(T__16);
				State = 1866;
				_localctx.arguments = customBlobNVPairs();
				State = 1867;
				Match(T__17);
				_localctx.Value = Actions.CreateNamedSecurityAttribute(_localctx.name, _localctx.arguments.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1870;
				_localctx.securityType = typeSpec();
				State = 1871;
				Match(T__35);
				State = 1872;
				Match(T__16);
				State = 1873;
				_localctx.arguments = customBlobNVPairs();
				State = 1874;
				Match(T__17);
				_localctx.Value = Actions.CreateTypedSecurityAttribute(_localctx.securityType.Value, _localctx.arguments.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class NameValPairsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.SecurityNameValuePairValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.SecurityNameValuePairValue>.Builder Builder;
		public NameValPairContext pair;
		public NameValPairContext tail;
		[System.Diagnostics.DebuggerNonUserCode] public NameValPairContext[] nameValPair() {
			return GetRuleContexts<NameValPairContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public NameValPairContext nameValPair(int i) {
			return GetRuleContext<NameValPairContext>(i);
		}
		public NameValPairsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nameValPairs; } }
	}

	[RuleVersion(0)]
	public NameValPairsContext nameValPairs() {
		NameValPairsContext _localctx = new NameValPairsContext(Context, State);
		EnterRule(_localctx, 162, RULE_nameValPairs);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.SecurityNameValuePairValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 1885;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,77,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 1879;
					_localctx.pair = nameValPair();
					_localctx.Builder.Add(_localctx.pair.Value);
					State = 1881;
					Match(T__27);
					}
					} 
				}
				State = 1887;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,77,Context);
			}
			State = 1888;
			_localctx.tail = nameValPair();
			_localctx.Builder.Add(_localctx.tail.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class NameValPairContext : ParserRuleContext {
		public CILParser.SecurityNameValuePairValue Value;
		public CompQstringContext name;
		public CaValueContext value;
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CaValueContext caValue() {
			return GetRuleContext<CaValueContext>(0);
		}
		public NameValPairContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_nameValPair; } }
	}

	[RuleVersion(0)]
	public NameValPairContext nameValPair() {
		NameValPairContext _localctx = new NameValPairContext(Context, State);
		EnterRule(_localctx, 164, RULE_nameValPair);
		_localctx.Value = CILParser.SecurityNameValuePairValue.Error;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1891;
			_localctx.name = compQstring();
			State = 1892;
			Match(T__35);
			State = 1893;
			_localctx.value = caValue();
			_localctx.Value = Actions.CreateSecurityNameValuePair(_localctx.name.Value, _localctx.value.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TruefalseContext : ParserRuleContext {
		public bool Value;
		public TruefalseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_truefalse; } }
	}

	[RuleVersion(0)]
	public TruefalseContext truefalse() {
		TruefalseContext _localctx = new TruefalseContext(Context, State);
		EnterRule(_localctx, 166, RULE_truefalse);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1896;
			_la = TokenStream.LA(1);
			if ( !(_la==T__94 || _la==T__95) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseBoolean(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CaValueContext : ParserRuleContext {
		public CILParser.SecurityCaValue Value;
		public TruefalseContext booleanValue;
		public Int32Context integerValue;
		public CompQstringContext textValue;
		public ClassNameContext enumType;
		public IToken kind;
		public Int32Context enumValue;
		[System.Diagnostics.DebuggerNonUserCode] public TruefalseContext truefalse() {
			return GetRuleContext<TruefalseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		public CaValueContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_caValue; } }
	}

	[RuleVersion(0)]
	public CaValueContext caValue() {
		CaValueContext _localctx = new CaValueContext(Context, State);
		EnterRule(_localctx, 168, RULE_caValue);
		_localctx.Value = CILParser.SecurityCaValue.Error;
		try {
			State = 1943;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,78,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1898;
				_localctx.booleanValue = truefalse();
				_localctx.Value = Actions.CreateSecurityBooleanValue(_localctx.booleanValue.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1901;
				_localctx.integerValue = int32();
				_localctx.Value = Actions.CreateSecurityInt32Value((_localctx.integerValue!=null?(_localctx.integerValue.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1904;
				Match(INT32_);
				State = 1905;
				Match(T__29);
				State = 1906;
				_localctx.integerValue = int32();
				State = 1907;
				Match(T__30);
				_localctx.Value = Actions.CreateSecurityInt32Value((_localctx.integerValue!=null?(_localctx.integerValue.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1910;
				_localctx.textValue = compQstring();
				_localctx.Value = Actions.CreateSecurityStringValue(_localctx.textValue.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1913;
				_localctx.enumType = className();
				State = 1914;
				Match(T__29);
				State = 1915;
				_localctx.kind = Match(INT8);
				State = 1916;
				Match(T__74);
				State = 1917;
				_localctx.enumValue = int32();
				State = 1918;
				Match(T__30);
				_localctx.Value = Actions.CreateSecurityEnumValue(_localctx.enumType.Value, _localctx.kind, (_localctx.enumValue!=null?(_localctx.enumValue.Start):null));
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1921;
				_localctx.enumType = className();
				State = 1922;
				Match(T__29);
				State = 1923;
				_localctx.kind = Match(INT16);
				State = 1924;
				Match(T__74);
				State = 1925;
				_localctx.enumValue = int32();
				State = 1926;
				Match(T__30);
				_localctx.Value = Actions.CreateSecurityEnumValue(_localctx.enumType.Value, _localctx.kind, (_localctx.enumValue!=null?(_localctx.enumValue.Start):null));
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 1929;
				_localctx.enumType = className();
				State = 1930;
				Match(T__29);
				State = 1931;
				_localctx.kind = Match(INT32_);
				State = 1932;
				Match(T__74);
				State = 1933;
				_localctx.enumValue = int32();
				State = 1934;
				Match(T__30);
				_localctx.Value = Actions.CreateSecurityEnumValue(_localctx.enumType.Value, _localctx.kind, (_localctx.enumValue!=null?(_localctx.enumValue.Start):null));
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 1937;
				_localctx.enumType = className();
				State = 1938;
				Match(T__29);
				State = 1939;
				_localctx.enumValue = int32();
				State = 1940;
				Match(T__30);
				_localctx.Value = Actions.CreateSecurityEnumValue(_localctx.enumType.Value, (_localctx.enumValue!=null?(_localctx.enumValue.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SecActionContext : ParserRuleContext {
		public System.Reflection.DeclarativeSecurityAction Value;
		public SecActionContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_secAction; } }
	}

	[RuleVersion(0)]
	public SecActionContext secAction() {
		SecActionContext _localctx = new SecActionContext(Context, State);
		EnterRule(_localctx, 170, RULE_secAction);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 1945;
			_la = TokenStream.LA(1);
			if ( !(((((_la - 97)) & ~0x3f) == 0 && ((1L << (_la - 97)) & 32767L) != 0)) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseSecurityAction(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethodRefContext : ParserRuleContext {
		public CILParser.MethodReferenceValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CallConvContext convention;
		public TypeContext returnType;
		public TypeSpecOrScopeContext owner;
		public MethodNameContext name;
		public TypeArgsContext genericArguments;
		public SigArgsContext arguments;
		public GenArityNotEmptyContext genericArity;
		public MdtokenContext token;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DCOLON() { return GetToken(CILParser.DCOLON, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext typeSpecOrScope() {
			return GetRuleContext<TypeSpecOrScopeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodNameContext methodName() {
			return GetRuleContext<MethodNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeArgsContext typeArgs() {
			return GetRuleContext<TypeArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public GenArityNotEmptyContext genArityNotEmpty() {
			return GetRuleContext<GenArityNotEmptyContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MdtokenContext mdtoken() {
			return GetRuleContext<MdtokenContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public MethodRefContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methodRef; } }
	}

	[RuleVersion(0)]
	public MethodRefContext methodRef() {
		MethodRefContext _localctx = new MethodRefContext(Context, State);
		EnterRule(_localctx, 172, RULE_methodRef);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.MethodReferenceValue.Error;

		int _la;
		try {
			State = 1989;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,81,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1947;
				_localctx.convention = callConv();
				State = 1948;
				_localctx.returnType = type();
				State = 1949;
				_localctx.owner = typeSpecOrScope();
				State = 1950;
				Match(DCOLON);
				State = 1951;
				_localctx.name = methodName();
				State = 1953;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				if (_la==T__85) {
					{
					State = 1952;
					_localctx.genericArguments = typeArgs();
					}
				}

				State = 1955;
				_localctx.arguments = sigArgs();
				_localctx.Value = Actions.CreateMethodReference(_localctx.Start, _localctx.convention.Value, _localctx.returnType.Value, _localctx.owner.Value, _localctx.name.Value, _localctx.genericArguments is null ? null : _localctx.genericArguments.Value, null, _localctx.arguments.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1958;
				_localctx.convention = callConv();
				State = 1959;
				_localctx.returnType = type();
				State = 1960;
				_localctx.owner = typeSpecOrScope();
				State = 1961;
				Match(DCOLON);
				State = 1962;
				_localctx.name = methodName();
				State = 1963;
				_localctx.genericArity = genArityNotEmpty();
				State = 1964;
				_localctx.arguments = sigArgs();
				_localctx.Value = Actions.CreateMethodReference(_localctx.Start, _localctx.convention.Value, _localctx.returnType.Value, _localctx.owner.Value, _localctx.name.Value, null, _localctx.genericArity.Value, _localctx.arguments.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1967;
				_localctx.convention = callConv();
				State = 1968;
				_localctx.returnType = type();
				State = 1969;
				_localctx.name = methodName();
				State = 1971;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				if (_la==T__85) {
					{
					State = 1970;
					_localctx.genericArguments = typeArgs();
					}
				}

				State = 1973;
				_localctx.arguments = sigArgs();
				_localctx.Value = Actions.CreateMethodReference(_localctx.Start, _localctx.convention.Value, _localctx.returnType.Value, null, _localctx.name.Value, _localctx.genericArguments is null ? null : _localctx.genericArguments.Value, null, _localctx.arguments.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 1976;
				_localctx.convention = callConv();
				State = 1977;
				_localctx.returnType = type();
				State = 1978;
				_localctx.name = methodName();
				State = 1979;
				_localctx.genericArity = genArityNotEmpty();
				State = 1980;
				_localctx.arguments = sigArgs();
				_localctx.Value = Actions.CreateMethodReference(_localctx.Start, _localctx.convention.Value, _localctx.returnType.Value, null, _localctx.name.Value, null, _localctx.genericArity.Value, _localctx.arguments.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 1983;
				_localctx.token = mdtoken();
				_localctx.Value = Actions.CreateTokenMethodReference(_localctx.token.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 1986;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateTypedefMethodReference(_localctx.Start, _localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class CallConvContext : ParserRuleContext {
		public byte Value;
		public CallConvContext inner;
		public CallKindContext kind;
		public Int32Context raw;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSTANCE() { return GetToken(CILParser.INSTANCE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXPLICIT() { return GetToken(CILParser.EXPLICIT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CallKindContext callKind() {
			return GetRuleContext<CallKindContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public CallConvContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_callConv; } }
	}

	[RuleVersion(0)]
	public CallConvContext callConv() {
		CallConvContext _localctx = new CallConvContext(Context, State);
		EnterRule(_localctx, 174, RULE_callConv);
		try {
			State = 2008;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,82,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 1991;
				Match(INSTANCE);
				State = 1992;
				_localctx.inner = callConv();
				_localctx.Value = Actions.AddInstanceCallingConvention(_localctx.inner.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 1995;
				Match(EXPLICIT);
				State = 1996;
				_localctx.inner = callConv();
				_localctx.Value = Actions.AddExplicitCallingConvention(_localctx.inner.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 1999;
				_localctx.kind = callKind();
				_localctx.Value = _localctx.kind.Value;
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2002;
				Match(T__111);
				State = 2003;
				Match(T__29);
				State = 2004;
				_localctx.raw = int32();
				State = 2005;
				Match(T__30);
				_localctx.Value = Actions.GetRawCallingConvention((_localctx.raw!=null?(_localctx.raw.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CallKindContext : ParserRuleContext {
		public byte Value;
		public IToken kind;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DEFAULT() { return GetToken(CILParser.DEFAULT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARARG() { return GetToken(CILParser.VARARG, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNMANAGED() { return GetToken(CILParser.UNMANAGED, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CDECL() { return GetToken(CILParser.CDECL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STDCALL() { return GetToken(CILParser.STDCALL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode THISCALL() { return GetToken(CILParser.THISCALL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FASTCALL() { return GetToken(CILParser.FASTCALL, 0); }
		public CallKindContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_callKind; } }
	}

	[RuleVersion(0)]
	public CallKindContext callKind() {
		CallKindContext _localctx = new CallKindContext(Context, State);
		EnterRule(_localctx, 176, RULE_callKind);
		_localctx.Value = Actions.GetDefaultCallingConvention();
		try {
			State = 2029;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,83,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2011;
				_localctx.kind = Match(DEFAULT);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2013;
				_localctx.kind = Match(VARARG);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2015;
				Match(UNMANAGED);
				State = 2016;
				_localctx.kind = Match(CDECL);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2018;
				Match(UNMANAGED);
				State = 2019;
				_localctx.kind = Match(STDCALL);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2021;
				Match(UNMANAGED);
				State = 2022;
				_localctx.kind = Match(THISCALL);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2024;
				Match(UNMANAGED);
				State = 2025;
				_localctx.kind = Match(FASTCALL);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2027;
				_localctx.kind = Match(UNMANAGED);
				_localctx.Value = Actions.GetCallingConvention(_localctx.kind);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MdtokenContext : ParserRuleContext {
		public int Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public Int32Context token;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public MdtokenContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_mdtoken; } }
	}

	[RuleVersion(0)]
	public MdtokenContext mdtoken() {
		MdtokenContext _localctx = new MdtokenContext(Context, State);
		EnterRule(_localctx, 178, RULE_mdtoken);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2031;
			Match(T__112);
			State = 2032;
			Match(T__29);
			State = 2033;
			_localctx.token = int32();
			State = 2034;
			Match(T__30);
			_localctx.Value = Actions.ParseInt32((_localctx.token!=null?(_localctx.token.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class MemberRefContext : ParserRuleContext {
		public CILParser.MemberReferenceValue Value;
		public MethodRefContext method;
		public FieldRefContext field;
		public MdtokenContext token;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD() { return GetToken(CILParser.METHOD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public MethodRefContext methodRef() {
			return GetRuleContext<MethodRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldRefContext fieldRef() {
			return GetRuleContext<FieldRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MdtokenContext mdtoken() {
			return GetRuleContext<MdtokenContext>(0);
		}
		public MemberRefContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_memberRef; } }
	}

	[RuleVersion(0)]
	public MemberRefContext memberRef() {
		MemberRefContext _localctx = new MemberRefContext(Context, State);
		EnterRule(_localctx, 180, RULE_memberRef);
		_localctx.Value = CILParser.MemberReferenceValue.Error;
		try {
			State = 2048;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case METHOD:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2037;
				Match(METHOD);
				State = 2038;
				_localctx.method = methodRef();
				_localctx.Value = Actions.CreateMethodMemberReference(_localctx.method.Value);
				}
				break;
			case T__36:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2041;
				Match(T__36);
				State = 2042;
				_localctx.field = fieldRef();
				_localctx.Value = Actions.CreateFieldMemberReference(_localctx.field.Value);
				}
				break;
			case T__112:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2045;
				_localctx.token = mdtoken();
				_localctx.Value = Actions.CreateTokenMemberReference(_localctx.token.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldRefContext : ParserRuleContext {
		public CILParser.FieldReferenceValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public TypeContext fieldType;
		public TypeSpecOrScopeContext owner;
		public DottedNameContext name;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DCOLON() { return GetToken(CILParser.DCOLON, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext typeSpecOrScope() {
			return GetRuleContext<TypeSpecOrScopeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public FieldRefContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldRef; } }
	}

	[RuleVersion(0)]
	public FieldRefContext fieldRef() {
		FieldRefContext _localctx = new FieldRefContext(Context, State);
		EnterRule(_localctx, 182, RULE_fieldRef);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.FieldReferenceValue.Error;

		try {
			State = 2063;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,85,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2050;
				_localctx.fieldType = type();
				State = 2051;
				_localctx.owner = typeSpecOrScope();
				State = 2052;
				Match(DCOLON);
				State = 2053;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateFieldReference(_localctx.fieldType.Value, _localctx.owner.Value, _localctx.name.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2056;
				_localctx.fieldType = type();
				State = 2057;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateFieldReference(_localctx.fieldType.Value, null, _localctx.name.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2060;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateTypedefFieldReference(_localctx.Start, _localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class TypeListContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue>.Builder Builder;
		public TypeSpecContext item;
		public TypeSpecContext tail;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext[] typeSpec() {
			return GetRuleContexts<TypeSpecContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec(int i) {
			return GetRuleContext<TypeSpecContext>(i);
		}
		public TypeListContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typeList; } }
	}

	[RuleVersion(0)]
	public TypeListContext typeList() {
		TypeListContext _localctx = new TypeListContext(Context, State);
		EnterRule(_localctx, 184, RULE_typeList);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.TypeSpecificationValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 2071;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,86,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 2065;
					_localctx.item = typeSpec();
					_localctx.Builder.Add(_localctx.item.Value);
					State = 2067;
					Match(T__27);
					}
					} 
				}
				State = 2073;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,86,Context);
			}
			State = 2074;
			_localctx.tail = typeSpec();
			_localctx.Builder.Add(_localctx.tail.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyparsClauseContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.GenericParameterDeclarationValue> Value;
		public TyparsContext parameters;
		[System.Diagnostics.DebuggerNonUserCode] public TyparsContext typars() {
			return GetRuleContext<TyparsContext>(0);
		}
		public TyparsClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typarsClause; } }
	}

	[RuleVersion(0)]
	public TyparsClauseContext typarsClause() {
		TyparsClauseContext _localctx = new TyparsClauseContext(Context, State);
		EnterRule(_localctx, 186, RULE_typarsClause);
		_localctx.Value = System.Collections.Immutable.ImmutableArray<CILParser.GenericParameterDeclarationValue>.Empty;
		try {
			State = 2083;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__16:
			case T__29:
			case T__70:
			case T__71:
			case T__84:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__85:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2078;
				Match(T__85);
				State = 2079;
				_localctx.parameters = typars();
				State = 2080;
				Match(T__86);
				_localctx.Value = _localctx.parameters.Value;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyparAttribContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.GenericParameterAttributes> Value;
		public IToken covariant;
		public IToken contravariant;
		public IToken @class;
		public IToken valuetype;
		public IToken byrefLike;
		public IToken ctor;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PLUS() { return GetToken(CILParser.PLUS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VALUETYPE() { return GetToken(CILParser.VALUETYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public TyparAttribContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typarAttrib; } }
	}

	[RuleVersion(0)]
	public TyparAttribContext typarAttrib() {
		TyparAttribContext _localctx = new TyparAttribContext(Context, State);
		EnterRule(_localctx, 188, RULE_typarAttrib);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.GenericParameterAttributes>.Empty;
		try {
			State = 2103;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case PLUS:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2085;
				_localctx.covariant = Match(PLUS);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.covariant);
				}
				break;
			case T__113:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2087;
				_localctx.contravariant = Match(T__113);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.contravariant);
				}
				break;
			case T__38:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2089;
				_localctx.@class = Match(T__38);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.@class);
				}
				break;
			case VALUETYPE:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2091;
				_localctx.valuetype = Match(VALUETYPE);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.valuetype);
				}
				break;
			case T__114:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2093;
				_localctx.byrefLike = Match(T__114);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.byrefLike);
				}
				break;
			case T__115:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2095;
				_localctx.ctor = Match(T__115);
				_localctx.Value = Actions.CreateGenericParameterAttribute(_localctx.ctor);
				}
				break;
			case T__69:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2097;
				Match(T__69);
				State = 2098;
				Match(T__29);
				State = 2099;
				_localctx.flags = int32();
				State = 2100;
				Match(T__30);
				_localctx.Value = Actions.CreateRawGenericParameterAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyparAttribsContext : ParserRuleContext {
		public System.Reflection.GenericParameterAttributes Value;
		public TyparAttribContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public TyparAttribContext[] typarAttrib() {
			return GetRuleContexts<TyparAttribContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TyparAttribContext typarAttrib(int i) {
			return GetRuleContext<TyparAttribContext>(i);
		}
		public TyparAttribsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typarAttribs; } }
	}

	[RuleVersion(0)]
	public TyparAttribsContext typarAttribs() {
		TyparAttribsContext _localctx = new TyparAttribsContext(Context, State);
		EnterRule(_localctx, 190, RULE_typarAttribs);
		_localctx.Value = 0;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2110;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__38 || ((((_la - 70)) & ~0x3f) == 0 && ((1L << (_la - 70)) & 123145302310913L) != 0) || _la==VALUETYPE || _la==PLUS) {
				{
				{
				State = 2105;
				_localctx.attribute = typarAttrib();
				_localctx.Value = Actions.AddGenericParameterAttribute(_localctx.Value, _localctx.attribute.Value);
				}
				}
				State = 2112;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyparContext : ParserRuleContext {
		public CILParser.GenericParameterDeclarationValue Value;
		public TyparAttribsContext attributes;
		public TyBoundContext constraints;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public TyparAttribsContext typarAttribs() {
			return GetRuleContext<TyparAttribsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TyBoundContext tyBound() {
			return GetRuleContext<TyBoundContext>(0);
		}
		public TyparContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typar; } }
	}

	[RuleVersion(0)]
	public TyparContext typar() {
		TyparContext _localctx = new TyparContext(Context, State);
		EnterRule(_localctx, 192, RULE_typar);
		_localctx.Value = CILParser.GenericParameterDeclarationValue.Error;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2113;
			_localctx.attributes = typarAttribs();
			State = 2115;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==T__29) {
				{
				State = 2114;
				_localctx.constraints = tyBound();
				}
			}

			State = 2117;
			_localctx.name = dottedName();
			_localctx.Value = Actions.CreateGenericParameterDeclaration(_localctx.Start, _localctx.attributes.Value, _localctx.constraints, _localctx.name.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyparsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.GenericParameterDeclarationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.GenericParameterDeclarationValue>.Builder Builder;
		public TyparContext parameter;
		public TyparContext tail;
		[System.Diagnostics.DebuggerNonUserCode] public TyparContext[] typar() {
			return GetRuleContexts<TyparContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TyparContext typar(int i) {
			return GetRuleContext<TyparContext>(i);
		}
		public TyparsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_typars; } }
	}

	[RuleVersion(0)]
	public TyparsContext typars() {
		TyparsContext _localctx = new TyparsContext(Context, State);
		EnterRule(_localctx, 194, RULE_typars);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.GenericParameterDeclarationValue>();
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 2126;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,91,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 2120;
					_localctx.parameter = typar();
					_localctx.Builder.Add(_localctx.parameter.Value);
					State = 2122;
					Match(T__27);
					}
					} 
				}
				State = 2128;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,91,Context);
			}
			State = 2129;
			_localctx.tail = typar();
			_localctx.Builder.Add(_localctx.tail.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class TyBoundContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue> Value;
		public TypeListContext constraints;
		[System.Diagnostics.DebuggerNonUserCode] public TypeListContext typeList() {
			return GetRuleContext<TypeListContext>(0);
		}
		public TyBoundContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_tyBound; } }
	}

	[RuleVersion(0)]
	public TyBoundContext tyBound() {
		TyBoundContext _localctx = new TyBoundContext(Context, State);
		EnterRule(_localctx, 196, RULE_tyBound);
		_localctx.Value = System.Collections.Immutable.ImmutableArray<CILParser.TypeSpecificationValue>.Empty;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2132;
			Match(T__29);
			State = 2133;
			_localctx.constraints = typeList();
			State = 2134;
			Match(T__30);
			_localctx.Value = _localctx.constraints.Value;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class GenArityContext : ParserRuleContext {
		public int Value;
		public GenArityNotEmptyContext value;
		[System.Diagnostics.DebuggerNonUserCode] public GenArityNotEmptyContext genArityNotEmpty() {
			return GetRuleContext<GenArityNotEmptyContext>(0);
		}
		public GenArityContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_genArity; } }
	}

	[RuleVersion(0)]
	public GenArityContext genArity() {
		GenArityContext _localctx = new GenArityContext(Context, State);
		EnterRule(_localctx, 198, RULE_genArity);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2138;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==T__85) {
				{
				State = 2137;
				_localctx.value = genArityNotEmpty();
				}
			}

			_localctx.Value = Actions.GetGenericArity(_localctx.value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class GenArityNotEmptyContext : ParserRuleContext {
		public int Value;
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public GenArityNotEmptyContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_genArityNotEmpty; } }
	}

	[RuleVersion(0)]
	public GenArityNotEmptyContext genArityNotEmpty() {
		GenArityNotEmptyContext _localctx = new GenArityNotEmptyContext(Context, State);
		EnterRule(_localctx, 200, RULE_genArityNotEmpty);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2142;
			Match(T__85);
			State = 2143;
			Match(T__41);
			State = 2144;
			_localctx.value = int32();
			State = 2145;
			Match(T__42);
			State = 2146;
			Match(T__86);
			_localctx.Value = Actions.ParseInt32((_localctx.value!=null?(_localctx.value.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassDeclContext : ParserRuleContext {
		public CILParser.PropertyBodyValue PropertyBody;
		public CILParser.EventBodyValue EventBody;
		public CILParser.CustomAttributeOwnerValue AttributeOwner;
		public EventHeadContext eventHeader;
		public PropHeadContext property;
		public DataDeclContext data;
		public SecDeclContext security;
		public ExtSourceSpecContext source;
		public CustomAttrDeclContext attribute;
		public Int32Context size;
		public Int32Context packing;
		public ExportHeadContext export;
		public ExptypeDeclsContext exportDeclarations;
		public TypeSpecOrScopeContext declarationOwner;
		public MethodNameContext declarationName;
		public CallConvContext bodyConvention;
		public TypeContext bodyReturnType;
		public TypeSpecOrScopeContext bodyOwner;
		public MethodNameContext bodyName;
		public SigArgsContext bodyArguments;
		public CallConvContext declarationConvention;
		public TypeContext declarationReturnType;
		public GenArityContext declarationArity;
		public SigArgsContext declarationArguments;
		public GenArityContext bodyArity;
		public LanguageDeclContext language;
		public Int32Context parameterIndex;
		public DottedNameContext parameterName;
		public TypeSpecContext constraintType;
		public TypeSpecContext interfaceType;
		public CustomDescrContext interfaceAttribute;
		[System.Diagnostics.DebuggerNonUserCode] public MethodHeadContext methodHead() {
			return GetRuleContext<MethodHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodDeclsContext methodDecls() {
			return GetRuleContext<MethodDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassHeadContext classHead() {
			return GetRuleContext<ClassHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassDeclsContext classDecls() {
			return GetRuleContext<ClassDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public EventDeclsContext eventDecls() {
			return GetRuleContext<EventDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public EventHeadContext eventHead() {
			return GetRuleContext<EventHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public PropDeclsContext propDecls() {
			return GetRuleContext<PropDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public PropHeadContext propHead() {
			return GetRuleContext<PropHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldDeclContext fieldDecl() {
			return GetRuleContext<FieldDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DataDeclContext dataDecl() {
			return GetRuleContext<DataDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecDeclContext secDecl() {
			return GetRuleContext<SecDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtSourceSpecContext extSourceSpec() {
			return GetRuleContext<ExtSourceSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext[] customAttrDecl() {
			return GetRuleContexts<CustomAttrDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl(int i) {
			return GetRuleContext<CustomAttrDeclContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExportHeadContext exportHead() {
			return GetRuleContext<ExportHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeDeclsContext exptypeDecls() {
			return GetRuleContext<ExptypeDeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OVERRIDE() { return GetToken(CILParser.OVERRIDE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] DCOLON() { return GetTokens(CILParser.DCOLON); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DCOLON(int i) {
			return GetToken(CILParser.DCOLON, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext[] typeSpecOrScope() {
			return GetRuleContexts<TypeSpecOrScopeContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext typeSpecOrScope(int i) {
			return GetRuleContext<TypeSpecOrScopeContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodNameContext[] methodName() {
			return GetRuleContexts<MethodNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodNameContext methodName(int i) {
			return GetRuleContext<MethodNameContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext[] callConv() {
			return GetRuleContexts<CallConvContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv(int i) {
			return GetRuleContext<CallConvContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext[] type() {
			return GetRuleContexts<TypeContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type(int i) {
			return GetRuleContext<TypeContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext[] sigArgs() {
			return GetRuleContexts<SigArgsContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs(int i) {
			return GetRuleContext<SigArgsContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] METHOD() { return GetTokens(CILParser.METHOD); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD(int i) {
			return GetToken(CILParser.METHOD, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public GenArityContext[] genArity() {
			return GetRuleContexts<GenArityContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public GenArityContext genArity(int i) {
			return GetRuleContext<GenArityContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageDeclContext languageDecl() {
			return GetRuleContext<LanguageDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PARAM() { return GetToken(CILParser.PARAM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPE() { return GetToken(CILParser.TYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CONSTRAINT() { return GetToken(CILParser.CONSTRAINT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrContext customDescr() {
			return GetRuleContext<CustomDescrContext>(0);
		}
		public ClassDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classDecl; } }
	}

	[RuleVersion(0)]
	public ClassDeclContext classDecl() {
		ClassDeclContext _localctx = new ClassDeclContext(Context, State);
		EnterRule(_localctx, 202, RULE_classDecl);
		try {
			int _alt;
			State = 2299;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,97,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2149;
				methodHead();
				State = 2150;
				Match(T__16);
				State = 2151;
				methodDecls();
				State = 2152;
				Match(T__17);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2154;
				classHead();
				State = 2155;
				Match(T__16);
				State = 2156;
				classDecls();
				State = 2157;
				Match(T__17);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2159;
				_localctx.eventHeader = eventHead();
				_localctx.EventBody = Actions.BeginEvent(_localctx.eventHeader.Value);
				State = 2161;
				Match(T__16);
				State = 2162;
				eventDecls(_localctx.EventBody);
				State = 2163;
				Match(T__17);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2165;
				_localctx.property = propHead();
				_localctx.PropertyBody = Actions.BeginProperty(_localctx.property.Value);
				State = 2167;
				Match(T__16);
				State = 2168;
				propDecls(_localctx.PropertyBody);
				State = 2169;
				Match(T__17);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2171;
				fieldDecl();
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2172;
				_localctx.data = dataDecl();
				Actions.ProcessClassDataDeclaration(_localctx.data);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2175;
				_localctx.security = secDecl();
				Actions.ProcessClassSecurityDeclaration(_localctx.security);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2178;
				_localctx.source = extSourceSpec();
				Actions.ProcessClassSourceDirective(_localctx.source);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2181;
				_localctx.attribute = customAttrDecl();
				Actions.ProcessClassCustomAttribute(_localctx.attribute);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2184;
				Match(T__116);
				State = 2185;
				_localctx.size = int32();
				Actions.SetClassSize((_localctx.size!=null?(_localctx.size.Start):null));
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2188;
				Match(T__117);
				State = 2189;
				_localctx.packing = int32();
				Actions.SetClassPackingSize((_localctx.packing!=null?(_localctx.packing.Start):null));
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2192;
				_localctx.export = exportHead();
				State = 2193;
				Match(T__16);
				State = 2194;
				_localctx.exportDeclarations = exptypeDecls();
				State = 2195;
				Match(T__17);
				Actions.ProcessClassExport(_localctx.export, _localctx.exportDeclarations);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2198;
				Match(OVERRIDE);
				State = 2199;
				_localctx.declarationOwner = typeSpecOrScope();
				State = 2200;
				Match(DCOLON);
				State = 2201;
				_localctx.declarationName = methodName();
				State = 2202;
				Match(T__118);
				State = 2203;
				_localctx.bodyConvention = callConv();
				State = 2204;
				_localctx.bodyReturnType = type();
				State = 2205;
				_localctx.bodyOwner = typeSpecOrScope();
				State = 2206;
				Match(DCOLON);
				State = 2207;
				_localctx.bodyName = methodName();
				State = 2208;
				_localctx.bodyArguments = sigArgs();
				Actions.AddClassMethodOverride(
							_localctx,
							_localctx.declarationOwner.Value,
							_localctx.declarationName.Value,
							_localctx.bodyConvention.Value,
							_localctx.bodyReturnType.Value,
							_localctx.bodyOwner.Value,
							_localctx.bodyName.Value,
							_localctx.bodyArguments.Value);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2211;
				Match(OVERRIDE);
				State = 2212;
				Match(METHOD);
				State = 2213;
				_localctx.declarationConvention = callConv();
				State = 2214;
				_localctx.declarationReturnType = type();
				State = 2215;
				_localctx.declarationOwner = typeSpecOrScope();
				State = 2216;
				Match(DCOLON);
				State = 2217;
				_localctx.declarationName = methodName();
				State = 2218;
				_localctx.declarationArity = genArity();
				State = 2219;
				_localctx.declarationArguments = sigArgs();
				State = 2220;
				Match(T__118);
				State = 2221;
				Match(METHOD);
				State = 2222;
				_localctx.bodyConvention = callConv();
				State = 2223;
				_localctx.bodyReturnType = type();
				State = 2224;
				_localctx.bodyOwner = typeSpecOrScope();
				State = 2225;
				Match(DCOLON);
				State = 2226;
				_localctx.bodyName = methodName();
				State = 2227;
				_localctx.bodyArity = genArity();
				State = 2228;
				_localctx.bodyArguments = sigArgs();
				Actions.AddClassMethodOverride(
							_localctx,
							_localctx.declarationConvention.Value,
							_localctx.declarationReturnType.Value,
							_localctx.declarationOwner.Value,
							_localctx.declarationName.Value,
							_localctx.declarationArity.Value,
							_localctx.declarationArguments.Value,
							_localctx.bodyConvention.Value,
							_localctx.bodyReturnType.Value,
							_localctx.bodyOwner.Value,
							_localctx.bodyName.Value,
							_localctx.bodyArity.Value,
							_localctx.bodyArguments.Value);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2231;
				_localctx.language = languageDecl();
				Actions.ProcessClassLanguageDirective(_localctx.language);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 2234;
				compControl();
				Actions.ProcessClassCompilerControl();
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				State = 2237;
				Match(PARAM);
				State = 2238;
				Match(TYPE);
				State = 2239;
				Match(T__41);
				State = 2240;
				_localctx.parameterIndex = int32();
				State = 2241;
				Match(T__42);
				_localctx.AttributeOwner = Actions.BeginClassGenericParameterDirective(_localctx, (_localctx.parameterIndex!=null?(_localctx.parameterIndex.Start):null));
				State = 2248;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,93,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2243;
						_localctx.attribute = customAttrDecl();
						Actions.AddClassGenericDirectiveAttribute(_localctx.AttributeOwner, _localctx.attribute);
						}
						} 
					}
					State = 2250;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,93,Context);
				}
				}
				break;
			case 18:
				EnterOuterAlt(_localctx, 18);
				{
				State = 2251;
				Match(PARAM);
				State = 2252;
				Match(TYPE);
				State = 2253;
				_localctx.parameterName = dottedName();
				_localctx.AttributeOwner = Actions.BeginClassGenericParameterDirective(_localctx.parameterName.Value);
				State = 2260;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,94,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2255;
						_localctx.attribute = customAttrDecl();
						Actions.AddClassGenericDirectiveAttribute(_localctx.AttributeOwner, _localctx.attribute);
						}
						} 
					}
					State = 2262;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,94,Context);
				}
				}
				break;
			case 19:
				EnterOuterAlt(_localctx, 19);
				{
				State = 2263;
				Match(PARAM);
				State = 2264;
				Match(CONSTRAINT);
				State = 2265;
				Match(T__41);
				State = 2266;
				_localctx.parameterIndex = int32();
				State = 2267;
				Match(T__42);
				State = 2268;
				Match(T__27);
				State = 2269;
				_localctx.constraintType = typeSpec();
				_localctx.AttributeOwner = Actions.BeginClassGenericConstraintDirective(_localctx, (_localctx.parameterIndex!=null?(_localctx.parameterIndex.Start):null), _localctx.constraintType.Value);
				State = 2276;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,95,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2271;
						_localctx.attribute = customAttrDecl();
						Actions.AddClassGenericDirectiveAttribute(_localctx.AttributeOwner, _localctx.attribute);
						}
						} 
					}
					State = 2278;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,95,Context);
				}
				}
				break;
			case 20:
				EnterOuterAlt(_localctx, 20);
				{
				State = 2279;
				Match(PARAM);
				State = 2280;
				Match(CONSTRAINT);
				State = 2281;
				_localctx.parameterName = dottedName();
				State = 2282;
				Match(T__27);
				State = 2283;
				_localctx.constraintType = typeSpec();
				_localctx.AttributeOwner = Actions.BeginClassGenericConstraintDirective(_localctx.parameterName.Value, _localctx.constraintType.Value);
				State = 2290;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,96,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2285;
						_localctx.attribute = customAttrDecl();
						Actions.AddClassGenericDirectiveAttribute(_localctx.AttributeOwner, _localctx.attribute);
						}
						} 
					}
					State = 2292;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,96,Context);
				}
				}
				break;
			case 21:
				EnterOuterAlt(_localctx, 21);
				{
				State = 2293;
				Match(T__119);
				State = 2294;
				Match(TYPE);
				State = 2295;
				_localctx.interfaceType = typeSpec();
				State = 2296;
				_localctx.interfaceAttribute = customDescr();
				Actions.AddInterfaceImplementationAttribute(_localctx, _localctx.interfaceType.Value, _localctx.interfaceAttribute);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndClassDeclaration(_localctx);
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldDeclContext : ParserRuleContext {
		public CILParser.FieldDeclarationValue Value;
		public int InitialSyntaxErrorCount;
		public CILParser.FieldDeclarationBuilder Builder;
		public RepeatOptContext offset;
		public FieldAttrContext attribute;
		public MarshalBlobContext marshalling;
		public TypeContext fieldType;
		public DottedNameContext name;
		public AtOptContext data;
		public InitOptContext initializer;
		[System.Diagnostics.DebuggerNonUserCode] public RepeatOptContext repeatOpt() {
			return GetRuleContext<RepeatOptContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AtOptContext atOpt() {
			return GetRuleContext<AtOptContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public InitOptContext initOpt() {
			return GetRuleContext<InitOptContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldAttrContext[] fieldAttr() {
			return GetRuleContexts<FieldAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public FieldAttrContext fieldAttr(int i) {
			return GetRuleContext<FieldAttrContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MarshalBlobContext[] marshalBlob() {
			return GetRuleContexts<MarshalBlobContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public MarshalBlobContext marshalBlob(int i) {
			return GetRuleContext<MarshalBlobContext>(i);
		}
		public FieldDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldDecl; } }
	}

	[RuleVersion(0)]
	public FieldDeclContext fieldDecl() {
		FieldDeclContext _localctx = new FieldDeclContext(Context, State);
		EnterRule(_localctx, 204, RULE_fieldDecl);

			_localctx.Builder = Actions.PrepareFieldDeclaration();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.FieldDeclarationValue.Error;

		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 2301;
			Match(T__120);
			State = 2302;
			_localctx.offset = repeatOpt();
			State = 2314;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,99,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					State = 2312;
					ErrorHandler.Sync(this);
					switch (TokenStream.LA(1)) {
					case T__15:
					case T__50:
					case T__51:
					case T__62:
					case T__63:
					case T__64:
					case T__65:
					case T__67:
					case T__68:
					case T__69:
					case T__122:
					case T__123:
					case T__124:
					case T__125:
					case T__126:
						{
						State = 2303;
						_localctx.attribute = fieldAttr();
						Actions.AddFieldAttribute(_localctx.Builder, _localctx.attribute.Value);
						}
						break;
					case T__121:
						{
						State = 2306;
						Match(T__121);
						State = 2307;
						Match(T__29);
						State = 2308;
						_localctx.marshalling = marshalBlob();
						State = 2309;
						Match(T__30);
						Actions.SetFieldMarshalling(_localctx.Builder, _localctx.marshalling.Value);
						}
						break;
					default:
						throw new NoViableAltException(this);
					}
					} 
				}
				State = 2316;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,99,Context);
			}
			State = 2317;
			_localctx.fieldType = type();
			State = 2318;
			_localctx.name = dottedName();
			State = 2319;
			_localctx.data = atOpt();
			State = 2320;
			_localctx.initializer = initOpt();
			_localctx.Value = Actions.CreateFieldDeclaration(
						_localctx,
						_localctx.Builder,
						_localctx.InitialSyntaxErrorCount,
						_localctx.offset,
						_localctx.fieldType.Value,
						_localctx.name.Value,
						_localctx.data.Value,
						_localctx.initializer.Value);
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.DefineField(_localctx, _localctx.Value);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.FieldAttributes> Value;
		public IToken attribute;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public FieldAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldAttr; } }
	}

	[RuleVersion(0)]
	public FieldAttrContext fieldAttr() {
		FieldAttrContext _localctx = new FieldAttrContext(Context, State);
		EnterRule(_localctx, 206, RULE_fieldAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.FieldAttributes>.Empty;
		try {
			State = 2357;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__122:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2323;
				_localctx.attribute = Match(T__122);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__50:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2325;
				_localctx.attribute = Match(T__50);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__51:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2327;
				_localctx.attribute = Match(T__51);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__62:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2329;
				_localctx.attribute = Match(T__62);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__123:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2331;
				_localctx.attribute = Match(T__123);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__68:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2333;
				_localctx.attribute = Match(T__68);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__67:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2335;
				_localctx.attribute = Match(T__67);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__63:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2337;
				_localctx.attribute = Match(T__63);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__64:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2339;
				_localctx.attribute = Match(T__64);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__65:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2341;
				_localctx.attribute = Match(T__65);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__124:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2343;
				_localctx.attribute = Match(T__124);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__125:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2345;
				_localctx.attribute = Match(T__125);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__126:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2347;
				_localctx.attribute = Match(T__126);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__15:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2349;
				_localctx.attribute = Match(T__15);
				_localctx.Value = Actions.CreateFieldAttribute(_localctx.attribute);
				}
				break;
			case T__69:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2351;
				Match(T__69);
				State = 2352;
				Match(T__29);
				State = 2353;
				_localctx.flags = int32();
				State = 2354;
				Match(T__30);
				_localctx.Value = Actions.CreateRawFieldAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AtOptContext : ParserRuleContext {
		public string? Value;
		public IdContext name;
		public Int32Context offset;
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public AtOptContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_atOpt; } }
	}

	[RuleVersion(0)]
	public AtOptContext atOpt() {
		AtOptContext _localctx = new AtOptContext(Context, State);
		EnterRule(_localctx, 208, RULE_atOpt);
		_localctx.Value = null;
		try {
			State = 2368;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,101,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2360;
				Match(T__43);
				State = 2361;
				_localctx.name = id();
				_localctx.Value = Actions.GetFieldDataName((_localctx.name!=null?(_localctx.name.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2364;
				Match(T__43);
				State = 2365;
				_localctx.offset = int32();
				_localctx.Value = Actions.GetFieldDataOffset((_localctx.offset!=null?(_localctx.offset.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class InitOptContext : ParserRuleContext {
		public CILParser.FieldInitializerValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public FieldInitContext initializer;
		[System.Diagnostics.DebuggerNonUserCode] public FieldInitContext fieldInit() {
			return GetRuleContext<FieldInitContext>(0);
		}
		public InitOptContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_initOpt; } }
	}

	[RuleVersion(0)]
	public InitOptContext initOpt() {
		InitOptContext _localctx = new InitOptContext(Context, State);
		EnterRule(_localctx, 210, RULE_initOpt);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.FieldInitializerValue.Empty;

		try {
			State = 2375;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case Eof:
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__16:
			case T__17:
			case T__18:
			case T__19:
			case T__20:
			case T__22:
			case T__23:
			case T__24:
			case T__25:
			case T__26:
			case T__28:
			case T__31:
			case T__32:
			case T__34:
			case T__40:
			case T__47:
			case T__48:
			case T__49:
			case T__72:
			case T__73:
			case T__116:
			case T__117:
			case T__119:
			case T__120:
			case T__127:
			case T__132:
			case T__138:
			case T__157:
			case T__164:
			case MODULE:
			case INSTANCE:
			case UNMANAGED:
			case PARAM:
			case SQSTRING:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
			case MRESOURCE:
			case INSTR_NONE:
			case INSTR_VAR:
			case INSTR_I:
			case INSTR_I8:
			case INSTR_R:
			case INSTR_METHOD:
			case INSTR_SIG:
			case INSTR_BRTARGET:
			case INSTR_SWITCH:
			case INSTR_TYPE:
			case INSTR_STRING:
			case INSTR_FIELD:
			case INSTR_TOK:
			case DOTTEDNAME:
			case ID:
			case PERMISSION:
			case PERMISSIONSET:
			case EMITBYTE:
			case MAXSTACK:
			case ENTRYPOINT:
			case ZEROINIT:
			case LOCALS:
			case EXPORT:
			case OVERRIDE:
			case VTENTRY:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__35:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2371;
				Match(T__35);
				State = 2372;
				_localctx.initializer = fieldInit();
				_localctx.Value = _localctx.initializer.Value;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class RepeatOptContext : ParserRuleContext {
		public int Value;
		public bool HasValue;
		public Int32Context offset;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public RepeatOptContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_repeatOpt; } }
	}

	[RuleVersion(0)]
	public RepeatOptContext repeatOpt() {
		RepeatOptContext _localctx = new RepeatOptContext(Context, State);
		EnterRule(_localctx, 212, RULE_repeatOpt);
		try {
			State = 2383;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__38:
			case T__50:
			case T__51:
			case T__62:
			case T__63:
			case T__64:
			case T__65:
			case T__67:
			case T__68:
			case T__69:
			case T__89:
			case T__121:
			case T__122:
			case T__123:
			case T__124:
			case T__125:
			case T__126:
			case ELLIPSIS:
			case CHAR:
			case STRING:
			case BOOL:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case UINT8:
			case UINT16:
			case UINT32:
			case UINT64:
			case OBJECT:
			case VALUE:
			case VALUETYPE:
			case VOID:
			case METHOD:
			case INSTANCE:
			case UNMANAGED:
			case TYPE_PARAMETER:
			case METHOD_TYPE_PARAMETER:
			case TYPEDREF:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__41:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2378;
				Match(T__41);
				State = 2379;
				_localctx.offset = int32();
				State = 2380;
				Match(T__42);
				Actions.SetFieldOffset(_localctx, (_localctx.offset!=null?(_localctx.offset.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class EventHeadContext : ParserRuleContext {
		public CILParser.EventHeaderValue Value;
		public int InitialSyntaxErrorCount;
		public CILParser.EventHeaderBuilder Builder;
		public EventAttrContext attribute;
		public TypeSpecContext eventType;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public EventAttrContext[] eventAttr() {
			return GetRuleContexts<EventAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public EventAttrContext eventAttr(int i) {
			return GetRuleContext<EventAttrContext>(i);
		}
		public EventHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_eventHead; } }
	}

	[RuleVersion(0)]
	public EventHeadContext eventHead() {
		EventHeadContext _localctx = new EventHeadContext(Context, State);
		EnterRule(_localctx, 214, RULE_eventHead);

			_localctx.Builder = new CILParser.EventHeaderBuilder();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.EventHeaderValue.Error;

		int _la;
		try {
			State = 2410;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,106,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2385;
				Match(T__127);
				State = 2391;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				while (_la==T__67 || _la==T__68) {
					{
					{
					State = 2386;
					_localctx.attribute = eventAttr();
					Actions.AddEventAttribute(_localctx.Builder, _localctx.attribute.Value);
					}
					}
					State = 2393;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
				}
				State = 2394;
				_localctx.eventType = typeSpec();
				State = 2395;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateEventHeader(
							_localctx,
							_localctx.Builder,
							_localctx.InitialSyntaxErrorCount,
							_localctx.eventType.Value,
							_localctx.name.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2398;
				Match(T__127);
				State = 2404;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				while (_la==T__67 || _la==T__68) {
					{
					{
					State = 2399;
					_localctx.attribute = eventAttr();
					Actions.AddEventAttribute(_localctx.Builder, _localctx.attribute.Value);
					}
					}
					State = 2406;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
				}
				State = 2407;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateEventHeader(
							_localctx,
							_localctx.Builder,
							_localctx.InitialSyntaxErrorCount,
							null,
							_localctx.name.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class EventAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.EventAttributes> Value;
		public IToken attribute;
		public EventAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_eventAttr; } }
	}

	[RuleVersion(0)]
	public EventAttrContext eventAttr() {
		EventAttrContext _localctx = new EventAttrContext(Context, State);
		EnterRule(_localctx, 216, RULE_eventAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.EventAttributes>.Empty;
		try {
			State = 2416;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__68:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2412;
				_localctx.attribute = Match(T__68);
				_localctx.Value = Actions.CreateEventAttribute(_localctx.attribute);
				}
				break;
			case T__67:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2414;
				_localctx.attribute = Match(T__67);
				_localctx.Value = Actions.CreateEventAttribute(_localctx.attribute);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class EventDeclsContext : ParserRuleContext {
		public CILParser.EventBodyValue Body;
		[System.Diagnostics.DebuggerNonUserCode] public EventDeclContext[] eventDecl() {
			return GetRuleContexts<EventDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public EventDeclContext eventDecl(int i) {
			return GetRuleContext<EventDeclContext>(i);
		}
		public EventDeclsContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public EventDeclsContext(ParserRuleContext parent, int invokingState, CILParser.EventBodyValue Body)
			: base(parent, invokingState)
		{
			this.Body = Body;
		}
		public override int RuleIndex { get { return RULE_eventDecls; } }
	}

	[RuleVersion(0)]
	public EventDeclsContext eventDecls(CILParser.EventBodyValue Body) {
		EventDeclsContext _localctx = new EventDeclsContext(Context, State, Body);
		EnterRule(_localctx, 218, RULE_eventDecls);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2421;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 38789054462L) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & 1080863910568919043L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105555249070097L) != 0)) {
				{
				{
				State = 2418;
				eventDecl(_localctx.Body);
				}
				}
				State = 2423;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class EventDeclContext : ParserRuleContext {
		public CILParser.EventBodyValue Body;
		public MethodRefContext accessor;
		public ExtSourceSpecContext source;
		public CustomAttrDeclContext attribute;
		public LanguageDeclContext language;
		[System.Diagnostics.DebuggerNonUserCode] public MethodRefContext methodRef() {
			return GetRuleContext<MethodRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtSourceSpecContext extSourceSpec() {
			return GetRuleContext<ExtSourceSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageDeclContext languageDecl() {
			return GetRuleContext<LanguageDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		public EventDeclContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public EventDeclContext(ParserRuleContext parent, int invokingState, CILParser.EventBodyValue Body)
			: base(parent, invokingState)
		{
			this.Body = Body;
		}
		public override int RuleIndex { get { return RULE_eventDecl; } }
	}

	[RuleVersion(0)]
	public EventDeclContext eventDecl(CILParser.EventBodyValue Body) {
		EventDeclContext _localctx = new EventDeclContext(Context, State, Body);
		EnterRule(_localctx, 220, RULE_eventDecl);
		try {
			State = 2450;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__128:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2424;
				Match(T__128);
				State = 2425;
				_localctx.accessor = methodRef();
				Actions.AddEventAdder(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__129:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2428;
				Match(T__129);
				State = 2429;
				_localctx.accessor = methodRef();
				Actions.AddEventRemover(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__130:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2432;
				Match(T__130);
				State = 2433;
				_localctx.accessor = methodRef();
				Actions.AddEventRaiser(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__131:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2436;
				Match(T__131);
				State = 2437;
				_localctx.accessor = methodRef();
				Actions.AddEventOther(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__72:
			case T__73:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2440;
				_localctx.source = extSourceSpec();
				Actions.ProcessEventSourceDirective(_localctx.Body, _localctx.source);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__34:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2443;
				_localctx.attribute = customAttrDecl();
				Actions.AddEventCustomAttribute(_localctx.Body, _localctx.attribute);
				}
				break;
			case T__26:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2446;
				_localctx.language = languageDecl();
				Actions.ProcessEventLanguageDirective(_localctx.Body, _localctx.language);
				}
				break;
			case T__31:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2449;
				compControl();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class PropHeadContext : ParserRuleContext {
		public CILParser.PropertyHeaderValue Value;
		public int InitialSyntaxErrorCount;
		public CILParser.PropertyHeaderBuilder Builder;
		public PropAttrContext attribute;
		public CallConvContext convention;
		public TypeContext propertyType;
		public DottedNameContext name;
		public SigArgsContext arguments;
		public InitOptContext initializer;
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public InitOptContext initOpt() {
			return GetRuleContext<InitOptContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public PropAttrContext[] propAttr() {
			return GetRuleContexts<PropAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public PropAttrContext propAttr(int i) {
			return GetRuleContext<PropAttrContext>(i);
		}
		public PropHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_propHead; } }
	}

	[RuleVersion(0)]
	public PropHeadContext propHead() {
		PropHeadContext _localctx = new PropHeadContext(Context, State);
		EnterRule(_localctx, 222, RULE_propHead);

			_localctx.Builder = new CILParser.PropertyHeaderBuilder();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.PropertyHeaderValue.Error;

		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2452;
			Match(T__132);
			State = 2458;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__67 || _la==T__68) {
				{
				{
				State = 2453;
				_localctx.attribute = propAttr();
				Actions.AddPropertyAttribute(_localctx.Builder, _localctx.attribute.Value);
				}
				}
				State = 2460;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			State = 2461;
			_localctx.convention = callConv();
			State = 2462;
			_localctx.propertyType = type();
			State = 2463;
			_localctx.name = dottedName();
			State = 2464;
			_localctx.arguments = sigArgs();
			State = 2465;
			_localctx.initializer = initOpt();
			_localctx.Value = Actions.CreatePropertyHeader(
						_localctx,
						_localctx.Builder,
						_localctx.InitialSyntaxErrorCount,
						_localctx.convention.Value,
						_localctx.propertyType.Value,
						_localctx.name.Value,
						_localctx.arguments.Value,
						_localctx.initializer.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class PropAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.PropertyAttributes> Value;
		public IToken attribute;
		public PropAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_propAttr; } }
	}

	[RuleVersion(0)]
	public PropAttrContext propAttr() {
		PropAttrContext _localctx = new PropAttrContext(Context, State);
		EnterRule(_localctx, 224, RULE_propAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.PropertyAttributes>.Empty;
		try {
			State = 2472;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__68:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2468;
				_localctx.attribute = Match(T__68);
				_localctx.Value = Actions.CreatePropertyAttribute(_localctx.attribute);
				}
				break;
			case T__67:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2470;
				_localctx.attribute = Match(T__67);
				_localctx.Value = Actions.CreatePropertyAttribute(_localctx.attribute);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class PropDeclsContext : ParserRuleContext {
		public CILParser.PropertyBodyValue Body;
		[System.Diagnostics.DebuggerNonUserCode] public PropDeclContext[] propDecl() {
			return GetRuleContexts<PropDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public PropDeclContext propDecl(int i) {
			return GetRuleContext<PropDeclContext>(i);
		}
		public PropDeclsContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public PropDeclsContext(ParserRuleContext parent, int invokingState, CILParser.PropertyBodyValue Body)
			: base(parent, invokingState)
		{
			this.Body = Body;
		}
		public override int RuleIndex { get { return RULE_propDecls; } }
	}

	[RuleVersion(0)]
	public PropDeclsContext propDecls(CILParser.PropertyBodyValue Body) {
		PropDeclsContext _localctx = new PropDeclsContext(Context, State, Body);
		EnterRule(_localctx, 226, RULE_propDecls);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2477;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 38789054462L) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & 7493989779944505347L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105555249070097L) != 0)) {
				{
				{
				State = 2474;
				propDecl(_localctx.Body);
				}
				}
				State = 2479;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class PropDeclContext : ParserRuleContext {
		public CILParser.PropertyBodyValue Body;
		public MethodRefContext accessor;
		public CustomAttrDeclContext attribute;
		public ExtSourceSpecContext source;
		public LanguageDeclContext language;
		[System.Diagnostics.DebuggerNonUserCode] public MethodRefContext methodRef() {
			return GetRuleContext<MethodRefContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtSourceSpecContext extSourceSpec() {
			return GetRuleContext<ExtSourceSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageDeclContext languageDecl() {
			return GetRuleContext<LanguageDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		public PropDeclContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public PropDeclContext(ParserRuleContext parent, int invokingState, CILParser.PropertyBodyValue Body)
			: base(parent, invokingState)
		{
			this.Body = Body;
		}
		public override int RuleIndex { get { return RULE_propDecl; } }
	}

	[RuleVersion(0)]
	public PropDeclContext propDecl(CILParser.PropertyBodyValue Body) {
		PropDeclContext _localctx = new PropDeclContext(Context, State, Body);
		EnterRule(_localctx, 228, RULE_propDecl);
		try {
			State = 2502;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__133:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2480;
				Match(T__133);
				State = 2481;
				_localctx.accessor = methodRef();
				Actions.AddPropertySetter(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__134:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2484;
				Match(T__134);
				State = 2485;
				_localctx.accessor = methodRef();
				Actions.AddPropertyGetter(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__131:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2488;
				Match(T__131);
				State = 2489;
				_localctx.accessor = methodRef();
				Actions.AddPropertyOther(_localctx.Body, _localctx.accessor.Value);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__34:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2492;
				_localctx.attribute = customAttrDecl();
				Actions.AddPropertyCustomAttribute(_localctx.Body, _localctx.attribute);
				}
				break;
			case T__72:
			case T__73:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2495;
				_localctx.source = extSourceSpec();
				Actions.ProcessPropertySourceDirective(_localctx.Body, _localctx.source);
				}
				break;
			case T__26:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2498;
				_localctx.language = languageDecl();
				Actions.ProcessPropertyLanguageDirective(_localctx.Body, _localctx.language);
				}
				break;
			case T__31:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2501;
				compControl();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MarshalClauseContext : ParserRuleContext {
		public CILParser.MarshallingDescriptorValue Value;
		public MarshalBlobContext value;
		[System.Diagnostics.DebuggerNonUserCode] public MarshalBlobContext marshalBlob() {
			return GetRuleContext<MarshalBlobContext>(0);
		}
		public MarshalClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_marshalClause; } }
	}

	[RuleVersion(0)]
	public MarshalClauseContext marshalClause() {
		MarshalClauseContext _localctx = new MarshalClauseContext(Context, State);
		EnterRule(_localctx, 230, RULE_marshalClause);
		_localctx.Value = CILParser.MarshallingDescriptorValue.Empty;
		try {
			State = 2511;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__27:
			case T__30:
			case T__115:
			case T__154:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 1);
				{
				_localctx.Value = Actions.CreateEmptyMarshallingDescriptor();
				}
				break;
			case T__121:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2505;
				Match(T__121);
				State = 2506;
				Match(T__29);
				State = 2507;
				_localctx.value = marshalBlob();
				State = 2508;
				Match(T__30);
				_localctx.Value = Actions.CompleteMarshalClause(_localctx.value.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MarshalBlobContext : ParserRuleContext {
		public CILParser.MarshallingDescriptorValue Value;
		public CILParser.MarshalBlobBuilder Builder;
		public NativeTypeContext nativeValue;
		public HexbyteContext rawByte;
		[System.Diagnostics.DebuggerNonUserCode] public NativeTypeContext nativeType() {
			return GetRuleContext<NativeTypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public HexbyteContext[] hexbyte() {
			return GetRuleContexts<HexbyteContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public HexbyteContext hexbyte(int i) {
			return GetRuleContext<HexbyteContext>(i);
		}
		public MarshalBlobContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_marshalBlob; } }
	}

	[RuleVersion(0)]
	public MarshalBlobContext marshalBlob() {
		MarshalBlobContext _localctx = new MarshalBlobContext(Context, State);
		EnterRule(_localctx, 232, RULE_marshalBlob);
		_localctx.Builder = new CILParser.MarshalBlobBuilder();
		int _la;
		try {
			State = 2526;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__30:
			case T__33:
			case T__41:
			case T__61:
			case T__89:
			case BOOL:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case UINT8:
			case UINT16:
			case UINT32:
			case UINT64:
			case INT:
			case UINT:
			case VOID:
			case CUSTOM:
			case FIXED:
			case VARIANT:
			case CURRENCY:
			case SYSCHAR:
			case ERROR:
			case DECIMAL:
			case DATE:
			case BSTR:
			case LPSTR:
			case LPWSTR:
			case LPTSTR:
			case OBJECTREF:
			case IUNKNOWN:
			case IDISPATCH:
			case STRUCT:
			case INTERFACE:
			case SAFEARRAY:
			case BYVALSTR:
			case ANSI:
			case TBSTR:
			case METHOD:
			case LPSTRUCT:
			case INSTANCE:
			case UNMANAGED:
			case ARRAY_TYPE_NO_BOUNDS:
			case PTR:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2513;
				_localctx.nativeValue = nativeType();
				Actions.SetMarshalBlobNativeType(_localctx.Builder, _localctx.nativeValue.Value);
				}
				break;
			case T__16:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2516;
				Match(T__16);
				State = 2520;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				do {
					{
					{
					State = 2517;
					_localctx.rawByte = hexbyte();
					Actions.AddMarshalBlobByte(_localctx.Builder, _localctx.rawByte.Value);
					}
					}
					State = 2522;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
				} while ( _la==INT32 || _la==ID || _la==HEXBYTE );
				State = 2524;
				Match(T__17);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.CreateMarshallingDescriptor(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class ParamAttrContext : ParserRuleContext {
		public int Value;
		public ParamAttrElementContext element;
		[System.Diagnostics.DebuggerNonUserCode] public ParamAttrElementContext[] paramAttrElement() {
			return GetRuleContexts<ParamAttrElementContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ParamAttrElementContext paramAttrElement(int i) {
			return GetRuleContext<ParamAttrElementContext>(i);
		}
		public ParamAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_paramAttr; } }
	}

	[RuleVersion(0)]
	public ParamAttrContext paramAttr() {
		ParamAttrContext _localctx = new ParamAttrContext(Context, State);
		EnterRule(_localctx, 234, RULE_paramAttr);
		_localctx.Value = 0;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2533;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__41) {
				{
				{
				State = 2528;
				_localctx.element = paramAttrElement();
				_localctx.Value = Actions.AddParameterAttribute(
							_localctx.Value,
							_localctx.element.Value,
							_localctx.element.ShouldAppend);
				}
				}
				State = 2535;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ParamAttrElementContext : ParserRuleContext {
		public int Value;
		public bool ShouldAppend;
		public IToken attribute;
		public Int32Context raw;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public ParamAttrElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_paramAttrElement; } }
	}

	[RuleVersion(0)]
	public ParamAttrElementContext paramAttrElement() {
		ParamAttrElementContext _localctx = new ParamAttrElementContext(Context, State);
		EnterRule(_localctx, 236, RULE_paramAttrElement);
		try {
			State = 2553;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,118,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2536;
				Match(T__41);
				State = 2537;
				_localctx.attribute = Match(T__135);
				State = 2538;
				Match(T__42);
				Actions.SetParameterAttributeElement(_localctx, _localctx.attribute);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2540;
				Match(T__41);
				State = 2541;
				_localctx.attribute = Match(T__136);
				State = 2542;
				Match(T__42);
				Actions.SetParameterAttributeElement(_localctx, _localctx.attribute);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2544;
				Match(T__41);
				State = 2545;
				_localctx.attribute = Match(T__137);
				State = 2546;
				Match(T__42);
				Actions.SetParameterAttributeElement(_localctx, _localctx.attribute);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2548;
				Match(T__41);
				State = 2549;
				_localctx.raw = int32();
				State = 2550;
				Match(T__42);
				Actions.SetRawParameterAttributeElement(_localctx, (_localctx.raw!=null?(_localctx.raw.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethodHeadContext : ParserRuleContext {
		public CILParser.MethodHeaderValue Value;
		public int InitialSyntaxErrorCount;
		public CILParser.MethodHeaderBuilder Builder;
		public MethAttrContext attribute;
		public PinvImplContext pInvoke;
		public CallConvContext convention;
		public ParamAttrContext returnAttributes;
		public TypeContext returnType;
		public MarshalClauseContext returnMarshalling;
		public MethodNameContext name;
		public TyparsClauseContext genericParameters;
		public SigArgsContext arguments;
		public ImplAttrContext implementation;
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ParamAttrContext paramAttr() {
			return GetRuleContext<ParamAttrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MarshalClauseContext marshalClause() {
			return GetRuleContext<MarshalClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodNameContext methodName() {
			return GetRuleContext<MethodNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TyparsClauseContext typarsClause() {
			return GetRuleContext<TyparsClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethAttrContext[] methAttr() {
			return GetRuleContexts<MethAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethAttrContext methAttr(int i) {
			return GetRuleContext<MethAttrContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public PinvImplContext[] pinvImpl() {
			return GetRuleContexts<PinvImplContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public PinvImplContext pinvImpl(int i) {
			return GetRuleContext<PinvImplContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ImplAttrContext[] implAttr() {
			return GetRuleContexts<ImplAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ImplAttrContext implAttr(int i) {
			return GetRuleContext<ImplAttrContext>(i);
		}
		public MethodHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methodHead; } }
	}

	[RuleVersion(0)]
	public MethodHeadContext methodHead() {
		MethodHeadContext _localctx = new MethodHeadContext(Context, State);
		EnterRule(_localctx, 238, RULE_methodHead);

			_localctx.Builder = Actions.PrepareMethodHeader();
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.MethodHeaderValue.Error;

		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2555;
			Match(T__138);
			State = 2564;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (((((_la - 51)) & ~0x3f) == 0 && ((1L << (_la - 51)) & 978955L) != 0) || ((((_la - 123)) & ~0x3f) == 0 && ((1L << (_la - 123)) & 33423365L) != 0)) {
				{
				State = 2562;
				ErrorHandler.Sync(this);
				switch (TokenStream.LA(1)) {
				case T__50:
				case T__51:
				case T__53:
				case T__62:
				case T__63:
				case T__64:
				case T__65:
				case T__67:
				case T__68:
				case T__69:
				case T__122:
				case T__124:
				case T__139:
				case T__140:
				case T__141:
				case T__142:
				case T__143:
				case T__144:
				case T__145:
					{
					State = 2556;
					_localctx.attribute = methAttr();
					Actions.AddMethodAttribute(_localctx.Builder, _localctx.attribute.Value);
					}
					break;
				case T__146:
					{
					State = 2559;
					_localctx.pInvoke = pinvImpl();
					Actions.AddPInvoke(_localctx.Builder, _localctx.pInvoke.Value);
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				State = 2566;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			State = 2567;
			_localctx.convention = callConv();
			State = 2568;
			_localctx.returnAttributes = paramAttr();
			State = 2569;
			_localctx.returnType = type();
			State = 2570;
			_localctx.returnMarshalling = marshalClause();
			State = 2571;
			_localctx.name = methodName();
			State = 2572;
			_localctx.genericParameters = typarsClause();
			State = 2573;
			_localctx.arguments = sigArgs();
			State = 2579;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 32766L) != 0) || _la==T__69 || _la==T__155 || _la==UNMANAGED) {
				{
				{
				State = 2574;
				_localctx.implementation = implAttr();
				Actions.AddMethodImplementationAttribute(_localctx.Builder, _localctx.implementation.Value);
				}
				}
				State = 2581;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			_localctx.Value = Actions.CreateMethodHeader(
						_localctx,
						_localctx.Builder,
						_localctx.InitialSyntaxErrorCount,
						_localctx.convention.Value,
						_localctx.returnAttributes.Value,
						_localctx.returnType.Value,
						_localctx.returnMarshalling.Value,
						_localctx.name.Value,
						_localctx.genericParameters.Value,
						_localctx.arguments.Value);
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.BeginMethod(_localctx, _localctx.Value);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.MethodAttributes> Value;
		public IToken attribute;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public MethAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methAttr; } }
	}

	[RuleVersion(0)]
	public MethAttrContext methAttr() {
		MethAttrContext _localctx = new MethAttrContext(Context, State);
		EnterRule(_localctx, 240, RULE_methAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.MethodAttributes>.Empty;
		try {
			State = 2626;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__122:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2584;
				_localctx.attribute = Match(T__122);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__50:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2586;
				_localctx.attribute = Match(T__50);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__51:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2588;
				_localctx.attribute = Match(T__51);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__62:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2590;
				_localctx.attribute = Match(T__62);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__139:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2592;
				_localctx.attribute = Match(T__139);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__67:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2594;
				_localctx.attribute = Match(T__67);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__140:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2596;
				_localctx.attribute = Match(T__140);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__141:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2598;
				_localctx.attribute = Match(T__141);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__53:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2600;
				_localctx.attribute = Match(T__53);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__63:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2602;
				_localctx.attribute = Match(T__63);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__64:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2604;
				_localctx.attribute = Match(T__64);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__65:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2606;
				_localctx.attribute = Match(T__65);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__124:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2608;
				_localctx.attribute = Match(T__124);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__142:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2610;
				_localctx.attribute = Match(T__142);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__143:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2612;
				_localctx.attribute = Match(T__143);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__68:
				EnterOuterAlt(_localctx, 16);
				{
				State = 2614;
				_localctx.attribute = Match(T__68);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__144:
				EnterOuterAlt(_localctx, 17);
				{
				State = 2616;
				_localctx.attribute = Match(T__144);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__145:
				EnterOuterAlt(_localctx, 18);
				{
				State = 2618;
				_localctx.attribute = Match(T__145);
				_localctx.Value = Actions.CreateMethodAttribute(_localctx.attribute);
				}
				break;
			case T__69:
				EnterOuterAlt(_localctx, 19);
				{
				State = 2620;
				Match(T__69);
				State = 2621;
				Match(T__29);
				State = 2622;
				_localctx.flags = int32();
				State = 2623;
				Match(T__30);
				_localctx.Value = Actions.CreateRawMethodAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class PinvImplContext : ParserRuleContext {
		public CILParser.PInvokeValue Value;
		public CILParser.PInvokeBuilder Builder;
		public CompQstringContext module;
		public CompQstringContext entryPoint;
		public PinvAttrContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext[] compQstring() {
			return GetRuleContexts<CompQstringContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring(int i) {
			return GetRuleContext<CompQstringContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public PinvAttrContext[] pinvAttr() {
			return GetRuleContexts<PinvAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public PinvAttrContext pinvAttr(int i) {
			return GetRuleContext<PinvAttrContext>(i);
		}
		public PinvImplContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_pinvImpl; } }
	}

	[RuleVersion(0)]
	public PinvImplContext pinvImpl() {
		PinvImplContext _localctx = new PinvImplContext(Context, State);
		EnterRule(_localctx, 242, RULE_pinvImpl);
		_localctx.Builder = new CILParser.PInvokeBuilder();
		int _la;
		try {
			State = 2651;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,126,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2628;
				Match(T__146);
				State = 2629;
				Match(T__29);
				State = 2638;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				if (_la==QSTRING) {
					{
					State = 2630;
					_localctx.module = compQstring();
					Actions.SetPInvokeModule(_localctx.Builder, _localctx.module.Value);
					State = 2636;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
					if (_la==T__33) {
						{
						State = 2632;
						Match(T__33);
						State = 2633;
						_localctx.entryPoint = compQstring();
						Actions.SetPInvokeEntryPoint(_localctx.Builder, _localctx.entryPoint.Value);
						}
					}

					}
				}

				State = 2645;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				while (((((_la - 57)) & ~0x3f) == 0 && ((1L << (_la - 57)) & 8195L) != 0) || ((((_la - 148)) & ~0x3f) == 0 && ((1L << (_la - 148)) & 79L) != 0) || ((((_la - 223)) & ~0x3f) == 0 && ((1L << (_la - 223)) & 251658241L) != 0)) {
					{
					{
					State = 2640;
					_localctx.attribute = pinvAttr();
					Actions.AddPInvokeAttribute(_localctx.Builder, _localctx.attribute.Value);
					}
					}
					State = 2647;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
				}
				State = 2648;
				Match(T__30);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2649;
				Match(T__146);
				State = 2650;
				Match(T__84);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.CreatePInvoke(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class PinvAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.MethodImportAttributes> Value;
		public IToken attribute;
		public IToken setting;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ANSI() { return GetToken(CILParser.ANSI, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CDECL() { return GetToken(CILParser.CDECL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STDCALL() { return GetToken(CILParser.STDCALL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode THISCALL() { return GetToken(CILParser.THISCALL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FASTCALL() { return GetToken(CILParser.FASTCALL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public PinvAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_pinvAttr; } }
	}

	[RuleVersion(0)]
	public PinvAttrContext pinvAttr() {
		PinvAttrContext _localctx = new PinvAttrContext(Context, State);
		EnterRule(_localctx, 244, RULE_pinvAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.MethodImportAttributes>.Empty;
		try {
			State = 2695;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,127,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2653;
				_localctx.attribute = Match(T__147);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2655;
				_localctx.attribute = Match(ANSI);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2657;
				_localctx.attribute = Match(T__56);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2659;
				_localctx.attribute = Match(T__57);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2661;
				_localctx.attribute = Match(T__148);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2663;
				_localctx.attribute = Match(T__149);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2665;
				_localctx.attribute = Match(CDECL);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2667;
				_localctx.attribute = Match(STDCALL);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2669;
				_localctx.attribute = Match(THISCALL);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2671;
				_localctx.attribute = Match(FASTCALL);
				_localctx.Value = Actions.CreatePInvokeAttribute(_localctx.attribute);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2673;
				Match(T__150);
				State = 2674;
				Match(T__74);
				State = 2675;
				_localctx.setting = Match(T__151);
				_localctx.Value = Actions.CreateBestFitPInvokeAttribute(_localctx.setting);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2677;
				Match(T__150);
				State = 2678;
				Match(T__74);
				State = 2679;
				_localctx.setting = Match(T__152);
				_localctx.Value = Actions.CreateBestFitPInvokeAttribute(_localctx.setting);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2681;
				Match(T__153);
				State = 2682;
				Match(T__74);
				State = 2683;
				_localctx.setting = Match(T__151);
				_localctx.Value = Actions.CreateCharMapErrorPInvokeAttribute(_localctx.setting);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2685;
				Match(T__153);
				State = 2686;
				Match(T__74);
				State = 2687;
				_localctx.setting = Match(T__152);
				_localctx.Value = Actions.CreateCharMapErrorPInvokeAttribute(_localctx.setting);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2689;
				Match(T__69);
				State = 2690;
				Match(T__29);
				State = 2691;
				_localctx.flags = int32();
				State = 2692;
				Match(T__30);
				_localctx.Value = Actions.CreateRawPInvokeAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethodNameContext : ParserRuleContext {
		public string Value;
		public IToken ctorName;
		public IToken cctorName;
		public DottedNameContext dotted;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public MethodNameContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methodName; } }
	}

	[RuleVersion(0)]
	public MethodNameContext methodName() {
		MethodNameContext _localctx = new MethodNameContext(Context, State);
		EnterRule(_localctx, 246, RULE_methodName);
		_localctx.Value = string.Empty;
		try {
			State = 2704;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__115:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2697;
				_localctx.ctorName = Match(T__115);
				_localctx.Value = Actions.GetMethodName(_localctx.ctorName);
				}
				break;
			case T__154:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2699;
				_localctx.cctorName = Match(T__154);
				_localctx.Value = Actions.GetMethodName(_localctx.cctorName);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2701;
				_localctx.dotted = dottedName();
				_localctx.Value = _localctx.dotted.Value;
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ImplAttrContext : ParserRuleContext {
		public CILParser.AttributeValue<System.Reflection.MethodImplAttributes> Value;
		public IToken attribute;
		public Int32Context flags;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNMANAGED() { return GetToken(CILParser.UNMANAGED, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public ImplAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_implAttr; } }
	}

	[RuleVersion(0)]
	public ImplAttrContext implAttr() {
		ImplAttrContext _localctx = new ImplAttrContext(Context, State);
		EnterRule(_localctx, 248, RULE_implAttr);
		_localctx.Value = CILParser.AttributeValue<System.Reflection.MethodImplAttributes>.Empty;
		try {
			State = 2744;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__0:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2706;
				_localctx.attribute = Match(T__0);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__1:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2708;
				_localctx.attribute = Match(T__1);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__155:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2710;
				_localctx.attribute = Match(T__155);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__2:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2712;
				_localctx.attribute = Match(T__2);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__3:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2714;
				_localctx.attribute = Match(T__3);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case UNMANAGED:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2716;
				_localctx.attribute = Match(UNMANAGED);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__4:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2718;
				_localctx.attribute = Match(T__4);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__5:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2720;
				_localctx.attribute = Match(T__5);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__6:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2722;
				_localctx.attribute = Match(T__6);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__7:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2724;
				_localctx.attribute = Match(T__7);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__8:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2726;
				_localctx.attribute = Match(T__8);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__9:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2728;
				_localctx.attribute = Match(T__9);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__10:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2730;
				_localctx.attribute = Match(T__10);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__11:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2732;
				_localctx.attribute = Match(T__11);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__12:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2734;
				_localctx.attribute = Match(T__12);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__13:
				EnterOuterAlt(_localctx, 16);
				{
				State = 2736;
				_localctx.attribute = Match(T__13);
				_localctx.Value = Actions.CreateMethodImplementationAttribute(_localctx.attribute);
				}
				break;
			case T__69:
				EnterOuterAlt(_localctx, 17);
				{
				State = 2738;
				Match(T__69);
				State = 2739;
				Match(T__29);
				State = 2740;
				_localctx.flags = int32();
				State = 2741;
				Match(T__30);
				_localctx.Value = Actions.CreateRawMethodImplementationAttribute((_localctx.flags!=null?(_localctx.flags.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethodDeclsContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public MethodDeclContext[] methodDecl() {
			return GetRuleContexts<MethodDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodDeclContext methodDecl(int i) {
			return GetRuleContext<MethodDeclContext>(i);
		}
		public MethodDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methodDecls; } }
	}

	[RuleVersion(0)]
	public MethodDeclsContext methodDecls() {
		MethodDeclsContext _localctx = new MethodDeclsContext(Context, State);
		EnterRule(_localctx, 250, RULE_methodDecls);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2749;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 38789119998L) != 0) || _la==T__72 || _la==T__73 || _la==T__157 || _la==T__164 || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 2303696760354115601L) != 0)) {
				{
				{
				State = 2746;
				methodDecl();
				}
				}
				State = 2751;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class MethodDeclContext : ParserRuleContext {
		public Int32Context value;
		public IToken directive;
		public DataDeclContext declaration;
		public SecDeclContext security;
		public ExtSourceSpecContext source;
		public LanguageDeclContext language;
		public CustomDescrInMethodBodyContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public InstrContext instr() {
			return GetRuleContext<InstrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EMITBYTE() { return GetToken(CILParser.EMITBYTE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SehBlockContext sehBlock() {
			return GetRuleContext<SehBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MAXSTACK() { return GetToken(CILParser.MAXSTACK, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ENTRYPOINT() { return GetToken(CILParser.ENTRYPOINT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ZEROINIT() { return GetToken(CILParser.ZEROINIT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public LabelDeclContext labelDecl() {
			return GetRuleContext<LabelDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ScopeBlockContext scopeBlock() {
			return GetRuleContext<ScopeBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LocalsDeclContext localsDecl() {
			return GetRuleContext<LocalsDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DataDeclContext dataDecl() {
			return GetRuleContext<DataDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SecDeclContext secDecl() {
			return GetRuleContext<SecDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExtSourceSpecContext extSourceSpec() {
			return GetRuleContext<ExtSourceSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public LanguageDeclContext languageDecl() {
			return GetRuleContext<LanguageDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrInMethodBodyContext customDescrInMethodBody() {
			return GetRuleContext<CustomDescrInMethodBodyContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExportDeclContext exportDecl() {
			return GetRuleContext<ExportDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public VtentryDeclContext vtentryDecl() {
			return GetRuleContext<VtentryDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public OverrideDeclContext overrideDecl() {
			return GetRuleContext<OverrideDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ParameterDeclContext parameterDecl() {
			return GetRuleContext<ParameterDeclContext>(0);
		}
		public MethodDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_methodDecl; } }
	}

	[RuleVersion(0)]
	public MethodDeclContext methodDecl() {
		MethodDeclContext _localctx = new MethodDeclContext(Context, State);
		EnterRule(_localctx, 252, RULE_methodDecl);
		try {
			State = 2789;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case INSTR_NONE:
			case INSTR_VAR:
			case INSTR_I:
			case INSTR_I8:
			case INSTR_R:
			case INSTR_METHOD:
			case INSTR_SIG:
			case INSTR_BRTARGET:
			case INSTR_SWITCH:
			case INSTR_TYPE:
			case INSTR_STRING:
			case INSTR_FIELD:
			case INSTR_TOK:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2752;
				instr();
				}
				break;
			case EMITBYTE:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2753;
				Match(EMITBYTE);
				State = 2754;
				_localctx.value = int32();
				Actions.EmitByte((_localctx.value!=null?(_localctx.value.Start):null));
				}
				break;
			case T__157:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2757;
				sehBlock();
				}
				break;
			case MAXSTACK:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2758;
				Match(MAXSTACK);
				State = 2759;
				_localctx.value = int32();
				Actions.SetMaxStack((_localctx.value!=null?(_localctx.value.Start):null));
				}
				break;
			case ENTRYPOINT:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2762;
				_localctx.directive = Match(ENTRYPOINT);
				Actions.SetEntryPoint(_localctx.directive);
				}
				break;
			case ZEROINIT:
				EnterOuterAlt(_localctx, 6);
				{
				State = 2764;
				Match(ZEROINIT);
				Actions.SetZeroInit();
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case ID:
				EnterOuterAlt(_localctx, 7);
				{
				State = 2766;
				labelDecl();
				}
				break;
			case T__16:
				EnterOuterAlt(_localctx, 8);
				{
				State = 2767;
				scopeBlock();
				}
				break;
			case LOCALS:
				EnterOuterAlt(_localctx, 9);
				{
				State = 2768;
				localsDecl();
				}
				break;
			case T__164:
				EnterOuterAlt(_localctx, 10);
				{
				State = 2769;
				_localctx.declaration = dataDecl();
				Actions.ProcessMethodDataDeclaration(_localctx.declaration);
				}
				break;
			case PERMISSION:
			case PERMISSIONSET:
				EnterOuterAlt(_localctx, 11);
				{
				State = 2772;
				_localctx.security = secDecl();
				Actions.ProcessMethodSecurityDeclaration(_localctx.security);
				}
				break;
			case T__72:
			case T__73:
				EnterOuterAlt(_localctx, 12);
				{
				State = 2775;
				_localctx.source = extSourceSpec();
				Actions.ProcessMethodSourceDirective(_localctx.source);
				}
				break;
			case T__26:
				EnterOuterAlt(_localctx, 13);
				{
				State = 2778;
				_localctx.language = languageDecl();
				Actions.ProcessMethodLanguageDirective(_localctx.language);
				}
				break;
			case T__34:
				EnterOuterAlt(_localctx, 14);
				{
				State = 2781;
				_localctx.attribute = customDescrInMethodBody();
				Actions.ProcessMethodCustomAttribute(_localctx.attribute);
				}
				break;
			case T__31:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
				EnterOuterAlt(_localctx, 15);
				{
				State = 2784;
				compControl();
				}
				break;
			case EXPORT:
				EnterOuterAlt(_localctx, 16);
				{
				State = 2785;
				exportDecl();
				}
				break;
			case VTENTRY:
				EnterOuterAlt(_localctx, 17);
				{
				State = 2786;
				vtentryDecl();
				}
				break;
			case OVERRIDE:
				EnterOuterAlt(_localctx, 18);
				{
				State = 2787;
				overrideDecl();
				}
				break;
			case PARAM:
				EnterOuterAlt(_localctx, 19);
				{
				State = 2788;
				parameterDecl();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class LocalsDeclContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public IToken initialize;
		public SigArgsContext arguments;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LOCALS() { return GetToken(CILParser.LOCALS, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		public LocalsDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_localsDecl; } }
	}

	[RuleVersion(0)]
	public LocalsDeclContext localsDecl() {
		LocalsDeclContext _localctx = new LocalsDeclContext(Context, State);
		EnterRule(_localctx, 254, RULE_localsDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2791;
			Match(LOCALS);
			State = 2793;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==T__156) {
				{
				State = 2792;
				_localctx.initialize = Match(T__156);
				}
			}

			State = 2795;
			_localctx.arguments = sigArgs();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndLocalsDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExportDeclContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public Int32Context ordinal;
		public IdContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXPORT() { return GetToken(CILParser.EXPORT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		public ExportDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exportDecl; } }
	}

	[RuleVersion(0)]
	public ExportDeclContext exportDecl() {
		ExportDeclContext _localctx = new ExportDeclContext(Context, State);
		EnterRule(_localctx, 256, RULE_exportDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2797;
			Match(EXPORT);
			State = 2798;
			Match(T__41);
			State = 2799;
			_localctx.ordinal = int32();
			State = 2800;
			Match(T__42);
			State = 2803;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			if (_la==T__33) {
				{
				State = 2801;
				Match(T__33);
				State = 2802;
				_localctx.alias = id();
				}
			}

			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndExportDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class VtentryDeclContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public Int32Context table;
		public Int32Context slot;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VTENTRY() { return GetToken(CILParser.VTENTRY, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public VtentryDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_vtentryDecl; } }
	}

	[RuleVersion(0)]
	public VtentryDeclContext vtentryDecl() {
		VtentryDeclContext _localctx = new VtentryDeclContext(Context, State);
		EnterRule(_localctx, 258, RULE_vtentryDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2805;
			Match(VTENTRY);
			State = 2806;
			_localctx.table = int32();
			State = 2807;
			Match(T__74);
			State = 2808;
			_localctx.slot = int32();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndVTableEntryDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class OverrideDeclContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public TypeSpecOrScopeContext owner;
		public MethodNameContext name;
		public CallConvContext convention;
		public TypeContext returnType;
		public GenArityContext arity;
		public SigArgsContext arguments;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OVERRIDE() { return GetToken(CILParser.OVERRIDE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DCOLON() { return GetToken(CILParser.DCOLON, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecOrScopeContext typeSpecOrScope() {
			return GetRuleContext<TypeSpecOrScopeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MethodNameContext methodName() {
			return GetRuleContext<MethodNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode METHOD() { return GetToken(CILParser.METHOD, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CallConvContext callConv() {
			return GetRuleContext<CallConvContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public TypeContext type() {
			return GetRuleContext<TypeContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public GenArityContext genArity() {
			return GetRuleContext<GenArityContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SigArgsContext sigArgs() {
			return GetRuleContext<SigArgsContext>(0);
		}
		public OverrideDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_overrideDecl; } }
	}

	[RuleVersion(0)]
	public OverrideDeclContext overrideDecl() {
		OverrideDeclContext _localctx = new OverrideDeclContext(Context, State);
		EnterRule(_localctx, 260, RULE_overrideDecl);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			State = 2825;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,134,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2810;
				Match(OVERRIDE);
				State = 2811;
				_localctx.owner = typeSpecOrScope();
				State = 2812;
				Match(DCOLON);
				State = 2813;
				_localctx.name = methodName();
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2815;
				Match(OVERRIDE);
				State = 2816;
				Match(METHOD);
				State = 2817;
				_localctx.convention = callConv();
				State = 2818;
				_localctx.returnType = type();
				State = 2819;
				_localctx.owner = typeSpecOrScope();
				State = 2820;
				Match(DCOLON);
				State = 2821;
				_localctx.name = methodName();
				State = 2822;
				_localctx.arity = genArity();
				State = 2823;
				_localctx.arguments = sigArgs();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndOverrideDirective(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class ParameterDeclContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public System.Collections.Immutable.ImmutableArray<CILParser.CustomAttributeApplicationValue>.Builder Attributes;
		public Int32Context genericIndex;
		public CustomAttrDeclContext attribute;
		public DottedNameContext genericName;
		public Int32Context constraintIndex;
		public TypeSpecContext constraintType;
		public DottedNameContext constraintName;
		public Int32Context parameterIndex;
		public InitOptContext initializer;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PARAM() { return GetToken(CILParser.PARAM, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPE() { return GetToken(CILParser.TYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext[] customAttrDecl() {
			return GetRuleContexts<CustomAttrDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl(int i) {
			return GetRuleContext<CustomAttrDeclContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CONSTRAINT() { return GetToken(CILParser.CONSTRAINT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public InitOptContext initOpt() {
			return GetRuleContext<InitOptContext>(0);
		}
		public ParameterDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_parameterDecl; } }
	}

	[RuleVersion(0)]
	public ParameterDeclContext parameterDecl() {
		ParameterDeclContext _localctx = new ParameterDeclContext(Context, State);
		EnterRule(_localctx, 262, RULE_parameterDecl);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Attributes = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.CustomAttributeApplicationValue>();

		try {
			int _alt;
			State = 2892;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,140,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2827;
				Match(PARAM);
				State = 2828;
				Match(TYPE);
				State = 2829;
				Match(T__41);
				State = 2830;
				_localctx.genericIndex = int32();
				State = 2831;
				Match(T__42);
				State = 2837;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,135,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2832;
						_localctx.attribute = customAttrDecl();
						Actions.AddCustomAttributeApplication(_localctx.Attributes, _localctx.attribute);
						}
						} 
					}
					State = 2839;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,135,Context);
				}
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2840;
				Match(PARAM);
				State = 2841;
				Match(TYPE);
				State = 2842;
				_localctx.genericName = dottedName();
				State = 2848;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,136,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2843;
						_localctx.attribute = customAttrDecl();
						Actions.AddCustomAttributeApplication(_localctx.Attributes, _localctx.attribute);
						}
						} 
					}
					State = 2850;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,136,Context);
				}
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2851;
				Match(PARAM);
				State = 2852;
				Match(CONSTRAINT);
				State = 2853;
				Match(T__41);
				State = 2854;
				_localctx.constraintIndex = int32();
				State = 2855;
				Match(T__42);
				State = 2856;
				Match(T__27);
				State = 2857;
				_localctx.constraintType = typeSpec();
				State = 2863;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,137,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2858;
						_localctx.attribute = customAttrDecl();
						Actions.AddCustomAttributeApplication(_localctx.Attributes, _localctx.attribute);
						}
						} 
					}
					State = 2865;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,137,Context);
				}
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2866;
				Match(PARAM);
				State = 2867;
				Match(CONSTRAINT);
				State = 2868;
				_localctx.constraintName = dottedName();
				State = 2869;
				Match(T__27);
				State = 2870;
				_localctx.constraintType = typeSpec();
				State = 2876;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,138,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2871;
						_localctx.attribute = customAttrDecl();
						Actions.AddCustomAttributeApplication(_localctx.Attributes, _localctx.attribute);
						}
						} 
					}
					State = 2878;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,138,Context);
				}
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 2879;
				Match(PARAM);
				State = 2880;
				Match(T__41);
				State = 2881;
				_localctx.parameterIndex = int32();
				State = 2882;
				Match(T__42);
				State = 2883;
				_localctx.initializer = initOpt();
				State = 2889;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,139,Context);
				while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						State = 2884;
						_localctx.attribute = customAttrDecl();
						Actions.AddCustomAttributeApplication(_localctx.Attributes, _localctx.attribute);
						}
						} 
					}
					State = 2891;
					ErrorHandler.Sync(this);
					_alt = Interpreter.AdaptivePredict(TokenStream,139,Context);
				}
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndParameterDirective(
				_localctx,
				_localctx.Attributes.ToImmutable(),
				_localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class LabelDeclContext : ParserRuleContext {
		public IdContext name;
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		public LabelDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_labelDecl; } }
	}

	[RuleVersion(0)]
	public LabelDeclContext labelDecl() {
		LabelDeclContext _localctx = new LabelDeclContext(Context, State);
		EnterRule(_localctx, 264, RULE_labelDecl);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2894;
			_localctx.name = id();
			State = 2895;
			Match(T__74);
			Actions.DefineLabel((_localctx.name!=null?(_localctx.name.Start):null));
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomDescrInMethodBodyContext : ParserRuleContext {
		public CILParser.CustomAttributeDeclarationValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CustomDescrContext directAttribute;
		public CustomDescrWithOwnerContext ownedAttribute;
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrContext customDescr() {
			return GetRuleContext<CustomDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrWithOwnerContext customDescrWithOwner() {
			return GetRuleContext<CustomDescrWithOwnerContext>(0);
		}
		public CustomDescrInMethodBodyContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customDescrInMethodBody; } }
	}

	[RuleVersion(0)]
	public CustomDescrInMethodBodyContext customDescrInMethodBody() {
		CustomDescrInMethodBodyContext _localctx = new CustomDescrInMethodBodyContext(Context, State);
		EnterRule(_localctx, 266, RULE_customDescrInMethodBody);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CustomAttributeDeclarationValue.Error;

		try {
			State = 2904;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,141,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2898;
				_localctx.directAttribute = customDescr();
				_localctx.Value = Actions.CreateCustomAttributeDeclaration(_localctx.directAttribute.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2901;
				_localctx.ownedAttribute = customDescrWithOwner();
				_localctx.Value = Actions.CreateCustomAttributeDeclaration(_localctx.ownedAttribute.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class ScopeBlockContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public MethodDeclsContext methodDecls() {
			return GetRuleContext<MethodDeclsContext>(0);
		}
		public ScopeBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_scopeBlock; } }
	}

	[RuleVersion(0)]
	public ScopeBlockContext scopeBlock() {
		ScopeBlockContext _localctx = new ScopeBlockContext(Context, State);
		EnterRule(_localctx, 268, RULE_scopeBlock);
		Actions.BeginScope(_localctx);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2906;
			Match(T__16);
			State = 2907;
			methodDecls();
			State = 2908;
			Match(T__17);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndScope(_localctx);
			ExitRule();
		}
		return _localctx;
	}

	public partial class SehBlockContext : ParserRuleContext {
		public int InitialSyntaxErrorCount;
		public TryBlockContext tryRange;
		public SehClausesContext clauses;
		[System.Diagnostics.DebuggerNonUserCode] public TryBlockContext tryBlock() {
			return GetRuleContext<TryBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SehClausesContext sehClauses() {
			return GetRuleContext<SehClausesContext>(0);
		}
		public SehBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sehBlock; } }
	}

	[RuleVersion(0)]
	public SehBlockContext sehBlock() {
		SehBlockContext _localctx = new SehBlockContext(Context, State);
		EnterRule(_localctx, 270, RULE_sehBlock);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2910;
			_localctx.tryRange = tryBlock();
			State = 2911;
			_localctx.clauses = sehClauses();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndExceptionBlock(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class SehClausesContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.ExceptionClauseValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.ExceptionClauseValue>.Builder Builder;
		public SehClauseContext clause;
		[System.Diagnostics.DebuggerNonUserCode] public SehClauseContext[] sehClause() {
			return GetRuleContexts<SehClauseContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SehClauseContext sehClause(int i) {
			return GetRuleContext<SehClauseContext>(i);
		}
		public SehClausesContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sehClauses; } }
	}

	[RuleVersion(0)]
	public SehClausesContext sehClauses() {
		SehClausesContext _localctx = new SehClausesContext(Context, State);
		EnterRule(_localctx, 272, RULE_sehClauses);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.ExceptionClauseValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2916;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			do {
				{
				{
				State = 2913;
				_localctx.clause = sehClause();
				_localctx.Builder.Add(_localctx.clause.Value);
				}
				}
				State = 2918;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			} while ( ((((_la - 160)) & ~0x3f) == 0 && ((1L << (_la - 160)) & 15L) != 0) );
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class TryBlockContext : ParserRuleContext {
		public CILParser.ExceptionRangeValue Value;
		public ScopeBlockContext body;
		public IdContext startLabel;
		public IdContext endLabel;
		public Int32Context startOffset;
		public Int32Context endOffset;
		[System.Diagnostics.DebuggerNonUserCode] public ScopeBlockContext scopeBlock() {
			return GetRuleContext<ScopeBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext[] id() {
			return GetRuleContexts<IdContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id(int i) {
			return GetRuleContext<IdContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public TryBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_tryBlock; } }
	}

	[RuleVersion(0)]
	public TryBlockContext tryBlock() {
		TryBlockContext _localctx = new TryBlockContext(Context, State);
		EnterRule(_localctx, 274, RULE_tryBlock);
		_localctx.Value = CILParser.ExceptionRangeValue.Invalid;
		try {
			State = 2936;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,143,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2920;
				Match(T__157);
				State = 2921;
				_localctx.body = scopeBlock();
				_localctx.Value = Actions.CreateScopeExceptionRange(_localctx.body);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2924;
				Match(T__157);
				State = 2925;
				_localctx.startLabel = id();
				State = 2926;
				Match(T__158);
				State = 2927;
				_localctx.endLabel = id();
				_localctx.Value = Actions.CreateLabelExceptionRange((_localctx.startLabel!=null?(_localctx.startLabel.Start):null), (_localctx.endLabel!=null?(_localctx.endLabel.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2930;
				Match(T__157);
				State = 2931;
				_localctx.startOffset = int32();
				State = 2932;
				Match(T__158);
				State = 2933;
				_localctx.endOffset = int32();
				_localctx.Value = Actions.CreateOffsetExceptionRange((_localctx.startOffset!=null?(_localctx.startOffset.Start):null), (_localctx.endOffset!=null?(_localctx.endOffset.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SehClauseContext : ParserRuleContext {
		public CILParser.ExceptionClauseValue Value;
		public CatchClauseContext caught;
		public HandlerBlockContext handler;
		public FilterClauseContext filtered;
		[System.Diagnostics.DebuggerNonUserCode] public CatchClauseContext catchClause() {
			return GetRuleContext<CatchClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public HandlerBlockContext handlerBlock() {
			return GetRuleContext<HandlerBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FilterClauseContext filterClause() {
			return GetRuleContext<FilterClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FinallyClauseContext finallyClause() {
			return GetRuleContext<FinallyClauseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public FaultClauseContext faultClause() {
			return GetRuleContext<FaultClauseContext>(0);
		}
		public SehClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sehClause; } }
	}

	[RuleVersion(0)]
	public SehClauseContext sehClause() {
		SehClauseContext _localctx = new SehClauseContext(Context, State);
		EnterRule(_localctx, 276, RULE_sehClause);
		_localctx.Value = CILParser.ExceptionClauseValue.Invalid;
		try {
			State = 2954;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__160:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2938;
				_localctx.caught = catchClause();
				State = 2939;
				_localctx.handler = handlerBlock();
				_localctx.Value = Actions.CreateCatchExceptionClause(_localctx.caught.Value, _localctx.handler.Value);
				}
				break;
			case T__159:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2942;
				_localctx.filtered = filterClause();
				State = 2943;
				_localctx.handler = handlerBlock();
				_localctx.Value = Actions.CreateFilterExceptionClause(_localctx.filtered.Value, _localctx.handler.Value);
				}
				break;
			case T__161:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2946;
				finallyClause();
				State = 2947;
				_localctx.handler = handlerBlock();
				_localctx.Value = Actions.CreateFinallyExceptionClause(_localctx.handler.Value);
				}
				break;
			case T__162:
				EnterOuterAlt(_localctx, 4);
				{
				State = 2950;
				faultClause();
				State = 2951;
				_localctx.handler = handlerBlock();
				_localctx.Value = Actions.CreateFaultExceptionClause(_localctx.handler.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FilterClauseContext : ParserRuleContext {
		public CILParser.ExceptionFilterValue Value;
		public ScopeBlockContext body;
		public IdContext label;
		public Int32Context offset;
		[System.Diagnostics.DebuggerNonUserCode] public ScopeBlockContext scopeBlock() {
			return GetRuleContext<ScopeBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public FilterClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_filterClause; } }
	}

	[RuleVersion(0)]
	public FilterClauseContext filterClause() {
		FilterClauseContext _localctx = new FilterClauseContext(Context, State);
		EnterRule(_localctx, 278, RULE_filterClause);
		_localctx.Value = CILParser.ExceptionFilterValue.Invalid;
		try {
			State = 2968;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,145,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2956;
				Match(T__159);
				State = 2957;
				_localctx.body = scopeBlock();
				_localctx.Value = Actions.CreateScopeFilter(_localctx.body);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2960;
				Match(T__159);
				State = 2961;
				_localctx.label = id();
				_localctx.Value = Actions.CreateLabelFilter((_localctx.label!=null?(_localctx.label.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2964;
				Match(T__159);
				State = 2965;
				_localctx.offset = int32();
				_localctx.Value = Actions.CreateOffsetFilter((_localctx.offset!=null?(_localctx.offset.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class CatchClauseContext : ParserRuleContext {
		public CILParser.CatchTypeValue Value;
		public int InitialSyntaxErrorCount;
		public TypeSpecContext catchType;
		[System.Diagnostics.DebuggerNonUserCode] public TypeSpecContext typeSpec() {
			return GetRuleContext<TypeSpecContext>(0);
		}
		public CatchClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_catchClause; } }
	}

	[RuleVersion(0)]
	public CatchClauseContext catchClause() {
		CatchClauseContext _localctx = new CatchClauseContext(Context, State);
		EnterRule(_localctx, 280, RULE_catchClause);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CatchTypeValue.Invalid;

		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2970;
			Match(T__160);
			State = 2971;
			_localctx.catchType = typeSpec();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.EndCatchClause(_localctx, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class FinallyClauseContext : ParserRuleContext {
		public FinallyClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_finallyClause; } }
	}

	[RuleVersion(0)]
	public FinallyClauseContext finallyClause() {
		FinallyClauseContext _localctx = new FinallyClauseContext(Context, State);
		EnterRule(_localctx, 282, RULE_finallyClause);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2973;
			Match(T__161);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FaultClauseContext : ParserRuleContext {
		public FaultClauseContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_faultClause; } }
	}

	[RuleVersion(0)]
	public FaultClauseContext faultClause() {
		FaultClauseContext _localctx = new FaultClauseContext(Context, State);
		EnterRule(_localctx, 284, RULE_faultClause);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2975;
			Match(T__162);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class HandlerBlockContext : ParserRuleContext {
		public CILParser.ExceptionRangeValue Value;
		public ScopeBlockContext body;
		public IdContext startLabel;
		public IdContext endLabel;
		public Int32Context startOffset;
		public Int32Context endOffset;
		[System.Diagnostics.DebuggerNonUserCode] public ScopeBlockContext scopeBlock() {
			return GetRuleContext<ScopeBlockContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext[] id() {
			return GetRuleContexts<IdContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id(int i) {
			return GetRuleContext<IdContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public HandlerBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_handlerBlock; } }
	}

	[RuleVersion(0)]
	public HandlerBlockContext handlerBlock() {
		HandlerBlockContext _localctx = new HandlerBlockContext(Context, State);
		EnterRule(_localctx, 286, RULE_handlerBlock);
		_localctx.Value = CILParser.ExceptionRangeValue.Invalid;
		try {
			State = 2992;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,146,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2977;
				_localctx.body = scopeBlock();
				_localctx.Value = Actions.CreateScopeExceptionRange(_localctx.body);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 2980;
				Match(T__163);
				State = 2981;
				_localctx.startLabel = id();
				State = 2982;
				Match(T__158);
				State = 2983;
				_localctx.endLabel = id();
				_localctx.Value = Actions.CreateLabelExceptionRange((_localctx.startLabel!=null?(_localctx.startLabel.Start):null), (_localctx.endLabel!=null?(_localctx.endLabel.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 2986;
				Match(T__163);
				State = 2987;
				_localctx.startOffset = int32();
				State = 2988;
				Match(T__158);
				State = 2989;
				_localctx.endOffset = int32();
				_localctx.Value = Actions.CreateOffsetExceptionRange((_localctx.startOffset!=null?(_localctx.startOffset.Start):null), (_localctx.endOffset!=null?(_localctx.endOffset.Start):null));
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DataDeclContext : ParserRuleContext {
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CILParser.DataDeclarationBuilder Builder;
		[System.Diagnostics.DebuggerNonUserCode] public DdHeadContext ddHead() {
			return GetRuleContext<DdHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DdBodyContext ddBody() {
			return GetRuleContext<DdBodyContext>(0);
		}
		public DataDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_dataDecl; } }
	}

	[RuleVersion(0)]
	public DataDeclContext dataDecl() {
		DataDeclContext _localctx = new DataDeclContext(Context, State);
		EnterRule(_localctx, 288, RULE_dataDecl);

			_localctx.Builder = Actions.CreateDataDeclaration(_localctx);
			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;

		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 2994;
			ddHead(_localctx.Builder);
			State = 2995;
			ddBody(_localctx.Builder);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			Actions.EndDataDeclaration(_localctx, _localctx.Builder, _localctx.InitialSyntaxErrorCount);
			ExitRule();
		}
		return _localctx;
	}

	public partial class DdHeadContext : ParserRuleContext {
		public CILParser.DataDeclarationBuilder Builder;
		public TlsContext section;
		public IdContext name;
		[System.Diagnostics.DebuggerNonUserCode] public TlsContext tls() {
			return GetRuleContext<TlsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		public DdHeadContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public DdHeadContext(ParserRuleContext parent, int invokingState, CILParser.DataDeclarationBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_ddHead; } }
	}

	[RuleVersion(0)]
	public DdHeadContext ddHead(CILParser.DataDeclarationBuilder Builder) {
		DdHeadContext _localctx = new DdHeadContext(Context, State, Builder);
		EnterRule(_localctx, 290, RULE_ddHead);
		try {
			State = 3007;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,147,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 2997;
				Match(T__164);
				State = 2998;
				_localctx.section = tls();
				State = 2999;
				_localctx.name = id();
				State = 3000;
				Match(T__35);
				Actions.SetDataDeclarationHeader(_localctx.Builder, _localctx.section.Value, (_localctx.name!=null?(_localctx.name.Start):null));
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3003;
				Match(T__164);
				State = 3004;
				_localctx.section = tls();
				Actions.SetAnonymousDataDeclarationHeader(_localctx.Builder, _localctx.section.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class TlsContext : ParserRuleContext {
		public byte Value;
		public TlsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_tls; } }
	}

	[RuleVersion(0)]
	public TlsContext tls() {
		TlsContext _localctx = new TlsContext(Context, State);
		EnterRule(_localctx, 292, RULE_tls);
		_localctx.Value = Actions.GetMappedDataSection();
		try {
			State = 3014;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,148,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3010;
				Match(T__165);
				_localctx.Value = Actions.GetTlsDataSection(_localctx);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3012;
				Match(T__1);
				_localctx.Value = Actions.GetCilDataSection();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DdBodyContext : ParserRuleContext {
		public CILParser.DataDeclarationBuilder Builder;
		[System.Diagnostics.DebuggerNonUserCode] public DdItemListContext ddItemList() {
			return GetRuleContext<DdItemListContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DdItemContext[] ddItem() {
			return GetRuleContexts<DdItemContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DdItemContext ddItem(int i) {
			return GetRuleContext<DdItemContext>(i);
		}
		public DdBodyContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public DdBodyContext(ParserRuleContext parent, int invokingState, CILParser.DataDeclarationBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_ddBody; } }
	}

	[RuleVersion(0)]
	public DdBodyContext ddBody(CILParser.DataDeclarationBuilder Builder) {
		DdBodyContext _localctx = new DdBodyContext(Context, State, Builder);
		EnterRule(_localctx, 294, RULE_ddBody);
		int _la;
		try {
			State = 3025;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__16:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3016;
				Match(T__16);
				State = 3017;
				ddItemList(_localctx.Builder);
				State = 3018;
				Match(T__17);
				}
				break;
			case T__83:
			case CHAR:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case REF:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3021;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
				do {
					{
					{
					State = 3020;
					ddItem(_localctx.Builder);
					}
					}
					State = 3023;
					ErrorHandler.Sync(this);
					_la = TokenStream.LA(1);
				} while ( _la==T__83 || ((((_la - 180)) & ~0x3f) == 0 && ((1L << (_la - 180)) & 505L) != 0) || _la==REF );
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DdItemListContext : ParserRuleContext {
		public CILParser.DataDeclarationBuilder Builder;
		[System.Diagnostics.DebuggerNonUserCode] public DdItemContext[] ddItem() {
			return GetRuleContexts<DdItemContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DdItemContext ddItem(int i) {
			return GetRuleContext<DdItemContext>(i);
		}
		public DdItemListContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public DdItemListContext(ParserRuleContext parent, int invokingState, CILParser.DataDeclarationBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_ddItemList; } }
	}

	[RuleVersion(0)]
	public DdItemListContext ddItemList(CILParser.DataDeclarationBuilder Builder) {
		DdItemListContext _localctx = new DdItemListContext(Context, State, Builder);
		EnterRule(_localctx, 296, RULE_ddItemList);
		try {
			int _alt;
			EnterOuterAlt(_localctx, 1);
			{
			State = 3032;
			ErrorHandler.Sync(this);
			_alt = Interpreter.AdaptivePredict(TokenStream,151,Context);
			while ( _alt!=2 && _alt!=global::Antlr4.Runtime.Atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					State = 3027;
					ddItem(_localctx.Builder);
					State = 3028;
					Match(T__27);
					}
					} 
				}
				State = 3034;
				ErrorHandler.Sync(this);
				_alt = Interpreter.AdaptivePredict(TokenStream,151,Context);
			}
			State = 3035;
			ddItem(_localctx.Builder);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DdItemCountContext : ParserRuleContext {
		public CILParser.DataDeclarationBuilder Builder;
		public int Value;
		public Int32Context count;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		public DdItemCountContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public DdItemCountContext(ParserRuleContext parent, int invokingState, CILParser.DataDeclarationBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_ddItemCount; } }
	}

	[RuleVersion(0)]
	public DdItemCountContext ddItemCount(CILParser.DataDeclarationBuilder Builder) {
		DdItemCountContext _localctx = new DdItemCountContext(Context, State, Builder);
		EnterRule(_localctx, 298, RULE_ddItemCount);
		_localctx.Value = 1;
		try {
			State = 3043;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case Eof:
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__16:
			case T__17:
			case T__18:
			case T__19:
			case T__20:
			case T__22:
			case T__23:
			case T__24:
			case T__25:
			case T__26:
			case T__27:
			case T__28:
			case T__31:
			case T__32:
			case T__34:
			case T__40:
			case T__47:
			case T__48:
			case T__49:
			case T__72:
			case T__73:
			case T__83:
			case T__116:
			case T__117:
			case T__119:
			case T__120:
			case T__127:
			case T__132:
			case T__138:
			case T__157:
			case T__164:
			case CHAR:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case MODULE:
			case INSTANCE:
			case UNMANAGED:
			case PARAM:
			case REF:
			case SQSTRING:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
			case MRESOURCE:
			case INSTR_NONE:
			case INSTR_VAR:
			case INSTR_I:
			case INSTR_I8:
			case INSTR_R:
			case INSTR_METHOD:
			case INSTR_SIG:
			case INSTR_BRTARGET:
			case INSTR_SWITCH:
			case INSTR_TYPE:
			case INSTR_STRING:
			case INSTR_FIELD:
			case INSTR_TOK:
			case DOTTEDNAME:
			case ID:
			case PERMISSION:
			case PERMISSIONSET:
			case EMITBYTE:
			case MAXSTACK:
			case ENTRYPOINT:
			case ZEROINIT:
			case LOCALS:
			case EXPORT:
			case OVERRIDE:
			case VTENTRY:
				EnterOuterAlt(_localctx, 1);
				{
				}
				break;
			case T__41:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3038;
				Match(T__41);
				State = 3039;
				_localctx.count = int32();
				State = 3040;
				Match(T__42);
				_localctx.Value = Actions.ParseDataItemCount(_localctx.Builder, (_localctx.count!=null?(_localctx.count.Start):null));
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DdItemContext : ParserRuleContext {
		public CILParser.DataDeclarationBuilder Builder;
		public CompQstringContext stringValue;
		public IdContext target;
		public BytesContext byteValue;
		public IToken kind;
		public Float64Context floatingValue;
		public DdItemCountContext count;
		public Int64Context int64Value;
		public Int32Context integerValue;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CHAR() { return GetToken(CILParser.CHAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PTR() { return GetToken(CILParser.PTR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REF() { return GetToken(CILParser.REF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public IdContext id() {
			return GetRuleContext<IdContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context float64() {
			return GetRuleContext<Float64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DdItemCountContext ddItemCount() {
			return GetRuleContext<DdItemCountContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		public DdItemContext(ParserRuleContext parent, int invokingState) : base(parent, invokingState) { }
		public DdItemContext(ParserRuleContext parent, int invokingState, CILParser.DataDeclarationBuilder Builder)
			: base(parent, invokingState)
		{
			this.Builder = Builder;
		}
		public override int RuleIndex { get { return RULE_ddItem; } }
	}

	[RuleVersion(0)]
	public DdItemContext ddItem(CILParser.DataDeclarationBuilder Builder) {
		DdItemContext _localctx = new DdItemContext(Context, State, Builder);
		EnterRule(_localctx, 300, RULE_ddItem);
		int _la;
		try {
			State = 3093;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,153,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3045;
				Match(CHAR);
				State = 3046;
				Match(PTR);
				State = 3047;
				Match(T__29);
				State = 3048;
				_localctx.stringValue = compQstring();
				State = 3049;
				Match(T__30);
				Actions.AddDataString(_localctx.Builder, _localctx.stringValue.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3052;
				Match(REF);
				State = 3053;
				Match(T__29);
				State = 3054;
				_localctx.target = id();
				State = 3055;
				Match(T__30);
				Actions.AddDataReference(_localctx.Builder, (_localctx.target!=null?(_localctx.target.Start):null));
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3058;
				Match(REF);
				State = 3059;
				_localctx.target = id();
				Actions.AddDataReference(_localctx.Builder, (_localctx.target!=null?(_localctx.target.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3062;
				Match(T__83);
				State = 3063;
				Match(T__29);
				State = 3064;
				_localctx.byteValue = bytes();
				State = 3065;
				Match(T__30);
				Actions.AddDataBytes(_localctx.Builder, _localctx.byteValue.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3068;
				_localctx.kind = TokenStream.LT(1);
				_la = TokenStream.LA(1);
				if ( !(_la==FLOAT32 || _la==FLOAT64_) ) {
					_localctx.kind = ErrorHandler.RecoverInline(this);
				}
				else {
					ErrorHandler.ReportMatch(this);
				    Consume();
				}
				State = 3069;
				Match(T__29);
				State = 3070;
				_localctx.floatingValue = float64();
				State = 3071;
				Match(T__30);
				State = 3072;
				_localctx.count = ddItemCount(_localctx.Builder);
				Actions.AddFloatingPointData(_localctx.Builder, _localctx.kind, _localctx.floatingValue.Value, _localctx.count.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3075;
				_localctx.kind = Match(INT64_);
				State = 3076;
				Match(T__29);
				State = 3077;
				_localctx.int64Value = int64();
				State = 3078;
				Match(T__30);
				State = 3079;
				_localctx.count = ddItemCount(_localctx.Builder);
				Actions.AddInt64Data(_localctx.Builder, _localctx.kind, (_localctx.int64Value!=null?(_localctx.int64Value.Start):null), _localctx.count.Value);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 3082;
				_localctx.kind = TokenStream.LT(1);
				_la = TokenStream.LA(1);
				if ( !(((((_la - 183)) & ~0x3f) == 0 && ((1L << (_la - 183)) & 7L) != 0)) ) {
					_localctx.kind = ErrorHandler.RecoverInline(this);
				}
				else {
					ErrorHandler.ReportMatch(this);
				    Consume();
				}
				State = 3083;
				Match(T__29);
				State = 3084;
				_localctx.integerValue = int32();
				State = 3085;
				Match(T__30);
				State = 3086;
				_localctx.count = ddItemCount(_localctx.Builder);
				Actions.AddIntegerData(_localctx.Builder, _localctx.kind, (_localctx.integerValue!=null?(_localctx.integerValue.Start):null), _localctx.count.Value);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 3089;
				_localctx.kind = TokenStream.LT(1);
				_la = TokenStream.LA(1);
				if ( !(((((_la - 183)) & ~0x3f) == 0 && ((1L << (_la - 183)) & 63L) != 0)) ) {
					_localctx.kind = ErrorHandler.RecoverInline(this);
				}
				else {
					ErrorHandler.ReportMatch(this);
				    Consume();
				}
				State = 3090;
				_localctx.count = ddItemCount(_localctx.Builder);
				Actions.AddZeroData(_localctx.Builder, _localctx.kind, _localctx.count.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldSerInitContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public Float64Context float32Value;
		public Float64Context float64Value;
		public Int32Context float32Bits;
		public Int64Context float64Bits;
		public IToken int64Type;
		public Int64Context int64Value;
		public IToken int32Type;
		public Int32Context int32Value;
		public IToken int16Type;
		public Int32Context int16Value;
		public IToken int8Type;
		public Int32Context int8Value;
		public IToken uint64Type;
		public Int64Context uint64Value;
		public IToken uint32Type;
		public Int32Context uint32Value;
		public IToken uint16Type;
		public Int32Context uint16Value;
		public IToken uint8Type;
		public Int32Context uint8Value;
		public IToken charType;
		public Int32Context charValue;
		public IToken boolType;
		public TruefalseContext boolValue;
		public BytesContext byteArrayValue;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context float64() {
			return GetRuleContext<Float64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64() {
			return GetRuleContext<Int64Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT64() { return GetToken(CILParser.UINT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT32() { return GetToken(CILParser.UINT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT16() { return GetToken(CILParser.UINT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT8() { return GetToken(CILParser.UINT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CHAR() { return GetToken(CILParser.CHAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BOOL() { return GetToken(CILParser.BOOL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public TruefalseContext truefalse() {
			return GetRuleContext<TruefalseContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		public FieldSerInitContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldSerInit; } }
	}

	[RuleVersion(0)]
	public FieldSerInitContext fieldSerInit() {
		FieldSerInitContext _localctx = new FieldSerInitContext(Context, State);
		EnterRule(_localctx, 302, RULE_fieldSerInit);
		try {
			State = 3185;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,154,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3095;
				Match(FLOAT32);
				State = 3096;
				Match(T__29);
				State = 3097;
				_localctx.float32Value = float64();
				State = 3098;
				Match(T__30);
				_localctx.Value = Actions.CreateFloat32SerializedInitializer(_localctx.float32Value, _localctx.float32Value.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3101;
				Match(FLOAT64_);
				State = 3102;
				Match(T__29);
				State = 3103;
				_localctx.float64Value = float64();
				State = 3104;
				Match(T__30);
				_localctx.Value = Actions.CreateFloat64SerializedInitializer(_localctx.float64Value, _localctx.float64Value.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3107;
				Match(FLOAT32);
				State = 3108;
				Match(T__29);
				State = 3109;
				_localctx.float32Bits = int32();
				State = 3110;
				Match(T__30);
				_localctx.Value = Actions.CreateFloat32BitsSerializedInitializer((_localctx.float32Bits!=null?(_localctx.float32Bits.Start):null));
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3113;
				Match(FLOAT64_);
				State = 3114;
				Match(T__29);
				State = 3115;
				_localctx.float64Bits = int64();
				State = 3116;
				Match(T__30);
				_localctx.Value = Actions.CreateFloat64BitsSerializedInitializer((_localctx.float64Bits!=null?(_localctx.float64Bits.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3119;
				_localctx.int64Type = Match(INT64_);
				State = 3120;
				Match(T__29);
				State = 3121;
				_localctx.int64Value = int64();
				State = 3122;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.int64Type, (_localctx.int64Value!=null?(_localctx.int64Value.Start):null));
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3125;
				_localctx.int32Type = Match(INT32_);
				State = 3126;
				Match(T__29);
				State = 3127;
				_localctx.int32Value = int32();
				State = 3128;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.int32Type, (_localctx.int32Value!=null?(_localctx.int32Value.Start):null));
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 3131;
				_localctx.int16Type = Match(INT16);
				State = 3132;
				Match(T__29);
				State = 3133;
				_localctx.int16Value = int32();
				State = 3134;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.int16Type, (_localctx.int16Value!=null?(_localctx.int16Value.Start):null));
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 3137;
				_localctx.int8Type = Match(INT8);
				State = 3138;
				Match(T__29);
				State = 3139;
				_localctx.int8Value = int32();
				State = 3140;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.int8Type, (_localctx.int8Value!=null?(_localctx.int8Value.Start):null));
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 3143;
				_localctx.uint64Type = Match(UINT64);
				State = 3144;
				Match(T__29);
				State = 3145;
				_localctx.uint64Value = int64();
				State = 3146;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.uint64Type, (_localctx.uint64Value!=null?(_localctx.uint64Value.Start):null));
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 3149;
				_localctx.uint32Type = Match(UINT32);
				State = 3150;
				Match(T__29);
				State = 3151;
				_localctx.uint32Value = int32();
				State = 3152;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.uint32Type, (_localctx.uint32Value!=null?(_localctx.uint32Value.Start):null));
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 3155;
				_localctx.uint16Type = Match(UINT16);
				State = 3156;
				Match(T__29);
				State = 3157;
				_localctx.uint16Value = int32();
				State = 3158;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.uint16Type, (_localctx.uint16Value!=null?(_localctx.uint16Value.Start):null));
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 3161;
				_localctx.uint8Type = Match(UINT8);
				State = 3162;
				Match(T__29);
				State = 3163;
				_localctx.uint8Value = int32();
				State = 3164;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.uint8Type, (_localctx.uint8Value!=null?(_localctx.uint8Value.Start):null));
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 3167;
				_localctx.charType = Match(CHAR);
				State = 3168;
				Match(T__29);
				State = 3169;
				_localctx.charValue = int32();
				State = 3170;
				Match(T__30);
				_localctx.Value = Actions.CreateIntegerSerializedInitializer(_localctx.charType, (_localctx.charValue!=null?(_localctx.charValue.Start):null));
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 3173;
				_localctx.boolType = Match(BOOL);
				State = 3174;
				Match(T__29);
				State = 3175;
				_localctx.boolValue = truefalse();
				State = 3176;
				Match(T__30);
				_localctx.Value = Actions.CreateBooleanSerializedInitializer(_localctx.boolType, _localctx.boolValue.Value);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 3179;
				Match(T__83);
				State = 3180;
				Match(T__29);
				State = 3181;
				_localctx.byteArrayValue = bytes();
				State = 3182;
				Match(T__30);
				_localctx.Value = Actions.CreateByteArraySerializedInitializer(_localctx.byteArrayValue.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value ??= new System.Reflection.Metadata.BlobBuilder();
			ExitRule();
		}
		return _localctx;
	}

	public partial class BytesContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<byte> Value;
		public System.Collections.Immutable.ImmutableArray<byte>.Builder Builder;
		public HexbyteContext b;
		[System.Diagnostics.DebuggerNonUserCode] public HexbyteContext[] hexbyte() {
			return GetRuleContexts<HexbyteContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public HexbyteContext hexbyte(int i) {
			return GetRuleContext<HexbyteContext>(i);
		}
		public BytesContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_bytes; } }
	}

	[RuleVersion(0)]
	public BytesContext bytes() {
		BytesContext _localctx = new BytesContext(Context, State);
		EnterRule(_localctx, 304, RULE_bytes);
		_localctx.Builder = Actions.CreateByteAccumulator();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3192;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==INT32 || _la==ID || _la==HEXBYTE) {
				{
				{
				State = 3187;
				_localctx.b = hexbyte();
				Actions.AddByte(_localctx.Builder, _localctx.b.Value);
				}
				}
				State = 3194;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = Actions.EndBytes(_localctx.Builder);
			ExitRule();
		}
		return _localctx;
	}

	public partial class HexbyteContext : ParserRuleContext {
		public byte Value;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32() { return GetToken(CILParser.INT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ID() { return GetToken(CILParser.ID, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HEXBYTE() { return GetToken(CILParser.HEXBYTE, 0); }
		public HexbyteContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_hexbyte; } }
	}

	[RuleVersion(0)]
	public HexbyteContext hexbyte() {
		HexbyteContext _localctx = new HexbyteContext(Context, State);
		EnterRule(_localctx, 306, RULE_hexbyte);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3195;
			_la = TokenStream.LA(1);
			if ( !(_la==INT32 || _la==ID || _la==HEXBYTE) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = GrammarActions.ParseHexbyte(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class FieldInitContext : ParserRuleContext {
		public CILParser.FieldInitializerValue Value;
		public FieldSerInitContext serializedValue;
		public CompQstringContext stringValue;
		[System.Diagnostics.DebuggerNonUserCode] public FieldSerInitContext fieldSerInit() {
			return GetRuleContext<FieldSerInitContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULLREF() { return GetToken(CILParser.NULLREF, 0); }
		public FieldInitContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_fieldInit; } }
	}

	[RuleVersion(0)]
	public FieldInitContext fieldInit() {
		FieldInitContext _localctx = new FieldInitContext(Context, State);
		EnterRule(_localctx, 308, RULE_fieldInit);
		_localctx.Value = CILParser.FieldInitializerValue.Empty;
		try {
			State = 3205;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__83:
			case CHAR:
			case BOOL:
			case INT8:
			case INT16:
			case INT32_:
			case INT64_:
			case FLOAT32:
			case FLOAT64_:
			case UINT8:
			case UINT16:
			case UINT32:
			case UINT64:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3197;
				_localctx.serializedValue = fieldSerInit();
				_localctx.Value = Actions.CreateFieldInitializer(_localctx.serializedValue.Value);
				}
				break;
			case QSTRING:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3200;
				_localctx.stringValue = compQstring();
				_localctx.Value = Actions.CreateFieldInitializer(_localctx.stringValue.Value);
				}
				break;
			case NULLREF:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3203;
				Match(NULLREF);
				_localctx.Value = Actions.CreateNullFieldInitializer();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class SerInitContext : ParserRuleContext {
		public CILParser.SerializedInitializerValue Value;
		public FieldSerInitContext scalarValue;
		public IToken stringToken;
		public IToken typeToken;
		public ClassNameContext typeName;
		public SerInitContext objectValue;
		public IToken f32ElementToken;
		public Int32Context f32Length;
		public F32seqContext f32Values;
		public IToken f64ElementToken;
		public Int32Context f64Length;
		public F64seqContext f64Values;
		public IToken i64ElementToken;
		public Int32Context i64Length;
		public I64seqContext i64Values;
		public IToken i32ElementToken;
		public Int32Context i32Length;
		public I32seqContext i32Values;
		public IToken i16ElementToken;
		public Int32Context i16Length;
		public I16seqContext i16Values;
		public IToken i8ElementToken;
		public Int32Context i8Length;
		public I8seqContext i8Values;
		public IToken u64ElementToken;
		public Int32Context u64Length;
		public I64seqContext u64Values;
		public IToken u32ElementToken;
		public Int32Context u32Length;
		public I32seqContext u32Values;
		public IToken u16ElementToken;
		public Int32Context u16Length;
		public I16seqContext u16Values;
		public IToken u8ElementToken;
		public Int32Context u8Length;
		public I8seqContext u8Values;
		public IToken charElementToken;
		public Int32Context charLength;
		public I16seqContext charValues;
		public IToken boolElementToken;
		public Int32Context boolLength;
		public BoolSeqContext boolValues;
		public IToken stringElementToken;
		public Int32Context stringLength;
		public SqstringSeqContext stringValues;
		public IToken typeElementToken;
		public Int32Context typeLength;
		public ClassSeqContext typeValues;
		public IToken objectElementToken;
		public Int32Context objectLength;
		public ObjSeqContext objectValues;
		[System.Diagnostics.DebuggerNonUserCode] public FieldSerInitContext fieldSerInit() {
			return GetRuleContext<FieldSerInitContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRING() { return GetToken(CILParser.STRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULLREF() { return GetToken(CILParser.NULLREF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TYPE() { return GetToken(CILParser.TYPE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OBJECT() { return GetToken(CILParser.OBJECT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext serInit() {
			return GetRuleContext<SerInitContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT32() { return GetToken(CILParser.FLOAT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public F32seqContext f32seq() {
			return GetRuleContext<F32seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FLOAT64_() { return GetToken(CILParser.FLOAT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public F64seqContext f64seq() {
			return GetRuleContext<F64seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT64_() { return GetToken(CILParser.INT64_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public I64seqContext i64seq() {
			return GetRuleContext<I64seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT32_() { return GetToken(CILParser.INT32_, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public I32seqContext i32seq() {
			return GetRuleContext<I32seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT16() { return GetToken(CILParser.INT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public I16seqContext i16seq() {
			return GetRuleContext<I16seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INT8() { return GetToken(CILParser.INT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public I8seqContext i8seq() {
			return GetRuleContext<I8seqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT64() { return GetToken(CILParser.UINT64, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT32() { return GetToken(CILParser.UINT32, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT16() { return GetToken(CILParser.UINT16, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UINT8() { return GetToken(CILParser.UINT8, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CHAR() { return GetToken(CILParser.CHAR, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BOOL() { return GetToken(CILParser.BOOL, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public BoolSeqContext boolSeq() {
			return GetRuleContext<BoolSeqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SqstringSeqContext sqstringSeq() {
			return GetRuleContext<SqstringSeqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassSeqContext classSeq() {
			return GetRuleContext<ClassSeqContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ObjSeqContext objSeq() {
			return GetRuleContext<ObjSeqContext>(0);
		}
		public SerInitContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_serInit; } }
	}

	[RuleVersion(0)]
	public SerInitContext serInit() {
		SerInitContext _localctx = new SerInitContext(Context, State);
		EnterRule(_localctx, 310, RULE_serInit);
		_localctx.Value = CILParser.SerializedInitializerValue.Error;
		try {
			State = 3378;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,157,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3207;
				_localctx.scalarValue = fieldSerInit();
				_localctx.Value = Actions.CreateScalarSerializedValue(_localctx, _localctx.scalarValue, _localctx.scalarValue.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3210;
				Match(STRING);
				State = 3211;
				Match(T__29);
				State = 3212;
				Match(NULLREF);
				State = 3213;
				Match(T__30);
				_localctx.Value = Actions.CreateStringSerializedValue();
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3215;
				Match(STRING);
				State = 3216;
				Match(T__29);
				State = 3217;
				_localctx.stringToken = Match(SQSTRING);
				State = 3218;
				Match(T__30);
				_localctx.Value = Actions.CreateStringSerializedValue(_localctx.stringToken);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3220;
				Match(TYPE);
				State = 3221;
				Match(T__29);
				State = 3222;
				Match(T__38);
				State = 3223;
				_localctx.typeToken = Match(SQSTRING);
				State = 3224;
				Match(T__30);
				_localctx.Value = Actions.CreateTypeSerializedValue(_localctx.typeToken);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3226;
				Match(TYPE);
				State = 3227;
				Match(T__29);
				State = 3228;
				_localctx.typeName = className();
				State = 3229;
				Match(T__30);
				_localctx.Value = Actions.CreateTypeSerializedValue(_localctx.typeName.Value);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3232;
				Match(TYPE);
				State = 3233;
				Match(T__29);
				State = 3234;
				Match(NULLREF);
				State = 3235;
				Match(T__30);
				_localctx.Value = Actions.CreateNullTypeSerializedValue();
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 3237;
				Match(OBJECT);
				State = 3238;
				Match(T__29);
				State = 3239;
				_localctx.objectValue = serInit();
				State = 3240;
				Match(T__30);
				_localctx.Value = Actions.CreateObjectSerializedValue(_localctx.objectValue.Value);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 3243;
				_localctx.f32ElementToken = Match(FLOAT32);
				State = 3244;
				Match(T__41);
				State = 3245;
				_localctx.f32Length = int32();
				State = 3246;
				Match(T__42);
				State = 3247;
				Match(T__29);
				State = 3248;
				_localctx.f32Values = f32seq();
				State = 3249;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.f32ElementToken, (_localctx.f32Length!=null?(_localctx.f32Length.Start):null), _localctx.f32Values.Value);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 3252;
				_localctx.f64ElementToken = Match(FLOAT64_);
				State = 3253;
				Match(T__41);
				State = 3254;
				_localctx.f64Length = int32();
				State = 3255;
				Match(T__42);
				State = 3256;
				Match(T__29);
				State = 3257;
				_localctx.f64Values = f64seq();
				State = 3258;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.f64ElementToken, (_localctx.f64Length!=null?(_localctx.f64Length.Start):null), _localctx.f64Values.Value);
				}
				break;
			case 10:
				EnterOuterAlt(_localctx, 10);
				{
				State = 3261;
				_localctx.i64ElementToken = Match(INT64_);
				State = 3262;
				Match(T__41);
				State = 3263;
				_localctx.i64Length = int32();
				State = 3264;
				Match(T__42);
				State = 3265;
				Match(T__29);
				State = 3266;
				_localctx.i64Values = i64seq();
				State = 3267;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.i64ElementToken, (_localctx.i64Length!=null?(_localctx.i64Length.Start):null), _localctx.i64Values.Value);
				}
				break;
			case 11:
				EnterOuterAlt(_localctx, 11);
				{
				State = 3270;
				_localctx.i32ElementToken = Match(INT32_);
				State = 3271;
				Match(T__41);
				State = 3272;
				_localctx.i32Length = int32();
				State = 3273;
				Match(T__42);
				State = 3274;
				Match(T__29);
				State = 3275;
				_localctx.i32Values = i32seq();
				State = 3276;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.i32ElementToken, (_localctx.i32Length!=null?(_localctx.i32Length.Start):null), _localctx.i32Values.Value);
				}
				break;
			case 12:
				EnterOuterAlt(_localctx, 12);
				{
				State = 3279;
				_localctx.i16ElementToken = Match(INT16);
				State = 3280;
				Match(T__41);
				State = 3281;
				_localctx.i16Length = int32();
				State = 3282;
				Match(T__42);
				State = 3283;
				Match(T__29);
				State = 3284;
				_localctx.i16Values = i16seq();
				State = 3285;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.i16ElementToken, (_localctx.i16Length!=null?(_localctx.i16Length.Start):null), _localctx.i16Values.Value);
				}
				break;
			case 13:
				EnterOuterAlt(_localctx, 13);
				{
				State = 3288;
				_localctx.i8ElementToken = Match(INT8);
				State = 3289;
				Match(T__41);
				State = 3290;
				_localctx.i8Length = int32();
				State = 3291;
				Match(T__42);
				State = 3292;
				Match(T__29);
				State = 3293;
				_localctx.i8Values = i8seq();
				State = 3294;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.i8ElementToken, (_localctx.i8Length!=null?(_localctx.i8Length.Start):null), _localctx.i8Values.Value);
				}
				break;
			case 14:
				EnterOuterAlt(_localctx, 14);
				{
				State = 3297;
				_localctx.u64ElementToken = Match(UINT64);
				State = 3298;
				Match(T__41);
				State = 3299;
				_localctx.u64Length = int32();
				State = 3300;
				Match(T__42);
				State = 3301;
				Match(T__29);
				State = 3302;
				_localctx.u64Values = i64seq();
				State = 3303;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.u64ElementToken, (_localctx.u64Length!=null?(_localctx.u64Length.Start):null), _localctx.u64Values.Value);
				}
				break;
			case 15:
				EnterOuterAlt(_localctx, 15);
				{
				State = 3306;
				_localctx.u32ElementToken = Match(UINT32);
				State = 3307;
				Match(T__41);
				State = 3308;
				_localctx.u32Length = int32();
				State = 3309;
				Match(T__42);
				State = 3310;
				Match(T__29);
				State = 3311;
				_localctx.u32Values = i32seq();
				State = 3312;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.u32ElementToken, (_localctx.u32Length!=null?(_localctx.u32Length.Start):null), _localctx.u32Values.Value);
				}
				break;
			case 16:
				EnterOuterAlt(_localctx, 16);
				{
				State = 3315;
				_localctx.u16ElementToken = Match(UINT16);
				State = 3316;
				Match(T__41);
				State = 3317;
				_localctx.u16Length = int32();
				State = 3318;
				Match(T__42);
				State = 3319;
				Match(T__29);
				State = 3320;
				_localctx.u16Values = i16seq();
				State = 3321;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.u16ElementToken, (_localctx.u16Length!=null?(_localctx.u16Length.Start):null), _localctx.u16Values.Value);
				}
				break;
			case 17:
				EnterOuterAlt(_localctx, 17);
				{
				State = 3324;
				_localctx.u8ElementToken = Match(UINT8);
				State = 3325;
				Match(T__41);
				State = 3326;
				_localctx.u8Length = int32();
				State = 3327;
				Match(T__42);
				State = 3328;
				Match(T__29);
				State = 3329;
				_localctx.u8Values = i8seq();
				State = 3330;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.u8ElementToken, (_localctx.u8Length!=null?(_localctx.u8Length.Start):null), _localctx.u8Values.Value);
				}
				break;
			case 18:
				EnterOuterAlt(_localctx, 18);
				{
				State = 3333;
				_localctx.charElementToken = Match(CHAR);
				State = 3334;
				Match(T__41);
				State = 3335;
				_localctx.charLength = int32();
				State = 3336;
				Match(T__42);
				State = 3337;
				Match(T__29);
				State = 3338;
				_localctx.charValues = i16seq();
				State = 3339;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.charElementToken, (_localctx.charLength!=null?(_localctx.charLength.Start):null), _localctx.charValues.Value);
				}
				break;
			case 19:
				EnterOuterAlt(_localctx, 19);
				{
				State = 3342;
				_localctx.boolElementToken = Match(BOOL);
				State = 3343;
				Match(T__41);
				State = 3344;
				_localctx.boolLength = int32();
				State = 3345;
				Match(T__42);
				State = 3346;
				Match(T__29);
				State = 3347;
				_localctx.boolValues = boolSeq();
				State = 3348;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.boolElementToken, (_localctx.boolLength!=null?(_localctx.boolLength.Start):null), _localctx.boolValues.Value);
				}
				break;
			case 20:
				EnterOuterAlt(_localctx, 20);
				{
				State = 3351;
				_localctx.stringElementToken = Match(STRING);
				State = 3352;
				Match(T__41);
				State = 3353;
				_localctx.stringLength = int32();
				State = 3354;
				Match(T__42);
				State = 3355;
				Match(T__29);
				State = 3356;
				_localctx.stringValues = sqstringSeq();
				State = 3357;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.stringElementToken, (_localctx.stringLength!=null?(_localctx.stringLength.Start):null), _localctx.stringValues.Value);
				}
				break;
			case 21:
				EnterOuterAlt(_localctx, 21);
				{
				State = 3360;
				_localctx.typeElementToken = Match(TYPE);
				State = 3361;
				Match(T__41);
				State = 3362;
				_localctx.typeLength = int32();
				State = 3363;
				Match(T__42);
				State = 3364;
				Match(T__29);
				State = 3365;
				_localctx.typeValues = classSeq();
				State = 3366;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.typeElementToken, (_localctx.typeLength!=null?(_localctx.typeLength.Start):null), _localctx.typeValues.Value);
				}
				break;
			case 22:
				EnterOuterAlt(_localctx, 22);
				{
				State = 3369;
				_localctx.objectElementToken = Match(OBJECT);
				State = 3370;
				Match(T__41);
				State = 3371;
				_localctx.objectLength = int32();
				State = 3372;
				Match(T__42);
				State = 3373;
				Match(T__29);
				State = 3374;
				_localctx.objectValues = objSeq();
				State = 3375;
				Match(T__30);
				_localctx.Value = Actions.CreateArraySerializedValue(_localctx.objectElementToken, (_localctx.objectLength!=null?(_localctx.objectLength.Start):null), _localctx.objectValues.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class F32seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Float64Context floatingValue;
		public Int32Context integerValue;
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context[] float64() {
			return GetRuleContexts<Float64Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context float64(int i) {
			return GetRuleContext<Float64Context>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public F32seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_f32seq; } }
	}

	[RuleVersion(0)]
	public F32seqContext f32seq() {
		F32seqContext _localctx = new F32seqContext(Context, State);
		EnterRule(_localctx, 312, RULE_f32seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3388;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (((((_la - 172)) & ~0x3f) == 0 && ((1L << (_la - 172)) & 98309L) != 0)) {
				{
				State = 3386;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,158,Context) ) {
				case 1:
					{
					State = 3380;
					_localctx.floatingValue = float64();
					Actions.AddFloat32SequenceValue(_localctx.Builder, _localctx.floatingValue.Value);
					}
					break;
				case 2:
					{
					State = 3383;
					_localctx.integerValue = int32();
					Actions.AddFloat32SequenceValue(_localctx.Builder, (_localctx.integerValue!=null?(_localctx.integerValue.Start):null));
					}
					break;
				}
				}
				State = 3390;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class F64seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Float64Context floatingValue;
		public Int64Context integerValue;
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context[] float64() {
			return GetRuleContexts<Float64Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Float64Context float64(int i) {
			return GetRuleContext<Float64Context>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context[] int64() {
			return GetRuleContexts<Int64Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64(int i) {
			return GetRuleContext<Int64Context>(i);
		}
		public F64seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_f64seq; } }
	}

	[RuleVersion(0)]
	public F64seqContext f64seq() {
		F64seqContext _localctx = new F64seqContext(Context, State);
		EnterRule(_localctx, 314, RULE_f64seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3399;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (((((_la - 172)) & ~0x3f) == 0 && ((1L << (_la - 172)) & 98311L) != 0)) {
				{
				State = 3397;
				ErrorHandler.Sync(this);
				switch ( Interpreter.AdaptivePredict(TokenStream,160,Context) ) {
				case 1:
					{
					State = 3391;
					_localctx.floatingValue = float64();
					Actions.AddFloat64SequenceValue(_localctx.Builder, _localctx.floatingValue.Value);
					}
					break;
				case 2:
					{
					State = 3394;
					_localctx.integerValue = int64();
					Actions.AddFloat64SequenceValue(_localctx.Builder, (_localctx.integerValue!=null?(_localctx.integerValue.Start):null));
					}
					break;
				}
				}
				State = 3401;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class I64seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Int64Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context[] int64() {
			return GetRuleContexts<Int64Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int64Context int64(int i) {
			return GetRuleContext<Int64Context>(i);
		}
		public I64seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_i64seq; } }
	}

	[RuleVersion(0)]
	public I64seqContext i64seq() {
		I64seqContext _localctx = new I64seqContext(Context, State);
		EnterRule(_localctx, 316, RULE_i64seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3407;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==INT32 || _la==INT64) {
				{
				{
				State = 3402;
				_localctx.value = int64();
				Actions.AddInt64SequenceValue(_localctx.Builder, (_localctx.value!=null?(_localctx.value.Start):null));
				}
				}
				State = 3409;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class I32seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public I32seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_i32seq; } }
	}

	[RuleVersion(0)]
	public I32seqContext i32seq() {
		I32seqContext _localctx = new I32seqContext(Context, State);
		EnterRule(_localctx, 318, RULE_i32seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3415;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==INT32) {
				{
				{
				State = 3410;
				_localctx.value = int32();
				Actions.AddInt32SequenceValue(_localctx.Builder, (_localctx.value!=null?(_localctx.value.Start):null));
				}
				}
				State = 3417;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class I16seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public I16seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_i16seq; } }
	}

	[RuleVersion(0)]
	public I16seqContext i16seq() {
		I16seqContext _localctx = new I16seqContext(Context, State);
		EnterRule(_localctx, 320, RULE_i16seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3423;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==INT32) {
				{
				{
				State = 3418;
				_localctx.value = int32();
				Actions.AddInt16SequenceValue(_localctx.Builder, (_localctx.value!=null?(_localctx.value.Start):null));
				}
				}
				State = 3425;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class I8seqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public Int32Context value;
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context[] int32() {
			return GetRuleContexts<Int32Context>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32(int i) {
			return GetRuleContext<Int32Context>(i);
		}
		public I8seqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_i8seq; } }
	}

	[RuleVersion(0)]
	public I8seqContext i8seq() {
		I8seqContext _localctx = new I8seqContext(Context, State);
		EnterRule(_localctx, 322, RULE_i8seq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3431;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==INT32) {
				{
				{
				State = 3426;
				_localctx.value = int32();
				Actions.AddInt8SequenceValue(_localctx.Builder, (_localctx.value!=null?(_localctx.value.Start):null));
				}
				}
				State = 3433;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class BoolSeqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public TruefalseContext value;
		[System.Diagnostics.DebuggerNonUserCode] public TruefalseContext[] truefalse() {
			return GetRuleContexts<TruefalseContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public TruefalseContext truefalse(int i) {
			return GetRuleContext<TruefalseContext>(i);
		}
		public BoolSeqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_boolSeq; } }
	}

	[RuleVersion(0)]
	public BoolSeqContext boolSeq() {
		BoolSeqContext _localctx = new BoolSeqContext(Context, State);
		EnterRule(_localctx, 324, RULE_boolSeq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3439;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__94 || _la==T__95) {
				{
				{
				State = 3434;
				_localctx.value = truefalse();
				Actions.AddBooleanSequenceValue(_localctx.Builder, _localctx.value.Value);
				}
				}
				State = 3441;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class SqstringSeqContext : ParserRuleContext {
		public System.Reflection.Metadata.BlobBuilder Value;
		public System.Reflection.Metadata.BlobBuilder Builder;
		public IToken nullValue;
		public IToken stringValue;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] NULLREF() { return GetTokens(CILParser.NULLREF); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULLREF(int i) {
			return GetToken(CILParser.NULLREF, i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode[] SQSTRING() { return GetTokens(CILParser.SQSTRING); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING(int i) {
			return GetToken(CILParser.SQSTRING, i);
		}
		public SqstringSeqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_sqstringSeq; } }
	}

	[RuleVersion(0)]
	public SqstringSeqContext sqstringSeq() {
		SqstringSeqContext _localctx = new SqstringSeqContext(Context, State);
		EnterRule(_localctx, 326, RULE_sqstringSeq);
		_localctx.Builder = new System.Reflection.Metadata.BlobBuilder();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3448;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==NULLREF || _la==SQSTRING) {
				{
				State = 3446;
				ErrorHandler.Sync(this);
				switch (TokenStream.LA(1)) {
				case NULLREF:
					{
					State = 3442;
					_localctx.nullValue = Match(NULLREF);
					Actions.AddStringSequenceValue(_localctx.Builder, _localctx.nullValue);
					}
					break;
				case SQSTRING:
					{
					State = 3444;
					_localctx.stringValue = Match(SQSTRING);
					Actions.AddStringSequenceValue(_localctx.Builder, _localctx.stringValue);
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				State = 3450;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder;
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassSeqContext : ParserRuleContext {
		public CILParser.SerializedSequenceValue Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.ClassSequenceElementValue>.Builder Builder;
		public ClassSeqElementContext value;
		[System.Diagnostics.DebuggerNonUserCode] public ClassSeqElementContext[] classSeqElement() {
			return GetRuleContexts<ClassSeqElementContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ClassSeqElementContext classSeqElement(int i) {
			return GetRuleContext<ClassSeqElementContext>(i);
		}
		public ClassSeqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classSeq; } }
	}

	[RuleVersion(0)]
	public ClassSeqContext classSeq() {
		ClassSeqContext _localctx = new ClassSeqContext(Context, State);
		EnterRule(_localctx, 328, RULE_classSeq);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.ClassSequenceElementValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3456;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4947802456062L) != 0) || _la==T__112 || _la==NULLREF || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105553118478353L) != 0)) {
				{
				{
				State = 3451;
				_localctx.value = classSeqElement();
				_localctx.Builder.Add(_localctx.value.Value);
				}
				}
				State = 3458;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = new CILParser.ClassSerializedSequenceValue(_localctx.Builder.ToImmutable());
			ExitRule();
		}
		return _localctx;
	}

	public partial class ClassSeqElementContext : ParserRuleContext {
		public CILParser.ClassSequenceElementValue Value;
		public IToken quotedValue;
		public ClassNameContext typeValue;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULLREF() { return GetToken(CILParser.NULLREF, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SQSTRING() { return GetToken(CILParser.SQSTRING, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ClassNameContext className() {
			return GetRuleContext<ClassNameContext>(0);
		}
		public ClassSeqElementContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_classSeqElement; } }
	}

	[RuleVersion(0)]
	public ClassSeqElementContext classSeqElement() {
		ClassSeqElementContext _localctx = new ClassSeqElementContext(Context, State);
		EnterRule(_localctx, 330, RULE_classSeqElement);
		_localctx.Value = CILParser.ClassSequenceElementValue.Error;
		try {
			State = 3467;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case NULLREF:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3459;
				Match(NULLREF);
				_localctx.Value = Actions.CreateNullClassSequenceValue();
				}
				break;
			case T__38:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3461;
				Match(T__38);
				State = 3462;
				_localctx.quotedValue = Match(SQSTRING);
				_localctx.Value = Actions.CreateQuotedClassSequenceValue(_localctx.quotedValue);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__41:
			case T__112:
			case INSTANCE:
			case UNMANAGED:
			case THIS:
			case BASE:
			case NESTER:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3464;
				_localctx.typeValue = className();
				_localctx.Value = Actions.CreateClassSequenceValue(_localctx.typeValue.Value);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ObjSeqContext : ParserRuleContext {
		public CILParser.SerializedSequenceValue Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.SerializedInitializerValue>.Builder Builder;
		public SerInitContext value;
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext[] serInit() {
			return GetRuleContexts<SerInitContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public SerInitContext serInit(int i) {
			return GetRuleContext<SerInitContext>(i);
		}
		public ObjSeqContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_objSeq; } }
	}

	[RuleVersion(0)]
	public ObjSeqContext objSeq() {
		ObjSeqContext _localctx = new ObjSeqContext(Context, State);
		EnterRule(_localctx, 332, RULE_objSeq);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.SerializedInitializerValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3474;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__83 || ((((_la - 180)) & ~0x3f) == 0 && ((1L << (_la - 180)) & 106495L) != 0)) {
				{
				{
				State = 3469;
				_localctx.value = serInit();
				_localctx.Builder.Add(_localctx.value.Value);
				}
				}
				State = 3476;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = new CILParser.ObjectSerializedSequenceValue(_localctx.Builder.ToImmutable());
			ExitRule();
		}
		return _localctx;
	}

	public partial class CustomAttrDeclContext : ParserRuleContext {
		public CILParser.CustomAttributeDeclarationValue Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public CustomDescrContext directAttribute;
		public CustomDescrWithOwnerContext ownedAttribute;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrContext customDescr() {
			return GetRuleContext<CustomDescrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomDescrWithOwnerContext customDescrWithOwner() {
			return GetRuleContext<CustomDescrWithOwnerContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public CustomAttrDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_customAttrDecl; } }
	}

	[RuleVersion(0)]
	public CustomAttrDeclContext customAttrDecl() {
		CustomAttrDeclContext _localctx = new CustomAttrDeclContext(Context, State);
		EnterRule(_localctx, 334, RULE_customAttrDecl);

			_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
			_localctx.Value = CILParser.CustomAttributeDeclarationValue.Error;

		try {
			State = 3486;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,172,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3477;
				_localctx.directAttribute = customDescr();
				_localctx.Value = Actions.CreateCustomAttributeDeclaration(_localctx.directAttribute.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3480;
				_localctx.ownedAttribute = customDescrWithOwner();
				_localctx.Value = Actions.CreateCustomAttributeDeclaration(_localctx.ownedAttribute.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3483;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateCustomAttributeTypedef(_localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;

			ExitRule();
		}
		return _localctx;
	}

	public partial class AsmOrRefDeclContext : ParserRuleContext {
		public CILParser.AssemblyDeclarationValue? Value;
		public BytesContext key;
		public IntOrWildcardContext major;
		public IntOrWildcardContext minor;
		public IntOrWildcardContext build;
		public IntOrWildcardContext revision;
		public CompQstringContext locale;
		public BytesContext localeBytes;
		public CustomAttrDeclContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public IntOrWildcardContext[] intOrWildcard() {
			return GetRuleContexts<IntOrWildcardContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public IntOrWildcardContext intOrWildcard(int i) {
			return GetRuleContext<IntOrWildcardContext>(i);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompQstringContext compQstring() {
			return GetRuleContext<CompQstringContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		public AsmOrRefDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_asmOrRefDecl; } }
	}

	[RuleVersion(0)]
	public AsmOrRefDeclContext asmOrRefDecl() {
		AsmOrRefDeclContext _localctx = new AsmOrRefDeclContext(Context, State);
		EnterRule(_localctx, 336, RULE_asmOrRefDecl);
		try {
			State = 3520;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,173,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3488;
				Match(T__166);
				State = 3489;
				Match(T__35);
				State = 3490;
				Match(T__29);
				State = 3491;
				_localctx.key = bytes();
				State = 3492;
				Match(T__30);
				_localctx.Value = Actions.CreateAssemblyPublicKeyDeclaration(_localctx.key.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3495;
				Match(T__167);
				State = 3496;
				_localctx.major = intOrWildcard();
				State = 3497;
				Match(T__74);
				State = 3498;
				_localctx.minor = intOrWildcard();
				State = 3499;
				Match(T__74);
				State = 3500;
				_localctx.build = intOrWildcard();
				State = 3501;
				Match(T__74);
				State = 3502;
				_localctx.revision = intOrWildcard();
				_localctx.Value = Actions.CreateAssemblyVersionDeclaration(
							_localctx.major.Value,
							_localctx.minor.Value,
							_localctx.build.Value,
							_localctx.revision.Value);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3505;
				Match(T__168);
				State = 3506;
				_localctx.locale = compQstring();
				_localctx.Value = Actions.CreateAssemblyLocaleDeclaration(_localctx.locale.Value);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3509;
				Match(T__168);
				State = 3510;
				Match(T__35);
				State = 3511;
				Match(T__29);
				State = 3512;
				_localctx.localeBytes = bytes();
				State = 3513;
				Match(T__30);
				_localctx.Value = Actions.CreateAssemblyLocaleDeclaration(_localctx.localeBytes.Value);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3516;
				_localctx.attribute = customAttrDecl();
				_localctx.Value = Actions.CreateAssemblyCustomAttributeDeclaration(
							_localctx.attribute.Value,
							(_localctx.attribute!=null?(_localctx.attribute.Start):null));
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3519;
				compControl();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyRefBlockContext : ParserRuleContext {
		public CILParser.AssemblyReferenceValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public AssemblyRefHeadContext header;
		public AssemblyRefDeclsContext declarations;
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyRefHeadContext assemblyRefHead() {
			return GetRuleContext<AssemblyRefHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyRefDeclsContext assemblyRefDecls() {
			return GetRuleContext<AssemblyRefDeclsContext>(0);
		}
		public AssemblyRefBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyRefBlock; } }
	}

	[RuleVersion(0)]
	public AssemblyRefBlockContext assemblyRefBlock() {
		AssemblyRefBlockContext _localctx = new AssemblyRefBlockContext(Context, State);
		EnterRule(_localctx, 338, RULE_assemblyRefBlock);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3522;
			_localctx.header = assemblyRefHead();
			State = 3523;
			Match(T__16);
			State = 3524;
			_localctx.declarations = assemblyRefDecls();
			State = 3525;
			Match(T__17);
			_localctx.Value = Actions.CreateAssemblyReference(
						_localctx.header.Value,
						_localctx.declarations.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyRefHeadContext : ParserRuleContext {
		public CILParser.AssemblyReferenceHeaderValue Value;
		public AsmAttrContext attributes;
		public DottedNameContext name;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public AsmAttrContext asmAttr() {
			return GetRuleContext<AsmAttrContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext[] dottedName() {
			return GetRuleContexts<DottedNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName(int i) {
			return GetRuleContext<DottedNameContext>(i);
		}
		public AssemblyRefHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyRefHead; } }
	}

	[RuleVersion(0)]
	public AssemblyRefHeadContext assemblyRefHead() {
		AssemblyRefHeadContext _localctx = new AssemblyRefHeadContext(Context, State);
		EnterRule(_localctx, 340, RULE_assemblyRefHead);
		_localctx.Value = CILParser.AssemblyReferenceHeaderValue.Error;
		try {
			State = 3542;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,174,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3528;
				Match(T__24);
				State = 3529;
				Match(T__39);
				State = 3530;
				_localctx.attributes = asmAttr();
				State = 3531;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateAssemblyReferenceHeader(
							_localctx.attributes.Value,
							_localctx.name.Value,
							_localctx.name.Value);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3534;
				Match(T__24);
				State = 3535;
				Match(T__39);
				State = 3536;
				_localctx.attributes = asmAttr();
				State = 3537;
				_localctx.name = dottedName();
				State = 3538;
				Match(T__33);
				State = 3539;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateAssemblyReferenceHeader(
							_localctx.attributes.Value,
							_localctx.name.Value,
							_localctx.alias.Value);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyRefDeclsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.AssemblyDeclarationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.AssemblyDeclarationValue>.Builder Builder;
		public AssemblyRefDeclContext declaration;
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyRefDeclContext[] assemblyRefDecl() {
			return GetRuleContexts<AssemblyRefDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public AssemblyRefDeclContext assemblyRefDecl(int i) {
			return GetRuleContext<AssemblyRefDeclContext>(i);
		}
		public AssemblyRefDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyRefDecls; } }
	}

	[RuleVersion(0)]
	public AssemblyRefDeclsContext assemblyRefDecls() {
		AssemblyRefDeclsContext _localctx = new AssemblyRefDeclsContext(Context, State);
		EnterRule(_localctx, 342, RULE_assemblyRefDecls);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.AssemblyDeclarationValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3549;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 36028835673800702L) != 0) || ((((_la - 167)) & ~0x3f) == 0 && ((1L << (_la - 167)) & 4111L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105555249070097L) != 0)) {
				{
				{
				State = 3544;
				_localctx.declaration = assemblyRefDecl();
				if (_localctx.declaration.Value is not null) _localctx.Builder.Add(_localctx.declaration.Value);
				}
				}
				State = 3551;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class AssemblyRefDeclContext : ParserRuleContext {
		public CILParser.AssemblyDeclarationValue? Value;
		public BytesContext hash;
		public AsmOrRefDeclContext shared;
		public BytesContext token;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HASH() { return GetToken(CILParser.HASH, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public BytesContext bytes() {
			return GetRuleContext<BytesContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public AsmOrRefDeclContext asmOrRefDecl() {
			return GetRuleContext<AsmOrRefDeclContext>(0);
		}
		public AssemblyRefDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_assemblyRefDecl; } }
	}

	[RuleVersion(0)]
	public AssemblyRefDeclContext assemblyRefDecl() {
		AssemblyRefDeclContext _localctx = new AssemblyRefDeclContext(Context, State);
		EnterRule(_localctx, 344, RULE_assemblyRefDecl);
		try {
			State = 3571;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case HASH:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3552;
				Match(HASH);
				State = 3553;
				Match(T__35);
				State = 3554;
				Match(T__29);
				State = 3555;
				_localctx.hash = bytes();
				State = 3556;
				Match(T__30);
				_localctx.Value = Actions.CreateAssemblyReferenceHashDeclaration(_localctx.hash.Value);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__31:
			case T__34:
			case T__166:
			case T__167:
			case T__168:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3559;
				_localctx.shared = asmOrRefDecl();
				_localctx.Value = _localctx.shared.Value;
				}
				break;
			case T__169:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3562;
				Match(T__169);
				State = 3563;
				Match(T__35);
				State = 3564;
				Match(T__29);
				State = 3565;
				_localctx.token = bytes();
				State = 3566;
				Match(T__30);
				_localctx.Value = Actions.CreateAssemblyReferencePublicKeyTokenDeclaration(_localctx.token.Value);
				}
				break;
			case T__54:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3569;
				Match(T__54);
				_localctx.Value = Actions.CreateAssemblyReferenceAutoDeclaration();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptypeBlockContext : ParserRuleContext {
		public CILParser.ExportedTypeValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public ExptypeHeadContext header;
		public ExptypeDeclsContext declarations;
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeHeadContext exptypeHead() {
			return GetRuleContext<ExptypeHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeDeclsContext exptypeDecls() {
			return GetRuleContext<ExptypeDeclsContext>(0);
		}
		public ExptypeBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptypeBlock; } }
	}

	[RuleVersion(0)]
	public ExptypeBlockContext exptypeBlock() {
		ExptypeBlockContext _localctx = new ExptypeBlockContext(Context, State);
		EnterRule(_localctx, 346, RULE_exptypeBlock);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3573;
			_localctx.header = exptypeHead();
			State = 3574;
			Match(T__16);
			State = 3575;
			_localctx.declarations = exptypeDecls();
			State = 3576;
			Match(T__17);
			_localctx.Value = Actions.CreateExportedType(
						_localctx.header.Value,
						_localctx.declarations.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptypeHeadContext : ParserRuleContext {
		public CILParser.ExportedTypeHeaderValue Value;
		public IToken head;
		public ExptAttrsContext attributes;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public ExptAttrsContext exptAttrs() {
			return GetRuleContext<ExptAttrsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public ExptypeHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptypeHead; } }
	}

	[RuleVersion(0)]
	public ExptypeHeadContext exptypeHead() {
		ExptypeHeadContext _localctx = new ExptypeHeadContext(Context, State);
		EnterRule(_localctx, 348, RULE_exptypeHead);
		_localctx.Value = CILParser.ExportedTypeHeaderValue.Error;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3579;
			_localctx.head = Match(T__49);
			State = 3580;
			Match(T__39);
			State = 3581;
			_localctx.attributes = exptAttrs();
			State = 3582;
			_localctx.name = dottedName();
			_localctx.Value = Actions.CreateExportedTypeHeader(
						_localctx.attributes.Value,
						_localctx.name.Value,
						_localctx.head);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExportHeadContext : ParserRuleContext {
		public CILParser.ExportedTypeHeaderValue Value;
		public IToken head;
		public ExptAttrsContext attributes;
		public DottedNameContext name;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXPORT() { return GetToken(CILParser.EXPORT, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ExptAttrsContext exptAttrs() {
			return GetRuleContext<ExptAttrsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		public ExportHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exportHead; } }
	}

	[RuleVersion(0)]
	public ExportHeadContext exportHead() {
		ExportHeadContext _localctx = new ExportHeadContext(Context, State);
		EnterRule(_localctx, 350, RULE_exportHead);
		_localctx.Value = CILParser.ExportedTypeHeaderValue.Error;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3585;
			_localctx.head = Match(EXPORT);
			State = 3586;
			_localctx.attributes = exptAttrs();
			State = 3587;
			_localctx.name = dottedName();
			_localctx.Value = Actions.CreateExportedTypeHeader(
						_localctx.attributes.Value,
						_localctx.name.Value,
						_localctx.head);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptAttrsContext : ParserRuleContext {
		public System.Reflection.TypeAttributes Value;
		public ExptAttrContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public ExptAttrContext[] exptAttr() {
			return GetRuleContexts<ExptAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExptAttrContext exptAttr(int i) {
			return GetRuleContext<ExptAttrContext>(i);
		}
		public ExptAttrsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptAttrs; } }
	}

	[RuleVersion(0)]
	public ExptAttrsContext exptAttrs() {
		ExptAttrsContext _localctx = new ExptAttrsContext(Context, State);
		EnterRule(_localctx, 352, RULE_exptAttrs);
		_localctx.Value = 0;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3595;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 4618441417868443648L) != 0) || _la==T__170) {
				{
				{
				State = 3590;
				_localctx.attribute = exptAttr();
				_localctx.Value = Actions.AddExportedTypeAttribute(
							_localctx.Value,
							_localctx.attribute.Value,
							_localctx.attribute.Mask);
				}
				}
				State = 3597;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptAttrContext : ParserRuleContext {
		public System.Reflection.TypeAttributes Value;
		public System.Reflection.TypeAttributes Mask;
		public ExptAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptAttr; } }
	}

	[RuleVersion(0)]
	public ExptAttrContext exptAttr() {
		ExptAttrContext _localctx = new ExptAttrContext(Context, State);
		EnterRule(_localctx, 354, RULE_exptAttr);
		try {
			State = 3613;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,178,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3598;
				Match(T__51);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3599;
				Match(T__50);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3600;
				Match(T__170);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3601;
				Match(T__61);
				State = 3602;
				Match(T__50);
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3603;
				Match(T__61);
				State = 3604;
				Match(T__51);
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3605;
				Match(T__61);
				State = 3606;
				Match(T__62);
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 3607;
				Match(T__61);
				State = 3608;
				Match(T__63);
				}
				break;
			case 8:
				EnterOuterAlt(_localctx, 8);
				{
				State = 3609;
				Match(T__61);
				State = 3610;
				Match(T__64);
				}
				break;
			case 9:
				EnterOuterAlt(_localctx, 9);
				{
				State = 3611;
				Match(T__61);
				State = 3612;
				Match(T__65);
				}
				break;
			}
			Context.Stop = TokenStream.LT(-1);
			Actions.SetExportedTypeAttribute(_localctx);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptypeDeclsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.ExportedTypeDeclarationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.ExportedTypeDeclarationValue>.Builder Builder;
		public ExptypeDeclContext declaration;
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeDeclContext[] exptypeDecl() {
			return GetRuleContexts<ExptypeDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ExptypeDeclContext exptypeDecl(int i) {
			return GetRuleContext<ExptypeDeclContext>(i);
		}
		public ExptypeDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptypeDecls; } }
	}

	[RuleVersion(0)]
	public ExptypeDeclsContext exptypeDecls() {
		ExptypeDeclsContext _localctx = new ExptypeDeclsContext(Context, State);
		EnterRule(_localctx, 356, RULE_exptypeDecls);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.ExportedTypeDeclarationValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3620;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 1125938597330942L) != 0) || _la==T__112 || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105555249070097L) != 0)) {
				{
				{
				State = 3615;
				_localctx.declaration = exptypeDecl();
				if (_localctx.declaration.Value is not null) _localctx.Builder.Add(_localctx.declaration.Value);
				}
				}
				State = 3622;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class ExptypeDeclContext : ParserRuleContext {
		public CILParser.ExportedTypeDeclarationValue? Value;
		public IToken location;
		public DottedNameContext name;
		public SlashedNameContext nestedName;
		public DottedNameContext assemblyName;
		public MdtokenContext token;
		public Int32Context typeDefinitionId;
		public CustomAttrDeclContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public SlashedNameContext slashedName() {
			return GetRuleContext<SlashedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public MdtokenContext mdtoken() {
			return GetRuleContext<MdtokenContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		public ExptypeDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_exptypeDecl; } }
	}

	[RuleVersion(0)]
	public ExptypeDeclContext exptypeDecl() {
		ExptypeDeclContext _localctx = new ExptypeDeclContext(Context, State);
		EnterRule(_localctx, 358, RULE_exptypeDecl);
		try {
			State = 3648;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,180,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3623;
				_localctx.location = Match(T__20);
				State = 3624;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateExportedTypeFileDeclaration(
							_localctx.name.Value,
							_localctx.location);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3627;
				_localctx.location = Match(T__49);
				State = 3628;
				Match(T__39);
				State = 3629;
				_localctx.nestedName = slashedName();
				_localctx.Value = Actions.CreateNestedExportedTypeDeclaration(
							_localctx.nestedName.Value,
							_localctx.location);
				}
				break;
			case 3:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3632;
				_localctx.location = Match(T__24);
				State = 3633;
				Match(T__39);
				State = 3634;
				_localctx.assemblyName = dottedName();
				_localctx.Value = Actions.CreateExportedTypeAssemblyDeclaration(
							_localctx.assemblyName.Value,
							_localctx.location);
				}
				break;
			case 4:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3637;
				_localctx.token = mdtoken();
				_localctx.Value = Actions.CreateExportedTypeMetadataTokenDeclaration(
							_localctx.token.Value,
							(_localctx.token!=null?(_localctx.token.Start):null));
				}
				break;
			case 5:
				EnterOuterAlt(_localctx, 5);
				{
				State = 3640;
				Match(T__49);
				State = 3641;
				_localctx.typeDefinitionId = int32();
				_localctx.Value = Actions.CreateExportedTypeDefinitionIdDeclaration(
							(_localctx.typeDefinitionId!=null?(_localctx.typeDefinitionId.Start):null));
				}
				break;
			case 6:
				EnterOuterAlt(_localctx, 6);
				{
				State = 3644;
				_localctx.attribute = customAttrDecl();
				_localctx.Value = Actions.CreateExportedTypeCustomAttributeDeclaration(
							_localctx.attribute.Value,
							(_localctx.attribute!=null?(_localctx.attribute.Start):null));
				}
				break;
			case 7:
				EnterOuterAlt(_localctx, 7);
				{
				State = 3647;
				compControl();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ManifestResBlockContext : ParserRuleContext {
		public CILParser.ManifestResourceValue? Value;
		public bool HasSyntaxError;
		public int InitialSyntaxErrorCount;
		public ManifestResHeadContext header;
		public ManifestResDeclsContext declarations;
		[System.Diagnostics.DebuggerNonUserCode] public ManifestResHeadContext manifestResHead() {
			return GetRuleContext<ManifestResHeadContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ManifestResDeclsContext manifestResDecls() {
			return GetRuleContext<ManifestResDeclsContext>(0);
		}
		public ManifestResBlockContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manifestResBlock; } }
	}

	[RuleVersion(0)]
	public ManifestResBlockContext manifestResBlock() {
		ManifestResBlockContext _localctx = new ManifestResBlockContext(Context, State);
		EnterRule(_localctx, 360, RULE_manifestResBlock);
		_localctx.InitialSyntaxErrorCount = Actions.SyntaxErrorCount;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3650;
			_localctx.header = manifestResHead();
			State = 3651;
			Match(T__16);
			State = 3652;
			_localctx.declarations = manifestResDecls();
			State = 3653;
			Match(T__17);
			_localctx.Value = Actions.CreateManifestResource(
						_localctx.header.Value,
						_localctx.declarations.Value);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {

				_localctx.HasSyntaxError =
					Actions.HasSyntaxErrorsSince(_localctx.InitialSyntaxErrorCount) ||
					_localctx.exception is not null;
				if (_localctx.HasSyntaxError)
				{
					_localctx.Value = null;
				}

			ExitRule();
		}
		return _localctx;
	}

	public partial class ManifestResHeadContext : ParserRuleContext {
		public CILParser.ManifestResourceHeaderValue Value;
		public IToken head;
		public ManresAttrsContext attributes;
		public DottedNameContext name;
		public DottedNameContext alias;
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MRESOURCE() { return GetToken(CILParser.MRESOURCE, 0); }
		[System.Diagnostics.DebuggerNonUserCode] public ManresAttrsContext manresAttrs() {
			return GetRuleContext<ManresAttrsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext[] dottedName() {
			return GetRuleContexts<DottedNameContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName(int i) {
			return GetRuleContext<DottedNameContext>(i);
		}
		public ManifestResHeadContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manifestResHead; } }
	}

	[RuleVersion(0)]
	public ManifestResHeadContext manifestResHead() {
		ManifestResHeadContext _localctx = new ManifestResHeadContext(Context, State);
		EnterRule(_localctx, 362, RULE_manifestResHead);
		_localctx.Value = CILParser.ManifestResourceHeaderValue.Error;
		try {
			State = 3668;
			ErrorHandler.Sync(this);
			switch ( Interpreter.AdaptivePredict(TokenStream,181,Context) ) {
			case 1:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3656;
				_localctx.head = Match(MRESOURCE);
				State = 3657;
				_localctx.attributes = manresAttrs();
				State = 3658;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateManifestResourceHeader(
							_localctx.attributes.Value,
							_localctx.name.Value,
							_localctx.name.Value,
							_localctx.head);
				}
				break;
			case 2:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3661;
				_localctx.head = Match(MRESOURCE);
				State = 3662;
				_localctx.attributes = manresAttrs();
				State = 3663;
				_localctx.name = dottedName();
				State = 3664;
				Match(T__33);
				State = 3665;
				_localctx.alias = dottedName();
				_localctx.Value = Actions.CreateManifestResourceHeader(
							_localctx.attributes.Value,
							_localctx.name.Value,
							_localctx.alias.Value,
							_localctx.head);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ManresAttrsContext : ParserRuleContext {
		public System.Reflection.ManifestResourceAttributes Value;
		public ManresAttrContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public ManresAttrContext[] manresAttr() {
			return GetRuleContexts<ManresAttrContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ManresAttrContext manresAttr(int i) {
			return GetRuleContext<ManresAttrContext>(i);
		}
		public ManresAttrsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manresAttrs; } }
	}

	[RuleVersion(0)]
	public ManresAttrsContext manresAttrs() {
		ManresAttrsContext _localctx = new ManresAttrsContext(Context, State);
		EnterRule(_localctx, 364, RULE_manresAttrs);
		_localctx.Value = 0;
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3675;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while (_la==T__50 || _la==T__51) {
				{
				{
				State = 3670;
				_localctx.attribute = manresAttr();
				_localctx.Value = Actions.AddManifestResourceAttribute(
							_localctx.Value,
							_localctx.attribute.Value);
				}
				}
				State = 3677;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ManresAttrContext : ParserRuleContext {
		public System.Reflection.ManifestResourceAttributes Value;
		public ManresAttrContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manresAttr; } }
	}

	[RuleVersion(0)]
	public ManresAttrContext manresAttr() {
		ManresAttrContext _localctx = new ManresAttrContext(Context, State);
		EnterRule(_localctx, 366, RULE_manresAttr);
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3678;
			_la = TokenStream.LA(1);
			if ( !(_la==T__50 || _la==T__51) ) {
			ErrorHandler.RecoverInline(this);
			}
			else {
				ErrorHandler.ReportMatch(this);
			    Consume();
			}
			}
			Context.Stop = TokenStream.LT(-1);
			_localctx.Value = Actions.ParseManifestResourceAttribute(_localctx.Start);
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class ManifestResDeclsContext : ParserRuleContext {
		public System.Collections.Immutable.ImmutableArray<CILParser.ManifestResourceDeclarationValue> Value;
		public System.Collections.Immutable.ImmutableArray<CILParser.ManifestResourceDeclarationValue>.Builder Builder;
		public ManifestResDeclContext declaration;
		[System.Diagnostics.DebuggerNonUserCode] public ManifestResDeclContext[] manifestResDecl() {
			return GetRuleContexts<ManifestResDeclContext>();
		}
		[System.Diagnostics.DebuggerNonUserCode] public ManifestResDeclContext manifestResDecl(int i) {
			return GetRuleContext<ManifestResDeclContext>(i);
		}
		public ManifestResDeclsContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manifestResDecls; } }
	}

	[RuleVersion(0)]
	public ManifestResDeclsContext manifestResDecls() {
		ManifestResDeclsContext _localctx = new ManifestResDeclsContext(Context, State);
		EnterRule(_localctx, 368, RULE_manifestResDecls);
		_localctx.Builder = System.Collections.Immutable.ImmutableArray.CreateBuilder<CILParser.ManifestResourceDeclarationValue>();
		int _la;
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3685;
			ErrorHandler.Sync(this);
			_la = TokenStream.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 38690488318L) != 0) || ((((_la - 242)) & ~0x3f) == 0 && ((1L << (_la - 242)) & 105555249070097L) != 0)) {
				{
				{
				State = 3680;
				_localctx.declaration = manifestResDecl();
				if (_localctx.declaration.Value is not null) _localctx.Builder.Add(_localctx.declaration.Value);
				}
				}
				State = 3687;
				ErrorHandler.Sync(this);
				_la = TokenStream.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			_localctx.Value = _localctx.Builder.ToImmutable();
			ExitRule();
		}
		return _localctx;
	}

	public partial class ManifestResDeclContext : ParserRuleContext {
		public CILParser.ManifestResourceDeclarationValue? Value;
		public IToken location;
		public DottedNameContext name;
		public Int32Context offset;
		public CustomAttrDeclContext attribute;
		[System.Diagnostics.DebuggerNonUserCode] public DottedNameContext dottedName() {
			return GetRuleContext<DottedNameContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public Int32Context int32() {
			return GetRuleContext<Int32Context>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CustomAttrDeclContext customAttrDecl() {
			return GetRuleContext<CustomAttrDeclContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public CompControlContext compControl() {
			return GetRuleContext<CompControlContext>(0);
		}
		public ManifestResDeclContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_manifestResDecl; } }
	}

	[RuleVersion(0)]
	public ManifestResDeclContext manifestResDecl() {
		ManifestResDeclContext _localctx = new ManifestResDeclContext(Context, State);
		EnterRule(_localctx, 370, RULE_manifestResDecl);
		try {
			State = 3703;
			ErrorHandler.Sync(this);
			switch (TokenStream.LA(1)) {
			case T__20:
				EnterOuterAlt(_localctx, 1);
				{
				State = 3688;
				_localctx.location = Match(T__20);
				State = 3689;
				_localctx.name = dottedName();
				State = 3690;
				Match(T__43);
				State = 3691;
				_localctx.offset = int32();
				_localctx.Value = Actions.CreateManifestResourceFileDeclaration(
							_localctx.name.Value,
							(_localctx.offset!=null?(_localctx.offset.Start):null),
							_localctx.location);
				}
				break;
			case T__24:
				EnterOuterAlt(_localctx, 2);
				{
				State = 3694;
				Match(T__24);
				State = 3695;
				Match(T__39);
				State = 3696;
				_localctx.name = dottedName();
				_localctx.Value = Actions.CreateManifestResourceAssemblyDeclaration(_localctx.name.Value);
				}
				break;
			case T__0:
			case T__1:
			case T__2:
			case T__3:
			case T__4:
			case T__5:
			case T__6:
			case T__7:
			case T__8:
			case T__9:
			case T__10:
			case T__11:
			case T__12:
			case T__13:
			case T__14:
			case T__15:
			case T__34:
			case INSTANCE:
			case UNMANAGED:
			case SQSTRING:
			case DOTTEDNAME:
			case ID:
				EnterOuterAlt(_localctx, 3);
				{
				State = 3699;
				_localctx.attribute = customAttrDecl();
				_localctx.Value = Actions.CreateManifestResourceCustomAttributeDeclaration(
							_localctx.attribute.Value,
							(_localctx.attribute!=null?(_localctx.attribute.Start):null));
				}
				break;
			case T__31:
			case PP_DEFINE:
			case PP_UNDEF:
			case PP_IFDEF:
			case PP_IFNDEF:
			case PP_ELSE:
			case PP_ENDIF:
			case PP_INCLUDE:
				EnterOuterAlt(_localctx, 4);
				{
				State = 3702;
				compControl();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	public partial class DocumentContext : ParserRuleContext {
		[System.Diagnostics.DebuggerNonUserCode] public DeclsContext decls() {
			return GetRuleContext<DeclsContext>(0);
		}
		[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode Eof() { return GetToken(CILParser.Eof, 0); }
		public DocumentContext(ParserRuleContext parent, int invokingState)
			: base(parent, invokingState)
		{
		}
		public override int RuleIndex { get { return RULE_document; } }
	}

	[RuleVersion(0)]
	public DocumentContext document() {
		DocumentContext _localctx = new DocumentContext(Context, State);
		EnterRule(_localctx, 372, RULE_document);
		try {
			EnterOuterAlt(_localctx, 1);
			{
			State = 3705;
			decls();
			State = 3706;
			Match(Eof);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			ErrorHandler.ReportError(this, re);
			ErrorHandler.Recover(this, re);
		}
		finally {
			ExitRule();
		}
		return _localctx;
	}

	private static int[] _serializedATN = {
		4,1,304,3709,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,
		7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,
		2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,
		2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,
		2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,
		2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,
		2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,
		2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,
		2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,
		2,64,7,64,2,65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,
		2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,
		2,78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7,84,
		2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,2,90,7,90,2,91,7,91,
		2,92,7,92,2,93,7,93,2,94,7,94,2,95,7,95,2,96,7,96,2,97,7,97,2,98,7,98,
		2,99,7,99,2,100,7,100,2,101,7,101,2,102,7,102,2,103,7,103,2,104,7,104,
		2,105,7,105,2,106,7,106,2,107,7,107,2,108,7,108,2,109,7,109,2,110,7,110,
		2,111,7,111,2,112,7,112,2,113,7,113,2,114,7,114,2,115,7,115,2,116,7,116,
		2,117,7,117,2,118,7,118,2,119,7,119,2,120,7,120,2,121,7,121,2,122,7,122,
		2,123,7,123,2,124,7,124,2,125,7,125,2,126,7,126,2,127,7,127,2,128,7,128,
		2,129,7,129,2,130,7,130,2,131,7,131,2,132,7,132,2,133,7,133,2,134,7,134,
		2,135,7,135,2,136,7,136,2,137,7,137,2,138,7,138,2,139,7,139,2,140,7,140,
		2,141,7,141,2,142,7,142,2,143,7,143,2,144,7,144,2,145,7,145,2,146,7,146,
		2,147,7,147,2,148,7,148,2,149,7,149,2,150,7,150,2,151,7,151,2,152,7,152,
		2,153,7,153,2,154,7,154,2,155,7,155,2,156,7,156,2,157,7,157,2,158,7,158,
		2,159,7,159,2,160,7,160,2,161,7,161,2,162,7,162,2,163,7,163,2,164,7,164,
		2,165,7,165,2,166,7,166,2,167,7,167,2,168,7,168,2,169,7,169,2,170,7,170,
		2,171,7,171,2,172,7,172,2,173,7,173,2,174,7,174,2,175,7,175,2,176,7,176,
		2,177,7,177,2,178,7,178,2,179,7,179,2,180,7,180,2,181,7,181,2,182,7,182,
		2,183,7,183,2,184,7,184,2,185,7,185,2,186,7,186,1,0,1,0,1,1,1,1,1,1,1,
		1,1,1,1,1,5,1,383,8,1,10,1,12,1,386,9,1,1,1,1,1,1,1,1,1,1,1,3,1,393,8,
		1,1,2,1,2,1,2,3,2,398,8,2,1,3,1,3,1,3,5,3,403,8,3,10,3,12,3,406,9,3,1,
		3,1,3,1,3,1,4,5,4,412,8,4,10,4,12,4,415,9,4,1,5,1,5,1,5,1,5,1,5,1,5,1,
		5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,
		1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,
		5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,
		1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,
		5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3,5,503,8,5,1,6,1,6,1,6,1,6,1,7,
		1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,
		11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,12,1,12,1,13,1,13,1,13,1,13,1,
		13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,3,
		13,554,8,13,1,14,1,14,1,15,1,15,1,15,1,15,1,15,5,15,563,8,15,10,15,12,
		15,566,9,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,18,
		1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,
		1,18,3,18,595,8,18,1,19,1,19,1,19,1,19,1,19,3,19,602,8,19,1,20,1,20,1,
		20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,3,
		20,620,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,
		1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,
		1,21,1,21,1,21,1,21,3,21,652,8,21,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,
		22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,
		22,1,22,1,22,1,22,1,22,3,22,680,8,22,1,23,1,23,1,23,1,23,1,23,1,23,1,23,
		1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,
		1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,
		1,23,1,23,1,23,3,23,720,8,23,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,
		25,3,25,731,8,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,5,27,741,8,27,
		10,27,12,27,744,9,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,5,28,754,
		8,28,10,28,12,28,757,9,28,1,29,1,29,1,29,1,30,1,30,3,30,764,8,30,1,30,
		1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,
		1,31,1,31,1,31,1,31,1,31,3,31,786,8,31,1,32,1,32,1,32,1,32,1,32,1,32,1,
		32,1,32,1,32,1,32,1,32,3,32,799,8,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,
		1,33,1,33,1,34,1,34,1,34,5,34,813,8,34,10,34,12,34,816,9,34,1,34,1,34,
		1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,38,
		1,38,1,38,1,38,5,38,837,8,38,10,38,12,38,840,9,38,1,38,1,38,1,38,1,38,
		1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,
		1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,
		1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,
		1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,
		1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,912,8,39,1,40,1,
		40,1,40,1,40,1,40,3,40,919,8,40,1,41,1,41,1,41,1,41,1,41,3,41,926,8,41,
		1,42,5,42,929,8,42,10,42,12,42,932,9,42,1,43,1,43,1,43,1,43,5,43,938,8,
		43,10,43,12,43,941,9,43,1,43,1,43,1,43,1,44,1,44,1,45,1,45,1,45,3,45,951,
		8,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,960,8,45,1,45,1,45,1,45,1,
		45,1,45,1,45,1,45,1,45,1,45,3,45,971,8,45,1,45,1,45,1,45,1,45,1,45,1,45,
		1,45,1,45,1,45,3,45,982,8,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,
		45,1,45,1,45,3,45,995,8,45,1,45,1,45,3,45,999,8,45,1,46,1,46,1,46,1,46,
		5,46,1005,8,46,10,46,12,46,1008,9,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,
		1,46,1,46,1,46,1,46,1,46,1,46,3,46,1023,8,46,1,47,1,47,1,48,1,48,1,48,
		3,48,1030,8,48,1,49,1,49,1,50,1,50,1,50,5,50,1037,8,50,10,50,12,50,1040,
		9,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,
		1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,1067,
		8,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,
		1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,
		1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,
		1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,
		1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,
		1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,1145,8,52,3,52,1147,8,52,1,53,
		1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,1161,8,54,
		1,54,1,54,5,54,1165,8,54,10,54,12,54,1168,9,54,1,54,1,54,1,54,1,54,1,54,
		1,54,3,54,1176,8,54,3,54,1178,8,54,1,55,1,55,1,55,1,55,1,55,5,55,1185,
		8,55,10,55,12,55,1188,9,55,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,
		5,56,1199,8,56,10,56,12,56,1202,9,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,
		1,57,1,57,5,57,1213,8,57,10,57,12,57,1216,9,57,1,57,1,57,1,57,1,57,1,57,
		1,57,1,57,3,57,1225,8,57,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1233,8,58,
		1,58,1,58,3,58,1237,8,58,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,
		1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,
		1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,
		3,59,1276,8,59,1,60,1,60,1,60,1,60,5,60,1282,8,60,10,60,12,60,1285,9,60,
		1,60,1,60,1,60,1,61,1,61,1,61,5,61,1293,8,61,10,61,12,61,1296,9,61,1,62,
		1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,3,62,1309,8,62,1,63,
		1,63,1,63,1,63,1,63,1,63,3,63,1317,8,63,1,64,1,64,1,64,1,64,1,64,1,64,
		1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,3,64,1333,8,64,1,65,1,65,1,65,
		1,65,1,65,1,65,5,65,1341,8,65,10,65,12,65,1344,9,65,3,65,1346,8,65,1,66,
		1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,
		1,66,1,66,1,66,1,66,1,66,1,66,1,66,3,66,1370,8,66,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,
		1,67,3,67,1517,8,67,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,1527,
		8,68,1,69,1,69,1,69,1,69,1,69,5,69,1534,8,69,10,69,12,69,1537,9,69,3,69,
		1539,8,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
		1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
		1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
		1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
		1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
		1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,1621,
		8,70,1,71,1,71,1,71,1,71,1,71,5,71,1628,8,71,10,71,12,71,1631,9,71,1,72,
		1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,
		1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,
		3,72,1662,8,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,
		1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,
		1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,
		1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,
		1,73,1,73,1,73,1,73,1,73,3,73,1722,8,73,1,74,1,74,1,74,1,74,1,74,1,74,
		1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,
		1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,
		1,74,1,74,1,74,1,74,3,74,1762,8,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,
		1,75,1,75,1,75,1,75,1,75,1,75,1,75,3,75,1778,8,75,1,76,1,76,1,76,1,76,
		1,77,1,77,1,77,1,77,3,77,1788,8,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,
		1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,
		1,78,1,78,1,78,1,78,1,78,1,78,1,78,3,78,1818,8,78,1,78,1,78,1,78,1,78,
		1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,
		1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,3,78,1846,8,78,1,79,1,79,1,79,
		1,79,1,79,5,79,1853,8,79,10,79,12,79,1856,9,79,1,79,1,79,1,79,3,79,1861,
		8,79,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,
		1,80,1,80,3,80,1878,8,80,1,81,1,81,1,81,1,81,5,81,1884,8,81,10,81,12,81,
		1887,9,81,1,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,1,83,1,83,1,84,1,84,
		1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,
		1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,
		1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,
		1,84,3,84,1944,8,84,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1,86,3,86,1954,
		8,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,
		1,86,1,86,1,86,3,86,1972,8,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,
		1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,3,86,1990,8,86,1,87,1,87,1,87,
		1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,
		3,87,2009,8,87,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,
		1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,3,88,2030,8,88,1,89,1,89,1,89,
		1,89,1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,
		3,90,2049,8,90,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,
		1,91,1,91,3,91,2064,8,91,1,92,1,92,1,92,1,92,5,92,2070,8,92,10,92,12,92,
		2073,9,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93,3,93,2084,8,93,
		1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,1,94,
		1,94,1,94,1,94,1,94,3,94,2104,8,94,1,95,1,95,1,95,5,95,2109,8,95,10,95,
		12,95,2112,9,95,1,96,1,96,3,96,2116,8,96,1,96,1,96,1,96,1,97,1,97,1,97,
		1,97,5,97,2125,8,97,10,97,12,97,2128,9,97,1,97,1,97,1,97,1,98,1,98,1,98,
		1,98,1,98,1,99,3,99,2139,8,99,1,99,1,99,1,100,1,100,1,100,1,100,1,100,
		1,100,1,100,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,5,101,2247,8,101,10,101,12,101,2250,9,101,1,101,1,101,
		1,101,1,101,1,101,1,101,1,101,5,101,2259,8,101,10,101,12,101,2262,9,101,
		1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,5,101,
		2275,8,101,10,101,12,101,2278,9,101,1,101,1,101,1,101,1,101,1,101,1,101,
		1,101,1,101,1,101,5,101,2289,8,101,10,101,12,101,2292,9,101,1,101,1,101,
		1,101,1,101,1,101,1,101,3,101,2300,8,101,1,102,1,102,1,102,1,102,1,102,
		1,102,1,102,1,102,1,102,1,102,1,102,5,102,2313,8,102,10,102,12,102,2316,
		9,102,1,102,1,102,1,102,1,102,1,102,1,102,1,103,1,103,1,103,1,103,1,103,
		1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,
		1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,
		1,103,1,103,1,103,1,103,1,103,3,103,2358,8,103,1,104,1,104,1,104,1,104,
		1,104,1,104,1,104,1,104,1,104,3,104,2369,8,104,1,105,1,105,1,105,1,105,
		1,105,3,105,2376,8,105,1,106,1,106,1,106,1,106,1,106,1,106,3,106,2384,
		8,106,1,107,1,107,1,107,1,107,5,107,2390,8,107,10,107,12,107,2393,9,107,
		1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,5,107,2403,8,107,10,107,
		12,107,2406,9,107,1,107,1,107,1,107,3,107,2411,8,107,1,108,1,108,1,108,
		1,108,3,108,2417,8,108,1,109,5,109,2420,8,109,10,109,12,109,2423,9,109,
		1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,
		1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,
		1,110,1,110,3,110,2451,8,110,1,111,1,111,1,111,1,111,5,111,2457,8,111,
		10,111,12,111,2460,9,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,112,
		1,112,1,112,1,112,3,112,2473,8,112,1,113,5,113,2476,8,113,10,113,12,113,
		2479,9,113,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,
		1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,
		3,114,2503,8,114,1,115,1,115,1,115,1,115,1,115,1,115,1,115,3,115,2512,
		8,115,1,116,1,116,1,116,1,116,1,116,1,116,1,116,4,116,2521,8,116,11,116,
		12,116,2522,1,116,1,116,3,116,2527,8,116,1,117,1,117,1,117,5,117,2532,
		8,117,10,117,12,117,2535,9,117,1,118,1,118,1,118,1,118,1,118,1,118,1,118,
		1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,3,118,2554,
		8,118,1,119,1,119,1,119,1,119,1,119,1,119,1,119,5,119,2563,8,119,10,119,
		12,119,2566,9,119,1,119,1,119,1,119,1,119,1,119,1,119,1,119,1,119,1,119,
		1,119,5,119,2578,8,119,10,119,12,119,2581,9,119,1,119,1,119,1,120,1,120,
		1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,
		1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,
		1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,
		1,120,1,120,1,120,1,120,3,120,2627,8,120,1,121,1,121,1,121,1,121,1,121,
		1,121,1,121,1,121,3,121,2637,8,121,3,121,2639,8,121,1,121,1,121,1,121,
		5,121,2644,8,121,10,121,12,121,2647,9,121,1,121,1,121,1,121,3,121,2652,
		8,121,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,
		1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,
		1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,1,122,
		1,122,1,122,1,122,1,122,1,122,1,122,1,122,3,122,2696,8,122,1,123,1,123,
		1,123,1,123,1,123,1,123,1,123,3,123,2705,8,123,1,124,1,124,1,124,1,124,
		1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,
		1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,
		1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,1,124,3,124,2745,
		8,124,1,125,5,125,2748,8,125,10,125,12,125,2751,9,125,1,126,1,126,1,126,
		1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,
		1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,
		1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,3,126,2790,
		8,126,1,127,1,127,3,127,2794,8,127,1,127,1,127,1,128,1,128,1,128,1,128,
		1,128,1,128,3,128,2804,8,128,1,129,1,129,1,129,1,129,1,129,1,130,1,130,
		1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,
		1,130,3,130,2826,8,130,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,
		5,131,2836,8,131,10,131,12,131,2839,9,131,1,131,1,131,1,131,1,131,1,131,
		1,131,5,131,2847,8,131,10,131,12,131,2850,9,131,1,131,1,131,1,131,1,131,
		1,131,1,131,1,131,1,131,1,131,1,131,5,131,2862,8,131,10,131,12,131,2865,
		9,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,5,131,2875,8,131,
		10,131,12,131,2878,9,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,
		5,131,2888,8,131,10,131,12,131,2891,9,131,3,131,2893,8,131,1,132,1,132,
		1,132,1,132,1,133,1,133,1,133,1,133,1,133,1,133,3,133,2905,8,133,1,134,
		1,134,1,134,1,134,1,135,1,135,1,135,1,136,1,136,1,136,4,136,2917,8,136,
		11,136,12,136,2918,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,
		1,137,1,137,1,137,1,137,1,137,1,137,1,137,3,137,2937,8,137,1,138,1,138,
		1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,
		1,138,1,138,3,138,2955,8,138,1,139,1,139,1,139,1,139,1,139,1,139,1,139,
		1,139,1,139,1,139,1,139,1,139,3,139,2969,8,139,1,140,1,140,1,140,1,141,
		1,141,1,142,1,142,1,143,1,143,1,143,1,143,1,143,1,143,1,143,1,143,1,143,
		1,143,1,143,1,143,1,143,1,143,1,143,3,143,2993,8,143,1,144,1,144,1,144,
		1,145,1,145,1,145,1,145,1,145,1,145,1,145,1,145,1,145,1,145,3,145,3008,
		8,145,1,146,1,146,1,146,1,146,1,146,3,146,3015,8,146,1,147,1,147,1,147,
		1,147,1,147,4,147,3022,8,147,11,147,12,147,3023,3,147,3026,8,147,1,148,
		1,148,1,148,5,148,3031,8,148,10,148,12,148,3034,9,148,1,148,1,148,1,149,
		1,149,1,149,1,149,1,149,1,149,3,149,3044,8,149,1,150,1,150,1,150,1,150,
		1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,
		1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,
		1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,
		1,150,1,150,1,150,1,150,1,150,1,150,1,150,1,150,3,150,3094,8,150,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,1,151,
		1,151,1,151,1,151,1,151,1,151,3,151,3186,8,151,1,152,1,152,1,152,5,152,
		3191,8,152,10,152,12,152,3194,9,152,1,153,1,153,1,154,1,154,1,154,1,154,
		1,154,1,154,1,154,1,154,3,154,3206,8,154,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,
		1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,1,155,3,155,3379,
		8,155,1,156,1,156,1,156,1,156,1,156,1,156,5,156,3387,8,156,10,156,12,156,
		3390,9,156,1,157,1,157,1,157,1,157,1,157,1,157,5,157,3398,8,157,10,157,
		12,157,3401,9,157,1,158,1,158,1,158,5,158,3406,8,158,10,158,12,158,3409,
		9,158,1,159,1,159,1,159,5,159,3414,8,159,10,159,12,159,3417,9,159,1,160,
		1,160,1,160,5,160,3422,8,160,10,160,12,160,3425,9,160,1,161,1,161,1,161,
		5,161,3430,8,161,10,161,12,161,3433,9,161,1,162,1,162,1,162,5,162,3438,
		8,162,10,162,12,162,3441,9,162,1,163,1,163,1,163,1,163,5,163,3447,8,163,
		10,163,12,163,3450,9,163,1,164,1,164,1,164,5,164,3455,8,164,10,164,12,
		164,3458,9,164,1,165,1,165,1,165,1,165,1,165,1,165,1,165,1,165,3,165,3468,
		8,165,1,166,1,166,1,166,5,166,3473,8,166,10,166,12,166,3476,9,166,1,167,
		1,167,1,167,1,167,1,167,1,167,1,167,1,167,1,167,3,167,3487,8,167,1,168,
		1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,
		1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,
		1,168,1,168,1,168,1,168,1,168,1,168,1,168,3,168,3521,8,168,1,169,1,169,
		1,169,1,169,1,169,1,169,1,170,1,170,1,170,1,170,1,170,1,170,1,170,1,170,
		1,170,1,170,1,170,1,170,1,170,1,170,3,170,3543,8,170,1,171,1,171,1,171,
		5,171,3548,8,171,10,171,12,171,3551,9,171,1,172,1,172,1,172,1,172,1,172,
		1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,
		1,172,1,172,3,172,3572,8,172,1,173,1,173,1,173,1,173,1,173,1,173,1,174,
		1,174,1,174,1,174,1,174,1,174,1,175,1,175,1,175,1,175,1,175,1,176,1,176,
		1,176,5,176,3594,8,176,10,176,12,176,3597,9,176,1,177,1,177,1,177,1,177,
		1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,177,3,177,
		3614,8,177,1,178,1,178,1,178,5,178,3619,8,178,10,178,12,178,3622,9,178,
		1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,
		1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,1,179,
		1,179,3,179,3649,8,179,1,180,1,180,1,180,1,180,1,180,1,180,1,181,1,181,
		1,181,1,181,1,181,1,181,1,181,1,181,1,181,1,181,1,181,1,181,3,181,3669,
		8,181,1,182,1,182,1,182,5,182,3674,8,182,10,182,12,182,3677,9,182,1,183,
		1,183,1,184,1,184,1,184,5,184,3684,8,184,10,184,12,184,3687,9,184,1,185,
		1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,185,
		1,185,1,185,3,185,3704,8,185,1,186,1,186,1,186,1,186,0,0,187,0,2,4,6,8,
		10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,
		58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,
		104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,
		140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,
		176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,
		212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,
		248,250,252,254,256,258,260,262,264,266,268,270,272,274,276,278,280,282,
		284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,
		320,322,324,326,328,330,332,334,336,338,340,342,344,346,348,350,352,354,
		356,358,360,362,364,366,368,370,372,0,15,5,0,1,15,242,242,246,246,263,
		263,288,288,1,0,172,173,1,0,37,38,2,0,45,47,185,186,1,0,73,74,1,0,262,
		263,3,0,2,2,61,61,77,83,2,0,228,228,259,260,1,0,95,96,1,0,97,111,1,0,187,
		188,1,0,183,185,1,0,183,188,2,0,172,172,288,289,1,0,51,52,4149,0,374,1,
		0,0,0,2,392,1,0,0,0,4,397,1,0,0,0,6,404,1,0,0,0,8,413,1,0,0,0,10,502,1,
		0,0,0,12,504,1,0,0,0,14,508,1,0,0,0,16,512,1,0,0,0,18,517,1,0,0,0,20,521,
		1,0,0,0,22,525,1,0,0,0,24,533,1,0,0,0,26,553,1,0,0,0,28,555,1,0,0,0,30,
		557,1,0,0,0,32,569,1,0,0,0,34,571,1,0,0,0,36,594,1,0,0,0,38,601,1,0,0,
		0,40,619,1,0,0,0,42,651,1,0,0,0,44,679,1,0,0,0,46,719,1,0,0,0,48,721,1,
		0,0,0,50,730,1,0,0,0,52,732,1,0,0,0,54,742,1,0,0,0,56,755,1,0,0,0,58,758,
		1,0,0,0,60,761,1,0,0,0,62,785,1,0,0,0,64,798,1,0,0,0,66,800,1,0,0,0,68,
		814,1,0,0,0,70,819,1,0,0,0,72,821,1,0,0,0,74,828,1,0,0,0,76,832,1,0,0,
		0,78,911,1,0,0,0,80,918,1,0,0,0,82,925,1,0,0,0,84,930,1,0,0,0,86,939,1,
		0,0,0,88,945,1,0,0,0,90,998,1,0,0,0,92,1000,1,0,0,0,94,1024,1,0,0,0,96,
		1029,1,0,0,0,98,1031,1,0,0,0,100,1038,1,0,0,0,102,1066,1,0,0,0,104,1146,
		1,0,0,0,106,1148,1,0,0,0,108,1177,1,0,0,0,110,1179,1,0,0,0,112,1193,1,
		0,0,0,114,1224,1,0,0,0,116,1236,1,0,0,0,118,1275,1,0,0,0,120,1283,1,0,
		0,0,122,1294,1,0,0,0,124,1308,1,0,0,0,126,1316,1,0,0,0,128,1332,1,0,0,
		0,130,1345,1,0,0,0,132,1369,1,0,0,0,134,1516,1,0,0,0,136,1526,1,0,0,0,
		138,1538,1,0,0,0,140,1620,1,0,0,0,142,1622,1,0,0,0,144,1661,1,0,0,0,146,
		1721,1,0,0,0,148,1761,1,0,0,0,150,1777,1,0,0,0,152,1779,1,0,0,0,154,1783,
		1,0,0,0,156,1845,1,0,0,0,158,1860,1,0,0,0,160,1877,1,0,0,0,162,1885,1,
		0,0,0,164,1891,1,0,0,0,166,1896,1,0,0,0,168,1943,1,0,0,0,170,1945,1,0,
		0,0,172,1989,1,0,0,0,174,2008,1,0,0,0,176,2029,1,0,0,0,178,2031,1,0,0,
		0,180,2048,1,0,0,0,182,2063,1,0,0,0,184,2071,1,0,0,0,186,2083,1,0,0,0,
		188,2103,1,0,0,0,190,2110,1,0,0,0,192,2113,1,0,0,0,194,2126,1,0,0,0,196,
		2132,1,0,0,0,198,2138,1,0,0,0,200,2142,1,0,0,0,202,2299,1,0,0,0,204,2301,
		1,0,0,0,206,2357,1,0,0,0,208,2368,1,0,0,0,210,2375,1,0,0,0,212,2383,1,
		0,0,0,214,2410,1,0,0,0,216,2416,1,0,0,0,218,2421,1,0,0,0,220,2450,1,0,
		0,0,222,2452,1,0,0,0,224,2472,1,0,0,0,226,2477,1,0,0,0,228,2502,1,0,0,
		0,230,2511,1,0,0,0,232,2526,1,0,0,0,234,2533,1,0,0,0,236,2553,1,0,0,0,
		238,2555,1,0,0,0,240,2626,1,0,0,0,242,2651,1,0,0,0,244,2695,1,0,0,0,246,
		2704,1,0,0,0,248,2744,1,0,0,0,250,2749,1,0,0,0,252,2789,1,0,0,0,254,2791,
		1,0,0,0,256,2797,1,0,0,0,258,2805,1,0,0,0,260,2825,1,0,0,0,262,2892,1,
		0,0,0,264,2894,1,0,0,0,266,2904,1,0,0,0,268,2906,1,0,0,0,270,2910,1,0,
		0,0,272,2916,1,0,0,0,274,2936,1,0,0,0,276,2954,1,0,0,0,278,2968,1,0,0,
		0,280,2970,1,0,0,0,282,2973,1,0,0,0,284,2975,1,0,0,0,286,2992,1,0,0,0,
		288,2994,1,0,0,0,290,3007,1,0,0,0,292,3014,1,0,0,0,294,3025,1,0,0,0,296,
		3032,1,0,0,0,298,3043,1,0,0,0,300,3093,1,0,0,0,302,3185,1,0,0,0,304,3192,
		1,0,0,0,306,3195,1,0,0,0,308,3205,1,0,0,0,310,3378,1,0,0,0,312,3388,1,
		0,0,0,314,3399,1,0,0,0,316,3407,1,0,0,0,318,3415,1,0,0,0,320,3423,1,0,
		0,0,322,3431,1,0,0,0,324,3439,1,0,0,0,326,3448,1,0,0,0,328,3456,1,0,0,
		0,330,3467,1,0,0,0,332,3474,1,0,0,0,334,3486,1,0,0,0,336,3520,1,0,0,0,
		338,3522,1,0,0,0,340,3542,1,0,0,0,342,3549,1,0,0,0,344,3571,1,0,0,0,346,
		3573,1,0,0,0,348,3579,1,0,0,0,350,3585,1,0,0,0,352,3595,1,0,0,0,354,3613,
		1,0,0,0,356,3620,1,0,0,0,358,3648,1,0,0,0,360,3650,1,0,0,0,362,3668,1,
		0,0,0,364,3675,1,0,0,0,366,3678,1,0,0,0,368,3685,1,0,0,0,370,3703,1,0,
		0,0,372,3705,1,0,0,0,374,375,7,0,0,0,375,1,1,0,0,0,376,377,5,287,0,0,377,
		393,6,1,-1,0,378,379,3,4,2,0,379,380,6,1,-1,0,380,381,5,264,0,0,381,383,
		1,0,0,0,382,378,1,0,0,0,383,386,1,0,0,0,384,382,1,0,0,0,384,385,1,0,0,
		0,385,387,1,0,0,0,386,384,1,0,0,0,387,388,3,4,2,0,388,389,6,1,-1,0,389,
		393,1,0,0,0,390,391,5,263,0,0,391,393,6,1,-1,0,392,376,1,0,0,0,392,384,
		1,0,0,0,392,390,1,0,0,0,393,3,1,0,0,0,394,398,3,0,0,0,395,398,5,287,0,
		0,396,398,5,16,0,0,397,394,1,0,0,0,397,395,1,0,0,0,397,396,1,0,0,0,398,
		5,1,0,0,0,399,400,5,262,0,0,400,401,6,3,-1,0,401,403,5,265,0,0,402,399,
		1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,404,405,1,0,0,0,405,407,1,0,0,
		0,406,404,1,0,0,0,407,408,5,262,0,0,408,409,6,3,-1,0,409,7,1,0,0,0,410,
		412,3,10,5,0,411,410,1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,
		0,0,0,414,9,1,0,0,0,415,413,1,0,0,0,416,417,3,76,38,0,417,418,5,17,0,0,
		418,419,3,84,42,0,419,420,5,18,0,0,420,503,1,0,0,0,421,422,3,74,37,0,422,
		423,5,17,0,0,423,424,3,8,4,0,424,425,5,18,0,0,425,503,1,0,0,0,426,427,
		3,238,119,0,427,428,5,17,0,0,428,429,3,250,125,0,429,430,5,18,0,0,430,
		503,1,0,0,0,431,503,3,204,102,0,432,433,6,5,-1,0,433,434,3,288,144,0,434,
		435,6,5,-1,0,435,503,1,0,0,0,436,437,6,5,-1,0,437,438,3,72,36,0,438,439,
		6,5,-1,0,439,503,1,0,0,0,440,441,6,5,-1,0,441,442,3,66,33,0,442,443,6,
		5,-1,0,443,503,1,0,0,0,444,445,6,5,-1,0,445,446,3,90,45,0,446,447,6,5,
		-1,0,447,503,1,0,0,0,448,449,6,5,-1,0,449,450,3,92,46,0,450,451,6,5,-1,
		0,451,503,1,0,0,0,452,453,6,5,-1,0,453,454,3,22,11,0,454,455,6,5,-1,0,
		455,503,1,0,0,0,456,457,6,5,-1,0,457,458,3,338,169,0,458,459,6,5,-1,0,
		459,503,1,0,0,0,460,461,6,5,-1,0,461,462,3,346,173,0,462,463,6,5,-1,0,
		463,503,1,0,0,0,464,465,6,5,-1,0,465,466,3,360,180,0,466,467,6,5,-1,0,
		467,503,1,0,0,0,468,469,6,5,-1,0,469,470,3,64,32,0,470,471,6,5,-1,0,471,
		503,1,0,0,0,472,473,6,5,-1,0,473,474,3,156,78,0,474,475,6,5,-1,0,475,503,
		1,0,0,0,476,477,3,334,167,0,477,478,6,5,-1,0,478,503,1,0,0,0,479,480,6,
		5,-1,0,480,503,3,12,6,0,481,482,6,5,-1,0,482,503,3,14,7,0,483,484,6,5,
		-1,0,484,503,3,16,8,0,485,486,6,5,-1,0,486,503,3,18,9,0,487,488,6,5,-1,
		0,488,503,3,20,10,0,489,490,6,5,-1,0,490,491,3,26,13,0,491,492,6,5,-1,
		0,492,503,1,0,0,0,493,494,6,5,-1,0,494,495,3,42,21,0,495,496,6,5,-1,0,
		496,503,1,0,0,0,497,498,6,5,-1,0,498,503,3,40,20,0,499,503,3,30,15,0,500,
		501,6,5,-1,0,501,503,3,24,12,0,502,416,1,0,0,0,502,421,1,0,0,0,502,426,
		1,0,0,0,502,431,1,0,0,0,502,432,1,0,0,0,502,436,1,0,0,0,502,440,1,0,0,
		0,502,444,1,0,0,0,502,448,1,0,0,0,502,452,1,0,0,0,502,456,1,0,0,0,502,
		460,1,0,0,0,502,464,1,0,0,0,502,468,1,0,0,0,502,472,1,0,0,0,502,476,1,
		0,0,0,502,479,1,0,0,0,502,481,1,0,0,0,502,483,1,0,0,0,502,485,1,0,0,0,
		502,487,1,0,0,0,502,489,1,0,0,0,502,493,1,0,0,0,502,497,1,0,0,0,502,499,
		1,0,0,0,502,500,1,0,0,0,503,11,1,0,0,0,504,505,5,19,0,0,505,506,3,32,16,
		0,506,507,6,6,-1,0,507,13,1,0,0,0,508,509,5,20,0,0,509,510,3,32,16,0,510,
		511,6,7,-1,0,511,15,1,0,0,0,512,513,5,21,0,0,513,514,5,22,0,0,514,515,
		3,32,16,0,515,516,6,8,-1,0,516,17,1,0,0,0,517,518,5,23,0,0,518,519,3,34,
		17,0,519,520,6,9,-1,0,520,19,1,0,0,0,521,522,5,24,0,0,522,523,3,34,17,
		0,523,524,6,10,-1,0,524,21,1,0,0,0,525,526,5,25,0,0,526,527,3,100,50,0,
		527,528,3,2,1,0,528,529,5,17,0,0,529,530,3,122,61,0,530,531,5,18,0,0,531,
		532,6,11,-1,0,532,23,1,0,0,0,533,534,5,26,0,0,534,25,1,0,0,0,535,536,5,
		27,0,0,536,537,3,28,14,0,537,538,6,13,-1,0,538,554,1,0,0,0,539,540,5,27,
		0,0,540,541,3,28,14,0,541,542,5,28,0,0,542,543,3,28,14,0,543,544,6,13,
		-1,0,544,554,1,0,0,0,545,546,5,27,0,0,546,547,3,28,14,0,547,548,5,28,0,
		0,548,549,3,28,14,0,549,550,5,28,0,0,550,551,3,28,14,0,551,552,6,13,-1,
		0,552,554,1,0,0,0,553,535,1,0,0,0,553,539,1,0,0,0,553,545,1,0,0,0,554,
		27,1,0,0,0,555,556,5,263,0,0,556,29,1,0,0,0,557,558,5,29,0,0,558,564,5,
		17,0,0,559,560,3,118,59,0,560,561,6,15,-1,0,561,563,1,0,0,0,562,559,1,
		0,0,0,563,566,1,0,0,0,564,562,1,0,0,0,564,565,1,0,0,0,565,567,1,0,0,0,
		566,564,1,0,0,0,567,568,5,18,0,0,568,31,1,0,0,0,569,570,5,172,0,0,570,
		33,1,0,0,0,571,572,7,1,0,0,572,35,1,0,0,0,573,574,5,174,0,0,574,595,6,
		18,-1,0,575,576,3,32,16,0,576,577,5,264,0,0,577,578,6,18,-1,0,578,595,
		1,0,0,0,579,580,3,32,16,0,580,581,6,18,-1,0,581,595,1,0,0,0,582,583,5,
		187,0,0,583,584,5,30,0,0,584,585,3,32,16,0,585,586,5,31,0,0,586,587,6,
		18,-1,0,587,595,1,0,0,0,588,589,5,188,0,0,589,590,5,30,0,0,590,591,3,34,
		17,0,591,592,5,31,0,0,592,593,6,18,-1,0,593,595,1,0,0,0,594,573,1,0,0,
		0,594,575,1,0,0,0,594,579,1,0,0,0,594,582,1,0,0,0,594,588,1,0,0,0,595,
		37,1,0,0,0,596,597,3,32,16,0,597,598,6,19,-1,0,598,602,1,0,0,0,599,600,
		5,261,0,0,600,602,6,19,-1,0,601,596,1,0,0,0,601,599,1,0,0,0,602,39,1,0,
		0,0,603,604,5,266,0,0,604,620,5,288,0,0,605,606,5,266,0,0,606,607,5,288,
		0,0,607,620,5,262,0,0,608,609,5,267,0,0,609,620,5,288,0,0,610,611,5,268,
		0,0,611,620,5,288,0,0,612,613,5,269,0,0,613,620,5,288,0,0,614,620,5,270,
		0,0,615,620,5,271,0,0,616,617,5,272,0,0,617,620,5,262,0,0,618,620,5,32,
		0,0,619,603,1,0,0,0,619,605,1,0,0,0,619,608,1,0,0,0,619,610,1,0,0,0,619,
		612,1,0,0,0,619,614,1,0,0,0,619,615,1,0,0,0,619,616,1,0,0,0,619,618,1,
		0,0,0,620,41,1,0,0,0,621,622,5,33,0,0,622,623,3,142,71,0,623,624,5,34,
		0,0,624,625,3,2,1,0,625,626,6,21,-1,0,626,652,1,0,0,0,627,628,5,33,0,0,
		628,629,3,118,59,0,629,630,5,34,0,0,630,631,3,2,1,0,631,632,6,21,-1,0,
		632,652,1,0,0,0,633,634,5,33,0,0,634,635,3,180,90,0,635,636,5,34,0,0,636,
		637,3,2,1,0,637,638,6,21,-1,0,638,652,1,0,0,0,639,640,5,33,0,0,640,641,
		3,44,22,0,641,642,5,34,0,0,642,643,3,2,1,0,643,644,6,21,-1,0,644,652,1,
		0,0,0,645,646,5,33,0,0,646,647,3,46,23,0,647,648,5,34,0,0,648,649,3,2,
		1,0,649,650,6,21,-1,0,650,652,1,0,0,0,651,621,1,0,0,0,651,627,1,0,0,0,
		651,633,1,0,0,0,651,639,1,0,0,0,651,645,1,0,0,0,652,43,1,0,0,0,653,654,
		5,35,0,0,654,655,3,48,24,0,655,656,6,22,-1,0,656,680,1,0,0,0,657,658,5,
		35,0,0,658,659,3,48,24,0,659,660,5,36,0,0,660,661,3,6,3,0,661,662,6,22,
		-1,0,662,680,1,0,0,0,663,664,5,35,0,0,664,665,3,48,24,0,665,666,5,36,0,
		0,666,667,5,17,0,0,667,668,3,52,26,0,668,669,5,18,0,0,669,670,6,22,-1,
		0,670,680,1,0,0,0,671,672,5,35,0,0,672,673,3,48,24,0,673,674,5,36,0,0,
		674,675,5,30,0,0,675,676,3,304,152,0,676,677,5,31,0,0,677,678,6,22,-1,
		0,678,680,1,0,0,0,679,653,1,0,0,0,679,657,1,0,0,0,679,663,1,0,0,0,679,
		671,1,0,0,0,680,45,1,0,0,0,681,682,5,35,0,0,682,683,5,30,0,0,683,684,3,
		50,25,0,684,685,5,31,0,0,685,686,3,48,24,0,686,687,6,23,-1,0,687,720,1,
		0,0,0,688,689,5,35,0,0,689,690,5,30,0,0,690,691,3,50,25,0,691,692,5,31,
		0,0,692,693,3,48,24,0,693,694,5,36,0,0,694,695,3,6,3,0,695,696,6,23,-1,
		0,696,720,1,0,0,0,697,698,5,35,0,0,698,699,5,30,0,0,699,700,3,50,25,0,
		700,701,5,31,0,0,701,702,3,48,24,0,702,703,5,36,0,0,703,704,5,17,0,0,704,
		705,3,52,26,0,705,706,5,18,0,0,706,707,6,23,-1,0,707,720,1,0,0,0,708,709,
		5,35,0,0,709,710,5,30,0,0,710,711,3,50,25,0,711,712,5,31,0,0,712,713,3,
		48,24,0,713,714,5,36,0,0,714,715,5,30,0,0,715,716,3,304,152,0,716,717,
		5,31,0,0,717,718,6,23,-1,0,718,720,1,0,0,0,719,681,1,0,0,0,719,688,1,0,
		0,0,719,697,1,0,0,0,719,708,1,0,0,0,720,47,1,0,0,0,721,722,3,172,86,0,
		722,723,6,24,-1,0,723,49,1,0,0,0,724,725,3,128,64,0,725,726,6,25,-1,0,
		726,731,1,0,0,0,727,728,3,180,90,0,728,729,6,25,-1,0,729,731,1,0,0,0,730,
		724,1,0,0,0,730,727,1,0,0,0,731,51,1,0,0,0,732,733,3,54,27,0,733,734,3,
		56,28,0,734,735,6,26,-1,0,735,53,1,0,0,0,736,737,3,310,155,0,737,738,6,
		27,-1,0,738,741,1,0,0,0,739,741,3,40,20,0,740,736,1,0,0,0,740,739,1,0,
		0,0,741,744,1,0,0,0,742,740,1,0,0,0,742,743,1,0,0,0,743,55,1,0,0,0,744,
		742,1,0,0,0,745,746,3,58,29,0,746,747,3,60,30,0,747,748,3,2,1,0,748,749,
		5,36,0,0,749,750,3,310,155,0,750,751,6,28,-1,0,751,754,1,0,0,0,752,754,
		3,40,20,0,753,745,1,0,0,0,753,752,1,0,0,0,754,757,1,0,0,0,755,753,1,0,
		0,0,755,756,1,0,0,0,756,57,1,0,0,0,757,755,1,0,0,0,758,759,7,2,0,0,759,
		760,6,29,-1,0,760,59,1,0,0,0,761,763,3,62,31,0,762,764,5,260,0,0,763,762,
		1,0,0,0,763,764,1,0,0,0,764,765,1,0,0,0,765,766,6,30,-1,0,766,61,1,0,0,
		0,767,768,3,148,74,0,768,769,6,31,-1,0,769,786,1,0,0,0,770,771,3,2,1,0,
		771,772,6,31,-1,0,772,786,1,0,0,0,773,774,5,195,0,0,774,786,6,31,-1,0,
		775,776,5,196,0,0,776,786,6,31,-1,0,777,778,5,201,0,0,778,779,5,39,0,0,
		779,780,5,263,0,0,780,786,6,31,-1,0,781,782,5,201,0,0,782,783,3,118,59,
		0,783,784,6,31,-1,0,784,786,1,0,0,0,785,767,1,0,0,0,785,770,1,0,0,0,785,
		773,1,0,0,0,785,775,1,0,0,0,785,777,1,0,0,0,785,781,1,0,0,0,786,63,1,0,
		0,0,787,788,5,197,0,0,788,789,5,40,0,0,789,790,3,2,1,0,790,791,6,32,-1,
		0,791,799,1,0,0,0,792,793,5,197,0,0,793,794,3,2,1,0,794,795,6,32,-1,0,
		795,799,1,0,0,0,796,797,5,197,0,0,797,799,6,32,-1,0,798,787,1,0,0,0,798,
		792,1,0,0,0,798,796,1,0,0,0,799,65,1,0,0,0,800,801,5,41,0,0,801,802,5,
		42,0,0,802,803,3,32,16,0,803,804,5,43,0,0,804,805,3,68,34,0,805,806,5,
		44,0,0,806,807,3,0,0,0,807,808,6,33,-1,0,808,67,1,0,0,0,809,810,3,70,35,
		0,810,811,6,34,-1,0,811,813,1,0,0,0,812,809,1,0,0,0,813,816,1,0,0,0,814,
		812,1,0,0,0,814,815,1,0,0,0,815,817,1,0,0,0,816,814,1,0,0,0,817,818,6,
		34,-1,0,818,69,1,0,0,0,819,820,7,3,0,0,820,71,1,0,0,0,821,822,5,48,0,0,
		822,823,5,36,0,0,823,824,5,30,0,0,824,825,3,304,152,0,825,826,5,31,0,0,
		826,827,6,36,-1,0,827,73,1,0,0,0,828,829,5,49,0,0,829,830,3,2,1,0,830,
		831,6,37,-1,0,831,75,1,0,0,0,832,838,5,50,0,0,833,834,3,78,39,0,834,835,
		6,38,-1,0,835,837,1,0,0,0,836,833,1,0,0,0,837,840,1,0,0,0,838,836,1,0,
		0,0,838,839,1,0,0,0,839,841,1,0,0,0,840,838,1,0,0,0,841,842,3,2,1,0,842,
		843,3,186,93,0,843,844,3,80,40,0,844,845,3,82,41,0,845,846,6,38,-1,0,846,
		77,1,0,0,0,847,848,5,51,0,0,848,912,6,39,-1,0,849,850,5,52,0,0,850,912,
		6,39,-1,0,851,852,5,198,0,0,852,912,6,39,-1,0,853,854,5,201,0,0,854,912,
		6,39,-1,0,855,856,5,220,0,0,856,912,6,39,-1,0,857,858,5,53,0,0,858,912,
		6,39,-1,0,859,860,5,54,0,0,860,912,6,39,-1,0,861,862,5,55,0,0,862,912,
		6,39,-1,0,863,864,5,56,0,0,864,912,6,39,-1,0,865,866,5,243,0,0,866,912,
		6,39,-1,0,867,868,5,15,0,0,868,912,6,39,-1,0,869,870,5,223,0,0,870,912,
		6,39,-1,0,871,872,5,57,0,0,872,912,6,39,-1,0,873,874,5,58,0,0,874,912,
		6,39,-1,0,875,876,5,59,0,0,876,912,6,39,-1,0,877,878,5,60,0,0,878,912,
		6,39,-1,0,879,880,5,61,0,0,880,912,6,39,-1,0,881,882,5,62,0,0,882,883,
		5,51,0,0,883,912,6,39,-1,0,884,885,5,62,0,0,885,886,5,52,0,0,886,912,6,
		39,-1,0,887,888,5,62,0,0,888,889,5,63,0,0,889,912,6,39,-1,0,890,891,5,
		62,0,0,891,892,5,64,0,0,892,912,6,39,-1,0,893,894,5,62,0,0,894,895,5,65,
		0,0,895,912,6,39,-1,0,896,897,5,62,0,0,897,898,5,66,0,0,898,912,6,39,-1,
		0,899,900,5,67,0,0,900,912,6,39,-1,0,901,902,5,68,0,0,902,912,6,39,-1,
		0,903,904,5,69,0,0,904,912,6,39,-1,0,905,906,5,70,0,0,906,907,5,30,0,0,
		907,908,3,32,16,0,908,909,5,31,0,0,909,910,6,39,-1,0,910,912,1,0,0,0,911,
		847,1,0,0,0,911,849,1,0,0,0,911,851,1,0,0,0,911,853,1,0,0,0,911,855,1,
		0,0,0,911,857,1,0,0,0,911,859,1,0,0,0,911,861,1,0,0,0,911,863,1,0,0,0,
		911,865,1,0,0,0,911,867,1,0,0,0,911,869,1,0,0,0,911,871,1,0,0,0,911,873,
		1,0,0,0,911,875,1,0,0,0,911,877,1,0,0,0,911,879,1,0,0,0,911,881,1,0,0,
		0,911,884,1,0,0,0,911,887,1,0,0,0,911,890,1,0,0,0,911,893,1,0,0,0,911,
		896,1,0,0,0,911,899,1,0,0,0,911,901,1,0,0,0,911,903,1,0,0,0,911,905,1,
		0,0,0,912,79,1,0,0,0,913,919,1,0,0,0,914,915,5,71,0,0,915,916,3,126,63,
		0,916,917,6,40,-1,0,917,919,1,0,0,0,918,913,1,0,0,0,918,914,1,0,0,0,919,
		81,1,0,0,0,920,926,1,0,0,0,921,922,5,72,0,0,922,923,3,86,43,0,923,924,
		6,41,-1,0,924,926,1,0,0,0,925,920,1,0,0,0,925,921,1,0,0,0,926,83,1,0,0,
		0,927,929,3,202,101,0,928,927,1,0,0,0,929,932,1,0,0,0,930,928,1,0,0,0,
		930,931,1,0,0,0,931,85,1,0,0,0,932,930,1,0,0,0,933,934,3,126,63,0,934,
		935,6,43,-1,0,935,936,5,28,0,0,936,938,1,0,0,0,937,933,1,0,0,0,938,941,
		1,0,0,0,939,937,1,0,0,0,939,940,1,0,0,0,940,942,1,0,0,0,941,939,1,0,0,
		0,942,943,3,126,63,0,943,944,6,43,-1,0,944,87,1,0,0,0,945,946,7,4,0,0,
		946,89,1,0,0,0,947,948,3,88,44,0,948,950,3,32,16,0,949,951,7,5,0,0,950,
		949,1,0,0,0,950,951,1,0,0,0,951,952,1,0,0,0,952,953,6,45,-1,0,953,999,
		1,0,0,0,954,955,3,88,44,0,955,956,3,32,16,0,956,957,5,75,0,0,957,959,3,
		32,16,0,958,960,5,263,0,0,959,958,1,0,0,0,959,960,1,0,0,0,960,961,1,0,
		0,0,961,962,6,45,-1,0,962,999,1,0,0,0,963,964,3,88,44,0,964,965,3,32,16,
		0,965,966,5,75,0,0,966,967,3,32,16,0,967,968,5,28,0,0,968,970,3,32,16,
		0,969,971,5,263,0,0,970,969,1,0,0,0,970,971,1,0,0,0,971,972,1,0,0,0,972,
		973,6,45,-1,0,973,999,1,0,0,0,974,975,3,88,44,0,975,976,3,32,16,0,976,
		977,5,28,0,0,977,978,3,32,16,0,978,979,5,75,0,0,979,981,3,32,16,0,980,
		982,5,263,0,0,981,980,1,0,0,0,981,982,1,0,0,0,982,983,1,0,0,0,983,984,
		6,45,-1,0,984,999,1,0,0,0,985,986,3,88,44,0,986,987,3,32,16,0,987,988,
		5,28,0,0,988,989,3,32,16,0,989,990,5,75,0,0,990,991,3,32,16,0,991,992,
		5,28,0,0,992,994,3,32,16,0,993,995,5,263,0,0,994,993,1,0,0,0,994,995,1,
		0,0,0,995,996,1,0,0,0,996,997,6,45,-1,0,997,999,1,0,0,0,998,947,1,0,0,
		0,998,954,1,0,0,0,998,963,1,0,0,0,998,974,1,0,0,0,998,985,1,0,0,0,999,
		91,1,0,0,0,1000,1006,5,21,0,0,1001,1002,3,94,47,0,1002,1003,6,46,-1,0,
		1003,1005,1,0,0,0,1004,1001,1,0,0,0,1005,1008,1,0,0,0,1006,1004,1,0,0,
		0,1006,1007,1,0,0,0,1007,1009,1,0,0,0,1008,1006,1,0,0,0,1009,1010,3,2,
		1,0,1010,1011,6,46,-1,0,1011,1012,3,96,48,0,1012,1022,6,46,-1,0,1013,1014,
		5,179,0,0,1014,1015,5,36,0,0,1015,1016,5,30,0,0,1016,1017,3,304,152,0,
		1017,1018,5,31,0,0,1018,1019,6,46,-1,0,1019,1020,3,96,48,0,1020,1021,6,
		46,-1,0,1021,1023,1,0,0,0,1022,1013,1,0,0,0,1022,1023,1,0,0,0,1023,93,
		1,0,0,0,1024,1025,5,76,0,0,1025,95,1,0,0,0,1026,1030,1,0,0,0,1027,1028,
		5,297,0,0,1028,1030,6,48,-1,0,1029,1026,1,0,0,0,1029,1027,1,0,0,0,1030,
		97,1,0,0,0,1031,1032,7,6,0,0,1032,99,1,0,0,0,1033,1034,3,98,49,0,1034,
		1035,6,50,-1,0,1035,1037,1,0,0,0,1036,1033,1,0,0,0,1037,1040,1,0,0,0,1038,
		1036,1,0,0,0,1038,1039,1,0,0,0,1039,101,1,0,0,0,1040,1038,1,0,0,0,1041,
		1067,3,104,52,0,1042,1043,5,279,0,0,1043,1044,3,172,86,0,1044,1045,6,51,
		-1,0,1045,1067,1,0,0,0,1046,1047,5,285,0,0,1047,1048,3,182,91,0,1048,1049,
		6,51,-1,0,1049,1067,1,0,0,0,1050,1051,5,285,0,0,1051,1052,3,178,89,0,1052,
		1053,6,51,-1,0,1053,1067,1,0,0,0,1054,1055,5,283,0,0,1055,1056,3,126,63,
		0,1056,1057,6,51,-1,0,1057,1067,1,0,0,0,1058,1059,5,280,0,0,1059,1060,
		3,106,53,0,1060,1061,6,51,-1,0,1061,1067,1,0,0,0,1062,1063,5,286,0,0,1063,
		1064,3,50,25,0,1064,1065,6,51,-1,0,1065,1067,1,0,0,0,1066,1041,1,0,0,0,
		1066,1042,1,0,0,0,1066,1046,1,0,0,0,1066,1050,1,0,0,0,1066,1054,1,0,0,
		0,1066,1058,1,0,0,0,1066,1062,1,0,0,0,1067,103,1,0,0,0,1068,1069,5,274,
		0,0,1069,1147,6,52,-1,0,1070,1071,5,275,0,0,1071,1072,3,32,16,0,1072,1073,
		6,52,-1,0,1073,1147,1,0,0,0,1074,1075,5,275,0,0,1075,1076,3,0,0,0,1076,
		1077,6,52,-1,0,1077,1147,1,0,0,0,1078,1079,5,276,0,0,1079,1080,3,32,16,
		0,1080,1081,6,52,-1,0,1081,1147,1,0,0,0,1082,1083,5,277,0,0,1083,1084,
		3,34,17,0,1084,1085,6,52,-1,0,1085,1147,1,0,0,0,1086,1087,5,278,0,0,1087,
		1088,3,36,18,0,1088,1089,6,52,-1,0,1089,1147,1,0,0,0,1090,1091,5,278,0,
		0,1091,1092,3,34,17,0,1092,1093,6,52,-1,0,1093,1147,1,0,0,0,1094,1095,
		5,278,0,0,1095,1096,5,30,0,0,1096,1097,3,304,152,0,1097,1098,5,31,0,0,
		1098,1099,6,52,-1,0,1099,1147,1,0,0,0,1100,1101,5,278,0,0,1101,1102,5,
		84,0,0,1102,1103,5,30,0,0,1103,1104,3,304,152,0,1104,1105,5,31,0,0,1105,
		1106,6,52,-1,0,1106,1147,1,0,0,0,1107,1108,5,281,0,0,1108,1109,3,32,16,
		0,1109,1110,6,52,-1,0,1110,1147,1,0,0,0,1111,1112,5,281,0,0,1112,1113,
		3,0,0,0,1113,1114,6,52,-1,0,1114,1147,1,0,0,0,1115,1116,5,284,0,0,1116,
		1117,3,6,3,0,1117,1118,6,52,-1,0,1118,1147,1,0,0,0,1119,1120,5,284,0,0,
		1120,1121,5,223,0,0,1121,1122,5,30,0,0,1122,1123,3,6,3,0,1123,1124,5,31,
		0,0,1124,1125,6,52,-1,0,1125,1147,1,0,0,0,1126,1127,5,284,0,0,1127,1128,
		5,84,0,0,1128,1129,5,30,0,0,1129,1130,3,304,152,0,1130,1131,5,31,0,0,1131,
		1132,6,52,-1,0,1132,1147,1,0,0,0,1133,1134,5,286,0,0,1134,1135,3,32,16,
		0,1135,1136,6,52,-1,0,1136,1147,1,0,0,0,1137,1138,5,282,0,0,1138,1144,
		6,52,-1,0,1139,1140,5,30,0,0,1140,1141,3,108,54,0,1141,1142,5,31,0,0,1142,
		1145,1,0,0,0,1143,1145,5,85,0,0,1144,1139,1,0,0,0,1144,1143,1,0,0,0,1145,
		1147,1,0,0,0,1146,1068,1,0,0,0,1146,1070,1,0,0,0,1146,1074,1,0,0,0,1146,
		1078,1,0,0,0,1146,1082,1,0,0,0,1146,1086,1,0,0,0,1146,1090,1,0,0,0,1146,
		1094,1,0,0,0,1146,1100,1,0,0,0,1146,1107,1,0,0,0,1146,1111,1,0,0,0,1146,
		1115,1,0,0,0,1146,1119,1,0,0,0,1146,1126,1,0,0,0,1146,1133,1,0,0,0,1146,
		1137,1,0,0,0,1147,105,1,0,0,0,1148,1149,3,174,87,0,1149,1150,3,142,71,
		0,1150,1151,3,114,57,0,1151,1152,6,53,-1,0,1152,107,1,0,0,0,1153,1178,
		1,0,0,0,1154,1155,3,0,0,0,1155,1156,6,54,-1,0,1156,1161,1,0,0,0,1157,1158,
		3,32,16,0,1158,1159,6,54,-1,0,1159,1161,1,0,0,0,1160,1154,1,0,0,0,1160,
		1157,1,0,0,0,1161,1162,1,0,0,0,1162,1163,5,28,0,0,1163,1165,1,0,0,0,1164,
		1160,1,0,0,0,1165,1168,1,0,0,0,1166,1164,1,0,0,0,1166,1167,1,0,0,0,1167,
		1175,1,0,0,0,1168,1166,1,0,0,0,1169,1170,3,0,0,0,1170,1171,6,54,-1,0,1171,
		1176,1,0,0,0,1172,1173,3,32,16,0,1173,1174,6,54,-1,0,1174,1176,1,0,0,0,
		1175,1169,1,0,0,0,1175,1172,1,0,0,0,1176,1178,1,0,0,0,1177,1153,1,0,0,
		0,1177,1166,1,0,0,0,1178,109,1,0,0,0,1179,1186,5,86,0,0,1180,1181,3,142,
		71,0,1181,1182,6,55,-1,0,1182,1183,5,28,0,0,1183,1185,1,0,0,0,1184,1180,
		1,0,0,0,1185,1188,1,0,0,0,1186,1184,1,0,0,0,1186,1187,1,0,0,0,1187,1189,
		1,0,0,0,1188,1186,1,0,0,0,1189,1190,3,142,71,0,1190,1191,6,55,-1,0,1191,
		1192,5,87,0,0,1192,111,1,0,0,0,1193,1200,5,42,0,0,1194,1195,3,150,75,0,
		1195,1196,6,56,-1,0,1196,1197,5,28,0,0,1197,1199,1,0,0,0,1198,1194,1,0,
		0,0,1199,1202,1,0,0,0,1200,1198,1,0,0,0,1200,1201,1,0,0,0,1201,1203,1,
		0,0,0,1202,1200,1,0,0,0,1203,1204,3,150,75,0,1204,1205,6,56,-1,0,1205,
		1206,5,43,0,0,1206,113,1,0,0,0,1207,1214,5,30,0,0,1208,1209,3,116,58,0,
		1209,1210,6,57,-1,0,1210,1211,5,28,0,0,1211,1213,1,0,0,0,1212,1208,1,0,
		0,0,1213,1216,1,0,0,0,1214,1212,1,0,0,0,1214,1215,1,0,0,0,1215,1217,1,
		0,0,0,1216,1214,1,0,0,0,1217,1218,3,116,58,0,1218,1219,6,57,-1,0,1219,
		1220,5,31,0,0,1220,1225,1,0,0,0,1221,1222,5,30,0,0,1222,1225,5,31,0,0,
		1223,1225,5,85,0,0,1224,1207,1,0,0,0,1224,1221,1,0,0,0,1224,1223,1,0,0,
		0,1225,115,1,0,0,0,1226,1227,5,176,0,0,1227,1237,6,58,-1,0,1228,1229,3,
		234,117,0,1229,1230,3,142,71,0,1230,1232,3,230,115,0,1231,1233,3,0,0,0,
		1232,1231,1,0,0,0,1232,1233,1,0,0,0,1233,1234,1,0,0,0,1234,1235,6,58,-1,
		0,1235,1237,1,0,0,0,1236,1226,1,0,0,0,1236,1228,1,0,0,0,1237,117,1,0,0,
		0,1238,1239,5,42,0,0,1239,1240,3,2,1,0,1240,1241,5,43,0,0,1241,1242,3,
		120,60,0,1242,1243,6,59,-1,0,1243,1276,1,0,0,0,1244,1245,5,42,0,0,1245,
		1246,3,178,89,0,1246,1247,5,43,0,0,1247,1248,3,120,60,0,1248,1249,6,59,
		-1,0,1249,1276,1,0,0,0,1250,1251,5,42,0,0,1251,1252,5,261,0,0,1252,1253,
		5,43,0,0,1253,1254,3,120,60,0,1254,1255,6,59,-1,0,1255,1276,1,0,0,0,1256,
		1257,5,42,0,0,1257,1258,5,197,0,0,1258,1259,3,2,1,0,1259,1260,5,43,0,0,
		1260,1261,3,120,60,0,1261,1262,6,59,-1,0,1262,1276,1,0,0,0,1263,1264,3,
		120,60,0,1264,1265,6,59,-1,0,1265,1276,1,0,0,0,1266,1267,3,178,89,0,1267,
		1268,6,59,-1,0,1268,1276,1,0,0,0,1269,1270,5,256,0,0,1270,1276,6,59,-1,
		0,1271,1272,5,257,0,0,1272,1276,6,59,-1,0,1273,1274,5,258,0,0,1274,1276,
		6,59,-1,0,1275,1238,1,0,0,0,1275,1244,1,0,0,0,1275,1250,1,0,0,0,1275,1256,
		1,0,0,0,1275,1263,1,0,0,0,1275,1266,1,0,0,0,1275,1269,1,0,0,0,1275,1271,
		1,0,0,0,1275,1273,1,0,0,0,1276,119,1,0,0,0,1277,1278,3,2,1,0,1278,1279,
		6,60,-1,0,1279,1280,5,88,0,0,1280,1282,1,0,0,0,1281,1277,1,0,0,0,1282,
		1285,1,0,0,0,1283,1281,1,0,0,0,1283,1284,1,0,0,0,1284,1286,1,0,0,0,1285,
		1283,1,0,0,0,1286,1287,3,2,1,0,1287,1288,6,60,-1,0,1288,121,1,0,0,0,1289,
		1290,3,124,62,0,1290,1291,6,61,-1,0,1291,1293,1,0,0,0,1292,1289,1,0,0,
		0,1293,1296,1,0,0,0,1294,1292,1,0,0,0,1294,1295,1,0,0,0,1295,123,1,0,0,
		0,1296,1294,1,0,0,0,1297,1298,5,179,0,0,1298,1299,5,89,0,0,1299,1300,3,
		32,16,0,1300,1301,6,62,-1,0,1301,1309,1,0,0,0,1302,1303,3,156,78,0,1303,
		1304,6,62,-1,0,1304,1309,1,0,0,0,1305,1306,3,336,168,0,1306,1307,6,62,
		-1,0,1307,1309,1,0,0,0,1308,1297,1,0,0,0,1308,1302,1,0,0,0,1308,1305,1,
		0,0,0,1309,125,1,0,0,0,1310,1311,3,118,59,0,1311,1312,6,63,-1,0,1312,1317,
		1,0,0,0,1313,1314,3,142,71,0,1314,1315,6,63,-1,0,1315,1317,1,0,0,0,1316,
		1310,1,0,0,0,1316,1313,1,0,0,0,1317,127,1,0,0,0,1318,1319,3,126,63,0,1319,
		1320,6,64,-1,0,1320,1333,1,0,0,0,1321,1322,5,42,0,0,1322,1323,3,2,1,0,
		1323,1324,5,43,0,0,1324,1325,6,64,-1,0,1325,1333,1,0,0,0,1326,1327,5,42,
		0,0,1327,1328,5,197,0,0,1328,1329,3,2,1,0,1329,1330,5,43,0,0,1330,1331,
		6,64,-1,0,1331,1333,1,0,0,0,1332,1318,1,0,0,0,1332,1321,1,0,0,0,1332,1326,
		1,0,0,0,1333,129,1,0,0,0,1334,1346,1,0,0,0,1335,1336,3,134,67,0,1336,1342,
		6,65,-1,0,1337,1338,3,132,66,0,1338,1339,6,65,-1,0,1339,1341,1,0,0,0,1340,
		1337,1,0,0,0,1341,1344,1,0,0,0,1342,1340,1,0,0,0,1342,1343,1,0,0,0,1343,
		1346,1,0,0,0,1344,1342,1,0,0,0,1345,1334,1,0,0,0,1345,1335,1,0,0,0,1346,
		131,1,0,0,0,1347,1348,5,261,0,0,1348,1370,6,66,-1,0,1349,1350,5,260,0,
		0,1350,1370,6,66,-1,0,1351,1352,5,42,0,0,1352,1353,3,32,16,0,1353,1354,
		5,43,0,0,1354,1355,6,66,-1,0,1355,1370,1,0,0,0,1356,1357,5,42,0,0,1357,
		1358,3,32,16,0,1358,1359,5,265,0,0,1359,1360,3,32,16,0,1360,1361,5,43,
		0,0,1361,1362,6,66,-1,0,1362,1370,1,0,0,0,1363,1364,5,42,0,0,1364,1365,
		5,265,0,0,1365,1366,3,32,16,0,1366,1367,5,43,0,0,1367,1368,6,66,-1,0,1368,
		1370,1,0,0,0,1369,1347,1,0,0,0,1369,1349,1,0,0,0,1369,1351,1,0,0,0,1369,
		1356,1,0,0,0,1369,1363,1,0,0,0,1370,133,1,0,0,0,1371,1517,6,67,-1,0,1372,
		1373,5,202,0,0,1373,1374,5,30,0,0,1374,1375,3,6,3,0,1375,1376,5,28,0,0,
		1376,1377,3,6,3,0,1377,1378,5,28,0,0,1378,1379,3,6,3,0,1379,1380,5,28,
		0,0,1380,1381,3,6,3,0,1381,1382,5,31,0,0,1382,1383,6,67,-1,0,1383,1517,
		1,0,0,0,1384,1385,5,202,0,0,1385,1386,5,30,0,0,1386,1387,3,6,3,0,1387,
		1388,5,28,0,0,1388,1389,3,6,3,0,1389,1390,5,31,0,0,1390,1391,6,67,-1,0,
		1391,1517,1,0,0,0,1392,1393,5,203,0,0,1393,1394,5,204,0,0,1394,1395,5,
		42,0,0,1395,1396,3,32,16,0,1396,1397,5,43,0,0,1397,1398,6,67,-1,0,1398,
		1517,1,0,0,0,1399,1400,5,203,0,0,1400,1401,5,205,0,0,1401,1402,5,42,0,
		0,1402,1403,3,32,16,0,1403,1404,5,43,0,0,1404,1405,3,130,65,0,1405,1406,
		6,67,-1,0,1406,1517,1,0,0,0,1407,1408,5,206,0,0,1408,1517,6,67,-1,0,1409,
		1410,5,207,0,0,1410,1517,6,67,-1,0,1411,1412,5,208,0,0,1412,1517,6,67,
		-1,0,1413,1414,5,200,0,0,1414,1517,6,67,-1,0,1415,1416,5,182,0,0,1416,
		1517,6,67,-1,0,1417,1418,5,183,0,0,1418,1517,6,67,-1,0,1419,1420,5,184,
		0,0,1420,1517,6,67,-1,0,1421,1422,5,185,0,0,1422,1517,6,67,-1,0,1423,1424,
		5,186,0,0,1424,1517,6,67,-1,0,1425,1426,5,187,0,0,1426,1517,6,67,-1,0,
		1427,1428,5,188,0,0,1428,1517,6,67,-1,0,1429,1430,5,209,0,0,1430,1517,
		6,67,-1,0,1431,1432,5,189,0,0,1432,1517,6,67,-1,0,1433,1434,5,190,0,0,
		1434,1517,6,67,-1,0,1435,1436,5,191,0,0,1436,1517,6,67,-1,0,1437,1438,
		5,192,0,0,1438,1517,6,67,-1,0,1439,1440,5,210,0,0,1440,1517,6,67,-1,0,
		1441,1442,5,211,0,0,1442,1517,6,67,-1,0,1443,1444,5,212,0,0,1444,1517,
		6,67,-1,0,1445,1446,5,213,0,0,1446,1517,6,67,-1,0,1447,1448,5,214,0,0,
		1448,1517,6,67,-1,0,1449,1450,5,215,0,0,1450,1517,6,67,-1,0,1451,1452,
		5,216,0,0,1452,1517,6,67,-1,0,1453,1454,5,217,0,0,1454,1455,3,136,68,0,
		1455,1456,6,67,-1,0,1456,1517,1,0,0,0,1457,1458,5,218,0,0,1458,1459,3,
		136,68,0,1459,1460,6,67,-1,0,1460,1517,1,0,0,0,1461,1462,5,219,0,0,1462,
		1517,6,67,-1,0,1463,1464,5,220,0,0,1464,1465,3,136,68,0,1465,1466,6,67,
		-1,0,1466,1517,1,0,0,0,1467,1468,5,221,0,0,1468,1469,3,138,69,0,1469,1470,
		6,67,-1,0,1470,1517,1,0,0,0,1471,1472,5,221,0,0,1472,1473,3,138,69,0,1473,
		1474,5,28,0,0,1474,1475,3,6,3,0,1475,1476,6,67,-1,0,1476,1517,1,0,0,0,
		1477,1478,5,193,0,0,1478,1517,6,67,-1,0,1479,1480,5,194,0,0,1480,1517,
		6,67,-1,0,1481,1482,5,90,0,0,1482,1483,5,183,0,0,1483,1517,6,67,-1,0,1484,
		1485,5,90,0,0,1485,1486,5,184,0,0,1486,1517,6,67,-1,0,1487,1488,5,90,0,
		0,1488,1489,5,185,0,0,1489,1517,6,67,-1,0,1490,1491,5,90,0,0,1491,1492,
		5,186,0,0,1492,1517,6,67,-1,0,1493,1494,5,62,0,0,1494,1495,5,219,0,0,1495,
		1517,6,67,-1,0,1496,1497,5,222,0,0,1497,1517,6,67,-1,0,1498,1499,5,223,
		0,0,1499,1500,5,212,0,0,1500,1517,6,67,-1,0,1501,1502,5,224,0,0,1502,1517,
		6,67,-1,0,1503,1504,5,206,0,0,1504,1505,5,182,0,0,1505,1517,6,67,-1,0,
		1506,1507,5,225,0,0,1507,1517,6,67,-1,0,1508,1509,5,227,0,0,1509,1517,
		6,67,-1,0,1510,1511,5,34,0,0,1511,1512,5,226,0,0,1512,1517,6,67,-1,0,1513,
		1514,3,2,1,0,1514,1515,6,67,-1,0,1515,1517,1,0,0,0,1516,1371,1,0,0,0,1516,
		1372,1,0,0,0,1516,1384,1,0,0,0,1516,1392,1,0,0,0,1516,1399,1,0,0,0,1516,
		1407,1,0,0,0,1516,1409,1,0,0,0,1516,1411,1,0,0,0,1516,1413,1,0,0,0,1516,
		1415,1,0,0,0,1516,1417,1,0,0,0,1516,1419,1,0,0,0,1516,1421,1,0,0,0,1516,
		1423,1,0,0,0,1516,1425,1,0,0,0,1516,1427,1,0,0,0,1516,1429,1,0,0,0,1516,
		1431,1,0,0,0,1516,1433,1,0,0,0,1516,1435,1,0,0,0,1516,1437,1,0,0,0,1516,
		1439,1,0,0,0,1516,1441,1,0,0,0,1516,1443,1,0,0,0,1516,1445,1,0,0,0,1516,
		1447,1,0,0,0,1516,1449,1,0,0,0,1516,1451,1,0,0,0,1516,1453,1,0,0,0,1516,
		1457,1,0,0,0,1516,1461,1,0,0,0,1516,1463,1,0,0,0,1516,1467,1,0,0,0,1516,
		1471,1,0,0,0,1516,1477,1,0,0,0,1516,1479,1,0,0,0,1516,1481,1,0,0,0,1516,
		1484,1,0,0,0,1516,1487,1,0,0,0,1516,1490,1,0,0,0,1516,1493,1,0,0,0,1516,
		1496,1,0,0,0,1516,1498,1,0,0,0,1516,1501,1,0,0,0,1516,1503,1,0,0,0,1516,
		1506,1,0,0,0,1516,1508,1,0,0,0,1516,1510,1,0,0,0,1516,1513,1,0,0,0,1517,
		135,1,0,0,0,1518,1527,1,0,0,0,1519,1520,5,30,0,0,1520,1521,5,91,0,0,1521,
		1522,5,36,0,0,1522,1523,3,32,16,0,1523,1524,5,31,0,0,1524,1525,6,68,-1,
		0,1525,1527,1,0,0,0,1526,1518,1,0,0,0,1526,1519,1,0,0,0,1527,137,1,0,0,
		0,1528,1539,1,0,0,0,1529,1530,3,140,70,0,1530,1535,6,69,-1,0,1531,1532,
		7,7,0,0,1532,1534,6,69,-1,0,1533,1531,1,0,0,0,1534,1537,1,0,0,0,1535,1533,
		1,0,0,0,1535,1536,1,0,0,0,1536,1539,1,0,0,0,1537,1535,1,0,0,0,1538,1528,
		1,0,0,0,1538,1529,1,0,0,0,1539,139,1,0,0,0,1540,1541,5,177,0,0,1541,1621,
		6,70,-1,0,1542,1543,5,206,0,0,1543,1621,6,70,-1,0,1544,1545,5,207,0,0,
		1545,1621,6,70,-1,0,1546,1547,5,200,0,0,1547,1621,6,70,-1,0,1548,1549,
		5,182,0,0,1549,1621,6,70,-1,0,1550,1551,5,183,0,0,1551,1621,6,70,-1,0,
		1552,1553,5,184,0,0,1553,1621,6,70,-1,0,1554,1555,5,185,0,0,1555,1621,
		6,70,-1,0,1556,1557,5,186,0,0,1557,1621,6,70,-1,0,1558,1559,5,187,0,0,
		1559,1621,6,70,-1,0,1560,1561,5,188,0,0,1561,1621,6,70,-1,0,1562,1563,
		5,189,0,0,1563,1621,6,70,-1,0,1564,1565,5,190,0,0,1565,1621,6,70,-1,0,
		1566,1567,5,191,0,0,1567,1621,6,70,-1,0,1568,1569,5,192,0,0,1569,1621,
		6,70,-1,0,1570,1571,5,261,0,0,1571,1621,6,70,-1,0,1572,1573,5,210,0,0,
		1573,1621,6,70,-1,0,1574,1575,5,211,0,0,1575,1621,6,70,-1,0,1576,1577,
		5,212,0,0,1577,1621,6,70,-1,0,1578,1579,5,213,0,0,1579,1621,6,70,-1,0,
		1580,1581,5,214,0,0,1581,1621,6,70,-1,0,1582,1583,5,217,0,0,1583,1621,
		6,70,-1,0,1584,1585,5,218,0,0,1585,1621,6,70,-1,0,1586,1587,5,221,0,0,
		1587,1621,6,70,-1,0,1588,1589,5,193,0,0,1589,1621,6,70,-1,0,1590,1591,
		5,194,0,0,1591,1621,6,70,-1,0,1592,1593,5,209,0,0,1593,1621,6,70,-1,0,
		1594,1595,5,229,0,0,1595,1621,6,70,-1,0,1596,1597,5,230,0,0,1597,1621,
		6,70,-1,0,1598,1599,5,231,0,0,1599,1621,6,70,-1,0,1600,1601,5,232,0,0,
		1601,1621,6,70,-1,0,1602,1603,5,233,0,0,1603,1621,6,70,-1,0,1604,1605,
		5,234,0,0,1605,1621,6,70,-1,0,1606,1607,5,235,0,0,1607,1621,6,70,-1,0,
		1608,1609,5,236,0,0,1609,1621,6,70,-1,0,1610,1611,5,237,0,0,1611,1621,
		6,70,-1,0,1612,1613,5,238,0,0,1613,1621,6,70,-1,0,1614,1615,5,239,0,0,
		1615,1621,6,70,-1,0,1616,1617,5,240,0,0,1617,1621,6,70,-1,0,1618,1619,
		5,241,0,0,1619,1621,6,70,-1,0,1620,1540,1,0,0,0,1620,1542,1,0,0,0,1620,
		1544,1,0,0,0,1620,1546,1,0,0,0,1620,1548,1,0,0,0,1620,1550,1,0,0,0,1620,
		1552,1,0,0,0,1620,1554,1,0,0,0,1620,1556,1,0,0,0,1620,1558,1,0,0,0,1620,
		1560,1,0,0,0,1620,1562,1,0,0,0,1620,1564,1,0,0,0,1620,1566,1,0,0,0,1620,
		1568,1,0,0,0,1620,1570,1,0,0,0,1620,1572,1,0,0,0,1620,1574,1,0,0,0,1620,
		1576,1,0,0,0,1620,1578,1,0,0,0,1620,1580,1,0,0,0,1620,1582,1,0,0,0,1620,
		1584,1,0,0,0,1620,1586,1,0,0,0,1620,1588,1,0,0,0,1620,1590,1,0,0,0,1620,
		1592,1,0,0,0,1620,1594,1,0,0,0,1620,1596,1,0,0,0,1620,1598,1,0,0,0,1620,
		1600,1,0,0,0,1620,1602,1,0,0,0,1620,1604,1,0,0,0,1620,1606,1,0,0,0,1620,
		1608,1,0,0,0,1620,1610,1,0,0,0,1620,1612,1,0,0,0,1620,1614,1,0,0,0,1620,
		1616,1,0,0,0,1620,1618,1,0,0,0,1621,141,1,0,0,0,1622,1623,3,146,73,0,1623,
		1629,6,71,-1,0,1624,1625,3,144,72,0,1625,1626,6,71,-1,0,1626,1628,1,0,
		0,0,1627,1624,1,0,0,0,1628,1631,1,0,0,0,1629,1627,1,0,0,0,1629,1630,1,
		0,0,0,1630,143,1,0,0,0,1631,1629,1,0,0,0,1632,1633,5,260,0,0,1633,1662,
		6,72,-1,0,1634,1635,5,42,0,0,1635,1636,5,43,0,0,1636,1662,6,72,-1,0,1637,
		1638,3,112,56,0,1638,1639,6,72,-1,0,1639,1662,1,0,0,0,1640,1641,5,259,
		0,0,1641,1662,6,72,-1,0,1642,1643,5,261,0,0,1643,1662,6,72,-1,0,1644,1645,
		5,92,0,0,1645,1662,6,72,-1,0,1646,1647,5,93,0,0,1647,1648,5,30,0,0,1648,
		1649,3,126,63,0,1649,1650,5,31,0,0,1650,1651,6,72,-1,0,1651,1662,1,0,0,
		0,1652,1653,5,94,0,0,1653,1654,5,30,0,0,1654,1655,3,126,63,0,1655,1656,
		5,31,0,0,1656,1657,6,72,-1,0,1657,1662,1,0,0,0,1658,1659,3,110,55,0,1659,
		1660,6,72,-1,0,1660,1662,1,0,0,0,1661,1632,1,0,0,0,1661,1634,1,0,0,0,1661,
		1637,1,0,0,0,1661,1640,1,0,0,0,1661,1642,1,0,0,0,1661,1644,1,0,0,0,1661,
		1646,1,0,0,0,1661,1652,1,0,0,0,1661,1658,1,0,0,0,1662,145,1,0,0,0,1663,
		1664,5,39,0,0,1664,1665,3,118,59,0,1665,1666,6,73,-1,0,1666,1722,1,0,0,
		0,1667,1668,5,196,0,0,1668,1722,6,73,-1,0,1669,1670,5,198,0,0,1670,1671,
		5,39,0,0,1671,1672,3,118,59,0,1672,1673,6,73,-1,0,1673,1722,1,0,0,0,1674,
		1675,5,199,0,0,1675,1676,3,118,59,0,1676,1677,6,73,-1,0,1677,1722,1,0,
		0,0,1678,1679,5,225,0,0,1679,1680,3,174,87,0,1680,1681,3,142,71,0,1681,
		1682,5,261,0,0,1682,1683,3,114,57,0,1683,1684,6,73,-1,0,1684,1722,1,0,
		0,0,1685,1686,5,252,0,0,1686,1687,3,32,16,0,1687,1688,6,73,-1,0,1688,1722,
		1,0,0,0,1689,1690,5,251,0,0,1690,1691,3,32,16,0,1691,1692,6,73,-1,0,1692,
		1722,1,0,0,0,1693,1694,5,252,0,0,1694,1695,3,2,1,0,1695,1696,6,73,-1,0,
		1696,1722,1,0,0,0,1697,1698,5,251,0,0,1698,1699,3,2,1,0,1699,1700,6,73,
		-1,0,1700,1722,1,0,0,0,1701,1702,5,253,0,0,1702,1722,6,73,-1,0,1703,1704,
		5,200,0,0,1704,1722,6,73,-1,0,1705,1706,3,152,76,0,1706,1707,6,73,-1,0,
		1707,1722,1,0,0,0,1708,1709,3,154,77,0,1709,1710,6,73,-1,0,1710,1722,1,
		0,0,0,1711,1712,3,148,74,0,1712,1713,6,73,-1,0,1713,1722,1,0,0,0,1714,
		1715,3,2,1,0,1715,1716,6,73,-1,0,1716,1722,1,0,0,0,1717,1718,5,176,0,0,
		1718,1719,3,142,71,0,1719,1720,6,73,-1,0,1720,1722,1,0,0,0,1721,1663,1,
		0,0,0,1721,1667,1,0,0,0,1721,1669,1,0,0,0,1721,1674,1,0,0,0,1721,1678,
		1,0,0,0,1721,1685,1,0,0,0,1721,1689,1,0,0,0,1721,1693,1,0,0,0,1721,1697,
		1,0,0,0,1721,1701,1,0,0,0,1721,1703,1,0,0,0,1721,1705,1,0,0,0,1721,1708,
		1,0,0,0,1721,1711,1,0,0,0,1721,1714,1,0,0,0,1721,1717,1,0,0,0,1722,147,
		1,0,0,0,1723,1724,5,180,0,0,1724,1762,6,74,-1,0,1725,1726,5,181,0,0,1726,
		1762,6,74,-1,0,1727,1728,5,182,0,0,1728,1762,6,74,-1,0,1729,1730,5,183,
		0,0,1730,1762,6,74,-1,0,1731,1732,5,184,0,0,1732,1762,6,74,-1,0,1733,1734,
		5,185,0,0,1734,1762,6,74,-1,0,1735,1736,5,186,0,0,1736,1762,6,74,-1,0,
		1737,1738,5,187,0,0,1738,1762,6,74,-1,0,1739,1740,5,188,0,0,1740,1762,
		6,74,-1,0,1741,1742,5,189,0,0,1742,1762,6,74,-1,0,1743,1744,5,190,0,0,
		1744,1762,6,74,-1,0,1745,1746,5,191,0,0,1746,1762,6,74,-1,0,1747,1748,
		5,192,0,0,1748,1762,6,74,-1,0,1749,1750,5,90,0,0,1750,1751,5,183,0,0,1751,
		1762,6,74,-1,0,1752,1753,5,90,0,0,1753,1754,5,184,0,0,1754,1762,6,74,-1,
		0,1755,1756,5,90,0,0,1756,1757,5,185,0,0,1757,1762,6,74,-1,0,1758,1759,
		5,90,0,0,1759,1760,5,186,0,0,1760,1762,6,74,-1,0,1761,1723,1,0,0,0,1761,
		1725,1,0,0,0,1761,1727,1,0,0,0,1761,1729,1,0,0,0,1761,1731,1,0,0,0,1761,
		1733,1,0,0,0,1761,1735,1,0,0,0,1761,1737,1,0,0,0,1761,1739,1,0,0,0,1761,
		1741,1,0,0,0,1761,1743,1,0,0,0,1761,1745,1,0,0,0,1761,1747,1,0,0,0,1761,
		1749,1,0,0,0,1761,1752,1,0,0,0,1761,1755,1,0,0,0,1761,1758,1,0,0,0,1762,
		149,1,0,0,0,1763,1778,1,0,0,0,1764,1778,5,176,0,0,1765,1766,3,32,16,0,
		1766,1767,6,75,-1,0,1767,1778,1,0,0,0,1768,1769,3,32,16,0,1769,1770,5,
		176,0,0,1770,1771,3,32,16,0,1771,1772,6,75,-1,0,1772,1778,1,0,0,0,1773,
		1774,3,32,16,0,1774,1775,5,176,0,0,1775,1776,6,75,-1,0,1776,1778,1,0,0,
		0,1777,1763,1,0,0,0,1777,1764,1,0,0,0,1777,1765,1,0,0,0,1777,1768,1,0,
		0,0,1777,1773,1,0,0,0,1778,151,1,0,0,0,1779,1780,5,1,0,0,1780,1781,5,193,
		0,0,1781,1782,6,76,-1,0,1782,153,1,0,0,0,1783,1787,5,1,0,0,1784,1785,5,
		90,0,0,1785,1788,5,193,0,0,1786,1788,5,194,0,0,1787,1784,1,0,0,0,1787,
		1786,1,0,0,0,1788,1789,1,0,0,0,1789,1790,6,77,-1,0,1790,155,1,0,0,0,1791,
		1792,5,293,0,0,1792,1793,3,170,85,0,1793,1794,3,126,63,0,1794,1795,5,30,
		0,0,1795,1796,3,162,81,0,1796,1797,5,31,0,0,1797,1798,6,78,-1,0,1798,1846,
		1,0,0,0,1799,1800,5,293,0,0,1800,1801,3,170,85,0,1801,1802,3,126,63,0,
		1802,1803,5,36,0,0,1803,1804,5,17,0,0,1804,1805,3,52,26,0,1805,1806,5,
		18,0,0,1806,1807,6,78,-1,0,1807,1846,1,0,0,0,1808,1809,5,293,0,0,1809,
		1810,3,170,85,0,1810,1811,3,126,63,0,1811,1812,6,78,-1,0,1812,1846,1,0,
		0,0,1813,1814,5,294,0,0,1814,1815,3,170,85,0,1815,1817,5,36,0,0,1816,1818,
		5,84,0,0,1817,1816,1,0,0,0,1817,1818,1,0,0,0,1818,1819,1,0,0,0,1819,1820,
		5,30,0,0,1820,1821,3,304,152,0,1821,1822,5,31,0,0,1822,1823,6,78,-1,0,
		1823,1846,1,0,0,0,1824,1825,5,294,0,0,1825,1826,3,170,85,0,1826,1827,5,
		84,0,0,1827,1828,5,30,0,0,1828,1829,3,304,152,0,1829,1830,5,31,0,0,1830,
		1831,6,78,-1,0,1831,1846,1,0,0,0,1832,1833,5,294,0,0,1833,1834,3,170,85,
		0,1834,1835,3,6,3,0,1835,1836,6,78,-1,0,1836,1846,1,0,0,0,1837,1838,5,
		294,0,0,1838,1839,3,170,85,0,1839,1840,5,36,0,0,1840,1841,5,17,0,0,1841,
		1842,3,158,79,0,1842,1843,5,18,0,0,1843,1844,6,78,-1,0,1844,1846,1,0,0,
		0,1845,1791,1,0,0,0,1845,1799,1,0,0,0,1845,1808,1,0,0,0,1845,1813,1,0,
		0,0,1845,1824,1,0,0,0,1845,1832,1,0,0,0,1845,1837,1,0,0,0,1846,157,1,0,
		0,0,1847,1861,1,0,0,0,1848,1849,3,160,80,0,1849,1850,6,79,-1,0,1850,1851,
		5,28,0,0,1851,1853,1,0,0,0,1852,1848,1,0,0,0,1853,1856,1,0,0,0,1854,1852,
		1,0,0,0,1854,1855,1,0,0,0,1855,1857,1,0,0,0,1856,1854,1,0,0,0,1857,1858,
		3,160,80,0,1858,1859,6,79,-1,0,1859,1861,1,0,0,0,1860,1847,1,0,0,0,1860,
		1854,1,0,0,0,1861,159,1,0,0,0,1862,1863,5,39,0,0,1863,1864,5,263,0,0,1864,
		1865,5,36,0,0,1865,1866,5,17,0,0,1866,1867,3,56,28,0,1867,1868,5,18,0,
		0,1868,1869,6,80,-1,0,1869,1878,1,0,0,0,1870,1871,3,126,63,0,1871,1872,
		5,36,0,0,1872,1873,5,17,0,0,1873,1874,3,56,28,0,1874,1875,5,18,0,0,1875,
		1876,6,80,-1,0,1876,1878,1,0,0,0,1877,1862,1,0,0,0,1877,1870,1,0,0,0,1878,
		161,1,0,0,0,1879,1880,3,164,82,0,1880,1881,6,81,-1,0,1881,1882,5,28,0,
		0,1882,1884,1,0,0,0,1883,1879,1,0,0,0,1884,1887,1,0,0,0,1885,1883,1,0,
		0,0,1885,1886,1,0,0,0,1886,1888,1,0,0,0,1887,1885,1,0,0,0,1888,1889,3,
		164,82,0,1889,1890,6,81,-1,0,1890,163,1,0,0,0,1891,1892,3,6,3,0,1892,1893,
		5,36,0,0,1893,1894,3,168,84,0,1894,1895,6,82,-1,0,1895,165,1,0,0,0,1896,
		1897,7,8,0,0,1897,167,1,0,0,0,1898,1899,3,166,83,0,1899,1900,6,84,-1,0,
		1900,1944,1,0,0,0,1901,1902,3,32,16,0,1902,1903,6,84,-1,0,1903,1944,1,
		0,0,0,1904,1905,5,185,0,0,1905,1906,5,30,0,0,1906,1907,3,32,16,0,1907,
		1908,5,31,0,0,1908,1909,6,84,-1,0,1909,1944,1,0,0,0,1910,1911,3,6,3,0,
		1911,1912,6,84,-1,0,1912,1944,1,0,0,0,1913,1914,3,118,59,0,1914,1915,5,
		30,0,0,1915,1916,5,183,0,0,1916,1917,5,75,0,0,1917,1918,3,32,16,0,1918,
		1919,5,31,0,0,1919,1920,6,84,-1,0,1920,1944,1,0,0,0,1921,1922,3,118,59,
		0,1922,1923,5,30,0,0,1923,1924,5,184,0,0,1924,1925,5,75,0,0,1925,1926,
		3,32,16,0,1926,1927,5,31,0,0,1927,1928,6,84,-1,0,1928,1944,1,0,0,0,1929,
		1930,3,118,59,0,1930,1931,5,30,0,0,1931,1932,5,185,0,0,1932,1933,5,75,
		0,0,1933,1934,3,32,16,0,1934,1935,5,31,0,0,1935,1936,6,84,-1,0,1936,1944,
		1,0,0,0,1937,1938,3,118,59,0,1938,1939,5,30,0,0,1939,1940,3,32,16,0,1940,
		1941,5,31,0,0,1941,1942,6,84,-1,0,1942,1944,1,0,0,0,1943,1898,1,0,0,0,
		1943,1901,1,0,0,0,1943,1904,1,0,0,0,1943,1910,1,0,0,0,1943,1913,1,0,0,
		0,1943,1921,1,0,0,0,1943,1929,1,0,0,0,1943,1937,1,0,0,0,1944,169,1,0,0,
		0,1945,1946,7,9,0,0,1946,171,1,0,0,0,1947,1948,3,174,87,0,1948,1949,3,
		142,71,0,1949,1950,3,128,64,0,1950,1951,5,175,0,0,1951,1953,3,246,123,
		0,1952,1954,3,110,55,0,1953,1952,1,0,0,0,1953,1954,1,0,0,0,1954,1955,1,
		0,0,0,1955,1956,3,114,57,0,1956,1957,6,86,-1,0,1957,1990,1,0,0,0,1958,
		1959,3,174,87,0,1959,1960,3,142,71,0,1960,1961,3,128,64,0,1961,1962,5,
		175,0,0,1962,1963,3,246,123,0,1963,1964,3,200,100,0,1964,1965,3,114,57,
		0,1965,1966,6,86,-1,0,1966,1990,1,0,0,0,1967,1968,3,174,87,0,1968,1969,
		3,142,71,0,1969,1971,3,246,123,0,1970,1972,3,110,55,0,1971,1970,1,0,0,
		0,1971,1972,1,0,0,0,1972,1973,1,0,0,0,1973,1974,3,114,57,0,1974,1975,6,
		86,-1,0,1975,1990,1,0,0,0,1976,1977,3,174,87,0,1977,1978,3,142,71,0,1978,
		1979,3,246,123,0,1979,1980,3,200,100,0,1980,1981,3,114,57,0,1981,1982,
		6,86,-1,0,1982,1990,1,0,0,0,1983,1984,3,178,89,0,1984,1985,6,86,-1,0,1985,
		1990,1,0,0,0,1986,1987,3,2,1,0,1987,1988,6,86,-1,0,1988,1990,1,0,0,0,1989,
		1947,1,0,0,0,1989,1958,1,0,0,0,1989,1967,1,0,0,0,1989,1976,1,0,0,0,1989,
		1983,1,0,0,0,1989,1986,1,0,0,0,1990,173,1,0,0,0,1991,1992,5,242,0,0,1992,
		1993,3,174,87,0,1993,1994,6,87,-1,0,1994,2009,1,0,0,0,1995,1996,5,243,
		0,0,1996,1997,3,174,87,0,1997,1998,6,87,-1,0,1998,2009,1,0,0,0,1999,2000,
		3,176,88,0,2000,2001,6,87,-1,0,2001,2009,1,0,0,0,2002,2003,5,112,0,0,2003,
		2004,5,30,0,0,2004,2005,3,32,16,0,2005,2006,5,31,0,0,2006,2007,6,87,-1,
		0,2007,2009,1,0,0,0,2008,1991,1,0,0,0,2008,1995,1,0,0,0,2008,1999,1,0,
		0,0,2008,2002,1,0,0,0,2009,175,1,0,0,0,2010,2030,1,0,0,0,2011,2012,5,244,
		0,0,2012,2030,6,88,-1,0,2013,2014,5,245,0,0,2014,2030,6,88,-1,0,2015,2016,
		5,246,0,0,2016,2017,5,247,0,0,2017,2030,6,88,-1,0,2018,2019,5,246,0,0,
		2019,2020,5,248,0,0,2020,2030,6,88,-1,0,2021,2022,5,246,0,0,2022,2023,
		5,249,0,0,2023,2030,6,88,-1,0,2024,2025,5,246,0,0,2025,2026,5,250,0,0,
		2026,2030,6,88,-1,0,2027,2028,5,246,0,0,2028,2030,6,88,-1,0,2029,2010,
		1,0,0,0,2029,2011,1,0,0,0,2029,2013,1,0,0,0,2029,2015,1,0,0,0,2029,2018,
		1,0,0,0,2029,2021,1,0,0,0,2029,2024,1,0,0,0,2029,2027,1,0,0,0,2030,177,
		1,0,0,0,2031,2032,5,113,0,0,2032,2033,5,30,0,0,2033,2034,3,32,16,0,2034,
		2035,5,31,0,0,2035,2036,6,89,-1,0,2036,179,1,0,0,0,2037,2038,5,225,0,0,
		2038,2039,3,172,86,0,2039,2040,6,90,-1,0,2040,2049,1,0,0,0,2041,2042,5,
		37,0,0,2042,2043,3,182,91,0,2043,2044,6,90,-1,0,2044,2049,1,0,0,0,2045,
		2046,3,178,89,0,2046,2047,6,90,-1,0,2047,2049,1,0,0,0,2048,2037,1,0,0,
		0,2048,2041,1,0,0,0,2048,2045,1,0,0,0,2049,181,1,0,0,0,2050,2051,3,142,
		71,0,2051,2052,3,128,64,0,2052,2053,5,175,0,0,2053,2054,3,2,1,0,2054,2055,
		6,91,-1,0,2055,2064,1,0,0,0,2056,2057,3,142,71,0,2057,2058,3,2,1,0,2058,
		2059,6,91,-1,0,2059,2064,1,0,0,0,2060,2061,3,2,1,0,2061,2062,6,91,-1,0,
		2062,2064,1,0,0,0,2063,2050,1,0,0,0,2063,2056,1,0,0,0,2063,2060,1,0,0,
		0,2064,183,1,0,0,0,2065,2066,3,126,63,0,2066,2067,6,92,-1,0,2067,2068,
		5,28,0,0,2068,2070,1,0,0,0,2069,2065,1,0,0,0,2070,2073,1,0,0,0,2071,2069,
		1,0,0,0,2071,2072,1,0,0,0,2072,2074,1,0,0,0,2073,2071,1,0,0,0,2074,2075,
		3,126,63,0,2075,2076,6,92,-1,0,2076,185,1,0,0,0,2077,2084,1,0,0,0,2078,
		2079,5,86,0,0,2079,2080,3,194,97,0,2080,2081,5,87,0,0,2081,2082,6,93,-1,
		0,2082,2084,1,0,0,0,2083,2077,1,0,0,0,2083,2078,1,0,0,0,2084,187,1,0,0,
		0,2085,2086,5,265,0,0,2086,2104,6,94,-1,0,2087,2088,5,114,0,0,2088,2104,
		6,94,-1,0,2089,2090,5,39,0,0,2090,2104,6,94,-1,0,2091,2092,5,199,0,0,2092,
		2104,6,94,-1,0,2093,2094,5,115,0,0,2094,2104,6,94,-1,0,2095,2096,5,116,
		0,0,2096,2104,6,94,-1,0,2097,2098,5,70,0,0,2098,2099,5,30,0,0,2099,2100,
		3,32,16,0,2100,2101,5,31,0,0,2101,2102,6,94,-1,0,2102,2104,1,0,0,0,2103,
		2085,1,0,0,0,2103,2087,1,0,0,0,2103,2089,1,0,0,0,2103,2091,1,0,0,0,2103,
		2093,1,0,0,0,2103,2095,1,0,0,0,2103,2097,1,0,0,0,2104,189,1,0,0,0,2105,
		2106,3,188,94,0,2106,2107,6,95,-1,0,2107,2109,1,0,0,0,2108,2105,1,0,0,
		0,2109,2112,1,0,0,0,2110,2108,1,0,0,0,2110,2111,1,0,0,0,2111,191,1,0,0,
		0,2112,2110,1,0,0,0,2113,2115,3,190,95,0,2114,2116,3,196,98,0,2115,2114,
		1,0,0,0,2115,2116,1,0,0,0,2116,2117,1,0,0,0,2117,2118,3,2,1,0,2118,2119,
		6,96,-1,0,2119,193,1,0,0,0,2120,2121,3,192,96,0,2121,2122,6,97,-1,0,2122,
		2123,5,28,0,0,2123,2125,1,0,0,0,2124,2120,1,0,0,0,2125,2128,1,0,0,0,2126,
		2124,1,0,0,0,2126,2127,1,0,0,0,2127,2129,1,0,0,0,2128,2126,1,0,0,0,2129,
		2130,3,192,96,0,2130,2131,6,97,-1,0,2131,195,1,0,0,0,2132,2133,5,30,0,
		0,2133,2134,3,184,92,0,2134,2135,5,31,0,0,2135,2136,6,98,-1,0,2136,197,
		1,0,0,0,2137,2139,3,200,100,0,2138,2137,1,0,0,0,2138,2139,1,0,0,0,2139,
		2140,1,0,0,0,2140,2141,6,99,-1,0,2141,199,1,0,0,0,2142,2143,5,86,0,0,2143,
		2144,5,42,0,0,2144,2145,3,32,16,0,2145,2146,5,43,0,0,2146,2147,5,87,0,
		0,2147,2148,6,100,-1,0,2148,201,1,0,0,0,2149,2150,3,238,119,0,2150,2151,
		5,17,0,0,2151,2152,3,250,125,0,2152,2153,5,18,0,0,2153,2300,1,0,0,0,2154,
		2155,3,76,38,0,2155,2156,5,17,0,0,2156,2157,3,84,42,0,2157,2158,5,18,0,
		0,2158,2300,1,0,0,0,2159,2160,3,214,107,0,2160,2161,6,101,-1,0,2161,2162,
		5,17,0,0,2162,2163,3,218,109,0,2163,2164,5,18,0,0,2164,2300,1,0,0,0,2165,
		2166,3,222,111,0,2166,2167,6,101,-1,0,2167,2168,5,17,0,0,2168,2169,3,226,
		113,0,2169,2170,5,18,0,0,2170,2300,1,0,0,0,2171,2300,3,204,102,0,2172,
		2173,3,288,144,0,2173,2174,6,101,-1,0,2174,2300,1,0,0,0,2175,2176,3,156,
		78,0,2176,2177,6,101,-1,0,2177,2300,1,0,0,0,2178,2179,3,90,45,0,2179,2180,
		6,101,-1,0,2180,2300,1,0,0,0,2181,2182,3,334,167,0,2182,2183,6,101,-1,
		0,2183,2300,1,0,0,0,2184,2185,5,117,0,0,2185,2186,3,32,16,0,2186,2187,
		6,101,-1,0,2187,2300,1,0,0,0,2188,2189,5,118,0,0,2189,2190,3,32,16,0,2190,
		2191,6,101,-1,0,2191,2300,1,0,0,0,2192,2193,3,350,175,0,2193,2194,5,17,
		0,0,2194,2195,3,356,178,0,2195,2196,5,18,0,0,2196,2197,6,101,-1,0,2197,
		2300,1,0,0,0,2198,2199,5,301,0,0,2199,2200,3,128,64,0,2200,2201,5,175,
		0,0,2201,2202,3,246,123,0,2202,2203,5,119,0,0,2203,2204,3,174,87,0,2204,
		2205,3,142,71,0,2205,2206,3,128,64,0,2206,2207,5,175,0,0,2207,2208,3,246,
		123,0,2208,2209,3,114,57,0,2209,2210,6,101,-1,0,2210,2300,1,0,0,0,2211,
		2212,5,301,0,0,2212,2213,5,225,0,0,2213,2214,3,174,87,0,2214,2215,3,142,
		71,0,2215,2216,3,128,64,0,2216,2217,5,175,0,0,2217,2218,3,246,123,0,2218,
		2219,3,198,99,0,2219,2220,3,114,57,0,2220,2221,5,119,0,0,2221,2222,5,225,
		0,0,2222,2223,3,174,87,0,2223,2224,3,142,71,0,2224,2225,3,128,64,0,2225,
		2226,5,175,0,0,2226,2227,3,246,123,0,2227,2228,3,198,99,0,2228,2229,3,
		114,57,0,2229,2230,6,101,-1,0,2230,2300,1,0,0,0,2231,2232,3,26,13,0,2232,
		2233,6,101,-1,0,2233,2300,1,0,0,0,2234,2235,3,40,20,0,2235,2236,6,101,
		-1,0,2236,2300,1,0,0,0,2237,2238,5,254,0,0,2238,2239,5,195,0,0,2239,2240,
		5,42,0,0,2240,2241,3,32,16,0,2241,2242,5,43,0,0,2242,2248,6,101,-1,0,2243,
		2244,3,334,167,0,2244,2245,6,101,-1,0,2245,2247,1,0,0,0,2246,2243,1,0,
		0,0,2247,2250,1,0,0,0,2248,2246,1,0,0,0,2248,2249,1,0,0,0,2249,2300,1,
		0,0,0,2250,2248,1,0,0,0,2251,2252,5,254,0,0,2252,2253,5,195,0,0,2253,2254,
		3,2,1,0,2254,2260,6,101,-1,0,2255,2256,3,334,167,0,2256,2257,6,101,-1,
		0,2257,2259,1,0,0,0,2258,2255,1,0,0,0,2259,2262,1,0,0,0,2260,2258,1,0,
		0,0,2260,2261,1,0,0,0,2261,2300,1,0,0,0,2262,2260,1,0,0,0,2263,2264,5,
		254,0,0,2264,2265,5,255,0,0,2265,2266,5,42,0,0,2266,2267,3,32,16,0,2267,
		2268,5,43,0,0,2268,2269,5,28,0,0,2269,2270,3,126,63,0,2270,2276,6,101,
		-1,0,2271,2272,3,334,167,0,2272,2273,6,101,-1,0,2273,2275,1,0,0,0,2274,
		2271,1,0,0,0,2275,2278,1,0,0,0,2276,2274,1,0,0,0,2276,2277,1,0,0,0,2277,
		2300,1,0,0,0,2278,2276,1,0,0,0,2279,2280,5,254,0,0,2280,2281,5,255,0,0,
		2281,2282,3,2,1,0,2282,2283,5,28,0,0,2283,2284,3,126,63,0,2284,2290,6,
		101,-1,0,2285,2286,3,334,167,0,2286,2287,6,101,-1,0,2287,2289,1,0,0,0,
		2288,2285,1,0,0,0,2289,2292,1,0,0,0,2290,2288,1,0,0,0,2290,2291,1,0,0,
		0,2291,2300,1,0,0,0,2292,2290,1,0,0,0,2293,2294,5,120,0,0,2294,2295,5,
		195,0,0,2295,2296,3,126,63,0,2296,2297,3,44,22,0,2297,2298,6,101,-1,0,
		2298,2300,1,0,0,0,2299,2149,1,0,0,0,2299,2154,1,0,0,0,2299,2159,1,0,0,
		0,2299,2165,1,0,0,0,2299,2171,1,0,0,0,2299,2172,1,0,0,0,2299,2175,1,0,
		0,0,2299,2178,1,0,0,0,2299,2181,1,0,0,0,2299,2184,1,0,0,0,2299,2188,1,
		0,0,0,2299,2192,1,0,0,0,2299,2198,1,0,0,0,2299,2211,1,0,0,0,2299,2231,
		1,0,0,0,2299,2234,1,0,0,0,2299,2237,1,0,0,0,2299,2251,1,0,0,0,2299,2263,
		1,0,0,0,2299,2279,1,0,0,0,2299,2293,1,0,0,0,2300,203,1,0,0,0,2301,2302,
		5,121,0,0,2302,2314,3,212,106,0,2303,2304,3,206,103,0,2304,2305,6,102,
		-1,0,2305,2313,1,0,0,0,2306,2307,5,122,0,0,2307,2308,5,30,0,0,2308,2309,
		3,232,116,0,2309,2310,5,31,0,0,2310,2311,6,102,-1,0,2311,2313,1,0,0,0,
		2312,2303,1,0,0,0,2312,2306,1,0,0,0,2313,2316,1,0,0,0,2314,2312,1,0,0,
		0,2314,2315,1,0,0,0,2315,2317,1,0,0,0,2316,2314,1,0,0,0,2317,2318,3,142,
		71,0,2318,2319,3,2,1,0,2319,2320,3,208,104,0,2320,2321,3,210,105,0,2321,
		2322,6,102,-1,0,2322,205,1,0,0,0,2323,2324,5,123,0,0,2324,2358,6,103,-1,
		0,2325,2326,5,51,0,0,2326,2358,6,103,-1,0,2327,2328,5,52,0,0,2328,2358,
		6,103,-1,0,2329,2330,5,63,0,0,2330,2358,6,103,-1,0,2331,2332,5,124,0,0,
		2332,2358,6,103,-1,0,2333,2334,5,69,0,0,2334,2358,6,103,-1,0,2335,2336,
		5,68,0,0,2336,2358,6,103,-1,0,2337,2338,5,64,0,0,2338,2358,6,103,-1,0,
		2339,2340,5,65,0,0,2340,2358,6,103,-1,0,2341,2342,5,66,0,0,2342,2358,6,
		103,-1,0,2343,2344,5,125,0,0,2344,2358,6,103,-1,0,2345,2346,5,126,0,0,
		2346,2358,6,103,-1,0,2347,2348,5,127,0,0,2348,2358,6,103,-1,0,2349,2350,
		5,16,0,0,2350,2358,6,103,-1,0,2351,2352,5,70,0,0,2352,2353,5,30,0,0,2353,
		2354,3,32,16,0,2354,2355,5,31,0,0,2355,2356,6,103,-1,0,2356,2358,1,0,0,
		0,2357,2323,1,0,0,0,2357,2325,1,0,0,0,2357,2327,1,0,0,0,2357,2329,1,0,
		0,0,2357,2331,1,0,0,0,2357,2333,1,0,0,0,2357,2335,1,0,0,0,2357,2337,1,
		0,0,0,2357,2339,1,0,0,0,2357,2341,1,0,0,0,2357,2343,1,0,0,0,2357,2345,
		1,0,0,0,2357,2347,1,0,0,0,2357,2349,1,0,0,0,2357,2351,1,0,0,0,2358,207,
		1,0,0,0,2359,2369,1,0,0,0,2360,2361,5,44,0,0,2361,2362,3,0,0,0,2362,2363,
		6,104,-1,0,2363,2369,1,0,0,0,2364,2365,5,44,0,0,2365,2366,3,32,16,0,2366,
		2367,6,104,-1,0,2367,2369,1,0,0,0,2368,2359,1,0,0,0,2368,2360,1,0,0,0,
		2368,2364,1,0,0,0,2369,209,1,0,0,0,2370,2376,1,0,0,0,2371,2372,5,36,0,
		0,2372,2373,3,308,154,0,2373,2374,6,105,-1,0,2374,2376,1,0,0,0,2375,2370,
		1,0,0,0,2375,2371,1,0,0,0,2376,211,1,0,0,0,2377,2384,1,0,0,0,2378,2379,
		5,42,0,0,2379,2380,3,32,16,0,2380,2381,5,43,0,0,2381,2382,6,106,-1,0,2382,
		2384,1,0,0,0,2383,2377,1,0,0,0,2383,2378,1,0,0,0,2384,213,1,0,0,0,2385,
		2391,5,128,0,0,2386,2387,3,216,108,0,2387,2388,6,107,-1,0,2388,2390,1,
		0,0,0,2389,2386,1,0,0,0,2390,2393,1,0,0,0,2391,2389,1,0,0,0,2391,2392,
		1,0,0,0,2392,2394,1,0,0,0,2393,2391,1,0,0,0,2394,2395,3,126,63,0,2395,
		2396,3,2,1,0,2396,2397,6,107,-1,0,2397,2411,1,0,0,0,2398,2404,5,128,0,
		0,2399,2400,3,216,108,0,2400,2401,6,107,-1,0,2401,2403,1,0,0,0,2402,2399,
		1,0,0,0,2403,2406,1,0,0,0,2404,2402,1,0,0,0,2404,2405,1,0,0,0,2405,2407,
		1,0,0,0,2406,2404,1,0,0,0,2407,2408,3,2,1,0,2408,2409,6,107,-1,0,2409,
		2411,1,0,0,0,2410,2385,1,0,0,0,2410,2398,1,0,0,0,2411,215,1,0,0,0,2412,
		2413,5,69,0,0,2413,2417,6,108,-1,0,2414,2415,5,68,0,0,2415,2417,6,108,
		-1,0,2416,2412,1,0,0,0,2416,2414,1,0,0,0,2417,217,1,0,0,0,2418,2420,3,
		220,110,0,2419,2418,1,0,0,0,2420,2423,1,0,0,0,2421,2419,1,0,0,0,2421,2422,
		1,0,0,0,2422,219,1,0,0,0,2423,2421,1,0,0,0,2424,2425,5,129,0,0,2425,2426,
		3,172,86,0,2426,2427,6,110,-1,0,2427,2451,1,0,0,0,2428,2429,5,130,0,0,
		2429,2430,3,172,86,0,2430,2431,6,110,-1,0,2431,2451,1,0,0,0,2432,2433,
		5,131,0,0,2433,2434,3,172,86,0,2434,2435,6,110,-1,0,2435,2451,1,0,0,0,
		2436,2437,5,132,0,0,2437,2438,3,172,86,0,2438,2439,6,110,-1,0,2439,2451,
		1,0,0,0,2440,2441,3,90,45,0,2441,2442,6,110,-1,0,2442,2451,1,0,0,0,2443,
		2444,3,334,167,0,2444,2445,6,110,-1,0,2445,2451,1,0,0,0,2446,2447,3,26,
		13,0,2447,2448,6,110,-1,0,2448,2451,1,0,0,0,2449,2451,3,40,20,0,2450,2424,
		1,0,0,0,2450,2428,1,0,0,0,2450,2432,1,0,0,0,2450,2436,1,0,0,0,2450,2440,
		1,0,0,0,2450,2443,1,0,0,0,2450,2446,1,0,0,0,2450,2449,1,0,0,0,2451,221,
		1,0,0,0,2452,2458,5,133,0,0,2453,2454,3,224,112,0,2454,2455,6,111,-1,0,
		2455,2457,1,0,0,0,2456,2453,1,0,0,0,2457,2460,1,0,0,0,2458,2456,1,0,0,
		0,2458,2459,1,0,0,0,2459,2461,1,0,0,0,2460,2458,1,0,0,0,2461,2462,3,174,
		87,0,2462,2463,3,142,71,0,2463,2464,3,2,1,0,2464,2465,3,114,57,0,2465,
		2466,3,210,105,0,2466,2467,6,111,-1,0,2467,223,1,0,0,0,2468,2469,5,69,
		0,0,2469,2473,6,112,-1,0,2470,2471,5,68,0,0,2471,2473,6,112,-1,0,2472,
		2468,1,0,0,0,2472,2470,1,0,0,0,2473,225,1,0,0,0,2474,2476,3,228,114,0,
		2475,2474,1,0,0,0,2476,2479,1,0,0,0,2477,2475,1,0,0,0,2477,2478,1,0,0,
		0,2478,227,1,0,0,0,2479,2477,1,0,0,0,2480,2481,5,134,0,0,2481,2482,3,172,
		86,0,2482,2483,6,114,-1,0,2483,2503,1,0,0,0,2484,2485,5,135,0,0,2485,2486,
		3,172,86,0,2486,2487,6,114,-1,0,2487,2503,1,0,0,0,2488,2489,5,132,0,0,
		2489,2490,3,172,86,0,2490,2491,6,114,-1,0,2491,2503,1,0,0,0,2492,2493,
		3,334,167,0,2493,2494,6,114,-1,0,2494,2503,1,0,0,0,2495,2496,3,90,45,0,
		2496,2497,6,114,-1,0,2497,2503,1,0,0,0,2498,2499,3,26,13,0,2499,2500,6,
		114,-1,0,2500,2503,1,0,0,0,2501,2503,3,40,20,0,2502,2480,1,0,0,0,2502,
		2484,1,0,0,0,2502,2488,1,0,0,0,2502,2492,1,0,0,0,2502,2495,1,0,0,0,2502,
		2498,1,0,0,0,2502,2501,1,0,0,0,2503,229,1,0,0,0,2504,2512,6,115,-1,0,2505,
		2506,5,122,0,0,2506,2507,5,30,0,0,2507,2508,3,232,116,0,2508,2509,5,31,
		0,0,2509,2510,6,115,-1,0,2510,2512,1,0,0,0,2511,2504,1,0,0,0,2511,2505,
		1,0,0,0,2512,231,1,0,0,0,2513,2514,3,130,65,0,2514,2515,6,116,-1,0,2515,
		2527,1,0,0,0,2516,2520,5,17,0,0,2517,2518,3,306,153,0,2518,2519,6,116,
		-1,0,2519,2521,1,0,0,0,2520,2517,1,0,0,0,2521,2522,1,0,0,0,2522,2520,1,
		0,0,0,2522,2523,1,0,0,0,2523,2524,1,0,0,0,2524,2525,5,18,0,0,2525,2527,
		1,0,0,0,2526,2513,1,0,0,0,2526,2516,1,0,0,0,2527,233,1,0,0,0,2528,2529,
		3,236,118,0,2529,2530,6,117,-1,0,2530,2532,1,0,0,0,2531,2528,1,0,0,0,2532,
		2535,1,0,0,0,2533,2531,1,0,0,0,2533,2534,1,0,0,0,2534,235,1,0,0,0,2535,
		2533,1,0,0,0,2536,2537,5,42,0,0,2537,2538,5,136,0,0,2538,2539,5,43,0,0,
		2539,2554,6,118,-1,0,2540,2541,5,42,0,0,2541,2542,5,137,0,0,2542,2543,
		5,43,0,0,2543,2554,6,118,-1,0,2544,2545,5,42,0,0,2545,2546,5,138,0,0,2546,
		2547,5,43,0,0,2547,2554,6,118,-1,0,2548,2549,5,42,0,0,2549,2550,3,32,16,
		0,2550,2551,5,43,0,0,2551,2552,6,118,-1,0,2552,2554,1,0,0,0,2553,2536,
		1,0,0,0,2553,2540,1,0,0,0,2553,2544,1,0,0,0,2553,2548,1,0,0,0,2554,237,
		1,0,0,0,2555,2564,5,139,0,0,2556,2557,3,240,120,0,2557,2558,6,119,-1,0,
		2558,2563,1,0,0,0,2559,2560,3,242,121,0,2560,2561,6,119,-1,0,2561,2563,
		1,0,0,0,2562,2556,1,0,0,0,2562,2559,1,0,0,0,2563,2566,1,0,0,0,2564,2562,
		1,0,0,0,2564,2565,1,0,0,0,2565,2567,1,0,0,0,2566,2564,1,0,0,0,2567,2568,
		3,174,87,0,2568,2569,3,234,117,0,2569,2570,3,142,71,0,2570,2571,3,230,
		115,0,2571,2572,3,246,123,0,2572,2573,3,186,93,0,2573,2579,3,114,57,0,
		2574,2575,3,248,124,0,2575,2576,6,119,-1,0,2576,2578,1,0,0,0,2577,2574,
		1,0,0,0,2578,2581,1,0,0,0,2579,2577,1,0,0,0,2579,2580,1,0,0,0,2580,2582,
		1,0,0,0,2581,2579,1,0,0,0,2582,2583,6,119,-1,0,2583,239,1,0,0,0,2584,2585,
		5,123,0,0,2585,2627,6,120,-1,0,2586,2587,5,51,0,0,2587,2627,6,120,-1,0,
		2588,2589,5,52,0,0,2589,2627,6,120,-1,0,2590,2591,5,63,0,0,2591,2627,6,
		120,-1,0,2592,2593,5,140,0,0,2593,2627,6,120,-1,0,2594,2595,5,68,0,0,2595,
		2627,6,120,-1,0,2596,2597,5,141,0,0,2597,2627,6,120,-1,0,2598,2599,5,142,
		0,0,2599,2627,6,120,-1,0,2600,2601,5,54,0,0,2601,2627,6,120,-1,0,2602,
		2603,5,64,0,0,2603,2627,6,120,-1,0,2604,2605,5,65,0,0,2605,2627,6,120,
		-1,0,2606,2607,5,66,0,0,2607,2627,6,120,-1,0,2608,2609,5,125,0,0,2609,
		2627,6,120,-1,0,2610,2611,5,143,0,0,2611,2627,6,120,-1,0,2612,2613,5,144,
		0,0,2613,2627,6,120,-1,0,2614,2615,5,69,0,0,2615,2627,6,120,-1,0,2616,
		2617,5,145,0,0,2617,2627,6,120,-1,0,2618,2619,5,146,0,0,2619,2627,6,120,
		-1,0,2620,2621,5,70,0,0,2621,2622,5,30,0,0,2622,2623,3,32,16,0,2623,2624,
		5,31,0,0,2624,2625,6,120,-1,0,2625,2627,1,0,0,0,2626,2584,1,0,0,0,2626,
		2586,1,0,0,0,2626,2588,1,0,0,0,2626,2590,1,0,0,0,2626,2592,1,0,0,0,2626,
		2594,1,0,0,0,2626,2596,1,0,0,0,2626,2598,1,0,0,0,2626,2600,1,0,0,0,2626,
		2602,1,0,0,0,2626,2604,1,0,0,0,2626,2606,1,0,0,0,2626,2608,1,0,0,0,2626,
		2610,1,0,0,0,2626,2612,1,0,0,0,2626,2614,1,0,0,0,2626,2616,1,0,0,0,2626,
		2618,1,0,0,0,2626,2620,1,0,0,0,2627,241,1,0,0,0,2628,2629,5,147,0,0,2629,
		2638,5,30,0,0,2630,2631,3,6,3,0,2631,2636,6,121,-1,0,2632,2633,5,34,0,
		0,2633,2634,3,6,3,0,2634,2635,6,121,-1,0,2635,2637,1,0,0,0,2636,2632,1,
		0,0,0,2636,2637,1,0,0,0,2637,2639,1,0,0,0,2638,2630,1,0,0,0,2638,2639,
		1,0,0,0,2639,2645,1,0,0,0,2640,2641,3,244,122,0,2641,2642,6,121,-1,0,2642,
		2644,1,0,0,0,2643,2640,1,0,0,0,2644,2647,1,0,0,0,2645,2643,1,0,0,0,2645,
		2646,1,0,0,0,2646,2648,1,0,0,0,2647,2645,1,0,0,0,2648,2652,5,31,0,0,2649,
		2650,5,147,0,0,2650,2652,5,85,0,0,2651,2628,1,0,0,0,2651,2649,1,0,0,0,
		2652,243,1,0,0,0,2653,2654,5,148,0,0,2654,2696,6,122,-1,0,2655,2656,5,
		223,0,0,2656,2696,6,122,-1,0,2657,2658,5,57,0,0,2658,2696,6,122,-1,0,2659,
		2660,5,58,0,0,2660,2696,6,122,-1,0,2661,2662,5,149,0,0,2662,2696,6,122,
		-1,0,2663,2664,5,150,0,0,2664,2696,6,122,-1,0,2665,2666,5,247,0,0,2666,
		2696,6,122,-1,0,2667,2668,5,248,0,0,2668,2696,6,122,-1,0,2669,2670,5,249,
		0,0,2670,2696,6,122,-1,0,2671,2672,5,250,0,0,2672,2696,6,122,-1,0,2673,
		2674,5,151,0,0,2674,2675,5,75,0,0,2675,2676,5,152,0,0,2676,2696,6,122,
		-1,0,2677,2678,5,151,0,0,2678,2679,5,75,0,0,2679,2680,5,153,0,0,2680,2696,
		6,122,-1,0,2681,2682,5,154,0,0,2682,2683,5,75,0,0,2683,2684,5,152,0,0,
		2684,2696,6,122,-1,0,2685,2686,5,154,0,0,2686,2687,5,75,0,0,2687,2688,
		5,153,0,0,2688,2696,6,122,-1,0,2689,2690,5,70,0,0,2690,2691,5,30,0,0,2691,
		2692,3,32,16,0,2692,2693,5,31,0,0,2693,2694,6,122,-1,0,2694,2696,1,0,0,
		0,2695,2653,1,0,0,0,2695,2655,1,0,0,0,2695,2657,1,0,0,0,2695,2659,1,0,
		0,0,2695,2661,1,0,0,0,2695,2663,1,0,0,0,2695,2665,1,0,0,0,2695,2667,1,
		0,0,0,2695,2669,1,0,0,0,2695,2671,1,0,0,0,2695,2673,1,0,0,0,2695,2677,
		1,0,0,0,2695,2681,1,0,0,0,2695,2685,1,0,0,0,2695,2689,1,0,0,0,2696,245,
		1,0,0,0,2697,2698,5,116,0,0,2698,2705,6,123,-1,0,2699,2700,5,155,0,0,2700,
		2705,6,123,-1,0,2701,2702,3,2,1,0,2702,2703,6,123,-1,0,2703,2705,1,0,0,
		0,2704,2697,1,0,0,0,2704,2699,1,0,0,0,2704,2701,1,0,0,0,2705,247,1,0,0,
		0,2706,2707,5,1,0,0,2707,2745,6,124,-1,0,2708,2709,5,2,0,0,2709,2745,6,
		124,-1,0,2710,2711,5,156,0,0,2711,2745,6,124,-1,0,2712,2713,5,3,0,0,2713,
		2745,6,124,-1,0,2714,2715,5,4,0,0,2715,2745,6,124,-1,0,2716,2717,5,246,
		0,0,2717,2745,6,124,-1,0,2718,2719,5,5,0,0,2719,2745,6,124,-1,0,2720,2721,
		5,6,0,0,2721,2745,6,124,-1,0,2722,2723,5,7,0,0,2723,2745,6,124,-1,0,2724,
		2725,5,8,0,0,2725,2745,6,124,-1,0,2726,2727,5,9,0,0,2727,2745,6,124,-1,
		0,2728,2729,5,10,0,0,2729,2745,6,124,-1,0,2730,2731,5,11,0,0,2731,2745,
		6,124,-1,0,2732,2733,5,12,0,0,2733,2745,6,124,-1,0,2734,2735,5,13,0,0,
		2735,2745,6,124,-1,0,2736,2737,5,14,0,0,2737,2745,6,124,-1,0,2738,2739,
		5,70,0,0,2739,2740,5,30,0,0,2740,2741,3,32,16,0,2741,2742,5,31,0,0,2742,
		2743,6,124,-1,0,2743,2745,1,0,0,0,2744,2706,1,0,0,0,2744,2708,1,0,0,0,
		2744,2710,1,0,0,0,2744,2712,1,0,0,0,2744,2714,1,0,0,0,2744,2716,1,0,0,
		0,2744,2718,1,0,0,0,2744,2720,1,0,0,0,2744,2722,1,0,0,0,2744,2724,1,0,
		0,0,2744,2726,1,0,0,0,2744,2728,1,0,0,0,2744,2730,1,0,0,0,2744,2732,1,
		0,0,0,2744,2734,1,0,0,0,2744,2736,1,0,0,0,2744,2738,1,0,0,0,2745,249,1,
		0,0,0,2746,2748,3,252,126,0,2747,2746,1,0,0,0,2748,2751,1,0,0,0,2749,2747,
		1,0,0,0,2749,2750,1,0,0,0,2750,251,1,0,0,0,2751,2749,1,0,0,0,2752,2790,
		3,102,51,0,2753,2754,5,295,0,0,2754,2755,3,32,16,0,2755,2756,6,126,-1,
		0,2756,2790,1,0,0,0,2757,2790,3,270,135,0,2758,2759,5,296,0,0,2759,2760,
		3,32,16,0,2760,2761,6,126,-1,0,2761,2790,1,0,0,0,2762,2763,5,297,0,0,2763,
		2790,6,126,-1,0,2764,2765,5,298,0,0,2765,2790,6,126,-1,0,2766,2790,3,264,
		132,0,2767,2790,3,268,134,0,2768,2790,3,254,127,0,2769,2770,3,288,144,
		0,2770,2771,6,126,-1,0,2771,2790,1,0,0,0,2772,2773,3,156,78,0,2773,2774,
		6,126,-1,0,2774,2790,1,0,0,0,2775,2776,3,90,45,0,2776,2777,6,126,-1,0,
		2777,2790,1,0,0,0,2778,2779,3,26,13,0,2779,2780,6,126,-1,0,2780,2790,1,
		0,0,0,2781,2782,3,266,133,0,2782,2783,6,126,-1,0,2783,2790,1,0,0,0,2784,
		2790,3,40,20,0,2785,2790,3,256,128,0,2786,2790,3,258,129,0,2787,2790,3,
		260,130,0,2788,2790,3,262,131,0,2789,2752,1,0,0,0,2789,2753,1,0,0,0,2789,
		2757,1,0,0,0,2789,2758,1,0,0,0,2789,2762,1,0,0,0,2789,2764,1,0,0,0,2789,
		2766,1,0,0,0,2789,2767,1,0,0,0,2789,2768,1,0,0,0,2789,2769,1,0,0,0,2789,
		2772,1,0,0,0,2789,2775,1,0,0,0,2789,2778,1,0,0,0,2789,2781,1,0,0,0,2789,
		2784,1,0,0,0,2789,2785,1,0,0,0,2789,2786,1,0,0,0,2789,2787,1,0,0,0,2789,
		2788,1,0,0,0,2790,253,1,0,0,0,2791,2793,5,299,0,0,2792,2794,5,157,0,0,
		2793,2792,1,0,0,0,2793,2794,1,0,0,0,2794,2795,1,0,0,0,2795,2796,3,114,
		57,0,2796,255,1,0,0,0,2797,2798,5,300,0,0,2798,2799,5,42,0,0,2799,2800,
		3,32,16,0,2800,2803,5,43,0,0,2801,2802,5,34,0,0,2802,2804,3,0,0,0,2803,
		2801,1,0,0,0,2803,2804,1,0,0,0,2804,257,1,0,0,0,2805,2806,5,302,0,0,2806,
		2807,3,32,16,0,2807,2808,5,75,0,0,2808,2809,3,32,16,0,2809,259,1,0,0,0,
		2810,2811,5,301,0,0,2811,2812,3,128,64,0,2812,2813,5,175,0,0,2813,2814,
		3,246,123,0,2814,2826,1,0,0,0,2815,2816,5,301,0,0,2816,2817,5,225,0,0,
		2817,2818,3,174,87,0,2818,2819,3,142,71,0,2819,2820,3,128,64,0,2820,2821,
		5,175,0,0,2821,2822,3,246,123,0,2822,2823,3,198,99,0,2823,2824,3,114,57,
		0,2824,2826,1,0,0,0,2825,2810,1,0,0,0,2825,2815,1,0,0,0,2826,261,1,0,0,
		0,2827,2828,5,254,0,0,2828,2829,5,195,0,0,2829,2830,5,42,0,0,2830,2831,
		3,32,16,0,2831,2837,5,43,0,0,2832,2833,3,334,167,0,2833,2834,6,131,-1,
		0,2834,2836,1,0,0,0,2835,2832,1,0,0,0,2836,2839,1,0,0,0,2837,2835,1,0,
		0,0,2837,2838,1,0,0,0,2838,2893,1,0,0,0,2839,2837,1,0,0,0,2840,2841,5,
		254,0,0,2841,2842,5,195,0,0,2842,2848,3,2,1,0,2843,2844,3,334,167,0,2844,
		2845,6,131,-1,0,2845,2847,1,0,0,0,2846,2843,1,0,0,0,2847,2850,1,0,0,0,
		2848,2846,1,0,0,0,2848,2849,1,0,0,0,2849,2893,1,0,0,0,2850,2848,1,0,0,
		0,2851,2852,5,254,0,0,2852,2853,5,255,0,0,2853,2854,5,42,0,0,2854,2855,
		3,32,16,0,2855,2856,5,43,0,0,2856,2857,5,28,0,0,2857,2863,3,126,63,0,2858,
		2859,3,334,167,0,2859,2860,6,131,-1,0,2860,2862,1,0,0,0,2861,2858,1,0,
		0,0,2862,2865,1,0,0,0,2863,2861,1,0,0,0,2863,2864,1,0,0,0,2864,2893,1,
		0,0,0,2865,2863,1,0,0,0,2866,2867,5,254,0,0,2867,2868,5,255,0,0,2868,2869,
		3,2,1,0,2869,2870,5,28,0,0,2870,2876,3,126,63,0,2871,2872,3,334,167,0,
		2872,2873,6,131,-1,0,2873,2875,1,0,0,0,2874,2871,1,0,0,0,2875,2878,1,0,
		0,0,2876,2874,1,0,0,0,2876,2877,1,0,0,0,2877,2893,1,0,0,0,2878,2876,1,
		0,0,0,2879,2880,5,254,0,0,2880,2881,5,42,0,0,2881,2882,3,32,16,0,2882,
		2883,5,43,0,0,2883,2889,3,210,105,0,2884,2885,3,334,167,0,2885,2886,6,
		131,-1,0,2886,2888,1,0,0,0,2887,2884,1,0,0,0,2888,2891,1,0,0,0,2889,2887,
		1,0,0,0,2889,2890,1,0,0,0,2890,2893,1,0,0,0,2891,2889,1,0,0,0,2892,2827,
		1,0,0,0,2892,2840,1,0,0,0,2892,2851,1,0,0,0,2892,2866,1,0,0,0,2892,2879,
		1,0,0,0,2893,263,1,0,0,0,2894,2895,3,0,0,0,2895,2896,5,75,0,0,2896,2897,
		6,132,-1,0,2897,265,1,0,0,0,2898,2899,3,44,22,0,2899,2900,6,133,-1,0,2900,
		2905,1,0,0,0,2901,2902,3,46,23,0,2902,2903,6,133,-1,0,2903,2905,1,0,0,
		0,2904,2898,1,0,0,0,2904,2901,1,0,0,0,2905,267,1,0,0,0,2906,2907,5,17,
		0,0,2907,2908,3,250,125,0,2908,2909,5,18,0,0,2909,269,1,0,0,0,2910,2911,
		3,274,137,0,2911,2912,3,272,136,0,2912,271,1,0,0,0,2913,2914,3,276,138,
		0,2914,2915,6,136,-1,0,2915,2917,1,0,0,0,2916,2913,1,0,0,0,2917,2918,1,
		0,0,0,2918,2916,1,0,0,0,2918,2919,1,0,0,0,2919,273,1,0,0,0,2920,2921,5,
		158,0,0,2921,2922,3,268,134,0,2922,2923,6,137,-1,0,2923,2937,1,0,0,0,2924,
		2925,5,158,0,0,2925,2926,3,0,0,0,2926,2927,5,159,0,0,2927,2928,3,0,0,0,
		2928,2929,6,137,-1,0,2929,2937,1,0,0,0,2930,2931,5,158,0,0,2931,2932,3,
		32,16,0,2932,2933,5,159,0,0,2933,2934,3,32,16,0,2934,2935,6,137,-1,0,2935,
		2937,1,0,0,0,2936,2920,1,0,0,0,2936,2924,1,0,0,0,2936,2930,1,0,0,0,2937,
		275,1,0,0,0,2938,2939,3,280,140,0,2939,2940,3,286,143,0,2940,2941,6,138,
		-1,0,2941,2955,1,0,0,0,2942,2943,3,278,139,0,2943,2944,3,286,143,0,2944,
		2945,6,138,-1,0,2945,2955,1,0,0,0,2946,2947,3,282,141,0,2947,2948,3,286,
		143,0,2948,2949,6,138,-1,0,2949,2955,1,0,0,0,2950,2951,3,284,142,0,2951,
		2952,3,286,143,0,2952,2953,6,138,-1,0,2953,2955,1,0,0,0,2954,2938,1,0,
		0,0,2954,2942,1,0,0,0,2954,2946,1,0,0,0,2954,2950,1,0,0,0,2955,277,1,0,
		0,0,2956,2957,5,160,0,0,2957,2958,3,268,134,0,2958,2959,6,139,-1,0,2959,
		2969,1,0,0,0,2960,2961,5,160,0,0,2961,2962,3,0,0,0,2962,2963,6,139,-1,
		0,2963,2969,1,0,0,0,2964,2965,5,160,0,0,2965,2966,3,32,16,0,2966,2967,
		6,139,-1,0,2967,2969,1,0,0,0,2968,2956,1,0,0,0,2968,2960,1,0,0,0,2968,
		2964,1,0,0,0,2969,279,1,0,0,0,2970,2971,5,161,0,0,2971,2972,3,126,63,0,
		2972,281,1,0,0,0,2973,2974,5,162,0,0,2974,283,1,0,0,0,2975,2976,5,163,
		0,0,2976,285,1,0,0,0,2977,2978,3,268,134,0,2978,2979,6,143,-1,0,2979,2993,
		1,0,0,0,2980,2981,5,164,0,0,2981,2982,3,0,0,0,2982,2983,5,159,0,0,2983,
		2984,3,0,0,0,2984,2985,6,143,-1,0,2985,2993,1,0,0,0,2986,2987,5,164,0,
		0,2987,2988,3,32,16,0,2988,2989,5,159,0,0,2989,2990,3,32,16,0,2990,2991,
		6,143,-1,0,2991,2993,1,0,0,0,2992,2977,1,0,0,0,2992,2980,1,0,0,0,2992,
		2986,1,0,0,0,2993,287,1,0,0,0,2994,2995,3,290,145,0,2995,2996,3,294,147,
		0,2996,289,1,0,0,0,2997,2998,5,165,0,0,2998,2999,3,292,146,0,2999,3000,
		3,0,0,0,3000,3001,5,36,0,0,3001,3002,6,145,-1,0,3002,3008,1,0,0,0,3003,
		3004,5,165,0,0,3004,3005,3,292,146,0,3005,3006,6,145,-1,0,3006,3008,1,
		0,0,0,3007,2997,1,0,0,0,3007,3003,1,0,0,0,3008,291,1,0,0,0,3009,3015,1,
		0,0,0,3010,3011,5,166,0,0,3011,3015,6,146,-1,0,3012,3013,5,2,0,0,3013,
		3015,6,146,-1,0,3014,3009,1,0,0,0,3014,3010,1,0,0,0,3014,3012,1,0,0,0,
		3015,293,1,0,0,0,3016,3017,5,17,0,0,3017,3018,3,296,148,0,3018,3019,5,
		18,0,0,3019,3026,1,0,0,0,3020,3022,3,300,150,0,3021,3020,1,0,0,0,3022,
		3023,1,0,0,0,3023,3021,1,0,0,0,3023,3024,1,0,0,0,3024,3026,1,0,0,0,3025,
		3016,1,0,0,0,3025,3021,1,0,0,0,3026,295,1,0,0,0,3027,3028,3,300,150,0,
		3028,3029,5,28,0,0,3029,3031,1,0,0,0,3030,3027,1,0,0,0,3031,3034,1,0,0,
		0,3032,3030,1,0,0,0,3032,3033,1,0,0,0,3033,3035,1,0,0,0,3034,3032,1,0,
		0,0,3035,3036,3,300,150,0,3036,297,1,0,0,0,3037,3044,1,0,0,0,3038,3039,
		5,42,0,0,3039,3040,3,32,16,0,3040,3041,5,43,0,0,3041,3042,6,149,-1,0,3042,
		3044,1,0,0,0,3043,3037,1,0,0,0,3043,3038,1,0,0,0,3044,299,1,0,0,0,3045,
		3046,5,180,0,0,3046,3047,5,261,0,0,3047,3048,5,30,0,0,3048,3049,3,6,3,
		0,3049,3050,5,31,0,0,3050,3051,6,150,-1,0,3051,3094,1,0,0,0,3052,3053,
		5,259,0,0,3053,3054,5,30,0,0,3054,3055,3,0,0,0,3055,3056,5,31,0,0,3056,
		3057,6,150,-1,0,3057,3094,1,0,0,0,3058,3059,5,259,0,0,3059,3060,3,0,0,
		0,3060,3061,6,150,-1,0,3061,3094,1,0,0,0,3062,3063,5,84,0,0,3063,3064,
		5,30,0,0,3064,3065,3,304,152,0,3065,3066,5,31,0,0,3066,3067,6,150,-1,0,
		3067,3094,1,0,0,0,3068,3069,7,10,0,0,3069,3070,5,30,0,0,3070,3071,3,36,
		18,0,3071,3072,5,31,0,0,3072,3073,3,298,149,0,3073,3074,6,150,-1,0,3074,
		3094,1,0,0,0,3075,3076,5,186,0,0,3076,3077,5,30,0,0,3077,3078,3,34,17,
		0,3078,3079,5,31,0,0,3079,3080,3,298,149,0,3080,3081,6,150,-1,0,3081,3094,
		1,0,0,0,3082,3083,7,11,0,0,3083,3084,5,30,0,0,3084,3085,3,32,16,0,3085,
		3086,5,31,0,0,3086,3087,3,298,149,0,3087,3088,6,150,-1,0,3088,3094,1,0,
		0,0,3089,3090,7,12,0,0,3090,3091,3,298,149,0,3091,3092,6,150,-1,0,3092,
		3094,1,0,0,0,3093,3045,1,0,0,0,3093,3052,1,0,0,0,3093,3058,1,0,0,0,3093,
		3062,1,0,0,0,3093,3068,1,0,0,0,3093,3075,1,0,0,0,3093,3082,1,0,0,0,3093,
		3089,1,0,0,0,3094,301,1,0,0,0,3095,3096,5,187,0,0,3096,3097,5,30,0,0,3097,
		3098,3,36,18,0,3098,3099,5,31,0,0,3099,3100,6,151,-1,0,3100,3186,1,0,0,
		0,3101,3102,5,188,0,0,3102,3103,5,30,0,0,3103,3104,3,36,18,0,3104,3105,
		5,31,0,0,3105,3106,6,151,-1,0,3106,3186,1,0,0,0,3107,3108,5,187,0,0,3108,
		3109,5,30,0,0,3109,3110,3,32,16,0,3110,3111,5,31,0,0,3111,3112,6,151,-1,
		0,3112,3186,1,0,0,0,3113,3114,5,188,0,0,3114,3115,5,30,0,0,3115,3116,3,
		34,17,0,3116,3117,5,31,0,0,3117,3118,6,151,-1,0,3118,3186,1,0,0,0,3119,
		3120,5,186,0,0,3120,3121,5,30,0,0,3121,3122,3,34,17,0,3122,3123,5,31,0,
		0,3123,3124,6,151,-1,0,3124,3186,1,0,0,0,3125,3126,5,185,0,0,3126,3127,
		5,30,0,0,3127,3128,3,32,16,0,3128,3129,5,31,0,0,3129,3130,6,151,-1,0,3130,
		3186,1,0,0,0,3131,3132,5,184,0,0,3132,3133,5,30,0,0,3133,3134,3,32,16,
		0,3134,3135,5,31,0,0,3135,3136,6,151,-1,0,3136,3186,1,0,0,0,3137,3138,
		5,183,0,0,3138,3139,5,30,0,0,3139,3140,3,32,16,0,3140,3141,5,31,0,0,3141,
		3142,6,151,-1,0,3142,3186,1,0,0,0,3143,3144,5,192,0,0,3144,3145,5,30,0,
		0,3145,3146,3,34,17,0,3146,3147,5,31,0,0,3147,3148,6,151,-1,0,3148,3186,
		1,0,0,0,3149,3150,5,191,0,0,3150,3151,5,30,0,0,3151,3152,3,32,16,0,3152,
		3153,5,31,0,0,3153,3154,6,151,-1,0,3154,3186,1,0,0,0,3155,3156,5,190,0,
		0,3156,3157,5,30,0,0,3157,3158,3,32,16,0,3158,3159,5,31,0,0,3159,3160,
		6,151,-1,0,3160,3186,1,0,0,0,3161,3162,5,189,0,0,3162,3163,5,30,0,0,3163,
		3164,3,32,16,0,3164,3165,5,31,0,0,3165,3166,6,151,-1,0,3166,3186,1,0,0,
		0,3167,3168,5,180,0,0,3168,3169,5,30,0,0,3169,3170,3,32,16,0,3170,3171,
		5,31,0,0,3171,3172,6,151,-1,0,3172,3186,1,0,0,0,3173,3174,5,182,0,0,3174,
		3175,5,30,0,0,3175,3176,3,166,83,0,3176,3177,5,31,0,0,3177,3178,6,151,
		-1,0,3178,3186,1,0,0,0,3179,3180,5,84,0,0,3180,3181,5,30,0,0,3181,3182,
		3,304,152,0,3182,3183,5,31,0,0,3183,3184,6,151,-1,0,3184,3186,1,0,0,0,
		3185,3095,1,0,0,0,3185,3101,1,0,0,0,3185,3107,1,0,0,0,3185,3113,1,0,0,
		0,3185,3119,1,0,0,0,3185,3125,1,0,0,0,3185,3131,1,0,0,0,3185,3137,1,0,
		0,0,3185,3143,1,0,0,0,3185,3149,1,0,0,0,3185,3155,1,0,0,0,3185,3161,1,
		0,0,0,3185,3167,1,0,0,0,3185,3173,1,0,0,0,3185,3179,1,0,0,0,3186,303,1,
		0,0,0,3187,3188,3,306,153,0,3188,3189,6,152,-1,0,3189,3191,1,0,0,0,3190,
		3187,1,0,0,0,3191,3194,1,0,0,0,3192,3190,1,0,0,0,3192,3193,1,0,0,0,3193,
		305,1,0,0,0,3194,3192,1,0,0,0,3195,3196,7,13,0,0,3196,307,1,0,0,0,3197,
		3198,3,302,151,0,3198,3199,6,154,-1,0,3199,3206,1,0,0,0,3200,3201,3,6,
		3,0,3201,3202,6,154,-1,0,3202,3206,1,0,0,0,3203,3204,5,178,0,0,3204,3206,
		6,154,-1,0,3205,3197,1,0,0,0,3205,3200,1,0,0,0,3205,3203,1,0,0,0,3206,
		309,1,0,0,0,3207,3208,3,302,151,0,3208,3209,6,155,-1,0,3209,3379,1,0,0,
		0,3210,3211,5,181,0,0,3211,3212,5,30,0,0,3212,3213,5,178,0,0,3213,3214,
		5,31,0,0,3214,3379,6,155,-1,0,3215,3216,5,181,0,0,3216,3217,5,30,0,0,3217,
		3218,5,263,0,0,3218,3219,5,31,0,0,3219,3379,6,155,-1,0,3220,3221,5,195,
		0,0,3221,3222,5,30,0,0,3222,3223,5,39,0,0,3223,3224,5,263,0,0,3224,3225,
		5,31,0,0,3225,3379,6,155,-1,0,3226,3227,5,195,0,0,3227,3228,5,30,0,0,3228,
		3229,3,118,59,0,3229,3230,5,31,0,0,3230,3231,6,155,-1,0,3231,3379,1,0,
		0,0,3232,3233,5,195,0,0,3233,3234,5,30,0,0,3234,3235,5,178,0,0,3235,3236,
		5,31,0,0,3236,3379,6,155,-1,0,3237,3238,5,196,0,0,3238,3239,5,30,0,0,3239,
		3240,3,310,155,0,3240,3241,5,31,0,0,3241,3242,6,155,-1,0,3242,3379,1,0,
		0,0,3243,3244,5,187,0,0,3244,3245,5,42,0,0,3245,3246,3,32,16,0,3246,3247,
		5,43,0,0,3247,3248,5,30,0,0,3248,3249,3,312,156,0,3249,3250,5,31,0,0,3250,
		3251,6,155,-1,0,3251,3379,1,0,0,0,3252,3253,5,188,0,0,3253,3254,5,42,0,
		0,3254,3255,3,32,16,0,3255,3256,5,43,0,0,3256,3257,5,30,0,0,3257,3258,
		3,314,157,0,3258,3259,5,31,0,0,3259,3260,6,155,-1,0,3260,3379,1,0,0,0,
		3261,3262,5,186,0,0,3262,3263,5,42,0,0,3263,3264,3,32,16,0,3264,3265,5,
		43,0,0,3265,3266,5,30,0,0,3266,3267,3,316,158,0,3267,3268,5,31,0,0,3268,
		3269,6,155,-1,0,3269,3379,1,0,0,0,3270,3271,5,185,0,0,3271,3272,5,42,0,
		0,3272,3273,3,32,16,0,3273,3274,5,43,0,0,3274,3275,5,30,0,0,3275,3276,
		3,318,159,0,3276,3277,5,31,0,0,3277,3278,6,155,-1,0,3278,3379,1,0,0,0,
		3279,3280,5,184,0,0,3280,3281,5,42,0,0,3281,3282,3,32,16,0,3282,3283,5,
		43,0,0,3283,3284,5,30,0,0,3284,3285,3,320,160,0,3285,3286,5,31,0,0,3286,
		3287,6,155,-1,0,3287,3379,1,0,0,0,3288,3289,5,183,0,0,3289,3290,5,42,0,
		0,3290,3291,3,32,16,0,3291,3292,5,43,0,0,3292,3293,5,30,0,0,3293,3294,
		3,322,161,0,3294,3295,5,31,0,0,3295,3296,6,155,-1,0,3296,3379,1,0,0,0,
		3297,3298,5,192,0,0,3298,3299,5,42,0,0,3299,3300,3,32,16,0,3300,3301,5,
		43,0,0,3301,3302,5,30,0,0,3302,3303,3,316,158,0,3303,3304,5,31,0,0,3304,
		3305,6,155,-1,0,3305,3379,1,0,0,0,3306,3307,5,191,0,0,3307,3308,5,42,0,
		0,3308,3309,3,32,16,0,3309,3310,5,43,0,0,3310,3311,5,30,0,0,3311,3312,
		3,318,159,0,3312,3313,5,31,0,0,3313,3314,6,155,-1,0,3314,3379,1,0,0,0,
		3315,3316,5,190,0,0,3316,3317,5,42,0,0,3317,3318,3,32,16,0,3318,3319,5,
		43,0,0,3319,3320,5,30,0,0,3320,3321,3,320,160,0,3321,3322,5,31,0,0,3322,
		3323,6,155,-1,0,3323,3379,1,0,0,0,3324,3325,5,189,0,0,3325,3326,5,42,0,
		0,3326,3327,3,32,16,0,3327,3328,5,43,0,0,3328,3329,5,30,0,0,3329,3330,
		3,322,161,0,3330,3331,5,31,0,0,3331,3332,6,155,-1,0,3332,3379,1,0,0,0,
		3333,3334,5,180,0,0,3334,3335,5,42,0,0,3335,3336,3,32,16,0,3336,3337,5,
		43,0,0,3337,3338,5,30,0,0,3338,3339,3,320,160,0,3339,3340,5,31,0,0,3340,
		3341,6,155,-1,0,3341,3379,1,0,0,0,3342,3343,5,182,0,0,3343,3344,5,42,0,
		0,3344,3345,3,32,16,0,3345,3346,5,43,0,0,3346,3347,5,30,0,0,3347,3348,
		3,324,162,0,3348,3349,5,31,0,0,3349,3350,6,155,-1,0,3350,3379,1,0,0,0,
		3351,3352,5,181,0,0,3352,3353,5,42,0,0,3353,3354,3,32,16,0,3354,3355,5,
		43,0,0,3355,3356,5,30,0,0,3356,3357,3,326,163,0,3357,3358,5,31,0,0,3358,
		3359,6,155,-1,0,3359,3379,1,0,0,0,3360,3361,5,195,0,0,3361,3362,5,42,0,
		0,3362,3363,3,32,16,0,3363,3364,5,43,0,0,3364,3365,5,30,0,0,3365,3366,
		3,328,164,0,3366,3367,5,31,0,0,3367,3368,6,155,-1,0,3368,3379,1,0,0,0,
		3369,3370,5,196,0,0,3370,3371,5,42,0,0,3371,3372,3,32,16,0,3372,3373,5,
		43,0,0,3373,3374,5,30,0,0,3374,3375,3,332,166,0,3375,3376,5,31,0,0,3376,
		3377,6,155,-1,0,3377,3379,1,0,0,0,3378,3207,1,0,0,0,3378,3210,1,0,0,0,
		3378,3215,1,0,0,0,3378,3220,1,0,0,0,3378,3226,1,0,0,0,3378,3232,1,0,0,
		0,3378,3237,1,0,0,0,3378,3243,1,0,0,0,3378,3252,1,0,0,0,3378,3261,1,0,
		0,0,3378,3270,1,0,0,0,3378,3279,1,0,0,0,3378,3288,1,0,0,0,3378,3297,1,
		0,0,0,3378,3306,1,0,0,0,3378,3315,1,0,0,0,3378,3324,1,0,0,0,3378,3333,
		1,0,0,0,3378,3342,1,0,0,0,3378,3351,1,0,0,0,3378,3360,1,0,0,0,3378,3369,
		1,0,0,0,3379,311,1,0,0,0,3380,3381,3,36,18,0,3381,3382,6,156,-1,0,3382,
		3387,1,0,0,0,3383,3384,3,32,16,0,3384,3385,6,156,-1,0,3385,3387,1,0,0,
		0,3386,3380,1,0,0,0,3386,3383,1,0,0,0,3387,3390,1,0,0,0,3388,3386,1,0,
		0,0,3388,3389,1,0,0,0,3389,313,1,0,0,0,3390,3388,1,0,0,0,3391,3392,3,36,
		18,0,3392,3393,6,157,-1,0,3393,3398,1,0,0,0,3394,3395,3,34,17,0,3395,3396,
		6,157,-1,0,3396,3398,1,0,0,0,3397,3391,1,0,0,0,3397,3394,1,0,0,0,3398,
		3401,1,0,0,0,3399,3397,1,0,0,0,3399,3400,1,0,0,0,3400,315,1,0,0,0,3401,
		3399,1,0,0,0,3402,3403,3,34,17,0,3403,3404,6,158,-1,0,3404,3406,1,0,0,
		0,3405,3402,1,0,0,0,3406,3409,1,0,0,0,3407,3405,1,0,0,0,3407,3408,1,0,
		0,0,3408,317,1,0,0,0,3409,3407,1,0,0,0,3410,3411,3,32,16,0,3411,3412,6,
		159,-1,0,3412,3414,1,0,0,0,3413,3410,1,0,0,0,3414,3417,1,0,0,0,3415,3413,
		1,0,0,0,3415,3416,1,0,0,0,3416,319,1,0,0,0,3417,3415,1,0,0,0,3418,3419,
		3,32,16,0,3419,3420,6,160,-1,0,3420,3422,1,0,0,0,3421,3418,1,0,0,0,3422,
		3425,1,0,0,0,3423,3421,1,0,0,0,3423,3424,1,0,0,0,3424,321,1,0,0,0,3425,
		3423,1,0,0,0,3426,3427,3,32,16,0,3427,3428,6,161,-1,0,3428,3430,1,0,0,
		0,3429,3426,1,0,0,0,3430,3433,1,0,0,0,3431,3429,1,0,0,0,3431,3432,1,0,
		0,0,3432,323,1,0,0,0,3433,3431,1,0,0,0,3434,3435,3,166,83,0,3435,3436,
		6,162,-1,0,3436,3438,1,0,0,0,3437,3434,1,0,0,0,3438,3441,1,0,0,0,3439,
		3437,1,0,0,0,3439,3440,1,0,0,0,3440,325,1,0,0,0,3441,3439,1,0,0,0,3442,
		3443,5,178,0,0,3443,3447,6,163,-1,0,3444,3445,5,263,0,0,3445,3447,6,163,
		-1,0,3446,3442,1,0,0,0,3446,3444,1,0,0,0,3447,3450,1,0,0,0,3448,3446,1,
		0,0,0,3448,3449,1,0,0,0,3449,327,1,0,0,0,3450,3448,1,0,0,0,3451,3452,3,
		330,165,0,3452,3453,6,164,-1,0,3453,3455,1,0,0,0,3454,3451,1,0,0,0,3455,
		3458,1,0,0,0,3456,3454,1,0,0,0,3456,3457,1,0,0,0,3457,329,1,0,0,0,3458,
		3456,1,0,0,0,3459,3460,5,178,0,0,3460,3468,6,165,-1,0,3461,3462,5,39,0,
		0,3462,3463,5,263,0,0,3463,3468,6,165,-1,0,3464,3465,3,118,59,0,3465,3466,
		6,165,-1,0,3466,3468,1,0,0,0,3467,3459,1,0,0,0,3467,3461,1,0,0,0,3467,
		3464,1,0,0,0,3468,331,1,0,0,0,3469,3470,3,310,155,0,3470,3471,6,166,-1,
		0,3471,3473,1,0,0,0,3472,3469,1,0,0,0,3473,3476,1,0,0,0,3474,3472,1,0,
		0,0,3474,3475,1,0,0,0,3475,333,1,0,0,0,3476,3474,1,0,0,0,3477,3478,3,44,
		22,0,3478,3479,6,167,-1,0,3479,3487,1,0,0,0,3480,3481,3,46,23,0,3481,3482,
		6,167,-1,0,3482,3487,1,0,0,0,3483,3484,3,2,1,0,3484,3485,6,167,-1,0,3485,
		3487,1,0,0,0,3486,3477,1,0,0,0,3486,3480,1,0,0,0,3486,3483,1,0,0,0,3487,
		335,1,0,0,0,3488,3489,5,167,0,0,3489,3490,5,36,0,0,3490,3491,5,30,0,0,
		3491,3492,3,304,152,0,3492,3493,5,31,0,0,3493,3494,6,168,-1,0,3494,3521,
		1,0,0,0,3495,3496,5,168,0,0,3496,3497,3,38,19,0,3497,3498,5,75,0,0,3498,
		3499,3,38,19,0,3499,3500,5,75,0,0,3500,3501,3,38,19,0,3501,3502,5,75,0,
		0,3502,3503,3,38,19,0,3503,3504,6,168,-1,0,3504,3521,1,0,0,0,3505,3506,
		5,169,0,0,3506,3507,3,6,3,0,3507,3508,6,168,-1,0,3508,3521,1,0,0,0,3509,
		3510,5,169,0,0,3510,3511,5,36,0,0,3511,3512,5,30,0,0,3512,3513,3,304,152,
		0,3513,3514,5,31,0,0,3514,3515,6,168,-1,0,3515,3521,1,0,0,0,3516,3517,
		3,334,167,0,3517,3518,6,168,-1,0,3518,3521,1,0,0,0,3519,3521,3,40,20,0,
		3520,3488,1,0,0,0,3520,3495,1,0,0,0,3520,3505,1,0,0,0,3520,3509,1,0,0,
		0,3520,3516,1,0,0,0,3520,3519,1,0,0,0,3521,337,1,0,0,0,3522,3523,3,340,
		170,0,3523,3524,5,17,0,0,3524,3525,3,342,171,0,3525,3526,5,18,0,0,3526,
		3527,6,169,-1,0,3527,339,1,0,0,0,3528,3529,5,25,0,0,3529,3530,5,40,0,0,
		3530,3531,3,100,50,0,3531,3532,3,2,1,0,3532,3533,6,170,-1,0,3533,3543,
		1,0,0,0,3534,3535,5,25,0,0,3535,3536,5,40,0,0,3536,3537,3,100,50,0,3537,
		3538,3,2,1,0,3538,3539,5,34,0,0,3539,3540,3,2,1,0,3540,3541,6,170,-1,0,
		3541,3543,1,0,0,0,3542,3528,1,0,0,0,3542,3534,1,0,0,0,3543,341,1,0,0,0,
		3544,3545,3,344,172,0,3545,3546,6,171,-1,0,3546,3548,1,0,0,0,3547,3544,
		1,0,0,0,3548,3551,1,0,0,0,3549,3547,1,0,0,0,3549,3550,1,0,0,0,3550,343,
		1,0,0,0,3551,3549,1,0,0,0,3552,3553,5,179,0,0,3553,3554,5,36,0,0,3554,
		3555,5,30,0,0,3555,3556,3,304,152,0,3556,3557,5,31,0,0,3557,3558,6,172,
		-1,0,3558,3572,1,0,0,0,3559,3560,3,336,168,0,3560,3561,6,172,-1,0,3561,
		3572,1,0,0,0,3562,3563,5,170,0,0,3563,3564,5,36,0,0,3564,3565,5,30,0,0,
		3565,3566,3,304,152,0,3566,3567,5,31,0,0,3567,3568,6,172,-1,0,3568,3572,
		1,0,0,0,3569,3570,5,55,0,0,3570,3572,6,172,-1,0,3571,3552,1,0,0,0,3571,
		3559,1,0,0,0,3571,3562,1,0,0,0,3571,3569,1,0,0,0,3572,345,1,0,0,0,3573,
		3574,3,348,174,0,3574,3575,5,17,0,0,3575,3576,3,356,178,0,3576,3577,5,
		18,0,0,3577,3578,6,173,-1,0,3578,347,1,0,0,0,3579,3580,5,50,0,0,3580,3581,
		5,40,0,0,3581,3582,3,352,176,0,3582,3583,3,2,1,0,3583,3584,6,174,-1,0,
		3584,349,1,0,0,0,3585,3586,5,300,0,0,3586,3587,3,352,176,0,3587,3588,3,
		2,1,0,3588,3589,6,175,-1,0,3589,351,1,0,0,0,3590,3591,3,354,177,0,3591,
		3592,6,176,-1,0,3592,3594,1,0,0,0,3593,3590,1,0,0,0,3594,3597,1,0,0,0,
		3595,3593,1,0,0,0,3595,3596,1,0,0,0,3596,353,1,0,0,0,3597,3595,1,0,0,0,
		3598,3614,5,52,0,0,3599,3614,5,51,0,0,3600,3614,5,171,0,0,3601,3602,5,
		62,0,0,3602,3614,5,51,0,0,3603,3604,5,62,0,0,3604,3614,5,52,0,0,3605,3606,
		5,62,0,0,3606,3614,5,63,0,0,3607,3608,5,62,0,0,3608,3614,5,64,0,0,3609,
		3610,5,62,0,0,3610,3614,5,65,0,0,3611,3612,5,62,0,0,3612,3614,5,66,0,0,
		3613,3598,1,0,0,0,3613,3599,1,0,0,0,3613,3600,1,0,0,0,3613,3601,1,0,0,
		0,3613,3603,1,0,0,0,3613,3605,1,0,0,0,3613,3607,1,0,0,0,3613,3609,1,0,
		0,0,3613,3611,1,0,0,0,3614,355,1,0,0,0,3615,3616,3,358,179,0,3616,3617,
		6,178,-1,0,3617,3619,1,0,0,0,3618,3615,1,0,0,0,3619,3622,1,0,0,0,3620,
		3618,1,0,0,0,3620,3621,1,0,0,0,3621,357,1,0,0,0,3622,3620,1,0,0,0,3623,
		3624,5,21,0,0,3624,3625,3,2,1,0,3625,3626,6,179,-1,0,3626,3649,1,0,0,0,
		3627,3628,5,50,0,0,3628,3629,5,40,0,0,3629,3630,3,120,60,0,3630,3631,6,
		179,-1,0,3631,3649,1,0,0,0,3632,3633,5,25,0,0,3633,3634,5,40,0,0,3634,
		3635,3,2,1,0,3635,3636,6,179,-1,0,3636,3649,1,0,0,0,3637,3638,3,178,89,
		0,3638,3639,6,179,-1,0,3639,3649,1,0,0,0,3640,3641,5,50,0,0,3641,3642,
		3,32,16,0,3642,3643,6,179,-1,0,3643,3649,1,0,0,0,3644,3645,3,334,167,0,
		3645,3646,6,179,-1,0,3646,3649,1,0,0,0,3647,3649,3,40,20,0,3648,3623,1,
		0,0,0,3648,3627,1,0,0,0,3648,3632,1,0,0,0,3648,3637,1,0,0,0,3648,3640,
		1,0,0,0,3648,3644,1,0,0,0,3648,3647,1,0,0,0,3649,359,1,0,0,0,3650,3651,
		3,362,181,0,3651,3652,5,17,0,0,3652,3653,3,368,184,0,3653,3654,5,18,0,
		0,3654,3655,6,180,-1,0,3655,361,1,0,0,0,3656,3657,5,273,0,0,3657,3658,
		3,364,182,0,3658,3659,3,2,1,0,3659,3660,6,181,-1,0,3660,3669,1,0,0,0,3661,
		3662,5,273,0,0,3662,3663,3,364,182,0,3663,3664,3,2,1,0,3664,3665,5,34,
		0,0,3665,3666,3,2,1,0,3666,3667,6,181,-1,0,3667,3669,1,0,0,0,3668,3656,
		1,0,0,0,3668,3661,1,0,0,0,3669,363,1,0,0,0,3670,3671,3,366,183,0,3671,
		3672,6,182,-1,0,3672,3674,1,0,0,0,3673,3670,1,0,0,0,3674,3677,1,0,0,0,
		3675,3673,1,0,0,0,3675,3676,1,0,0,0,3676,365,1,0,0,0,3677,3675,1,0,0,0,
		3678,3679,7,14,0,0,3679,367,1,0,0,0,3680,3681,3,370,185,0,3681,3682,6,
		184,-1,0,3682,3684,1,0,0,0,3683,3680,1,0,0,0,3684,3687,1,0,0,0,3685,3683,
		1,0,0,0,3685,3686,1,0,0,0,3686,369,1,0,0,0,3687,3685,1,0,0,0,3688,3689,
		5,21,0,0,3689,3690,3,2,1,0,3690,3691,5,44,0,0,3691,3692,3,32,16,0,3692,
		3693,6,185,-1,0,3693,3704,1,0,0,0,3694,3695,5,25,0,0,3695,3696,5,40,0,
		0,3696,3697,3,2,1,0,3697,3698,6,185,-1,0,3698,3704,1,0,0,0,3699,3700,3,
		334,167,0,3700,3701,6,185,-1,0,3701,3704,1,0,0,0,3702,3704,3,40,20,0,3703,
		3688,1,0,0,0,3703,3694,1,0,0,0,3703,3699,1,0,0,0,3703,3702,1,0,0,0,3704,
		371,1,0,0,0,3705,3706,3,8,4,0,3706,3707,5,0,0,1,3707,373,1,0,0,0,185,384,
		392,397,404,413,502,553,564,594,601,619,651,679,719,730,740,742,753,755,
		763,785,798,814,838,911,918,925,930,939,950,959,970,981,994,998,1006,1022,
		1029,1038,1066,1144,1146,1160,1166,1175,1177,1186,1200,1214,1224,1232,
		1236,1275,1283,1294,1308,1316,1332,1342,1345,1369,1516,1526,1535,1538,
		1620,1629,1661,1721,1761,1777,1787,1817,1845,1854,1860,1877,1885,1943,
		1953,1971,1989,2008,2029,2048,2063,2071,2083,2103,2110,2115,2126,2138,
		2248,2260,2276,2290,2299,2312,2314,2357,2368,2375,2383,2391,2404,2410,
		2416,2421,2450,2458,2472,2477,2502,2511,2522,2526,2533,2553,2562,2564,
		2579,2626,2636,2638,2645,2651,2695,2704,2744,2749,2789,2793,2803,2825,
		2837,2848,2863,2876,2889,2892,2904,2918,2936,2954,2968,2992,3007,3014,
		3023,3025,3032,3043,3093,3185,3192,3205,3378,3386,3388,3397,3399,3407,
		3415,3423,3431,3439,3446,3448,3456,3467,3474,3486,3520,3542,3549,3571,
		3595,3613,3620,3648,3668,3675,3685,3703
	};

	public static readonly ATN _ATN =
		new ATNDeserializer().Deserialize(_serializedATN);


}
} // namespace Microsoft.DotNet.ILAssembler