Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
Mirabile Futurum
State
Open
Assignee
Sergey Shkredov
Subsystem
Code Completion
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Sergey Coox
    2 years ago (08 Apr 2009 17:47)
  • Updated by   Sergey Shkredov
    7 months ago (06 Jul 2011 17:22)
  • Jira: RSRP-102694
    (history, comments)
 
RSRP-102694 completion does not place caret inside parenthesis
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
  public static class AliasListProperty
  {
    private static readonly Key ourKey = new Key("AliasList");

    public static string GetAliasList(this IModuleReference moduleReference)
    {
      object value = moduleReference.GetProperty(ourKey);
      if (value == null)
        return string.Empty;
      return (string)value;
    }

    public static void SetAliasList(this IModuleReference moduleReference, string value)
    {
      GetAliasList() // complete this method call

      using( WriteLockCookie.Create() )
        moduleReference.SetProperty(ourKey, value);
    }    
  }
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments