Rename typeName -> ReflectionTypeName
This commit is contained in:
parent
781ade32cd
commit
e70ba4f1f0
|
@ -117,15 +117,15 @@ namespace de4dot.code.resources {
|
|||
}
|
||||
|
||||
public CharArrayResourceData Create(char[] value) {
|
||||
return new CharArrayResourceData(CreateUserResourceType(CharArrayResourceData.typeName), value);
|
||||
return new CharArrayResourceData(CreateUserResourceType(CharArrayResourceData.ReflectionTypeName), value);
|
||||
}
|
||||
|
||||
public IconResourceData CreateIcon(byte[] value) {
|
||||
return new IconResourceData(CreateUserResourceType(IconResourceData.typeName), value);
|
||||
return new IconResourceData(CreateUserResourceType(IconResourceData.ReflectionTypeName), value);
|
||||
}
|
||||
|
||||
public ImageResourceData CreateImage(byte[] value) {
|
||||
return new ImageResourceData(CreateUserResourceType(ImageResourceData.typeName), value);
|
||||
return new ImageResourceData(CreateUserResourceType(ImageResourceData.ReflectionTypeName), value);
|
||||
}
|
||||
|
||||
public BinaryResourceData CreateSerialized(byte[] value) {
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace de4dot.code.resources {
|
|||
}
|
||||
|
||||
class CharArrayResourceData : UserResourceData {
|
||||
public static readonly string typeName = "System.Char[],mscorlib";
|
||||
public static readonly string ReflectionTypeName = "System.Char[],mscorlib";
|
||||
char[] data;
|
||||
|
||||
public CharArrayResourceData(UserResourceType type, char[] data)
|
||||
|
@ -59,7 +59,7 @@ namespace de4dot.code.resources {
|
|||
}
|
||||
|
||||
class IconResourceData : UserResourceData {
|
||||
public static readonly string typeName = "System.Drawing.Icon,System.Drawing";
|
||||
public static readonly string ReflectionTypeName = "System.Drawing.Icon,System.Drawing";
|
||||
Icon icon;
|
||||
|
||||
public IconResourceData(UserResourceType type, byte[] data)
|
||||
|
@ -77,7 +77,7 @@ namespace de4dot.code.resources {
|
|||
}
|
||||
|
||||
class ImageResourceData : UserResourceData {
|
||||
public static readonly string typeName = "System.Drawing.Bitmap,System.Drawing";
|
||||
public static readonly string ReflectionTypeName = "System.Drawing.Bitmap,System.Drawing";
|
||||
Bitmap bitmap;
|
||||
|
||||
public ImageResourceData(UserResourceType type, byte[] data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user