samididier / nclass Goto Github PK
View Code? Open in Web Editor NEWNClass
License: GNU General Public License v2.0
NClass
License: GNU General Public License v2.0
https://gist.github.com/ArsenShnurkov/4a0a39826d779b726724
./src/DiagramEditor/Properties/Resources.resx
(resgen) "Tool exited with code: 1. Output: libpng error: invalid after png_start_read_image or png_read_update_info"
may be related:
https://bugzilla.novell.com/show_bug.cgi?id=580549
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738501
The code
var b = new System.Drawing.Bitmap ("./src/DiagramEditor/Resources/enum_item.png");
gives an exception "InvalidArgument" on mono on Linux
--------------------------- Error --------------------------- Error while importing! System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Server stack trace: at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in /var/tmp/portage/dev-lang/mono-4.2.2.30/work/mono-4.2.2/external/referencesource/mscorlib/system/throwhelper.cs:56 at System.Collections.Generic.List`1[T].get_Item (Int32 index) [0x0000c] in /var/tmp/portage/dev-lang/mono-4.2.2.30/work/mono-4.2.2/external/referencesource/mscorlib/system/collections/generic/list.cs:199 at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, System.Collections.Generic.List`1& dynamicAttributeData, System.Type currentType, System.Collections.Generic.List`1 genericArguments) [0x00258] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1337 at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, IEnumerable`1 customAttributeDatas, System.Type declaringType) [0x000b6] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1226 at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, System.Reflection.MemberInfo memberInfo) [0x0000e] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1169 at NReflect.ReflectionWorker.ReflectField (System.Reflection.FieldInfo fieldInfo, IFieldContainer fieldContainer) [0x0003f] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:926 at NReflect.ReflectionWorker.ReflectFields (System.Type type, IFieldContainer fieldContainer) [0x00064] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:692 at NReflect.ReflectionWorker.ReflectClass (System.Type type, IEntityContainer entityContainer) [0x0003d] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:337 at NReflect.ReflectionWorker.ReflectType (System.Type type, IEntityContainer entityContainer) [0x0004c] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:302 at NReflect.ReflectionWorker.ReflectTypes (IEnumerable`1 types, IEntityContainer entityContainer) [0x0003f] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:276 at NReflect.ReflectionWorker.Reflect (System.Reflection.Assembly assembly) [0x00035] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:177 at NReflect.ReflectionWorker.Reflect (System.String fileName) [0x0002c] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:158 at NReflect.Reflector.Reflect (System.String fileName) [0x00023] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/Reflector.cs:110 at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string) at (wrapper xdomain-dispatch) NReflect.Reflector:Reflect (object,byte[]&,byte[]&,string) Exception rethrown at [0]: at (wrapper xdomain-invoke) NReflect.Reflector:Reflect (string) at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string) at NReflect.Reflector.Reflect (System.String fileName, IFilter& filter, Boolean useNewAppDomain) [0x00046] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/Reflector.cs:87 at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string,NReflect.Filter.IFilter&,bool) at NClass.AssemblyCSharpImport.NETImport.ImportAssembly (System.String fileName) [0x00092] in /var/calculate/remote/distfiles/egit-src/NClass.git/src/AssemblyCSharpImport/NETImport.cs:114 Note: Assemblys which are created with a fuscator might fail to import. --------------------------- OK ---------------------------
Getting an error "Invalid type name" when trying to add C# class property or method parameter of type IDictionary<KeyType, Action<IList<T>,T>>
. It seems to be caused by IList<T>
type argument, e.g. the third level of generics nesting.
The .svg format is key format for web, because it can include hyperlinks (and firefox follows them). This allows to connect diagram objects to corresponding pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.