mike
670975c924
Parameter data providers now contain the start offset of their
...
expression (makes it easier to count the correct parameter number).
14 years ago
Mike Krüger
3ffbaa278a
Refactored c# token representation, it's now more consistent with the
...
other nodes and takes up a bit less memory.
14 years ago
Daniel Grunwald
14bf452879
Rename InterfaceImplementations -> ImplementedInterfaceMembers.
14 years ago
Daniel Grunwald
59c9e99921
DefaultResolvedTypeDefinition: lazily initialize the list of members.
...
This makes creating a DefaultResolvedTypeDefinition much cheaper, so we no longer need to use Lazy<ITypeDefinition> in CSharpAssembly.
14 years ago
Daniel Grunwald
00743d5f10
Fix project options.
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
Mike Krüger
a21ee0699b
Added easier string translation for documentation comment class.
14 years ago
Mike Krüger
ea14dc823b
Updated parameter data provider interface.
14 years ago
Daniel Grunwald
32626ace69
Implemented incremental tag soup parser.
14 years ago
Daniel Grunwald
191ac7c9df
Use GlobalAssemblyInfo.cs for all projects.
14 years ago
Daniel Grunwald
2faf35e6fc
Add ICSharpCode.NRefactory.Xml.
14 years ago
Daniel Grunwald
29c1b59c10
Add ICompilation.Assemblies.
14 years ago
Daniel Grunwald
2bebee46a1
C# XML documentation support.
14 years ago
Daniel Grunwald
b31e10489f
Protect against [InternalsVisibleTo] stack overflow and fixed a possible cause for that stack overflow
14 years ago
Daniel Grunwald
bd9348d588
Add documentation about XML documentation.
14 years ago
Daniel Grunwald
ec225c160d
Fixed bugs related to ID strings.
14 years ago
Daniel Grunwald
ee92c68d5e
TypeParameterReference now resolves to a dummy type parameter instead of UnknownType when no ITypeParameter is available in the resolve context.
14 years ago
Daniel Grunwald
7a76a805a0
Add DocumentationComment class that allows looking up 'cref' attributes.
14 years ago
Daniel Grunwald
d03d17bbe4
Use lazy initialization for C# resolved type definitions.
...
This speeds up creating a new compilation for a single resolve operation by a factor of 10 (for NRefactory.sln; potentially more for larger solutions).
14 years ago
Daniel Grunwald
f30ceb5b4c
Set version number to 5.0.0.4.
14 years ago
Daniel Grunwald
d2f2feb994
Remove the thread-local cache; it seems to cause massive memory leaks.
14 years ago
Daniel Grunwald
5f8dcf4f7a
Implement 'ToMemberReference()' and 'InterfaceImplementations' on specialized members.
14 years ago
Daniel Grunwald
33b57d590d
Fixed IMember.ToMemberReference() for explicit interface implementations.
14 years ago
Daniel Grunwald
862e9500db
When the specified reflection name is not assembly-qualified, ReflectionHelper.ParseReflectionName() will now produce an ITypeReference that looks in all referenced assemblies (not just in CurrentAssembly).
14 years ago
Daniel Grunwald
77ea4dae30
Report more types of invalid equality comparisons as errors.
...
Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda.
14 years ago
Daniel Grunwald
822fda7e36
Handle T[] -> T* and string -> char* conversions in fixed statement initializers.
14 years ago
Daniel Grunwald
0f2b0c380e
Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)")
14 years ago
Daniel Grunwald
aa2e97f564
When copying type parameters into inner classes, re-use the same ITypeParameter instance.
14 years ago
Daniel Grunwald
8efd32e815
Don't crash when trying to decode invalid attribute/secdecl blobs.
14 years ago
Siegfried Pammer
5ff4462b2b
NRefactory 5: do not throw exceptions if there's no cecil reference for entity
14 years ago
Daniel Grunwald
5c9dfb9896
Fixed IUnresolvedTypeDefinition.Resolve() and IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) to always retrieve the correct version of the type definition for the compilation, even if the IUnresolvedTypeDefinition is a different version.
...
The two methods now return UnknownType/null if the IUnresolvedTypeDefinition does not belong to the assembly.
14 years ago
Daniel Grunwald
c5c5192f38
Add documentation to methods for creating type references that describe the expected ITypeResolveContext for resolving those type references.
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
3d21a80e7d
Fixed the ResolveVisitor scanning logic and several related issues.
14 years ago
Daniel Grunwald
b4003145b3
Add MethodGroupResolveResult.GetEligibleExtensionMethods() method.
14 years ago
Daniel Grunwald
9286461537
Adjusting SharpDevelop to new type system (unresolved/resolved split).
14 years ago
Daniel Grunwald
33e0c0e9a0
Fixed FindReferences on attributes.
14 years ago
Daniel Grunwald
418f7090cb
Fixed resolving NamedExpressions in anonymous type creation expressions.
14 years ago
Daniel Grunwald
040b841c3b
Fixed resolving equality and relational operators on nullable types.
14 years ago
Daniel Grunwald
dac8c0fd35
Implement CSharpAstResolver.GetExpectedType() and CSharpAstResolver.GetConversion().
14 years ago
Daniel Grunwald
70e62f42a1
Fixed DefaultMemberReference for methods with parameters.
14 years ago
Daniel Grunwald
453aac367f
Ensure that IMember.InterfaceImplementations does not contain nulls if there were resolve errors.
14 years ago
Daniel Grunwald
3b95e5a2e3
Fixed IsExplicitInterfaceImplementation.
...
Implemented IMember.InterfaceImplementations for explicitly implemented members.
14 years ago
Daniel Grunwald
54168d5c0f
Add nuspec.
...
Changed project settings to produce xml-doc and debug symbols in release configuration.
14 years ago
Daniel Grunwald
0fd4f5b297
Rename unresolved InterfaceImplementations to ExplicitInterfaceImplementations.
14 years ago
Daniel Grunwald
06f96bf068
Remove IAccessor and use IMethod instead.
14 years ago
Daniel Grunwald
3c6cbeeae7
Add IMember.UnresolvedMember property.
14 years ago
Daniel Grunwald
942b4f70ef
Move ConversionResoleResult to ICSharpCode.NRefactory.Semantics.
...
Boxing conversion for attribute arguments is now used consistently in C# type system and Cecil-loaded type system.
14 years ago
Daniel Grunwald
44b1c40e70
Remove some dead code.
14 years ago