/// <summary>
 /// Remove the <see cref="CodeObject"/> from the specified dictionary.
 /// </summary>
 public override void RemoveFromDictionary(NamedCodeObjectDictionary dictionary)
 {
     // For MultiFieldDecls, we need to remove each individual FieldDecl
     foreach (FieldDecl fieldDecl in _fieldDecls)
     {
         dictionary.Remove(fieldDecl.Name, fieldDecl);
     }
 }
Example #2
0
 /// <summary>
 /// Remove the <see cref="CodeObject"/> from the specified dictionary.
 /// </summary>
 public override void RemoveFromDictionary(NamedCodeObjectDictionary dictionary)
 {
     // For MultiEnumMemberDecls, we need to remove each individual EnumMemberDecl
     foreach (EnumMemberDecl enumMemberDecl in _enumMemberDecls)
     {
         dictionary.Remove(enumMemberDecl.Name, enumMemberDecl);
     }
 }
 /// <summary>
 /// Remove the <see cref="CodeObject"/> from the specified dictionary.
 /// </summary>
 public override void RemoveFromDictionary(NamedCodeObjectDictionary dictionary)
 {
     // For MultiLocalDecls, we need to remove each individual LocalDecl
     foreach (LocalDecl localDecl in _localDecls)
     {
         dictionary.Remove(localDecl.Name, localDecl);
     }
 }
 /// <summary>
 /// Remove the <see cref="CodeObject"/> from the specified dictionary.
 /// </summary>
 public virtual void RemoveFromDictionary(NamedCodeObjectDictionary dictionary)
 {
     dictionary.Remove(Name, this);
 }
 /// <summary>
 /// Remove the <see cref="CodeObject"/> from the specified dictionary.
 /// </summary>
 public void RemoveFromDictionary(NamedCodeObjectDictionary dictionary)
 {
     dictionary.Remove(ParseToken + Name, this);
 }