Back to OIM Explorer

Common.Customizer/VI.Common.Customizer/ModuleGuids.cs

Decompiler Source FileCommon.Customizer.ModuleGuidsDecompiled Source

2 extracted method/event/call references in ModuleGuids.

Source: F:\Claude\.tmp\oim-decompiled-full\0045_One_Identity_Manager_Common.Customizer.dll\VI.Common.Customizer\ModuleGuids.cs

Source size: 23.173 characters

Interpretation

  • Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.

Relations

  • Method registration: SwitchToModuleGuid at line 418
  • Method registration: SwitchToNormalGuid at line 420

Typed Edges

  • No typed edges extracted for this source.

References

  • No direct source references extracted.

Referenced By

  • No direct source references extracted.

C# source-derived context

Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.

reads entity values

Summary: classes ModuleGuids; methods MoveNext, SetStateMachine, _SwitchToModuleGuid, _SwitchToNormalGuid, _SwitchGuidAsync; markers reads entity values

Classes

ModuleGuids

DB/Dialog object references

None extracted.

OIM key/entity markers

None extracted.

API/entity calls

GetValue MetaData Database

Registrations / handlers

None extracted.

Complete Source

C#476 lines
1using System;2using System.Collections.Generic;3using System.Diagnostics;4using System.Runtime.CompilerServices;5using System.Runtime.InteropServices;6using System.Threading;7using System.Threading.Tasks;8using VI.Base;9using VI.DB;10using VI.DB.DataAccess;11using VI.DB.Entities;12using VI.DB.MetaData;1314namespace VI.Common.Customizer;1516public class ModuleGuids : StateBasedEntityLogic17{18	[StructLayout((LayoutKind)3)]19	[CompilerGenerated]20	private struct _003C_SwitchGuidAsync_003Ed__3 : IAsyncStateMachine21	{22		public int _003C_003E1__state;2324		public AsyncTaskMethodBuilder _003C_003Et__builder;2526		public ISession session;2728		public string oldUid;2930		public string newUid;3132		public CancellationToken ct;3334		private IDbSession _003CdbSession_003E5__2;3536		private string _003Csql_003E5__3;3738		private AsyncTransaction _003Ctransaction_003E5__4;3940		private ConfiguredTaskAwaiter<AsyncTransaction> _003C_003Eu__1;4142		private ConfiguredTaskAwaiter<int> _003C_003Eu__2;4344		private ConfiguredTaskAwaiter _003C_003Eu__3;4546		private void MoveNext()47		{48			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)49			//IL_00ce: Unknown result type (might be due to invalid IL or missing references)50			//IL_00d5: Unknown result type (might be due to invalid IL or missing references)51			//IL_0082: Unknown result type (might be due to invalid IL or missing references)52			//IL_008d: Unknown result type (might be due to invalid IL or missing references)53			//IL_0092: Unknown result type (might be due to invalid IL or missing references)54			//IL_0096: Unknown result type (might be due to invalid IL or missing references)55			//IL_009b: Unknown result type (might be due to invalid IL or missing references)56			//IL_00af: Unknown result type (might be due to invalid IL or missing references)57			//IL_00b0: Unknown result type (might be due to invalid IL or missing references)58			//IL_0155: Unknown result type (might be due to invalid IL or missing references)59			//IL_015a: Unknown result type (might be due to invalid IL or missing references)60			//IL_0162: Unknown result type (might be due to invalid IL or missing references)61			//IL_0180: Unknown result type (might be due to invalid IL or missing references)62			//IL_018b: Unknown result type (might be due to invalid IL or missing references)63			//IL_0190: Unknown result type (might be due to invalid IL or missing references)64			//IL_0194: Unknown result type (might be due to invalid IL or missing references)65			//IL_0199: Unknown result type (might be due to invalid IL or missing references)66			//IL_01c9: Unknown result type (might be due to invalid IL or missing references)67			//IL_01ce: Unknown result type (might be due to invalid IL or missing references)68			//IL_01d6: Unknown result type (might be due to invalid IL or missing references)69			//IL_010c: Unknown result type (might be due to invalid IL or missing references)70			//IL_0117: Unknown result type (might be due to invalid IL or missing references)71			//IL_011c: Unknown result type (might be due to invalid IL or missing references)72			//IL_0120: Unknown result type (might be due to invalid IL or missing references)73			//IL_0125: Unknown result type (might be due to invalid IL or missing references)74			//IL_01ae: Unknown result type (might be due to invalid IL or missing references)75			//IL_01b0: Unknown result type (might be due to invalid IL or missing references)76			//IL_013a: Unknown result type (might be due to invalid IL or missing references)77			//IL_013c: Unknown result type (might be due to invalid IL or missing references)78			int num = _003C_003E1__state;79			try80			{81				ConfiguredTaskAwaiter<AsyncTransaction> val;82				if (num != 0)83				{84					if ((uint)(num - 1) <= 1u)85					{86						goto IL_00f4;87					}88					_003CdbSession_003E5__2 = session.Resolve<IDbSession>();89					ISqlFormatter sqlFormatter = _003CdbSession_003E5__2.SqlFormatter;90					_003Csql_003E5__3 = sqlFormatter.StoredProcedure(new SqlFunction("QBM", "GCommon2", "PGuidReplaceInsertPair"), sqlFormatter.FormatValue(oldUid, ValType.String, forUpdate: true), sqlFormatter.FormatValue(newUid, ValType.String, forUpdate: true));91					val = AsyncTransaction.StartAsync(_003CdbSession_003E5__2, ct).ConfigureAwait(false).GetAwaiter();92					if (!val.IsCompleted)93					{94						num = (_003C_003E1__state = 0);95						_003C_003Eu__1 = val;96						((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<AsyncTransaction>, _003C_SwitchGuidAsync_003Ed__3>(ref val, ref this);97						return;98					}99				}100				else101				{102					val = _003C_003Eu__1;103					_003C_003Eu__1 = default(ConfiguredTaskAwaiter<AsyncTransaction>);104					num = (_003C_003E1__state = -1);105				}106				AsyncTransaction result = val.GetResult();107				_003Ctransaction_003E5__4 = result;108				goto IL_00f4;109				IL_00f4:110				try111				{112					ConfiguredTaskAwaiter val2;113					ConfiguredTaskAwaiter<int> val3;114					if (num != 1)115					{116						if (num == 2)117						{118							val2 = _003C_003Eu__3;119							_003C_003Eu__3 = default(ConfiguredTaskAwaiter);120							num = (_003C_003E1__state = -1);121							goto IL_01e5;122						}123						val3 = _003CdbSession_003E5__2.SqlExecuteNonQueryAsync(_003Csql_003E5__3, ct).ConfigureAwait(false).GetAwaiter();124						if (!val3.IsCompleted)125						{126							num = (_003C_003E1__state = 1);127							_003C_003Eu__2 = val3;128							((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<int>, _003C_SwitchGuidAsync_003Ed__3>(ref val3, ref this);129							return;130						}131					}132					else133					{134						val3 = _003C_003Eu__2;135						_003C_003Eu__2 = default(ConfiguredTaskAwaiter<int>);136						num = (_003C_003E1__state = -1);137					}138					val3.GetResult();139					ConfiguredTaskAwaitable val4 = _003Ctransaction_003E5__4.CommitAsync(ct).ConfigureAwait(false);140					val2 = ((ConfiguredTaskAwaitable)(ref val4)).GetAwaiter();141					if (!((ConfiguredTaskAwaiter)(ref val2)).IsCompleted)142					{143						num = (_003C_003E1__state = 2);144						_003C_003Eu__3 = val2;145						((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_SwitchGuidAsync_003Ed__3>(ref val2, ref this);146						return;147					}148					goto IL_01e5;149					IL_01e5:150					((ConfiguredTaskAwaiter)(ref val2)).GetResult();151				}152				finally153				{154					if (num < 0 && _003Ctransaction_003E5__4 != null)155					{156						((System.IDisposable)_003Ctransaction_003E5__4).Dispose();157					}158				}159				_003Ctransaction_003E5__4 = null;160			}161			catch (System.Exception exception)162			{163				_003C_003E1__state = -2;164				_003CdbSession_003E5__2 = null;165				_003Csql_003E5__3 = null;166				((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);167				return;168			}169			_003C_003E1__state = -2;170			_003CdbSession_003E5__2 = null;171			_003Csql_003E5__3 = null;172			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();173		}174175		[DebuggerHidden]176		private void SetStateMachine(IAsyncStateMachine stateMachine)177		{178			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);179		}180	}181182	[StructLayout((LayoutKind)3)]183	[CompilerGenerated]184	private struct _003C_SwitchToModuleGuid_003Ed__1 : IAsyncStateMachine185	{186		public int _003C_003E1__state;187188		public AsyncTaskMethodBuilder _003C_003Et__builder;189190		public ISession session;191192		public IEntity entity;193194		public CancellationToken ct;195196		private ConfiguredTaskAwaiter<IMetaTable> _003C_003Eu__1;197198		private ConfiguredTaskAwaiter _003C_003Eu__2;199200		private void MoveNext()201		{202			//IL_0071: Unknown result type (might be due to invalid IL or missing references)203			//IL_0076: Unknown result type (might be due to invalid IL or missing references)204			//IL_007e: Unknown result type (might be due to invalid IL or missing references)205			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)206			//IL_00dc: Unknown result type (might be due to invalid IL or missing references)207			//IL_00e1: Unknown result type (might be due to invalid IL or missing references)208			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)209			//IL_00ea: Unknown result type (might be due to invalid IL or missing references)210			//IL_0117: Unknown result type (might be due to invalid IL or missing references)211			//IL_011c: Unknown result type (might be due to invalid IL or missing references)212			//IL_0124: Unknown result type (might be due to invalid IL or missing references)213			//IL_0028: Unknown result type (might be due to invalid IL or missing references)214			//IL_0033: Unknown result type (might be due to invalid IL or missing references)215			//IL_0038: Unknown result type (might be due to invalid IL or missing references)216			//IL_003c: Unknown result type (might be due to invalid IL or missing references)217			//IL_0041: Unknown result type (might be due to invalid IL or missing references)218			//IL_00ff: Unknown result type (might be due to invalid IL or missing references)219			//IL_0101: Unknown result type (might be due to invalid IL or missing references)220			//IL_0056: Unknown result type (might be due to invalid IL or missing references)221			//IL_0058: Unknown result type (might be due to invalid IL or missing references)222			int num = _003C_003E1__state;223			try224			{225				ConfiguredTaskAwaiter val;226				ConfiguredTaskAwaiter<IMetaTable> val2;227				if (num != 0)228				{229					if (num == 1)230					{231						val = _003C_003Eu__2;232						_003C_003Eu__2 = default(ConfiguredTaskAwaiter);233						num = (_003C_003E1__state = -1);234						goto IL_0133;235					}236					val2 = session.MetaData().GetTableAsync(entity.Tablename, ct).ConfigureAwait(false)237						.GetAwaiter();238					if (!val2.IsCompleted)239					{240						num = (_003C_003E1__state = 0);241						_003C_003Eu__1 = val2;242						((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<IMetaTable>, _003C_SwitchToModuleGuid_003Ed__1>(ref val2, ref this);243						return;244					}245				}246				else247				{248					val2 = _003C_003Eu__1;249					_003C_003Eu__1 = default(ConfiguredTaskAwaiter<IMetaTable>);250					num = (_003C_003E1__state = -1);251				}252				IMetaTable result = val2.GetResult();253				string value = entity.GetValue<string>(result.PrimaryKeyColumns[0].Columnname);254				string newUid = Uid.Create(session.Database().ModuleOwner);255				ConfiguredTaskAwaitable val3 = _SwitchGuidAsync(session, value, newUid, ct).ConfigureAwait(false);256				val = ((ConfiguredTaskAwaitable)(ref val3)).GetAwaiter();257				if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)258				{259					num = (_003C_003E1__state = 1);260					_003C_003Eu__2 = val;261					((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_SwitchToModuleGuid_003Ed__1>(ref val, ref this);262					return;263				}264				goto IL_0133;265				IL_0133:266				((ConfiguredTaskAwaiter)(ref val)).GetResult();267			}268			catch (System.Exception exception)269			{270				_003C_003E1__state = -2;271				((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);272				return;273			}274			_003C_003E1__state = -2;275			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();276		}277278		[DebuggerHidden]279		private void SetStateMachine(IAsyncStateMachine stateMachine)280		{281			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);282		}283	}284285	[StructLayout((LayoutKind)3)]286	[CompilerGenerated]287	private struct _003C_SwitchToNormalGuid_003Ed__2 : IAsyncStateMachine288	{289		public int _003C_003E1__state;290291		public AsyncTaskMethodBuilder _003C_003Et__builder;292293		public ISession session;294295		public IEntity entity;296297		public CancellationToken ct;298299		private ConfiguredTaskAwaiter<IMetaTable> _003C_003Eu__1;300301		private ConfiguredTaskAwaiter _003C_003Eu__2;302303		private void MoveNext()304		{305			//IL_0071: Unknown result type (might be due to invalid IL or missing references)306			//IL_0076: Unknown result type (might be due to invalid IL or missing references)307			//IL_007e: Unknown result type (might be due to invalid IL or missing references)308			//IL_00b2: Unknown result type (might be due to invalid IL or missing references)309			//IL_00b7: Unknown result type (might be due to invalid IL or missing references)310			//IL_00d0: Unknown result type (might be due to invalid IL or missing references)311			//IL_00db: Unknown result type (might be due to invalid IL or missing references)312			//IL_00e0: Unknown result type (might be due to invalid IL or missing references)313			//IL_00e4: Unknown result type (might be due to invalid IL or missing references)314			//IL_00e9: Unknown result type (might be due to invalid IL or missing references)315			//IL_0116: Unknown result type (might be due to invalid IL or missing references)316			//IL_011b: Unknown result type (might be due to invalid IL or missing references)317			//IL_0123: Unknown result type (might be due to invalid IL or missing references)318			//IL_0028: Unknown result type (might be due to invalid IL or missing references)319			//IL_0033: Unknown result type (might be due to invalid IL or missing references)320			//IL_0038: Unknown result type (might be due to invalid IL or missing references)321			//IL_003c: Unknown result type (might be due to invalid IL or missing references)322			//IL_0041: Unknown result type (might be due to invalid IL or missing references)323			//IL_00fe: Unknown result type (might be due to invalid IL or missing references)324			//IL_0100: Unknown result type (might be due to invalid IL or missing references)325			//IL_0056: Unknown result type (might be due to invalid IL or missing references)326			//IL_0058: Unknown result type (might be due to invalid IL or missing references)327			int num = _003C_003E1__state;328			try329			{330				ConfiguredTaskAwaiter val;331				ConfiguredTaskAwaiter<IMetaTable> val2;332				if (num != 0)333				{334					if (num == 1)335					{336						val = _003C_003Eu__2;337						_003C_003Eu__2 = default(ConfiguredTaskAwaiter);338						num = (_003C_003E1__state = -1);339						goto IL_0132;340					}341					val2 = session.MetaData().GetTableAsync(entity.Tablename, ct).ConfigureAwait(false)342						.GetAwaiter();343					if (!val2.IsCompleted)344					{345						num = (_003C_003E1__state = 0);346						_003C_003Eu__1 = val2;347						((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<IMetaTable>, _003C_SwitchToNormalGuid_003Ed__2>(ref val2, ref this);348						return;349					}350				}351				else352				{353					val2 = _003C_003Eu__1;354					_003C_003Eu__1 = default(ConfiguredTaskAwaiter<IMetaTable>);355					num = (_003C_003E1__state = -1);356				}357				IMetaTable result = val2.GetResult();358				string value = entity.GetValue<string>(result.PrimaryKeyColumns[0].Columnname);359				string newUid = ((object)Guid.NewGuid()/*cast due to .constrained prefix*/).ToString();360				ConfiguredTaskAwaitable val3 = _SwitchGuidAsync(session, value, newUid, ct).ConfigureAwait(false);361				val = ((ConfiguredTaskAwaitable)(ref val3)).GetAwaiter();362				if (!((ConfiguredTaskAwaiter)(ref val)).IsCompleted)363				{364					num = (_003C_003E1__state = 1);365					_003C_003Eu__2 = val;366					((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter, _003C_SwitchToNormalGuid_003Ed__2>(ref val, ref this);367					return;368				}369				goto IL_0132;370				IL_0132:371				((ConfiguredTaskAwaiter)(ref val)).GetResult();372			}373			catch (System.Exception exception)374			{375				_003C_003E1__state = -2;376				((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);377				return;378			}379			_003C_003E1__state = -2;380			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();381		}382383		[DebuggerHidden]384		private void SetStateMachine(IAsyncStateMachine stateMachine)385		{386			((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);387		}388	}389390	public ModuleGuids()391	{392		RegisterExpensive("_Enabled").As<bool>((Func<ISession, IEntity, CancellationToken, System.Threading.Tasks.Task<bool>>)([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_0_003Ed))] async (ISession s, IEntity e, CancellationToken ct) =>393		{394			//IL_0002: Unknown result type (might be due to invalid IL or missing references)395			//IL_0007: Unknown result type (might be due to invalid IL or missing references)396			//IL_001e: Unknown result type (might be due to invalid IL or missing references)397			//IL_001f: Unknown result type (might be due to invalid IL or missing references)398			IMetaTable metaTable = await s.MetaData().GetTableAsync(e.Tablename, ct).ConfigureAwait(false);399			return metaTable.IsModuleGuidAllowed && ((System.Collections.Generic.IReadOnlyCollection<IMetaColumn>)metaTable.PrimaryKeyColumns).Count == 1 && s.Database().Data.GetValue<int>("ProductionLevel") < 2;400		}));401		RegisterExpensive("_NormalGuidsAllowed").As<bool>((Func<ISession, IEntity, CancellationToken, System.Threading.Tasks.Task<bool>>)([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_1_003Ed))] async (ISession s, IEntity e, CancellationToken ct) => !(await s.MetaData().GetTableAsync(e.Tablename, ct).ConfigureAwait(false)).IsModuleGuidDefault));402		RegisterExpensive("_HasModuleGuid").As<bool>((Func<ISession, IEntity, CancellationToken, System.Threading.Tasks.Task<bool>>)([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_2_003Ed))] async (ISession s, IEntity e, CancellationToken ct) =>403		{404			//IL_0002: Unknown result type (might be due to invalid IL or missing references)405			//IL_0007: Unknown result type (might be due to invalid IL or missing references)406			//IL_001e: Unknown result type (might be due to invalid IL or missing references)407			//IL_001f: Unknown result type (might be due to invalid IL or missing references)408			IMetaTable metaTable = await s.MetaData().GetTableAsync(e.Tablename, ct).ConfigureAwait(false);409			if (((System.Collections.Generic.IReadOnlyCollection<IMetaColumn>)metaTable.PrimaryKeyColumns).Count != 1)410			{411				return false;412			}413			IDbInfo dbInfo = s.Database();414			string value = e.GetValue<string>(metaTable.PrimaryKeyColumns[0].Columnname);415			return Uid.IsValidModuleUid(value) && string.Equals(Uid.GetModuleOwner(value), dbInfo.ModuleOwner, (StringComparison)5);416		}));417		RegisterExpensive("_ProductionLevel").As<int>((Func<ISession, CancellationToken, System.Threading.Tasks.Task<int>>)((ISession s, CancellationToken ct) => System.Threading.Tasks.Task.FromResult<int>(s.Database().Data.GetValue<int>("ProductionLevel"))));418		RegisterMethod("SwitchToModuleGuid").As(_SwitchToModuleGuid).Visible().From("[IsLoaded]", "_Enabled", "_HasModuleGuid", "_ProductionLevel")419			.As<bool, bool, bool, int>((Func<bool, bool, bool, int, bool>)((bool loaded, bool enabled, bool hasModule, int productionLevel) => loaded && enabled && !hasModule && productionLevel < 2));420		RegisterMethod("SwitchToNormalGuid").As(_SwitchToNormalGuid).Visible().From("[IsLoaded]", "_Enabled", "_HasModuleGuid", "_NormalGuidsAllowed")421			.As<bool, bool, bool, bool>((Func<bool, bool, bool, bool, bool>)((bool loaded, bool enabled, bool hasModule, bool normalAllowed) => loaded && enabled && hasModule && normalAllowed));422	}423424	[AsyncStateMachine(typeof(_003C_SwitchToModuleGuid_003Ed__1))]425	private System.Threading.Tasks.Task _SwitchToModuleGuid(ISession session, IEntity entity, CancellationToken ct)426	{427		//IL_0002: Unknown result type (might be due to invalid IL or missing references)428		//IL_0007: Unknown result type (might be due to invalid IL or missing references)429		//IL_001e: Unknown result type (might be due to invalid IL or missing references)430		//IL_001f: Unknown result type (might be due to invalid IL or missing references)431		_003C_SwitchToModuleGuid_003Ed__1 _003C_SwitchToModuleGuid_003Ed__ = default(_003C_SwitchToModuleGuid_003Ed__1);432		_003C_SwitchToModuleGuid_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();433		_003C_SwitchToModuleGuid_003Ed__.session = session;434		_003C_SwitchToModuleGuid_003Ed__.entity = entity;435		_003C_SwitchToModuleGuid_003Ed__.ct = ct;436		_003C_SwitchToModuleGuid_003Ed__._003C_003E1__state = -1;437		((AsyncTaskMethodBuilder)(ref _003C_SwitchToModuleGuid_003Ed__._003C_003Et__builder)).Start<_003C_SwitchToModuleGuid_003Ed__1>(ref _003C_SwitchToModuleGuid_003Ed__);438		return ((AsyncTaskMethodBuilder)(ref _003C_SwitchToModuleGuid_003Ed__._003C_003Et__builder)).Task;439	}440441	[AsyncStateMachine(typeof(_003C_SwitchToNormalGuid_003Ed__2))]442	private System.Threading.Tasks.Task _SwitchToNormalGuid(ISession session, IEntity entity, CancellationToken ct)443	{444		//IL_0002: Unknown result type (might be due to invalid IL or missing references)445		//IL_0007: Unknown result type (might be due to invalid IL or missing references)446		//IL_001e: Unknown result type (might be due to invalid IL or missing references)447		//IL_001f: Unknown result type (might be due to invalid IL or missing references)448		_003C_SwitchToNormalGuid_003Ed__2 _003C_SwitchToNormalGuid_003Ed__ = default(_003C_SwitchToNormalGuid_003Ed__2);449		_003C_SwitchToNormalGuid_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();450		_003C_SwitchToNormalGuid_003Ed__.session = session;451		_003C_SwitchToNormalGuid_003Ed__.entity = entity;452		_003C_SwitchToNormalGuid_003Ed__.ct = ct;453		_003C_SwitchToNormalGuid_003Ed__._003C_003E1__state = -1;454		((AsyncTaskMethodBuilder)(ref _003C_SwitchToNormalGuid_003Ed__._003C_003Et__builder)).Start<_003C_SwitchToNormalGuid_003Ed__2>(ref _003C_SwitchToNormalGuid_003Ed__);455		return ((AsyncTaskMethodBuilder)(ref _003C_SwitchToNormalGuid_003Ed__._003C_003Et__builder)).Task;456	}457458	[AsyncStateMachine(typeof(_003C_SwitchGuidAsync_003Ed__3))]459	private static System.Threading.Tasks.Task _SwitchGuidAsync(ISession session, string oldUid, string newUid, CancellationToken ct)460	{461		//IL_0002: Unknown result type (might be due to invalid IL or missing references)462		//IL_0007: Unknown result type (might be due to invalid IL or missing references)463		//IL_0026: Unknown result type (might be due to invalid IL or missing references)464		//IL_0027: Unknown result type (might be due to invalid IL or missing references)465		_003C_SwitchGuidAsync_003Ed__3 _003C_SwitchGuidAsync_003Ed__ = default(_003C_SwitchGuidAsync_003Ed__3);466		_003C_SwitchGuidAsync_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();467		_003C_SwitchGuidAsync_003Ed__.session = session;468		_003C_SwitchGuidAsync_003Ed__.oldUid = oldUid;469		_003C_SwitchGuidAsync_003Ed__.newUid = newUid;470		_003C_SwitchGuidAsync_003Ed__.ct = ct;471		_003C_SwitchGuidAsync_003Ed__._003C_003E1__state = -1;472		((AsyncTaskMethodBuilder)(ref _003C_SwitchGuidAsync_003Ed__._003C_003Et__builder)).Start<_003C_SwitchGuidAsync_003Ed__3>(ref _003C_SwitchGuidAsync_003Ed__);473		return ((AsyncTaskMethodBuilder)(ref _003C_SwitchGuidAsync_003Ed__._003C_003Et__builder)).Task;474	}475}476