WorkbenchSingleton.SafeThreadCall is now a generic method to check that the types of the arguments match the parameter types expected by the delegate.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
DomPersistence no longer crashes when the cache index file is corrupted.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1307 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Allow for code completion on ArrayReturnType and ConstructedReturnType even if they are encapsulated by an InferredReturnType.
Fixed code completion on arrays created through array literals or the "array" builtin.
Recognize variables created by "for" statements if their type is inferred from the element type of the enumerable object.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@610 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Advantages:
- faster than reflection
- referenced libraries do not need to be looked up during code completion (only when generating the cache)
-> fixes SD2-444 ReflectionOnlyAssemblyResolve is not used when an assembly is only needed inside inner classes
--> Code completion for VB's My-namespace works again
- Assemblies do not need to be hold in RAM (they are now loaded in a separate AppDomain)
-> no more locking problems
-> less memory consumption
Disadvantages:
- higher memory-consumption because currently the file is loaded at once (previously the data was lazy-loaded using Reflection)
-> but there are some optimizations possible (reusing string and DefaultParameter instances) and lazy-loading could be reimplemented similar to what Fidalgo does with its CCDB.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@524 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61