terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ InitializeFormatFlags()

DateTimeFormatFlags System.Globalization.DateTimeFormatInfo.InitializeFormatFlags ( )
inlineprivate

Definition at line 1292 of file DateTimeFormatInfo.cs.

1293 {
1294 /*
1295An exception occurred when decompiling this method (06002AF6)
1296
1297ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatFlags System.Globalization.DateTimeFormatInfo::InitializeFormatFlags()
1298
1299 ---> System.Exception: Basic block has to end with unconditional control flow.
1300{
1301 Block_0:
1302 stloc:string[](var_0_06, callgetter:string[](DateTimeFormatInfo::get_MonthNames, ldloc:DateTimeFormatInfo(this)))
1303 stloc:int64(var_1_08, ldc.i4:int64(0))
1304 stloc:string[](var_2_10, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldloc:int64[exp:bool](var_1_08)))
1305 stloc:string[](var_3_17, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedMonthNames, ldloc:DateTimeFormatInfo(this)))
1306 stloc:string[](var_4_1F, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldc.i4:bool(1)))
1307 stloc:FORMATFLAGS(var_5_2B, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagGenitiveMonth, ldloc:string[](var_0_06), ldloc:string[](var_2_10), ldloc:string[](var_3_17), ldloc:string[](var_4_1F)))
1308 stloc:string[](var_6_33, callgetter:string[](DateTimeFormatInfo::get_MonthNames, ldloc:DateTimeFormatInfo(this)))
1309 stloc:int64(var_7_36, ldc.i4:int64(0))
1310 stloc:string[](var_8_40, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldloc:int64[exp:bool](var_7_36)))
1311 stloc:string[](var_9_48, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedMonthNames, ldloc:DateTimeFormatInfo(this)))
1312 stloc:string[](var_10_51, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldc.i4:bool(1)))
1313 stloc:FORMATFLAGS(var_11_60, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagUseSpaceInMonthNames, ldloc:string[](var_6_33), ldloc:string[](var_8_40), ldloc:string[](var_9_48), ldloc:string[](var_10_51)))
1314 stloc:string[](var_12_68, callgetter:string[](DateTimeFormatInfo::get_DayNames, ldloc:DateTimeFormatInfo(this)))
1315 stloc:string[](var_13_70, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedDayNames, ldloc:DateTimeFormatInfo(this)))
1316 stloc:FORMATFLAGS(var_14_7B, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagUseSpaceInDayNames, ldloc:string[](var_12_68), ldloc:string[](var_13_70)))
1317 stloc:Calendar(var_15_83, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1318 stfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this), ldloc:FORMATFLAGS[exp:DateTimeFormatFlags](var_16))
1319}
1320
1321 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1322 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 355
1323 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
1324 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
1325 --- End of inner exception stack trace ---
1326 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
1327 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 1683
1328*/;
1329 }