projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git]
/
mcs
/
mcs
/
complete.cs
diff --git
a/mcs/mcs/complete.cs
b/mcs/mcs/complete.cs
index 2931d137f737917aa2fab3e74fe0c6ac1c44b5c2..f66a7bd9fba44bed618ed76e01838f45c1967ee8 100644
(file)
--- a/
mcs/mcs/complete.cs
+++ b/
mcs/mcs/complete.cs
@@
-147,14
+147,14
@@
namespace Mono.CSharp {
}
var results = new List<string> ();
}
var results = new List<string> ();
- if (expr is Namespace) {
- Namespace nexpr = expr as Namespace;
+ var nexpr = expr as NamespaceExpression;
+ if (nexpr != null) {
string namespaced_partial;
if (partial_name == null)
string namespaced_partial;
if (partial_name == null)
- namespaced_partial = nexpr.Name;
+ namespaced_partial = nexpr.Name
space.Name
;
else
else
- namespaced_partial = nexpr.Name + "." + partial_name;
+ namespaced_partial = nexpr.Name
space.Name
+ "." + partial_name;
rc.CurrentMemberDefinition.GetCompletionStartingWith (namespaced_partial, results);
if (partial_name != null)
rc.CurrentMemberDefinition.GetCompletionStartingWith (namespaced_partial, results);
if (partial_name != null)