void ExportManagedStaticFields(string filePath) { var sb = new System.Text.StringBuilder(1024 * 16); var objs = snapshot.managedStaticFields; sb.AppendFormat("\"{1}\"{0}\"{2}\"{0}\"{3}\"\n", m_Delimiter, "C# Class Type", "C# Field Type", "C# Field Type Assembly"); for (var n = 0; n < objs.Length; ++n) { var obj = new RichStaticField(snapshot, objs[n].staticFieldsArrayIndex); sb.AppendFormat("\"{1}\"{0}\"{2}\"{0}\"{3}\"\n", m_Delimiter, obj.classType.name, obj.fieldType.name, obj.fieldType.assemblyName); } System.IO.File.WriteAllText(filePath, sb.ToString(), System.Text.Encoding.UTF8); }
public GotoCommand(RichStaticField value) : this() { toStaticField = value; }
public ObjectProxy(PackedMemorySnapshot snp, PackedManagedStaticField packed) { snapshot = snp; staticField = new RichStaticField(snp, packed.staticFieldsArrayIndex); }