![]() ![]() What may be worth noting is, that the program dies, even though I put a Breakpoint on this line. ![]() When commenting the line field.Parent = this in public TableDef AddField(FieldDef field) the code runs smoothly. The program ' dotnet.exe: Managed (CoreCLR)' has exited with code -1 (0xffffffff). The program ' dotnet.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'. ![]() The debugging just ends, leaving me with the following debug output: The program ' dotnet.exe: Program Trace' has exited with code 0 (0x0). When running the code and clicking on the "fetch data" link, the application dies (at least in my case) completely without even an error in Visual studio. Public StringField(string name, string defaultValue, Boolean readOnly) Public StringField(string name, string defaultValue) With the following Classes: public class TableDef Ret.Select(x => x.ToJSONString()).Aggregate((current, next) => current + ", " + next) + ![]() AddField(new StringField("Name", "User " + index.ToString())) AddField(new StringField("ID", Guid.NewGuid().ToString())) Var ret = Enumerable.Range(1, 5).Select(index => When accessing a field of an object which gets instantiated inside an Linq "Select" selector, it throws an "Access Violation Exception"Īlter the SampleDataController.cs as follows: ")] I'm encountering a realy strange behaviour when using Linq in my. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |