Common.Customizer/VI.Common.Customizer/DialogDashboardDef.cs
Decompiler Source FileCommon.Customizer.DialogDashboardDefDecompiled Source
Interpretation
- Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.
Relations
- Method registration: CheckQueryDefinition at line 266
- Method registration: CheckQueryDefinition at line 281
- Method registration: CheckQueryDefinition100 at line 296
- Method registration: CheckQueryDefinition100 at line 311
- Method registration: CheckAccessWhereClause at line 326
- Method registration: CheckAccessWhereClause at line 341
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.
references DB/Dialog objects
Summary: classes DialogDashboardDef, _003C_003Ec__DisplayClass1_0, _003C_003Ec__DisplayClass1_1; methods _003C_CheckQueryDefinitionAsync_003Eb__3, MoveNext, SetStateMachine, _CheckQueryDefinitionAsync, _CheckAccessWhereClauseAsync; references DialogDashBoardContent, DialogDashboardDef; markers references DB/Dialog objects
Classes
DialogDashboardDef _003C_003Ec__DisplayClass1_0 _003C_003Ec__DisplayClass1_1Methods
DB/Dialog object references
OIM key/entity markers
None extracted.API/entity calls
ExistsAsync SqlExecuteAsyncRegistrations / handlers
None extracted.
Complete Source
1using System;2using System.Collections.Generic;3using System.Data.Common;4using System.Diagnostics;5using System.Linq;6using System.Runtime.CompilerServices;7using System.Runtime.InteropServices;8using System.Threading;9using System.Threading.Tasks;10using VI.Base;11using VI.DB;12using VI.DB.DataAccess;13using VI.DB.Entities;14using VI.DB.SqlParsing;1516namespace VI.Common.Customizer;1718public class DialogDashboardDef : CommonLogicBase19{20 [CompilerGenerated]21 private sealed class _003C_003Ec__DisplayClass1_022 {23 public System.Type[] validTypes;2425 internal bool _003C_CheckQueryDefinitionAsync_003Eb__3(Tuple<string, System.Type> c)26 {27 if (string.Equals(c.Item1, "ElementValue", (StringComparison)5))28 {29 return MemoryExtensions.Contains<System.Type>(System.ReadOnlySpan<System.Type>.op_Implicit(validTypes), c.Item2, (IEqualityComparer<System.Type>)null);30 }31 return false;32 }33 }3435 [CompilerGenerated]36 private sealed class _003C_003Ec__DisplayClass1_137 {38 public DbDataReader dr;3940 internal Tuple<string, System.Type> _003C_CheckQueryDefinitionAsync_003Eb__4(int i)41 {42 return new Tuple<string, System.Type>(dr.GetName(i), dr.GetFieldType(i));43 }44 }4546 [StructLayout((LayoutKind)3)]47 [CompilerGenerated]48 private struct _003C_CheckAccessWhereClauseAsync_003Ed__2 : IAsyncStateMachine49 {50 public int _003C_003E1__state;5152 public AsyncTaskMethodBuilder _003C_003Et__builder;5354 public IDbSession dbSession;5556 public string whereClause;5758 public CancellationToken ct;5960 private ConfiguredTaskAwaiter<bool> _003C_003Eu__1;6162 private void MoveNext()63 {64 //IL_0017: Unknown result type (might be due to invalid IL or missing references)65 //IL_0076: Unknown result type (might be due to invalid IL or missing references)66 //IL_007b: Unknown result type (might be due to invalid IL or missing references)67 //IL_0082: Unknown result type (might be due to invalid IL or missing references)68 //IL_0033: Unknown result type (might be due to invalid IL or missing references)69 //IL_003e: Unknown result type (might be due to invalid IL or missing references)70 //IL_0043: Unknown result type (might be due to invalid IL or missing references)71 //IL_0046: Unknown result type (might be due to invalid IL or missing references)72 //IL_004b: Unknown result type (might be due to invalid IL or missing references)73 //IL_005f: Unknown result type (might be due to invalid IL or missing references)74 //IL_0060: Unknown result type (might be due to invalid IL or missing references)75 int num = _003C_003E1__state;76 try77 {78 if (num != 0 && dbSession == null)79 {80 throw new ArgumentNullException("dbSession");81 }82 try83 {84 ConfiguredTaskAwaiter<bool> val;85 if (num != 0)86 {87 val = dbSession.ExistsAsync("DialogDashBoardContent", whereClause, ct).ConfigureAwait(false).GetAwaiter();88 if (!val.IsCompleted)89 {90 num = (_003C_003E1__state = 0);91 _003C_003Eu__1 = val;92 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<bool>, _003C_CheckAccessWhereClauseAsync_003Ed__2>(ref val, ref this);93 return;94 }95 }96 else97 {98 val = _003C_003Eu__1;99 _003C_003Eu__1 = default(ConfiguredTaskAwaiter<bool>);100 num = (_003C_003E1__state = -1);101 }102 val.GetResult();103 }104 catch (System.Exception innerException)105 {106 throw new ViException(882025, ExceptionRelevance.EndUser, innerException, "AccessWhereClause");107 }108 }109 catch (System.Exception exception)110 {111 _003C_003E1__state = -2;112 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);113 return;114 }115 _003C_003E1__state = -2;116 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();117 }118119 [DebuggerHidden]120 private void SetStateMachine(IAsyncStateMachine stateMachine)121 {122 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);123 }124 }125126 [StructLayout((LayoutKind)3)]127 [CompilerGenerated]128 private struct _003C_CheckQueryDefinitionAsync_003Ed__1 : IAsyncStateMachine129 {130 public int _003C_003E1__state;131132 public AsyncTaskMethodBuilder _003C_003Et__builder;133134 public IDbSession session;135136 public string sql;137138 public CancellationToken ct;139140 private _003C_003Ec__DisplayClass1_1 _003C_003E8__1;141142 private _003C_003Ec__DisplayClass1_0 _003C_003E8__2;143144 private ConfiguredTaskAwaiter<DbDataReader> _003C_003Eu__1;145146 private void MoveNext()147 {148 //IL_009e: Unknown result type (might be due to invalid IL or missing references)149 //IL_00a3: Unknown result type (might be due to invalid IL or missing references)150 //IL_00ab: Unknown result type (might be due to invalid IL or missing references)151 //IL_0025: Unknown result type (might be due to invalid IL or missing references)152 //IL_0055: Unknown result type (might be due to invalid IL or missing references)153 //IL_0060: Unknown result type (might be due to invalid IL or missing references)154 //IL_0065: Unknown result type (might be due to invalid IL or missing references)155 //IL_0069: Unknown result type (might be due to invalid IL or missing references)156 //IL_006e: Unknown result type (might be due to invalid IL or missing references)157 //IL_0083: Unknown result type (might be due to invalid IL or missing references)158 //IL_0085: Unknown result type (might be due to invalid IL or missing references)159 int num = _003C_003E1__state;160 try161 {162 ConfiguredTaskAwaiter<DbDataReader> val;163 if (num == 0)164 {165 val = _003C_003Eu__1;166 _003C_003Eu__1 = default(ConfiguredTaskAwaiter<DbDataReader>);167 num = (_003C_003E1__state = -1);168 goto IL_00ba;169 }170 _003C_003E8__2 = new _003C_003Ec__DisplayClass1_0();171 if (session == null)172 {173 throw new ArgumentNullException("session");174 }175 if (!string.IsNullOrEmpty(sql))176 {177 _003C_003E8__1 = new _003C_003Ec__DisplayClass1_1();178 val = session.SqlExecuteAsync(sql, ct).ConfigureAwait(false).GetAwaiter();179 if (!val.IsCompleted)180 {181 num = (_003C_003E1__state = 0);182 _003C_003Eu__1 = val;183 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).AwaitUnsafeOnCompleted<ConfiguredTaskAwaiter<DbDataReader>, _003C_CheckQueryDefinitionAsync_003Ed__1>(ref val, ref this);184 return;185 }186 goto IL_00ba;187 }188 goto end_IL_0007;189 IL_00ba:190 DbDataReader result = val.GetResult();191 _003C_003E8__1.dr = result;192 Tuple<string, System.Type>[] array;193 try194 {195 if (_003C_003E8__1.dr.FieldCount < 2 || _003C_003E8__1.dr.FieldCount > 4)196 {197 throw new ViException(882157, ExceptionRelevance.EndUser);198 }199 array = Enumerable.ToArray<Tuple<string, System.Type>>(Enumerable.Select<int, Tuple<string, System.Type>>(Enumerable.Range(0, _003C_003E8__1.dr.FieldCount), (Func<int, Tuple<string, System.Type>>)((int i) => new Tuple<string, System.Type>(_003C_003E8__1.dr.GetName(i), _003C_003E8__1.dr.GetFieldType(i)))));200 }201 finally202 {203 if (num < 0 && _003C_003E8__1.dr != null)204 {205 ((System.IDisposable)_003C_003E8__1.dr).Dispose();206 }207 }208 _003C_003E8__1 = null;209 if (!Enumerable.Any<Tuple<string, System.Type>>((System.Collections.Generic.IEnumerable<Tuple<string, System.Type>>)array, (Func<Tuple<string, System.Type>, bool>)((Tuple<string, System.Type> c) => string.Equals(c.Item1, "ElementName", (StringComparison)5))))210 {211 throw new ViException(882157, ExceptionRelevance.EndUser);212 }213 if (!Enumerable.Any<Tuple<string, System.Type>>((System.Collections.Generic.IEnumerable<Tuple<string, System.Type>>)array, (Func<Tuple<string, System.Type>, bool>)((Tuple<string, System.Type> c) => string.Equals(c.Item1, "ElementValue", (StringComparison)5))))214 {215 throw new ViException(882157, ExceptionRelevance.EndUser);216 }217 string[] array2 = new string[5] { "ElementName", "ElementValue", "ElementObjectKey", "ElementOrder", "ElementValueZ" };218 if (Enumerable.Any<string>(Enumerable.Except<string>(Enumerable.Select<Tuple<string, System.Type>, string>((System.Collections.Generic.IEnumerable<Tuple<string, System.Type>>)array, (Func<Tuple<string, System.Type>, string>)((Tuple<string, System.Type> c) => c.Item1)), (System.Collections.Generic.IEnumerable<string>)array2, (IEqualityComparer<string>)(object)StringComparer.OrdinalIgnoreCase)))219 {220 throw new ViException(882157, ExceptionRelevance.EndUser);221 }222 _003C_003E8__2.validTypes = new System.Type[4]223 {224 typeof(int),225 typeof(long),226 typeof(float),227 typeof(double)228 };229 if (!Enumerable.Any<Tuple<string, System.Type>>((System.Collections.Generic.IEnumerable<Tuple<string, System.Type>>)array, (Func<Tuple<string, System.Type>, bool>)((Tuple<string, System.Type> c) => string.Equals(c.Item1, "ElementValue", (StringComparison)5) && MemoryExtensions.Contains<System.Type>(System.ReadOnlySpan<System.Type>.op_Implicit(_003C_003E8__2.validTypes), c.Item2, (IEqualityComparer<System.Type>)null))))230 {231 throw new ViException(882536, ExceptionRelevance.EndUser);232 }233 end_IL_0007:;234 }235 catch (System.Exception exception)236 {237 _003C_003E1__state = -2;238 _003C_003E8__2 = null;239 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetException(exception);240 return;241 }242 _003C_003E1__state = -2;243 _003C_003E8__2 = null;244 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetResult();245 }246247 [DebuggerHidden]248 private void SetStateMachine(IAsyncStateMachine stateMachine)249 {250 ((AsyncTaskMethodBuilder)(ref _003C_003Et__builder)).SetStateMachine(stateMachine);251 }252 }253254 public DialogDashboardDef()255 {256 Func<ISession, IEntity, string, CancellationToken, System.Threading.Tasks.Task<bool>> func = delegate(ISession s, IEntity e, string v, CancellationToken ct)257 {258 s.SqlFormatter().CheckStatement(v, SqlKeyWordFlags.DQL);259 return System.Threading.Tasks.Task.FromResult<bool>(true);260 };261 string[] array = new string[2] { "QueryDefinition", "QueryDefinition100" };262 foreach (string property in array)263 {264 Check(property).AsExpensive<string>(func);265 }266 RegisterMethod("CheckQueryDefinition").As([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_1_003Ed))] (ISession s, IEntity e, CancellationToken ct) =>267 {268 //IL_0002: Unknown result type (might be due to invalid IL or missing references)269 //IL_0007: Unknown result type (might be due to invalid IL or missing references)270 //IL_001e: Unknown result type (might be due to invalid IL or missing references)271 //IL_001f: Unknown result type (might be due to invalid IL or missing references)272 _003C_003Ec._003C_003C_002Dctor_003Eb__0_1_003Ed _003C_003C_002Dctor_003Eb__0_1_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_1_003Ed);273 _003C_003C_002Dctor_003Eb__0_1_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();274 _003C_003C_002Dctor_003Eb__0_1_003Ed.s = s;275 _003C_003C_002Dctor_003Eb__0_1_003Ed.e = e;276 _003C_003C_002Dctor_003Eb__0_1_003Ed.ct = ct;277 _003C_003C_002Dctor_003Eb__0_1_003Ed._003C_003E1__state = -1;278 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_1_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_1_003Ed>(ref _003C_003C_002Dctor_003Eb__0_1_003Ed);279 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_1_003Ed._003C_003Et__builder)).Task;280 }).Description("Method_DialogDashboardDef_CheckQueryDefinition").Behavior(MethodBehavior.ValidForReadOnlyUser);281 RegisterMethod("CheckQueryDefinition").As<IDbSession>([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_2_003Ed))] (ISession s, IEntity e, IDbSession dbSession, CancellationToken ct) =>282 {283 //IL_0002: Unknown result type (might be due to invalid IL or missing references)284 //IL_0007: Unknown result type (might be due to invalid IL or missing references)285 //IL_001e: Unknown result type (might be due to invalid IL or missing references)286 //IL_0020: Unknown result type (might be due to invalid IL or missing references)287 _003C_003Ec._003C_003C_002Dctor_003Eb__0_2_003Ed _003C_003C_002Dctor_003Eb__0_2_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_2_003Ed);288 _003C_003C_002Dctor_003Eb__0_2_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();289 _003C_003C_002Dctor_003Eb__0_2_003Ed.e = e;290 _003C_003C_002Dctor_003Eb__0_2_003Ed.dbSession = dbSession;291 _003C_003C_002Dctor_003Eb__0_2_003Ed.ct = ct;292 _003C_003C_002Dctor_003Eb__0_2_003Ed._003C_003E1__state = -1;293 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_2_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_2_003Ed>(ref _003C_003C_002Dctor_003Eb__0_2_003Ed);294 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_2_003Ed._003C_003Et__builder)).Task;295 }).Description("Method_DialogDashboardDef_CheckQueryDefinition").Behavior(MethodBehavior.ValidForReadOnlyUser);296 RegisterMethod("CheckQueryDefinition100").As([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_3_003Ed))] (ISession s, IEntity e, CancellationToken ct) =>297 {298 //IL_0002: Unknown result type (might be due to invalid IL or missing references)299 //IL_0007: Unknown result type (might be due to invalid IL or missing references)300 //IL_001e: Unknown result type (might be due to invalid IL or missing references)301 //IL_001f: Unknown result type (might be due to invalid IL or missing references)302 _003C_003Ec._003C_003C_002Dctor_003Eb__0_3_003Ed _003C_003C_002Dctor_003Eb__0_3_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_3_003Ed);303 _003C_003C_002Dctor_003Eb__0_3_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();304 _003C_003C_002Dctor_003Eb__0_3_003Ed.s = s;305 _003C_003C_002Dctor_003Eb__0_3_003Ed.e = e;306 _003C_003C_002Dctor_003Eb__0_3_003Ed.ct = ct;307 _003C_003C_002Dctor_003Eb__0_3_003Ed._003C_003E1__state = -1;308 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_3_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_3_003Ed>(ref _003C_003C_002Dctor_003Eb__0_3_003Ed);309 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_3_003Ed._003C_003Et__builder)).Task;310 }).Description("Method_DialogDashboardDef_CheckQueryDefinition").Behavior(MethodBehavior.ValidForReadOnlyUser);311 RegisterMethod("CheckQueryDefinition100").As<IDbSession>([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_4_003Ed))] (ISession s, IEntity e, IDbSession dbSession, CancellationToken ct) =>312 {313 //IL_0002: Unknown result type (might be due to invalid IL or missing references)314 //IL_0007: Unknown result type (might be due to invalid IL or missing references)315 //IL_001e: Unknown result type (might be due to invalid IL or missing references)316 //IL_0020: Unknown result type (might be due to invalid IL or missing references)317 _003C_003Ec._003C_003C_002Dctor_003Eb__0_4_003Ed _003C_003C_002Dctor_003Eb__0_4_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_4_003Ed);318 _003C_003C_002Dctor_003Eb__0_4_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();319 _003C_003C_002Dctor_003Eb__0_4_003Ed.e = e;320 _003C_003C_002Dctor_003Eb__0_4_003Ed.dbSession = dbSession;321 _003C_003C_002Dctor_003Eb__0_4_003Ed.ct = ct;322 _003C_003C_002Dctor_003Eb__0_4_003Ed._003C_003E1__state = -1;323 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_4_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_4_003Ed>(ref _003C_003C_002Dctor_003Eb__0_4_003Ed);324 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_4_003Ed._003C_003Et__builder)).Task;325 }).Description("Method_DialogDashboardDef_CheckQueryDefinition").Behavior(MethodBehavior.ValidForReadOnlyUser);326 RegisterMethod("CheckAccessWhereClause").As([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_5_003Ed))] (ISession s, IEntity e, CancellationToken ct) =>327 {328 //IL_0002: Unknown result type (might be due to invalid IL or missing references)329 //IL_0007: Unknown result type (might be due to invalid IL or missing references)330 //IL_001e: Unknown result type (might be due to invalid IL or missing references)331 //IL_001f: Unknown result type (might be due to invalid IL or missing references)332 _003C_003Ec._003C_003C_002Dctor_003Eb__0_5_003Ed _003C_003C_002Dctor_003Eb__0_5_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_5_003Ed);333 _003C_003C_002Dctor_003Eb__0_5_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();334 _003C_003C_002Dctor_003Eb__0_5_003Ed.s = s;335 _003C_003C_002Dctor_003Eb__0_5_003Ed.e = e;336 _003C_003C_002Dctor_003Eb__0_5_003Ed.ct = ct;337 _003C_003C_002Dctor_003Eb__0_5_003Ed._003C_003E1__state = -1;338 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_5_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_5_003Ed>(ref _003C_003C_002Dctor_003Eb__0_5_003Ed);339 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_5_003Ed._003C_003Et__builder)).Task;340 }).Description("Method_DialogDashboardDef_CheckAccessWhereClause").Behavior(MethodBehavior.ValidForReadOnlyUser);341 RegisterMethod("CheckAccessWhereClause").As<IDbSession>([AsyncStateMachine(typeof(_003C_003Ec._003C_003C_002Dctor_003Eb__0_6_003Ed))] (ISession s, IEntity e, IDbSession dbSession, CancellationToken ct) =>342 {343 //IL_0002: Unknown result type (might be due to invalid IL or missing references)344 //IL_0007: Unknown result type (might be due to invalid IL or missing references)345 //IL_001e: Unknown result type (might be due to invalid IL or missing references)346 //IL_0020: Unknown result type (might be due to invalid IL or missing references)347 _003C_003Ec._003C_003C_002Dctor_003Eb__0_6_003Ed _003C_003C_002Dctor_003Eb__0_6_003Ed = default(_003C_003Ec._003C_003C_002Dctor_003Eb__0_6_003Ed);348 _003C_003C_002Dctor_003Eb__0_6_003Ed._003C_003Et__builder = AsyncTaskMethodBuilder.Create();349 _003C_003C_002Dctor_003Eb__0_6_003Ed.e = e;350 _003C_003C_002Dctor_003Eb__0_6_003Ed.dbSession = dbSession;351 _003C_003C_002Dctor_003Eb__0_6_003Ed.ct = ct;352 _003C_003C_002Dctor_003Eb__0_6_003Ed._003C_003E1__state = -1;353 ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_6_003Ed._003C_003Et__builder)).Start<_003C_003Ec._003C_003C_002Dctor_003Eb__0_6_003Ed>(ref _003C_003C_002Dctor_003Eb__0_6_003Ed);354 return ((AsyncTaskMethodBuilder)(ref _003C_003C_002Dctor_003Eb__0_6_003Ed._003C_003Et__builder)).Task;355 }).Description("Method_DialogDashboardDef_CheckAccessWhereClause").Behavior(MethodBehavior.ValidForReadOnlyUser);356 }357358 [AsyncStateMachine(typeof(_003C_CheckQueryDefinitionAsync_003Ed__1))]359 private static System.Threading.Tasks.Task _CheckQueryDefinitionAsync(IDbSession session, string sql, CancellationToken ct)360 {361 //IL_0002: Unknown result type (might be due to invalid IL or missing references)362 //IL_0007: Unknown result type (might be due to invalid IL or missing references)363 //IL_001e: Unknown result type (might be due to invalid IL or missing references)364 //IL_001f: Unknown result type (might be due to invalid IL or missing references)365 _003C_CheckQueryDefinitionAsync_003Ed__1 _003C_CheckQueryDefinitionAsync_003Ed__ = default(_003C_CheckQueryDefinitionAsync_003Ed__1);366 _003C_CheckQueryDefinitionAsync_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();367 _003C_CheckQueryDefinitionAsync_003Ed__.session = session;368 _003C_CheckQueryDefinitionAsync_003Ed__.sql = sql;369 _003C_CheckQueryDefinitionAsync_003Ed__.ct = ct;370 _003C_CheckQueryDefinitionAsync_003Ed__._003C_003E1__state = -1;371 ((AsyncTaskMethodBuilder)(ref _003C_CheckQueryDefinitionAsync_003Ed__._003C_003Et__builder)).Start<_003C_CheckQueryDefinitionAsync_003Ed__1>(ref _003C_CheckQueryDefinitionAsync_003Ed__);372 return ((AsyncTaskMethodBuilder)(ref _003C_CheckQueryDefinitionAsync_003Ed__._003C_003Et__builder)).Task;373 }374375 [AsyncStateMachine(typeof(_003C_CheckAccessWhereClauseAsync_003Ed__2))]376 private static System.Threading.Tasks.Task _CheckAccessWhereClauseAsync(IDbSession dbSession, string whereClause, CancellationToken ct)377 {378 //IL_0002: Unknown result type (might be due to invalid IL or missing references)379 //IL_0007: Unknown result type (might be due to invalid IL or missing references)380 //IL_001e: Unknown result type (might be due to invalid IL or missing references)381 //IL_001f: Unknown result type (might be due to invalid IL or missing references)382 _003C_CheckAccessWhereClauseAsync_003Ed__2 _003C_CheckAccessWhereClauseAsync_003Ed__ = default(_003C_CheckAccessWhereClauseAsync_003Ed__2);383 _003C_CheckAccessWhereClauseAsync_003Ed__._003C_003Et__builder = AsyncTaskMethodBuilder.Create();384 _003C_CheckAccessWhereClauseAsync_003Ed__.dbSession = dbSession;385 _003C_CheckAccessWhereClauseAsync_003Ed__.whereClause = whereClause;386 _003C_CheckAccessWhereClauseAsync_003Ed__.ct = ct;387 _003C_CheckAccessWhereClauseAsync_003Ed__._003C_003E1__state = -1;388 ((AsyncTaskMethodBuilder)(ref _003C_CheckAccessWhereClauseAsync_003Ed__._003C_003Et__builder)).Start<_003C_CheckAccessWhereClauseAsync_003Ed__2>(ref _003C_CheckAccessWhereClauseAsync_003Ed__);389 return ((AsyncTaskMethodBuilder)(ref _003C_CheckAccessWhereClauseAsync_003Ed__._003C_003Et__builder)).Task;390 }391}392