======================================================================================================================== 7.2.7 (X86) 2022-02-10T12:45:06.0174127+01:00 Custom Data Context Driver Exception - Unable to compile typed data context: (37,150): error CS1001: Identifier expected (37,150): error CS1003: Syntax error, ',' expected (37,154): error CS1001: Identifier expected (38,161): error CS1525: Invalid expression term 'char' } static System.Data.Linq.Mapping.MappingSource _mapping; [SdLmFunc(Name="[dbo].[GetStrAfterChar]", IsComposable=true)] ===> public string GetStrAfterChar ([SdLmParam(Name="searchedStr", DbType="VarChar")] string searchedStr,[SdLmParam(Name="char", DbType="Char")] string char)<=== => (string) ExecuteMethodCall (this, (global::System.Reflection.MethodInfo)global::System.Reflection.MethodBase.GetCurrentMethod(), new object[] { searchedStr, char }).ReturnValue; } } Source=LINQPad.Drivers.LinqToSql -LINQPad.Drivers.LinqToSql.EmissionsGenerator Void Generate(LINQPad.Extensibility.DataContext.DataContextDriver, LINQPad.Extensibility.DataContext.IConnectionInfo, LINQPad.Extensibility.DataContext.DbSchema.Database, System.Reflection.AssemblyName, System.String, System.String, System.String) offset: 0x2E9 -LINQPad.Drivers.LinqToSql.DynamicDriver System.Collections.Generic.List`1[LINQPad.Extensibility.DataContext.ExplorerItem] GetSchemaAndBuildAssembly(LINQPad.Extensibility.DataContext.IConnectionInfo, System.Reflection.AssemblyName, System.String ByRef, System.String ByRef) offset: 0x75 -LINQPad.Extensibility.DataContext.DynamicDataContextDriver LINQPad.Extensibility.DataContext.DynamicSchemaResult GetSchemaAndBuildAssemblyInternal(System.String, System.String) offset: 0x28 7.2.7 (X86) 2022-02-10T12:45:06.0288333+01:00 GuiAppHost [Thread: Name='' State=MTA IsBackground=True Pooled=True Main=False] RemoteException - Exception - Unable to compile typed data context: (37,150): error CS1001: Identifier expected (37,150): error CS1003: Syntax error, ',' expected (37,154): error CS1001: Identifier expected (38,161): error CS1525: Invalid expression term 'char' } static System.Data.Linq.Mapping.MappingSource _mapping; [SdLmFunc(Name="[dbo].[GetStrAfterChar]", IsComposable=true)] ===> public string GetStrAfterChar ([SdLmParam(Name="searchedStr", DbType="VarChar")] string searchedStr,[SdLmParam(Name="char", DbType="Char")] string char)<=== => (string) ExecuteMethodCall (this, (global::System.Reflection.MethodInfo)global::System.Reflection.MethodBase.GetCurrentMethod(), new object[] { searchedStr, char }).ReturnValue; } } Source=LINQPad.Drivers.LinqToSql -LINQPad.Drivers.LinqToSql.EmissionsGenerator Void Generate(LINQPad.Extensibility.DataContext.DataContextDriver, LINQPad.Extensibility.DataContext.IConnectionInfo, LINQPad.Extensibility.DataContext.DbSchema.Database, System.Reflection.AssemblyName, System.String, System.String, System.String) offset: 0x2E9 -LINQPad.Drivers.LinqToSql.DynamicDriver System.Collections.Generic.List`1[LINQPad.Extensibility.DataContext.ExplorerItem] GetSchemaAndBuildAssembly(LINQPad.Extensibility.DataContext.IConnectionInfo, System.Reflection.AssemblyName, System.String ByRef, System.String ByRef) offset: 0x75 -LINQPad.Extensibility.DataContext.DynamicDataContextDriver LINQPad.Extensibility.DataContext.DynamicSchemaResult GetSchemaAndBuildAssemblyInternal(System.String, System.String) offset: 0x28 Source=System.Private.CoreLib -System.Runtime.ExceptionServices.ExceptionDispatchInfo Void Throw() offset: 0x11 -System.Runtime.CompilerServices.TaskAwaiter Void ThrowForNonSuccess(System.Threading.Tasks.Task) offset: 0x26 -System.Runtime.CompilerServices.TaskAwaiter Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) offset: 0x28 -System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter TResult GetResult() offset: 0xB -LINQPad.DataContextManager+d__31 Void MoveNext() offset: 0x588 INNER: Exception - Unable to compile typed data context: (37,150): error CS1001: Identifier expected (37,150): error CS1003: Syntax error, ',' expected (37,154): error CS1001: Identifier expected (38,161): error CS1525: Invalid expression term 'char' } static System.Data.Linq.Mapping.MappingSource _mapping; [SdLmFunc(Name="[dbo].[GetStrAfterChar]", IsComposable=true)] ===> public string GetStrAfterChar ([SdLmParam(Name="searchedStr", DbType="VarChar")] string searchedStr,[SdLmParam(Name="char", DbType="Char")] string char)<=== => (string) ExecuteMethodCall (this, (global::System.Reflection.MethodInfo)global::System.Reflection.MethodBase.GetCurrentMethod(), new object[] { searchedStr, char }).ReturnValue; } } Source=LINQPad.Drivers.LinqToSql at LINQPad.Drivers.LinqToSql.EmissionsGenerator.Generate(DataContextDriver driver, IConnectionInfo cxInfo, Database mainSchema, AssemblyName name, String cxString, String ns, String dataContextName) at LINQPad.Drivers.LinqToSql.DynamicDriver.GetSchemaAndBuildAssembly(IConnectionInfo cxInfo, AssemblyName assemblyToBuild, String& nameSpace, String& typeName) at LINQPad.Extensibility.DataContext.DynamicDataContextDriver.GetSchemaAndBuildAssemblyInternal(String repositoryData, String assemblyPathToBuild) First Chance Data: -System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() offset=0x11 ========================================================================================================================