|
|
|
@ -408,6 +408,8 @@ namespace ICSharpCode.NRefactory.CSharp.Completion |
|
|
|
if (IsInsideCommentOrString ()) |
|
|
|
if (IsInsideCommentOrString ()) |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
if (IsInLinqContext (offset)) { |
|
|
|
if (IsInLinqContext (offset)) { |
|
|
|
|
|
|
|
if (!controlSpace && !(char.IsLetter (completionChar) || completionChar == '_')) |
|
|
|
|
|
|
|
return null; |
|
|
|
tokenIndex = offset; |
|
|
|
tokenIndex = offset; |
|
|
|
token = GetPreviousToken (ref tokenIndex, false); // token last typed
|
|
|
|
token = GetPreviousToken (ref tokenIndex, false); // token last typed
|
|
|
|
if (!char.IsWhiteSpace (completionChar) && !linqKeywords.Contains (token)) |
|
|
|
if (!char.IsWhiteSpace (completionChar) && !linqKeywords.Contains (token)) |
|
|
|
|