/// <summary>
 /// Initializes a new instance of the <see cref="PdbSymbolField"/> class.
 /// </summary>
 /// <param name="parentType">The parent type.</param>
 /// <param name="data">Data symbol type record.</param>
 public PdbSymbolField(PdbGlobalScope parentType, DataSymbol data)
     : base(parentType)
 {
     Name         = data.Name;
     LocationType = DIA.LocationType.Static;
     DataKind     = DIA.DataKind.StaticMember;
     Type         = parentType.PdbModule.GetSymbol(data.Type);
     Size         = Type.Size;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PdbSymbolField"/> class.
 /// </summary>
 /// <param name="parentType">The parent type.</param>
 /// <param name="constant">Constant symbol record.</param>
 public PdbSymbolField(PdbGlobalScope parentType, ConstantSymbol constant)
     : base(parentType)
 {
     Name         = constant.Name;
     LocationType = DIA.LocationType.Constant;
     DataKind     = DIA.DataKind.StaticMember;
     Type         = parentType.PdbModule.GetSymbol(constant.TypeIndex);
     Size         = Type.Size;
     Value        = constant.Value;
 }