Author: atsushi
Date: 2007-04-05 03:25:34 -0400 (Thu, 05 Apr 2007)
New Revision: 75415
Modified:
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/ChangeLog
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeGenericXmlToken.cs
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeInfocardCryptoHandle.cs
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativePolicyElement.cs
Log:
2007-04-05 Atsushi Enomoto <[EMAIL PROTECTED]>
* NativePolicyElement.cs, NativeGenericXmlToken.cs,
NativeInfocardCryptoHandle.cs :
set CharSet as Unicode in StructLayoutAttributes.
Modified:
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/ChangeLog
===================================================================
---
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/ChangeLog
2007-04-05 07:22:40 UTC (rev 75414)
+++
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/ChangeLog
2007-04-05 07:25:34 UTC (rev 75415)
@@ -1,3 +1,9 @@
+2007-04-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * NativePolicyElement.cs, NativeGenericXmlToken.cs,
+ NativeInfocardCryptoHandle.cs :
+ set CharSet as Unicode in StructLayoutAttributes.
+
2007-04-04 Atsushi Enomoto <[EMAIL PROTECTED]>
* CardSpacePolicyElement.cs : implemented.
Modified:
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeGenericXmlToken.cs
===================================================================
---
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeGenericXmlToken.cs
2007-04-05 07:22:40 UTC (rev 75414)
+++
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeGenericXmlToken.cs
2007-04-05 07:25:34 UTC (rev 75415)
@@ -35,7 +35,7 @@
namespace System.IdentityModel.Selectors
{
- [StructLayout (LayoutKind.Sequential)]
+ [StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
struct NativeGenericXmlToken
{
// This field order must be fixed for win32 API interop:
Modified:
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeInfocardCryptoHandle.cs
===================================================================
---
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeInfocardCryptoHandle.cs
2007-04-05 07:22:40 UTC (rev 75414)
+++
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativeInfocardCryptoHandle.cs
2007-04-05 07:25:34 UTC (rev 75415)
@@ -79,7 +79,7 @@
}
#pragma warning disable 169
- [StructLayout (LayoutKind.Sequential)]
+ [StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
struct NativeAsymmetricCryptoParameters
{
int key_size;
Modified:
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativePolicyElement.cs
===================================================================
---
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativePolicyElement.cs
2007-04-05 07:22:40 UTC (rev 75414)
+++
trunk/olive/class/System.IdentityModel.Selectors/System.IdentityModel.Selectors/NativePolicyElement.cs
2007-04-05 07:25:34 UTC (rev 75415)
@@ -25,6 +25,8 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+
+#pragma warning disable 414
using System;
using System.Collections.ObjectModel;
using System.Runtime.InteropServices;
@@ -32,7 +34,8 @@
namespace System.IdentityModel.Selectors
{
- [StructLayout (LayoutKind.Sequential)]
+ // FIXME: it does not seem to marshal this object as expected ...
+ [StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
class NativePolicyElement
{
// This field order must be fixed for win32 API interop:
@@ -66,3 +69,4 @@
}
}
}
+#pragma warning restore
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches