예제 #1
0
                public override void AddOverload(ICSharpCode.NRefactory.Completion.ICompletionData data)
                {
                    if (overloads == null)
                    {
                        addedDatas [IdString] = this;
                    }

                    string          id = IdString;
                    ICompletionData oldData;

                    if (addedDatas.TryGetValue(id, out oldData))
                    {
                        var old = (TypeCompletionData)oldData;
                        if (old.ConflictingTypes == null)
                        {
                            old.ConflictingTypes = new List <ICompletionData> ();
                        }
                        old.ConflictingTypes.Add(data);
                        return;
                    }
                    addedDatas[id] = data;


                    base.AddOverload(data);
                }
 public void AddOverload(NCC.ICompletionData data)
 {
     if (overloadedData.Count == 0)
     {
         overloadedData.Add(this);
     }
     overloadedData.Add(data);
 }
예제 #3
0
 public override void AddOverload(ICSharpCode.NRefactory.Completion.ICompletionData data)
 {
     if (overloads == null)
     {
         overloads = new List <ICompletionData> ();
         overloads.Add(this);
     }
     overloads.Add(data);
 }
예제 #4
0
 public override void AddOverload(ICSharpCode.NRefactory.Completion.ICompletionData data)
 {
     AddOverload((MemberCompletionData)data);
 }
예제 #5
0
 public CompletionDataProxy(ICSharpCode.NRefactory.Completion.ICompletionData obj)
 {
     this.obj = obj;
 }