Skip to content

Instantly share code, notes, and snippets.

View atsushieno's full-sized avatar

Atsushi Eno atsushieno

View GitHub Profile
using System;
using NClang;
using Mono.Options;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace PInvokeGenerator
{
class Driver
using System;
using System.Runtime.InteropServices;
using sl_uint8_t = System.Byte;
using sl_int8_t = System.SByte;
using sl_uint16_t = System.UInt16;
using sl_int16_t = System.Int16;
using sl_uint32_t = System.UInt32;
using sl_int32_t = System.Int32;
using sl_int64_t = System.Int64;
using SLint8 = System.SByte;
diff '--exclude=.svn' -rup Test/en.expected/System/Array.xml Test/en.actual/System/Array.xml
--- Test/en.expected/System/Array.xml 2014-11-05 13:08:46.585425026 +0800
+++ Test/en.actual/System/Array.xml 2014-11-06 23:39:58.341288093 +0800
@@ -10,90 +10,8 @@
</Base>
<Interfaces />
<Docs>
- <summary>
- <para> Serves as the base class for arrays. Provides methods for creating,
- copying, manipulating, searching, and sorting arrays.</para>
diff --git a/mcs/class/System.XML/System.Xml/XmlElement.cs b/mcs/class/System.XML/System.Xml/XmlElement.cs
index 120355f..2d9d1e0 100644
--- a/mcs/class/System.XML/System.Xml/XmlElement.cs
+++ b/mcs/class/System.XML/System.Xml/XmlElement.cs
@@ -152,11 +152,17 @@ namespace System.Xml
XmlTextReader xmlReader = new XmlTextReader (value, XmlNodeType.Element, ctx);
xmlReader.XmlResolver = OwnerDocument.Resolver;
- do {
- XmlNode n = OwnerDocument.ReadNode (xmlReader);
diff --git a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/CodeActionEditorExtension.cs b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/CodeActionEditorExtension.cs
index 4d7470c..0b63fe2 100644
--- a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/CodeActionEditorExtension.cs
+++ b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/CodeActionEditorExtension.cs
@@ -40,7 +40,6 @@ using ICSharpCode.NRefactory.Semantics;
using MonoDevelop.AnalysisCore.Fixes;
using ICSharpCode.NRefactory.Refactoring;
using MonoDevelop.Ide.Gui;
-using AppKit;
Tests run: 1930, Failures: 1, Not run: 63, Time: 131.488 seconds
Test Case Failures:
1) MonoTests.System.Xml.Xsl.XslTransformTests.Bug487065 : System.InvalidOperationException : The method is not in this module
at System.Reflection.Emit.ModuleBuilder.GetMethodToken (System.Reflection.MethodInfo method) [0x00038] in /svn/mono/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs:588
at System.Xml.Xsl.IlGen.GenerateHelper.CallToken (System.Reflection.MethodInfo meth) [0x00071] in /svn/mono/external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/GenerateHelper.cs:834
at System.Xml.Xsl.IlGen.XmlILVisitor.NestedVisitEnsureCache (System.Xml.Xsl.Qil.QilNode nd, System.Type itemStorageType) [0x001b6] in /svn/mono/external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlIlVisitor.cs:4514
at System.Xml.Xsl.IlGen.XmlILVisitor.NestedVisit (System.Xml.Xsl.Qil.QilNode nd, System.Type itemStorageType, Boolean isCached) [0x000a8] in /svn/mono/external/referencesource/System.Data.SqlXml/System/Xml/Xsl/
$ git status
error: object file .git/objects/02/f2b929149b7a47454ec28512e876c3f5d49ad0 is empty
error: object file .git/objects/02/f2b929149b7a47454ec28512e876c3f5d49ad0 is empty
fatal: loose object 02f2b929149b7a47454ec28512e876c3f5d49ad0 (stored in .git/objects/02/f2b929149b7a47454ec28512e876c3f5d49ad0) is corrupt
../../build/common/Consts.cs
../../build/common/MonoTODOAttribute.cs
System.Data/DataCategoryAttribute.cs
System.Data/ISafeDataRecord.cs
System.Data.Common/CatalogLocation.cs
System.Data.Common/ComparerFactory.cs
System.Data.Common/DataColumnMappingCollection.cs
System.Data.Common/DataColumnMappingConverter.cs
System.Data.Common/DataColumnMapping.cs
System.Data.Common/DataContainer.cs
@atsushieno
atsushieno / mono-data-sqlclient.sources
Last active August 29, 2015 14:13
is standalone sqlclient possible?
mcs @mono-data-sqlclient.sources -r:System.Data -r:System.Transactions -r:System.EnterpriseServices -r:Mono.Security -r:Mono.Data.Tds -d:NET_2_0 -d:NET_4_0 -d:NET_4_5
../../build/common/Consts.cs
../../build/common/Locale.cs
../../build/common/MonoTODOAttribute.cs
System.Data/DataCategoryAttribute.cs
System.Data/ISafeDataRecord.cs
System.Data.Common/CatalogLocation.cs
System.Data.Common/ComparerFactory.cs
System.Data.Common/DataColumnMappingConverter.cs
atsushi:/svn/mono/mcs/class/System.XML$ MONO_PATH=../lib/net_4_5/ ../../../runtime/mono-wrapper ../lib/net_4_5/csharp.exe -e "typeof (System.Xml.XmlReader).Assembly.GetTypes ().Where (t => t.Name.EndsWith (\"Res\")).SelectMany (type => type.GetFields ().Where (f => f.Name == f.GetValue (null) as string)).Count()"
1023
atsushi:/svn/mono/mcs/class/System.XML$ MONO_PATH=../lib/net_4_5/ ../../../runtime/mono-wrapper ../lib/net_4_5/csharp.exe -e "typeof (System.Xml.XmlReader).Assembly.GetTypes ().Where (t => t.Name.EndsWith (\"Res\")).SelectMany (type => type.GetFields ().Where (f => f.Name != f.GetValue (null) as string)).Count()"
260