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); }
public override void AddOverload(ICSharpCode.NRefactory.Completion.ICompletionData data) { if (overloads == null) { overloads = new List <ICompletionData> (); overloads.Add(this); } overloads.Add(data); }
public override void AddOverload(ICSharpCode.NRefactory.Completion.ICompletionData data) { AddOverload((MemberCompletionData)data); }
public CompletionDataProxy(ICSharpCode.NRefactory.Completion.ICompletionData obj) { this.obj = obj; }