using System;
using Cpp2IlInjected;

// Token: 0x02000296 RID: 662
[Token(Token = "0x2000296")]
public class MessageBoxHandlerData
{
	// Token: 0x06001951 RID: 6481 RVA: 0x0003D590 File Offset: 0x0003B790
	[Token(Token = "0x6001951")]
	[Address(RVA = "0x7787B0", Offset = "0x7775B0", VA = "0x1807787B0")]
	public MessageBoxHandlerData(string handlerText, Enum submissionSfx, Action handlerEvent)
	{
		/*
An exception occurred when decompiling this method (06001951)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MessageBoxHandlerData::.ctor(System.String,System.Enum,System.Action)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	call:void(object::.ctor, ldloc:MessageBoxHandlerData[exp:object](this)); 	stfld:string(MessageBoxHandlerData::handlerText, ldloc:MessageBoxHandlerData(this), ldloc:string(handlerText)); 	stfld:Enum(MessageBoxHandlerData::submissionSfx, ldloc:MessageBoxHandlerData(this), ldloc:Enum(submissionSfx)); 	stfld:Action(MessageBoxHandlerData::handlerEvent, ldloc:MessageBoxHandlerData(this), ldloc:Action(handlerEvent)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x04002314 RID: 8980
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4002314")]
	public readonly string handlerText;

	// Token: 0x04002315 RID: 8981
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002315")]
	public readonly Enum submissionSfx;

	// Token: 0x04002316 RID: 8982
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002316")]
	public readonly Action handlerEvent;
}
