@@ -60,6 +60,10 @@ public ResourceData(Internal.TypeSystem.Ecma.EcmaModule ecmaModule, Func<object,
60
60
/// <summary>
61
61
/// Find a resource in the resource data
62
62
/// </summary>
63
+ /// <remarks>
64
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
65
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
66
+ /// </remarks>
63
67
public byte [ ] FindResource ( string name , string type , ushort language )
64
68
{
65
69
return FindResourceInternal ( name , type , language ) ;
@@ -68,6 +72,10 @@ public byte[] FindResource(string name, string type, ushort language)
68
72
/// <summary>
69
73
/// Find a resource in the resource data
70
74
/// </summary>
75
+ /// <remarks>
76
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
77
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
78
+ /// </remarks>
71
79
public byte [ ] FindResource ( ushort name , string type , ushort language )
72
80
{
73
81
return FindResourceInternal ( name , type , language ) ;
@@ -76,6 +84,10 @@ public byte[] FindResource(ushort name, string type, ushort language)
76
84
/// <summary>
77
85
/// Find a resource in the resource data
78
86
/// </summary>
87
+ /// <remarks>
88
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
89
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
90
+ /// </remarks>
79
91
public byte [ ] FindResource ( string name , ushort type , ushort language )
80
92
{
81
93
return FindResourceInternal ( name , type , language ) ;
@@ -92,16 +104,28 @@ public byte[] FindResource(ushort name, ushort type, ushort language)
92
104
/// <summary>
93
105
/// Add or update resource
94
106
/// </summary>
107
+ /// <remarks>
108
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
109
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
110
+ /// </remarks>
95
111
public void AddResource ( string name , string type , ushort language , byte [ ] data ) => AddResourceInternal ( name , type , language , data ) ;
96
112
97
113
/// <summary>
98
114
/// Add or update resource
99
115
/// </summary>
116
+ /// <remarks>
117
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
118
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
119
+ /// </remarks>
100
120
public void AddResource ( string name , ushort type , ushort language , byte [ ] data ) => AddResourceInternal ( name , type , language , data ) ;
101
121
102
122
/// <summary>
103
123
/// Add or update resource
104
124
/// </summary>
125
+ /// <remarks>
126
+ /// The Win32 APIs typcially perform an uppercase transform on string arguments - during add and find.
127
+ /// If the resource will be read by Win32 APIs, it is recommended to make the resource name upper case.
128
+ /// </remarks>
105
129
public void AddResource ( ushort name , string type , ushort language , byte [ ] data ) => AddResourceInternal ( name , type , language , data ) ;
106
130
107
131
/// <summary>
0 commit comments