|
|
|
@ -432,7 +432,9 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
@@ -432,7 +432,9 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
|
|
|
|
|
if (identifierStart == null && !string.IsNullOrEmpty (token) && !(IsInsideComment (tokenIndex) || IsInsideString (tokenIndex))) { |
|
|
|
|
char last = token [token.Length - 1]; |
|
|
|
|
if (char.IsLetterOrDigit (last) || last == '_' || token == ">") { |
|
|
|
|
return controlSpace ? DefaultControlSpaceItems () : null; |
|
|
|
|
return HandleKeywordCompletion (tokenIndex, token); |
|
|
|
|
|
|
|
|
|
//return controlSpace ? DefaultControlSpaceItems () : null;
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (identifierStart == null) |
|
|
|
@ -935,6 +937,9 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
@@ -935,6 +937,9 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
|
|
|
|
|
case "internal": |
|
|
|
|
case "sealed": |
|
|
|
|
case "static": |
|
|
|
|
var accessorContext = HandleAccessorContext (); |
|
|
|
|
if (accessorContext != null) |
|
|
|
|
return accessorContext; |
|
|
|
|
wrapper = new CompletionDataWrapper (this); |
|
|
|
|
var state = GetState (); |
|
|
|
|
AddTypesAndNamespaces (wrapper, state, null, null, m => false); |
|
|
|
|