Daniel Grunwald
31474555b2
Avoid looking for inner classes when resolving a class constraint.
14 years ago
Daniel Grunwald
69c1e6e6de
Use custom GetHashCode() implementation in XmlDocumentationProvider as the hash codes may get serialized.
...
The normal .NET string.GetHashCode() isn't guaranteed to be stable across multiple runs of the program (e.g. with .NET 4.5 hash randomization).
14 years ago
Mike Krüger
3dbba420eb
[Resolver] Fixed infinite loop issue when a type inherits from type
...
parameter.
14 years ago
Mike Krüger
a1bcb54747
[Semantics] Added test case for nullable constant value / fixed last
...
fix.
14 years ago
Mike Krüger
3acaf5eca2
[Semantic] Handled default parameter value conversion in default
...
unresolved parameter.
14 years ago
Mike Krüger
2733a83a79
[Semantics] ConversionResolveResult: For nullable conversions return
...
the constant value of the input resolve result. IMHO ConstantValue ==
null is an error for example for int? i = 1; case. The constant value
should be '1' there.
14 years ago
Daniel Grunwald
e2eef883e1
Add 'HasBody' property to IMethod. Closes #100 .
14 years ago
Daniel Grunwald
aa55c206e0
Add AbstractUnresolvedEntity.Clone() method.
14 years ago
Simon Lindgren
408b29847d
[TypeSystem] Don't consider non-public members for interface implementors.
14 years ago
Daniel Grunwald
40bbafda16
Set NET_4_0 preprocessor symbol for mcs.
...
Rename "NET45" to "NET_4_5" to be consistent with mcs and Mono.Cecil.
14 years ago
Daniel Grunwald
810c03a582
NRefactory 5.2.0 release
14 years ago
Daniel Grunwald
1f6c4f037e
Update solution-loading logic in ConsistencyCheck.
14 years ago
Daniel Grunwald
16aa0c6c28
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
14 years ago
Daniel Grunwald
4a6a43d0d1
Change output path - build everything into \bin\Debug in NRefactory directory (not into ICSharpCode.NRefactory subdirectory).
14 years ago
Daniel Grunwald
7a3b25b4dc
Add WriteTextTo() method to ITextSource.
14 years ago
Daniel Grunwald
9a9485a49d
Add ProjectReference class to NRefactory to simplify creating the type system for a solution with multiple projects.
14 years ago
Daniel Grunwald
087aee7fe8
Simplify parser API.
14 years ago
Daniel Grunwald
26409db2bb
Implemented explicit conversions - invalid casts now resolve to Conversion.None.
14 years ago
Daniel Grunwald
d4372bf954
Add DefaultAttribute.
14 years ago
Daniel Grunwald
fb4436499e
Remove outdated code contracts.
14 years ago
Daniel Grunwald
d6b4420940
Introduced NamedArgumentResolveResult.
14 years ago
Daniel Grunwald
6bd0bfc5a8
Add failing unit test for CompilationUnit.ConditionalSymbols.
14 years ago
Daniel Grunwald
8728c08c68
Add project configurations for .NET 4.5.
14 years ago
Daniel Grunwald
3f782ce21c
Add ITypeDefinition.GetInterfaceImplementation().
14 years ago
Daniel Grunwald
7d5f1e0885
Make CecilResolvedAttribute.DecodeBlob() more robust.
...
Avoid exception when arguments types are unavailable and return ErrorResolveResult instead.
14 years ago
Daniel Grunwald
7db1cbe11e
Merge NRefactory changes from SharpDevelop repository:
...
- Add CecilLoader.OnEntityLoaded callback
- Fixed thread-safety of lazy-loaded cecil type system.
- Add AstNodeCollection.AcceptVisitor method
14 years ago
Mike Krüger
5418c1cadd
[NRefactory] Removed Browsable Attribute from GetEditorBrowsableState
...
- that attribute should not affect completion, only design time
editors.
14 years ago
Mike Krüger
6575de9f79
[Completion] Moved the browsable check helper methods to nrefactory.
...
The browsable state is a .NET feature and not C# specific.
14 years ago
Daniel Grunwald
519dc12eda
Add IsKnownType() extension method.
14 years ago
Daniel Grunwald
a3534f250d
Add INamespace.ContributingAssemblies.
14 years ago
Daniel Grunwald
bfe463b50d
NRefactory 5.1.0
14 years ago
Daniel Grunwald
3ddf30c339
Fix icsharpcode/NRefactory#71 : entity type for indexers (explicit interface implementations)
14 years ago
Erik Källén
f3d13eebdf
Added property Conversion.IsConstantExpressionConversion
14 years ago
Daniel Grunwald
13dce76d36
Add Conversion.IsNullLiteralConversion ( icsharpcode/NRefactory#59 )
14 years ago
Daniel Grunwald
9640abde31
Add (failing) unit test for icsharpcode/NRefactory#73 .
14 years ago
Daniel Grunwald
d1f0807458
Use location from Cecil instead of providing it as an extra parameter to LoadAssembly().
14 years ago
Daniel Grunwald
5a1f7d70f0
Fixed issues with CecilLoader.LazyLoad=true.
14 years ago
Daniel Grunwald
ed0e4c5197
Fixed conversions from "dynamic" - these only exist from expressions, not from the type (this was causing subtle issues with type inference).
14 years ago
Mike Krüger
5f60958a7e
[TypeSystem] Cecil loader can now take the loaded assembly location.
14 years ago
Mike Krüger
14addf402d
[TypeSystem] Added SetLocation to IProjectContent.
14 years ago
Mike Krüger
c032382855
[TypeSystem] Added location property to IAssembly.
14 years ago
Daniel Grunwald
58d7ac0ee6
Improved ToString() for methods.
14 years ago
Simon Lindgren
342c87a9ae
[Utils] Don't allow escape sequences in numeric fields of format items.
14 years ago
Erik Källén
3963b40a4e
Fix
14 years ago
Mike Krüger
62283e2640
[TypeSystem] Made error message more verbose.
14 years ago
Simon Lindgren
101294e394
[Utils] CompositeFormatStringParser: More error handling + refactoring of the code.
14 years ago
Simon Lindgren
ef6302d99c
[Utils] CompositeFormatStringParser: Handle unclosed format items better
14 years ago
Simon Lindgren
d2474e5305
[Utils] Make CompositeFormatStringParser.Parse() wrap the segments in a class instead of just returning an IEnumerable.
14 years ago
Simon Lindgren
185779b2b5
[Utils] Add more error checks to CompositeFormatStringParser.
14 years ago
Simon Lindgren
af7d2149c9
[Utils] Some CompositeFormatStringParser cleanups.
14 years ago