Daniel Grunwald
e62a04692b
Fixed resolving compile-time operations on enum types with an underlying type smaller than int. (always use unchecked context for the cast back to enum)
13 years ago
Daniel Grunwald
807e9c5fce
Allow multiple occurrences of UnknownError.
13 years ago
Daniel Grunwald
5d2fee1b90
Add CompilerSettings class instead of using the one from Mono.CSharp.
...
Added ResolveResult-treeview to NR.Demo.
13 years ago
Daniel Grunwald
585ae50c2f
CSharpAstResolver: don't return the same ResolveResult for two different nodes.
...
(make clones when using caches)
Closes icsharpcode/NRefactory#46 .
13 years ago
Daniel Grunwald
806869e563
Add IType.GetAccessors().
...
Accessors now use EntityType.Accessor instead of EntityType.Method.
Added accessors support to DefaultMemberReference and ExplicitInterfaceImplementationMemberReference.
Removed hacky code from CecilLoader - we now allow IsExplicitInterfaceImplementation=true on accessors.
13 years ago
Daniel Grunwald
050035186c
Simplify API for retrieving compiler errors/warnings.
13 years ago
Daniel Grunwald
cbb1fe5008
Fixed some issues resolving members.
13 years ago
Daniel Grunwald
180ed85c85
Implemented IUnresolvedMember.Resolve().
13 years ago
Daniel Grunwald
282d3c3423
Fix icsharpcode/NRefactory#32 : ResolveResult for anonymous type creation
13 years ago
Daniel Grunwald
4d07b33b44
CSharpAstResolver now can resolve type members even when no parsedFile is specified.
...
This is useful for analyzing generated code that does not have accurate StartLocation/EndLocation assigned.
13 years ago
Mike Krüger
04f8720739
Added formatting factory - formatting options should be created with
...
that.
13 years ago
Daniel Grunwald
0a8825e83c
Fix build of NR.ConsistencyCheck.
14 years ago
Daniel Grunwald
ce2e5281e1
Documentation update.
14 years ago
Daniel Grunwald
e80f142381
Fixed bug in CSharpAstResolver.GetExpectedType().
14 years ago
Daniel Grunwald
c3d00d1045
Add StringBuilderDocument to NR.Editor.
14 years ago
Daniel Grunwald
def9943063
Add AXmlObject.CreateReader() method.
14 years ago
Mike Krüger
cb576fb78d
* ICSharpCode.NRefactory.csproj:
...
* IdStringProvider.cs:
* IDStringTests.cs:
* DocumentationComment.cs:
* IdStringMemberReference.cs:
* XmlDocumentationProvider.cs:
* IDStringConsistencyCheck.cs:
* CSharpCrefLookupTests.cs: Renamed IDString -> IdString to follow
.NET naming guidelines.
* IDStringProvider.cs:
* IDStringMemberReference.cs:
14 years ago
Daniel Grunwald
d2806842da
Put properly nested elements into AXmlElement.
14 years ago
Daniel Grunwald
32626ace69
Implemented incremental tag soup parser.
14 years ago
Daniel Grunwald
06bf2f4c2f
Add consistency check for incremental tag soup parser
14 years ago
Daniel Grunwald
191ac7c9df
Use GlobalAssemblyInfo.cs for all projects.
14 years ago
Daniel Grunwald
ec225c160d
Fixed bugs related to ID strings.
14 years ago
Daniel Grunwald
cfe807ab73
Fix "find references" for method group conversions in delegate creation expressions "new Action(MyMethod)"
14 years ago
Daniel Grunwald
a7245affe6
Fixed finding references to method group conversions.
14 years ago
Daniel Grunwald
194b33438b
Add FindReferencesConsistencyCheck.
14 years ago
Daniel Grunwald
311df2bbb2
CSharpAstResolver: add cancellation support
14 years ago
Daniel Grunwald
e5217c2c13
Fixed bug in 'BetterConversion' implementation - converting to Func<> delegates is better than converting to Action<> delegates.
14 years ago
Daniel Grunwald
9f5f18eeb2
Fixed resolving "condition ? byte : 0".
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Daniel Grunwald
c5c1337aee
Add failing unit test for using-statement with multiple variable declarations.
14 years ago
Daniel Grunwald
cdfa794e37
Add some ToString() overrides for easier debugging
14 years ago
Daniel Grunwald
d44077aa59
Add CSharpAstResolver.GetResolverStateAfter() and fixed an issue with the scanning logic in ResolveVisitor.
14 years ago
Daniel Grunwald
3d21a80e7d
Fixed the ResolveVisitor scanning logic and several related issues.
14 years ago
Daniel Grunwald
f788f91421
Ignore AssemblyInfo in RoundtripTest.
14 years ago
Daniel Grunwald
90c0758bb0
Update roundtrip test.
14 years ago
Daniel Grunwald
dd59e41de2
Add missing mscorlib reference
14 years ago
Daniel Grunwald
f1a1ab32ad
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
14 years ago
Daniel Grunwald
3e8eb1e55d
Add NRefactory.ConsistencyCheck with round-tripping test.
...
Added parser unit tests for bugs discovered by the round-tripping test.
14 years ago