Daniel Grunwald
a77fa3103a
Add IMethod.AccessorOwner.
13 years ago
Daniel Grunwald
180ed85c85
Implemented IUnresolvedMember.Resolve().
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
57d4bd48d0
[TypeSystem] UsingScope now uses as operator for casts.
13 years ago
Daniel Grunwald
4fe7c72b16
Fixed context for determining accessibility of protected inner classes when resolving a base type reference (NameLookupTests.InheritFromProtectedInnerClassTest)
13 years ago
Daniel Grunwald
c06cfeda6e
Fix icsharpcode/NRefactory#42 : const IField returns IsStatic=false
13 years ago
Mike Krüger
063d0f569c
Renamed named expression identifier -> name.
13 years ago
Mike Krüger
5dbe3654f5
[Ast] Renamed named argument expression identifier -> name.
13 years ago
Daniel Grunwald
444fe4ebf7
Make IParsedFile.LastWriteTime nullable.
...
Replace IAXmlVisitor interface with AXmlVisitor abstract base class.
14 years ago
Daniel Grunwald
e213758ec7
Replace LazyInit.ReadBarrier() with LazyInit.VolatileRead().
14 years ago
Mike Krüger
c51a5f6222
Fixed stub mechanic.
14 years ago
Daniel Grunwald
3ac1e560ec
Fix icsharpcode/NRefactory#22 : Event accessors should be called add_X and remove_X
14 years ago
Mike Krüger
90bf204c7f
Moved the roles class out of AstNode.
14 years ago
Daniel Grunwald
3215504223
Fix icsharpcode/NRefactory#20 : Copy virtual/override/static/etc. modifiers from properties/events to accessor methods.
14 years ago
Daniel Grunwald
3fbcf2f7d0
Add support for partial methods.
14 years ago
Daniel Grunwald
fe8e098a27
Fixed some FxCop warnings.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago
Daniel Grunwald
a993df9090
Use simpler IAstVisitor for InsertParenthesesVisitor and TypeSystemConvertVisitor.
14 years ago
Daniel Grunwald
14bf452879
Rename InterfaceImplementations -> ImplementedInterfaceMembers.
14 years ago
Daniel Grunwald
18c96e089d
Add support for multiline XML documentation comments.
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
191ac7c9df
Use GlobalAssemblyInfo.cs for all projects.
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
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
c6ecab1c48
Implemented support for InternalsVisibleToAttribute.
14 years ago
Daniel Grunwald
bb822e94d4
Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace.
...
Fixed increment operator on System.Char.
14 years ago
Daniel Grunwald
c20807e31c
Fixed return type of members of generic enums.
14 years ago
Daniel Grunwald
57a59341a5
Revert "Fixed type system converter case reported from "erik-kallen"."
...
The bug was already fixed in fb0c2923; this patch was adding the parameters a second time.
This reverts commit c4dfb27626
.
14 years ago
Mike Krüger
6054ed469a
Added unattached attributes to the AST.
14 years ago
Mike Krüger
9f9a26b236
Updated mcs.
14 years ago
Mike Krüger
c4dfb27626
Fixed type system converter case reported from "erik-kallen".
14 years ago
Daniel Grunwald
fb0c292380
Fix icsharpcode/NRefactory#13 - Indexer accessors do not get correct parameters.
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
6d7abd9b0f
Use AstType.ToTypeReference() instead of TypeSystemConvertVisitor.ConvertType().
14 years ago
Daniel Grunwald
13ac45ebf7
Add AstType.ToTypeReference() method.
14 years ago
Daniel Grunwald
cdfa794e37
Add some ToString() overrides for easier debugging
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
44b1c40e70
Remove some dead code.
14 years ago
Daniel Grunwald
f1a1ab32ad
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
14 years ago
Daniel Grunwald
93a5c13825
FindReferences: add support for searching in a different compilation than the entity is defined in.
14 years ago
Mike Krüger
77a75818d6
Fixed constraints parsing #2 .
14 years ago
Daniel Grunwald
b84c06e5b6
Make CSharpResolver immutable.
14 years ago
Daniel Grunwald
1464b5d0b7
For IAssembly.GetTypeDefinition, treat ns==null the same as ns==string.Empty.
14 years ago
Mike Krüger
0e92f47433
Prevented a key already exists exception (but it's not a real fix for
...
the problem).
14 years ago
Mike Krüger
ae54fd5d6f
Added GetTypeResolveContext implementation.
14 years ago
Daniel Grunwald
b0b9942522
Add ISolutionSnapshot for creating compilations for multiple projects from a single consistent snapshot.
14 years ago