示例#1
0
 public virtual void VisitNestedTypeCollection(NestedTypeCollection nestedTypes)
 {
     foreach (TypeDefinition nestedType in nestedTypes)
     {
         VisitNestedType(nestedType);
     }
 }
示例#2
0
 public virtual void VisitNestedTypeCollection(NestedTypeCollection nestedTypes)
 {
 }
		public override void VisitNestedTypeCollection (NestedTypeCollection nestedTypes)
		{
			VisitCollection (nestedTypes);
		}
        public override void VisitNestedTypeCollection(NestedTypeCollection nestedTypes)
        {
            if (nestedTypes.Count == 0)
                return;

            NestedClassTable ncTable = m_tableWriter.GetNestedClassTable ();
            foreach (TypeDefinition nested in nestedTypes) {
                NestedClassRow ncRow = m_rowWriter.CreateNestedClassRow (
                    nested.MetadataToken.RID,
                    GetRidFor (nestedTypes.Container));

                ncTable.Rows.Add (ncRow);
            }
        }
        public virtual void VisitNestedTypeCollection(NestedTypeCollection nestedTypes)
        {

        }
		public override void VisitNestedTypeCollection (NestedTypeCollection nesteds)
		{
			for (int i = 0; i < nesteds.Count; i++) {
				if (i > 0)
					m_writer.WriteLine ();
				VisitNestedType (nesteds [i]);
			}
		}
 public void VisitNestedTypeCollection(NestedTypeCollection nestedTypes)
 {
     foreach (TypeDefinition nestedType in nestedTypes)
     {
         AppendNode(nestedType.DeclaringType, nestedType, true);
     }
 }