Daniel Grunwald
c816abee89
NRefactory: Remove TypeReference.SystemType. TypeReference.Type now always represents the system type for primitive types.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3660 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
bcb4ace39a
Fixed NRefactory bug when detecting cast expressions: If the tokens in the parenthesis look like a pointer type, don't check the cast follower.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3656 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a8570d9287
Fixed snippet converter C# -> VB (references to unknown properties like "this.Font" were seen as method groups, causes the converter to incorrectly add "AddressOf")
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3531 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4a08f70497
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3360 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5ebc8f15f1
r7318@daniel-notebook (orig r3349): daniel | 2008-08-14 14:44:42 +0200
...
Assign Node.Parent and check its value in unit tests (at least for statements+expressions)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3351 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
62d696d1ee
r7317@daniel-notebook (orig r3348): daniel | 2008-08-14 13:28:28 +0200
...
Fixed parsing of in-place arrays "unsafe fixed byte name[100];"
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3350 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c1c5eb636d
r7313@daniel-notebook (orig r3344): daniel | 2008-08-14 11:22:02 +0200
...
Fixed SD2-1400: Lambda type inference fails when using lambda in collection initializer
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
dd5c96bee3
Implemented SD2-1431: C# <-> VB converter: hexadecimal literals should stay hexadecimal
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3263 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
02bfd85792
Implemented code-completion for pointer types.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3184 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fc91d0fdd7
Fixed forum-7883: exception when converting "a += b" from C# to VB when "a" is a pointer type.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3120 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
92ca3a3a40
Make end of block a synchronizing token. This fixes the end location of blocks with simple syntax errors, improving code completion in some cases.
...
Don't show code completion after "Type variable1, " -> IdentifierExpected context.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3059 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fa9d4b17a3
Improved handling of incomplete lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3012 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f5913a8d1d
Worked on lambda expression support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3010 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
420b068acd
Rewrote type inference and overload resolution. The new version has support for implicitly typed lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3009 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
34bac66a8f
Fixed resolving when a generic class derived from a non-generic class with the same name.
...
Fixed resolving when a class had the same name as its containing namespace.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2828 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9b4679edf1
NRefactoryResolver rewrite: remove code duplication between NRefactoryResolver and TypeVisitor. Changed handling of method groups to follow C# specification more closely.
...
This fixes several bugs in overload resolution.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2819 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
635d791b96
Fixed forum-7172: NullReferenceException in C# parser when "fixed" keyword was used incorrectly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2794 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
44fcb45530
FxCop AddIn: allow suppressing assembly-wide messages (e.g. AssembliesShouldHaveValidStrongNames)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
cf79e8fa40
Disabled COM registration for MyMeta.
...
Add logging for text editor's undo stack.
C# parser: fixed [module: ..] attributes
C# code completion: suggest "assembly", "module", etc. when typing an attribute.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2719 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
2d94d3128c
Update to Cecil 0.6.
...
Fixed some bugs.
C# parser: include position information for statements/expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2708 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9afa0e7ebe
RunProject command: compile project before running it.
...
C# syntax highlighting: add contextual keywords introduced in C# 3.0.
C# parser: support "from T x in e" syntax in query expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2677 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0c51983690
NRefactory: Support parsing statements like "SomeDelegate d = GenericMethod<string>;"
...
Renamed FieldReferenceExpression to MemberReferenceExpression.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
b355b23dba
Worked on event support in WPF designer.
...
Fixed C# parser bug regarding expressions like "(T)-val".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
64e7f0645d
Fixed SD2-803: Implicit interface implementations are not converted correctly to VB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2653 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
670b0d5212
Fixed C# parser bug regarding integer literals between long.MaxValue + 1 and ulong.MaxValue.
...
C# spec 2.4.4.2: Implemented rules regarding int.MinValue and long.MinValue (they get tokenized to Token.Minus + Token.Literal(uint/ulong), but must be parsed as signed int/long)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2638 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
97342e3d49
Fixed snippet parser bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2522 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
2586fed6ff
Add SnippetParser class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
57a8cfebb2
Improved C# 3.0 code-completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2506 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9b7a082e24
Add partial C# 3.0 support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2191 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0729800650
Fixed SD2-1180: Changed event inserted at wrong position
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2062 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
c7e62da426
Fixed SD2-1202: NullReferenceException for incomplete type argument list
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2048 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
2a40620a58
fixed parser generation
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1978 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
a1543c981e
removed unused import statements
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1965 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
bd84127e89
Type parameters are now included in CtrlSpace list.
...
Prevent exception on invalid constraints declarations.
Fixed forum-12689: InvalidCastException when ${property:...}-Tag is used to get a property that is not of type string.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1943 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d9dd2ffd90
Fixed SD2-1166: C# parser: Initializer in event declaration causes parser error
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
bbb73b9b8f
C# parser bug: fixed arrays in unsafe structs are now parsed correctly
...
XmlDoc.Load now does not throw an exception for invalid XML files.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1703 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d8cc294df5
Fixed SD2-968: C# to VB conversion error for generic structures.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1671 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
44dfe7f1b8
Fix file headers: set svn:keywords=Revision on all files; apply file header to all files; make all files UTF-8.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1634 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
821cae6ee3
Remove unnecessary usage of Assembly.GetEntryAssembly
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
19d999cf82
SD2-945: Typing a declaration of two or more variables in the same line (VB) throws exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1611 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ae6de2495e
Improved NRefactory public API (moving classes to other namespaces etc.)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
9fa1b07c0c
Fixed some FxCop warnings in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c842399550
Allow AddIns to customize the MSBuild logger.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1590 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
64971ec421
Implemented SD2-446: Support skipping method bodies in VB Lexer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
835c7dedbd
NRefactory: use Location structure instead of System.Drawing.Point for source positions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1581 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a4894539d4
Some FxCop suggestions to NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1579 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
63e20cbdbe
Fixed SD2-886: Converted VS2003 solution does not show correct configurations
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1522 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
53c8c4d56c
Fixed forum-8951: C# parser bug with "default(T)".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1500 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
30d6d5f7fa
Fixed forum-8128: C# parser bug when type parameter is a fully qualified name.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1437 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
df43c0eef7
Fixed SD2-816: Output visitor does not output implicit/explicit operators
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago