Daniel Grunwald
eab8372365
Fixed resolver crash when resolving the arguments of an ObjectCreateExpression with unresolved type (e.g. due to missing using).
14 years ago
Daniel Grunwald
2e40a3483b
FindReferences: API idea for new options
14 years ago
Daniel Grunwald
777be39cca
Rewrite of the substitution logic in SpecializedMember.
...
Specializing an already-specialized member now produces the same result as performing the two specializations in a single step.
14 years ago
Daniel Grunwald
bf42e08dd4
Add support for IReadOnlyList<T>.
14 years ago
Daniel Grunwald
e213758ec7
Replace LazyInit.ReadBarrier() with LazyInit.VolatileRead().
14 years ago
mike
29da952623
Fixed some warnings.
14 years ago
Daniel Grunwald
d338acc553
Fix icsharpcode/NRefactory#18 : ResolveResult for object creation
14 years ago
Daniel Grunwald
ab024b9ddc
Fix icsharpcode/NRefactory#28 : Identity of lambda parameters
...
Revert change regarding TypeDeclaration.ClassType; using derived nested classes / factory methods is inconsistent API with all other AST nodes.
If we want to save that bit of memory, we could store ClassType in the flags instead (there's about 20 bits free), although I think it won't matter since TypeDeclaration is a relatively rare node.
14 years ago
Daniel Grunwald
47d7d5adea
Fix icsharpcode/NRefactory#29 : NullReferenceException when using FindReferencedEntities navigator
14 years ago
Daniel Grunwald
51bd4164fe
Correctly set OperatorResolveResult.IsLiftedOperator in more cases.
14 years ago
Daniel Grunwald
df380b6055
Fixed potential cause of CSharpAstResolver.Resolve returning null.
14 years ago
Daniel Grunwald
e80f142381
Fixed bug in CSharpAstResolver.GetExpectedType().
14 years ago
Daniel Grunwald
55f858efb2
Fix icsharpcode/NRefactory#26 : Static methods are reported as having "this" as the target
14 years ago
Daniel Grunwald
c27f57f4a1
Fix icsharpcode/NRefactory#25 : OperatorResolveResult.IsLiftedOperator for unary operators
14 years ago
Mike Krüger
6a0a96ce31
Moved some roles to the Roles class.
14 years ago
Mike Krüger
90bf204c7f
Moved the roles class out of AstNode.
14 years ago
Daniel Grunwald
b491ea85c3
Rename Conversions to CSharpConversions.
14 years ago
Daniel Grunwald
3df0cd3946
Make CSharpAstResolver and Conversions thread-safe.
14 years ago
Daniel Grunwald
cf331bb4af
Fixed resolving partial method definitions.
14 years ago
Daniel Grunwald
24d2d195f9
Use specialized method for MethodGroupConversion. icsharpcode/NRefactory#21
14 years ago
Daniel Grunwald
a731b9371e
Fix icsharpcode/NRefactory#19 : OperatorResolveResult.IsLiftedOperator is false for lifted built-in operators.
14 years ago
Daniel Grunwald
c6ae6c30ee
Script refactoring.
14 years ago
mike
61c44816e3
[FindReferences] Added destructor find support.
14 years ago
Mike Krüger
cfe0d4257f
Made resolve result == null assertion more verbose.
14 years ago
Daniel Grunwald
fe8e098a27
Fixed some FxCop warnings.
14 years ago
Daniel Grunwald
eba021814c
FindReferences for IEnumerator.Current now finds foreach statements.
14 years ago
Daniel Grunwald
3e7244197c
Fix icsharpcode/NRefactory#16 : Resolve the GetEnumerator call inside a foreach
14 years ago
Daniel Grunwald
fb0dbc9bee
Fix icsharpcode/NRefactory#17 : Resolving "is" and "as" expressions loses the semantics
14 years ago
mike
b13dad1436
Resolve visitor change: If the type of an object create expression
...
can't be resolved give back the type resolution failure.
This is required to tell why the object creation couldn't be resolved.
14 years ago
Daniel Grunwald
a353f23d70
Combine AttributedNode and MemberDeclaration into EntityDeclaration.
14 years ago
Daniel Grunwald
2f859148f0
Use simpler IAstVisitor for ResolveVisitor.
14 years ago
Daniel Grunwald
14bf452879
Rename InterfaceImplementations -> ImplementedInterfaceMembers.
14 years ago
Daniel Grunwald
2bebee46a1
C# XML documentation support.
14 years ago
Daniel Grunwald
7a76a805a0
Add DocumentationComment class that allows looking up 'cref' attributes.
14 years ago
Mike Krüger
de6870b067
Fixed completion unit test.
14 years ago
Daniel Grunwald
d2f2feb994
Remove the thread-local cache; it seems to cause massive memory leaks.
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
9859dce24f
Improve ResolveAtLocation.
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
46254b3b0d
Add support for resolving "operator true".
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
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
f3541d4747
Fixed accessing protected members through type parameters.
14 years ago
Daniel Grunwald
9f5f18eeb2
Fixed resolving "condition ? byte : 0".
14 years ago
Daniel Grunwald
7971ad21f9
Check IType.Kind instead of using SpecialType.X.Equals().
14 years ago
Daniel Grunwald
67d19127f5
Fixed bug in reachability analysis when lambda/anonymous method contains a condition or switch statement.
14 years ago
Daniel Grunwald
1a7ca154b4
Allow conversion of anonymous method with unreachable endpoint to Func<T>.
14 years ago