Compare commits

..
8 Commits
Author SHA1 Message Date
nobody 5f2542f763 This commit was manufactured by cvs2svn to create tag 'MCS_0_96'.
svn path=/tags/MCS_0_96/mcs/; revision=29524
2004-06-14 16:35:26 +00:00
Jackson Harper d52b2222e8 * ILParser.jay: Set module names.
svn path=/trunk/mcs/; revision=29523
2004-06-14 16:35:26 +00:00
Sebastien Pouliot 683dc0b3bb 2004-06-14 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Un-ignored TestCapacity4 test case as it now
	works correctly under Mono.

svn path=/trunk/mcs/; revision=29522
2004-06-14 16:33:13 +00:00
Jackson Harper 4174966eab * CodeGen.cs: Implement setting module names.
svn path=/trunk/mcs/; revision=29521
2004-06-14 16:32:51 +00:00
Sebastien Pouliot 92935b3ee5 2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Fixed timespan with large values for hours or minutes
	(overflow is only checked for days but can also occurs in hours and
	minutes which uses Int32 when multiplying). The new results match MS
	implementation.

svn path=/trunk/mcs/; revision=29520
2004-06-14 16:31:18 +00:00
Jackson Harper 43f8d7efc0 * PEAPI.cs: Add new constructor so we can explicitly set the
module name.

svn path=/trunk/mcs/; revision=29519
2004-06-14 16:31:17 +00:00
Sebastien Pouliot 0b812daeb3 2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added more cases with MinValue and MaxValue for
	each parameter of the constructor. Some tests are ignored because
	they are too long to run (but useful when debugging).

svn path=/trunk/mcs/; revision=29517
2004-06-14 16:27:20 +00:00
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
17 changed files with 929 additions and 35 deletions

No files matched your search

+246
View File
@@ -0,0 +1,246 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
+5
View File
@@ -1,3 +1,8 @@
2004-06-14 Jackson Harper <[email protected]>
* PEAPI.cs: Add new constructor so we can explicitly set the
module name.
2004-06-03 Jackson Harper <[email protected]>
* PEAPI.cs: Do not null terminate byte arrays when writing to the
+6 -1
View File
@@ -6025,7 +6025,12 @@ if (rsrc != null)
fileImage = new FileImage(isDLL,outStream);
InitPEFile(name, MakeFileName(null,name,isDLL), hasAssembly);
}
public PEFile(string name, string module_name, bool isDLL, bool hasAssembly, Stream outStream) {
fileImage = new FileImage(isDLL,outStream);
InitPEFile(name, (module_name == null ? MakeFileName(null,name,isDLL) : module_name), hasAssembly);
}
private void InitPEFile(string name, string fName, bool hasAssembly) {
metaData = fileImage.GetMetaData();
thisMod = new Module(fName,metaData);
@@ -1,25 +0,0 @@
Assembly.cs
AssemblyNameFlags.cs
BindingFlags.cs
CallingConventions.cs
ConstructorInfo.cs
DefaultMemberAttribute.cs
EventAttributes.cs
EventInfo.cs
FieldAttributes.cs
FieldInfo.cs
ICustomAttributeProvider.cs
MemberFilter.cs
MemberInfo.cs
MemberTypes.cs
MethodAttributes.cs
MethodBase.cs
MethodImplAttributes.cs
MethodInfo.cs
Module.cs
ParameterAttributes.cs
PropertyAttributes.cs
PropertyInfo.cs
ResourceAttributes.cs
ResourceLocation.cs
TypeAttributes.cs
+7
View File
@@ -1,3 +1,10 @@
2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpan.cs: Fixed timespan with large values for hours or minutes
(overflow is only checked for days but can also occurs in hours and
minutes which uses Int32 when multiplying). The new results match MS
implementation.
2004-06-14 Atsushi Enomoto <[email protected]>
* FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
+7 -7
View File
@@ -71,14 +71,14 @@ namespace System
internal static long CalculateTicks (int days, int hours, int minutes, int seconds, int milliseconds)
{
// there's no overflow checks for hours, minutes, ...
// so big hours/minutes values can overflow at some point and change expected values
int hrssec = (hours * 3600); // break point at (Int32.MaxValue - 596523)
int minsec = (minutes * 60);
long t = ((long)(hrssec + minsec + seconds) * 1000L + (long)milliseconds);
t *= 10000;
bool overflow = false;
// this part cannot overflow Int64
long t = checked (TimeSpan.TicksPerHour * hours +
TimeSpan.TicksPerMinute * minutes +
TimeSpan.TicksPerSecond * seconds +
TimeSpan.TicksPerMillisecond * milliseconds);
// days is problematic because it can overflow but that overflow can be
// "legal" (i.e. temporary) (e.g. if other parameters are negative) or
// illegal (e.g. sign change).
@@ -1,3 +1,8 @@
2004-06-14 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Un-ignored TestCapacity4 test case as it now
works correctly under Mono.
2004-06-01 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Added new test when initial capacity is set to 0
@@ -180,7 +180,6 @@ public class SortedListTest : Assertion {
[Test]
[ExpectedException (typeof (OutOfMemoryException))]
[Ignore ("This is not implemented in the runtime yet")]
public void TestCapacity4 ()
{
SortedList list = new SortedList ();
+6
View File
@@ -1,3 +1,9 @@
2004-06-14 Sebastien Pouliot <[email protected]>
* TimeSpanTest.cs: Added more cases with MinValue and MaxValue for
each parameter of the constructor. Some tests are ignored because
they are too long to run (but useful when debugging).
2004-06-14 Atsushi Enomoto <[email protected]>
* FloatingPointFormatterTest.cs : Added more permille and percent
@@ -18,6 +18,16 @@ namespace MonoTests.System
[TestFixture]
public class TimeSpanTest : Assertion {
private void Debug (TimeSpan ts)
{
Console.Out.WriteLine ("Days {0}", ts.Days);
Console.Out.WriteLine ("Hours {0}", ts.Hours);
Console.Out.WriteLine ("Minutes {0}", ts.Minutes);
Console.Out.WriteLine ("Seconds {0}", ts.Seconds);
Console.Out.WriteLine ("Milliseconds {0}", ts.Milliseconds);
Console.Out.WriteLine ("Ticks {0}", ts.Ticks);
}
public void TestCtors ()
{
TimeSpan t1 = new TimeSpan (1234567890);
@@ -70,6 +80,272 @@ public class TimeSpanTest : Assertion {
AssertEquals ("Ticks", 21496274706470000, ts.Ticks);
}
[Test]
[ExpectedException (typeof (ArgumentOutOfRangeException))]
public void MaxDays ()
{
new TimeSpan (Int32.MaxValue, 0, 0, 0, 0);
}
[Test]
[ExpectedException (typeof (ArgumentOutOfRangeException))]
public void MinDays ()
{
new TimeSpan (Int32.MinValue, 0, 0, 0, 0);
}
[Test]
[Ignore ("too long")]
public void MaxHours_TooLong ()
{
// LAMESPEC: the highest hours are "special"
for (int i=0; i < 596523; i++) {
TimeSpan ts = new TimeSpan (0, Int32.MaxValue - i, 0, 0, 0);
int h = i + 1;
string prefix = i.ToString () + '-';
AssertEquals (prefix + "Days", -(h / 24), ts.Days);
AssertEquals (prefix + "Hours", -(h % 24), ts.Hours);
AssertEquals (prefix + "Minutes", 0, ts.Minutes);
AssertEquals (prefix + "Seconds", 0, ts.Seconds);
AssertEquals (prefix + "Milliseconds", 0, ts.Milliseconds);
AssertEquals (prefix + "Ticks", -36000000000 * h, ts.Ticks);
}
}
[Test]
public void MaxHours ()
{
// LAMESPEC: the highest hours are "special"
TimeSpan ts = new TimeSpan (0, Int32.MaxValue, 0, 0, 0);
AssertEquals ("Max-Days", 0, ts.Days);
AssertEquals ("Max-Hours", -1, ts.Hours);
AssertEquals ("Max-Minutes", 0, ts.Minutes);
AssertEquals ("Max-Seconds", 0, ts.Seconds);
AssertEquals ("Max-Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Max-Ticks", -36000000000, ts.Ticks);
ts = new TimeSpan (0, Int32.MaxValue - 596522, 0, 0, 0);
AssertEquals ("Days", -24855, ts.Days);
AssertEquals ("Hours", -3, ts.Hours);
AssertEquals ("Minutes", 0, ts.Minutes);
AssertEquals ("Seconds", 0, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -21474828000000000, ts.Ticks);
}
[Test]
public void MaxHours_BreakPoint ()
{
TimeSpan ts = new TimeSpan (0, Int32.MaxValue - 596523, 0, 0, 0);
AssertEquals ("Days", 24855, ts.Days);
AssertEquals ("Hours", 2, ts.Hours);
AssertEquals ("Minutes", 28, ts.Minutes);
AssertEquals ("Seconds", 16, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", 21474808960000000, ts.Ticks);
}
[Test]
[Ignore ("too long")]
public void MinHours_TooLong ()
{
// LAMESPEC: the lowest hours are "special"
for (int i=Int32.MinValue; i < -2146887124; i++) {
TimeSpan ts = new TimeSpan (0, i, 0, 0, 0);
int h = i + Int32.MaxValue + 1;
string prefix = i.ToString () + '-';
AssertEquals (prefix + "Days", (h / 24), ts.Days);
AssertEquals (prefix + "Hours", (h % 24), ts.Hours);
AssertEquals (prefix + "Minutes", 0, ts.Minutes);
AssertEquals (prefix + "Seconds", 0, ts.Seconds);
AssertEquals (prefix + "Milliseconds", 0, ts.Milliseconds);
AssertEquals (prefix + "Ticks", 36000000000 * h, ts.Ticks);
}
}
[Test]
public void MinHours ()
{
// LAMESPEC: the lowest hours are "special"
TimeSpan ts = new TimeSpan (0, Int32.MinValue, 0, 0, 0);
AssertEquals ("Min-Days", 0, ts.Days);
AssertEquals ("Min-Hours", 0, ts.Hours);
AssertEquals ("Min-Minutes", 0, ts.Minutes);
AssertEquals ("Min-Seconds", 0, ts.Seconds);
AssertEquals ("Min-Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Min-Ticks", 0, ts.Ticks);
ts = new TimeSpan (0, -2146887125, 0, 0, 0);
AssertEquals ("Days", 24855, ts.Days);
AssertEquals ("Hours", 3, ts.Hours);
AssertEquals ("Minutes", 0, ts.Minutes);
AssertEquals ("Seconds", 0, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", 21474828000000000, ts.Ticks);
}
[Test]
public void MinHours_BreakPoint ()
{
TimeSpan ts = new TimeSpan (0, -2146887124, 0, 0, 0);
AssertEquals ("Days", -24855, ts.Days);
AssertEquals ("Hours", -2, ts.Hours);
AssertEquals ("Minutes", -28, ts.Minutes);
AssertEquals ("Seconds", -16, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -21474808960000000, ts.Ticks);
}
[Test]
[Ignore ("too long")]
public void MaxMinutes_TooLong ()
{
// LAMESPEC: the highest minutes are "special"
for (int i=0; i < 35791394; i++) {
TimeSpan ts = new TimeSpan (0, 0, Int32.MaxValue - i, 0, 0);
long h = -(i + 1);
string prefix = i.ToString () + '-';
AssertEquals (prefix + "Days", (h / 1440), ts.Days);
AssertEquals (prefix + "Hours", ((h / 60) % 24), ts.Hours);
AssertEquals (prefix + "Minutes", (h % 60), ts.Minutes);
AssertEquals (prefix + "Seconds", 0, ts.Seconds);
AssertEquals (prefix + "Milliseconds", 0, ts.Milliseconds);
AssertEquals (prefix + "Ticks", (600000000L * h), ts.Ticks);
}
}
[Test]
public void MaxMinutes ()
{
// LAMESPEC: the highest minutes are "special"
TimeSpan ts = new TimeSpan (0, 0, Int32.MaxValue, 0, 0);
AssertEquals ("Max-Days", 0, ts.Days);
AssertEquals ("Max-Hours", 0, ts.Hours);
AssertEquals ("Max-Minutes", -1, ts.Minutes);
AssertEquals ("Max-Seconds", 0, ts.Seconds);
AssertEquals ("Max-Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Max-Ticks", -600000000, ts.Ticks);
ts = new TimeSpan (0, 0, Int32.MaxValue - 35791393, 0, 0);
AssertEquals ("Days", -24855, ts.Days);
AssertEquals ("Hours", -3, ts.Hours);
AssertEquals ("Minutes", -14, ts.Minutes);
AssertEquals ("Seconds", 0, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -21474836400000000, ts.Ticks);
}
[Test]
public void MaxMinutes_BreakPoint ()
{
TimeSpan ts = new TimeSpan (0, Int32.MaxValue - 35791394, 0, 0, 0);
AssertEquals ("Days", 0, ts.Days);
AssertEquals ("Hours", 0, ts.Hours);
AssertEquals ("Minutes", -52, ts.Minutes);
AssertEquals ("Seconds", 0, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -31200000000, ts.Ticks);
}
[Test]
[Ignore ("too long")]
public void MinMinutes_TooLong ()
{
// LAMESPEC: the highest minutes are "special"
for (int i=Int32.MinValue; i < -2111692253; i++) {
TimeSpan ts = new TimeSpan (0, 0, i, 0, 0);
long h = i + Int32.MaxValue + 1;
string prefix = i.ToString () + '-';
AssertEquals (prefix + "Days", (h / 1440), ts.Days);
AssertEquals (prefix + "Hours", ((h / 60) % 24), ts.Hours);
AssertEquals (prefix + "Minutes", (h % 60), ts.Minutes);
AssertEquals (prefix + "Seconds", 0, ts.Seconds);
AssertEquals (prefix + "Milliseconds", 0, ts.Milliseconds);
AssertEquals (prefix + "Ticks", (600000000L * h), ts.Ticks);
}
}
[Test]
public void MinMinutes ()
{
// LAMESPEC: the highest minutes are "special"
TimeSpan ts = new TimeSpan (0, 0, Int32.MinValue, 0, 0);
AssertEquals ("Min-Days", 0, ts.Days);
AssertEquals ("Min-Hours", 0, ts.Hours);
AssertEquals ("Min-Minutes", 0, ts.Minutes);
AssertEquals ("Min-Seconds", 0, ts.Seconds);
AssertEquals ("Min-Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Min-Ticks", 0, ts.Ticks);
ts = new TimeSpan (0, 0, -2111692254, 0, 0);
AssertEquals ("Days", 24855, ts.Days);
AssertEquals ("Hours", 3, ts.Hours);
AssertEquals ("Minutes", 14, ts.Minutes);
AssertEquals ("Seconds", 0, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", 21474836400000000, ts.Ticks);
}
[Test]
public void MinMinutes_BreakPoint ()
{
TimeSpan ts = new TimeSpan (0, 0, -2111692253, 0, 0);
AssertEquals ("Days", -24855, ts.Days);
AssertEquals ("Hours", -3, ts.Hours);
AssertEquals ("Minutes", -13, ts.Minutes);
AssertEquals ("Seconds", -16, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -21474835960000000, ts.Ticks);
}
[Test]
public void MaxSeconds ()
{
TimeSpan ts = new TimeSpan (0, 0, 0, Int32.MaxValue, 0);
AssertEquals ("Days", 24855, ts.Days);
AssertEquals ("Hours", 3, ts.Hours);
AssertEquals ("Minutes", 14, ts.Minutes);
AssertEquals ("Seconds", 7, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", 21474836470000000, ts.Ticks);
}
[Test]
public void MinSeconds ()
{
TimeSpan ts = new TimeSpan (0, 0, 0, Int32.MinValue, 0);
AssertEquals ("Days", -24855, ts.Days);
AssertEquals ("Hours", -3, ts.Hours);
AssertEquals ("Minutes", -14, ts.Minutes);
AssertEquals ("Seconds", -8, ts.Seconds);
AssertEquals ("Milliseconds", 0, ts.Milliseconds);
AssertEquals ("Ticks", -21474836480000000, ts.Ticks);
}
[Test]
public void MaxMilliseconds ()
{
TimeSpan ts = new TimeSpan (0, 0, 0, 0, Int32.MaxValue);
AssertEquals ("Days", 24, ts.Days);
AssertEquals ("Hours", 20, ts.Hours);
AssertEquals ("Minutes", 31, ts.Minutes);
AssertEquals ("Seconds", 23, ts.Seconds);
AssertEquals ("Milliseconds", 647, ts.Milliseconds);
AssertEquals ("Ticks", 21474836470000, ts.Ticks);
}
[Test]
public void MinMilliseconds ()
{
TimeSpan ts = new TimeSpan (0, 0, 0, 0, Int32.MinValue);
AssertEquals ("Days", -24, ts.Days);
AssertEquals ("Hours", -20, ts.Hours);
AssertEquals ("Minutes", -31, ts.Minutes);
AssertEquals ("Seconds", -23, ts.Seconds);
AssertEquals ("Milliseconds", -648, ts.Milliseconds);
AssertEquals ("Ticks", -21474836480000, ts.Ticks);
}
[Test]
public void NegativeTimeSpan ()
{
+4
View File
@@ -1,3 +1,7 @@
2004-06-14 Jackson Harper <[email protected]>
* CodeGen.cs: Implement setting module names.
2004-05-23 Jackson Harper <[email protected]>
* MethodDef.cs: Cache vararg signatures so a new memberref is not
+9 -1
View File
@@ -54,6 +54,8 @@ namespace Mono.ILASM {
private bool is_dll;
private bool is_assembly;
private string module_name;
public CodeGen (string output_file, bool is_dll, bool is_assembly, Report report)
{
this.output_file = output_file;
@@ -129,6 +131,11 @@ namespace Mono.ILASM {
assembly_name = name;
}
public void SetModuleName (string module_name)
{
this.module_name = module_name;
}
public bool IsThisAssembly (string name)
{
return (name == assembly_name);
@@ -269,7 +276,8 @@ namespace Mono.ILASM {
try {
out_stream = new FileStream (output_file, FileMode.Create, FileAccess.Write);
pefile = new PEFile (assembly_name, is_dll, is_assembly, out_stream);
pefile = new PEFile (assembly_name, module_name, is_dll, is_assembly, out_stream);
extern_table.Resolve (this);
type_manager.DefineAll ();
+4
View File
@@ -1,3 +1,7 @@
2004-06-14 Jackson Harper <[email protected]>
* ILParser.jay: Set module names.
2004-05-25 Jackson Harper <[email protected]>
* ILParser.jay: Fix casting for data type constants.
+11
View File
@@ -610,6 +610,9 @@ class_ref : OPEN_BRACKET slashed_name CLOSE_BRACKET slashed_name
}
}
| OPEN_BRACKET D_MODULE slashed_name CLOSE_BRACKET slashed_name
{
}
| slashed_name
{
PrimitiveTypeRef prim = PrimitiveTypeRef.GetPrimitiveType ((string) $1);
@@ -1760,6 +1763,9 @@ type_spec : class_ref
// assembly. This is not supported in the MS version of ilasm
}
| OPEN_BRACKET D_MODULE slashed_name CLOSE_BRACKET
{
}
| type
;
@@ -2355,7 +2361,12 @@ sec_action : K_REQUEST
;
module_head : D_MODULE
{
}
| D_MODULE comp_name
{
codegen.SetModuleName ((string) $2);
}
| D_MODULE K_EXTERN comp_name
;
+246
View File
@@ -0,0 +1,246 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
+1
View File
@@ -0,0 +1 @@
*.xml
+96
View File
@@ -0,0 +1,96 @@
# Note that you will need Microsoft.NET to generate those masterinfos
# Customize to indicate your own installation dir.
DLL_PATH=c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322
# DLL_PATH=c:/WINDOWS/Microsoft.NET/Framework/v1.2.30703
all: \
mscorlib.xml \
System.xml \
System.Xml.xml \
System.Configuration.Install.xml \
System.Data.xml \
System.Data.OracleClient.xml \
System.Design.xml \
System.Management.xml \
System.Messaging.xml \
System.Web.xml \
System.Web.Services.xml \
System.Runtime.Serialization.Formatters.Soap.xml \
System.Drawing.xml \
System.Drawing.Design.xml \
System.Security.xml \
System.DirectoryServices.xml \
System.EnterpriseServices.xml \
System.Runtime.Remoting.xml \
System.Windows.Forms.xml \
Microsoft.VisualBasic.xml \
Cscompmgd.xml
mscorlib.xml :
mono-api-info $(DLL_PATH)/mscorlib.dll > mscorlib.xml
System.xml :
mono-api-info $(DLL_PATH)/System.dll > System.xml
System.Xml.xml :
mono-api-info $(DLL_PATH)/System.Xml.dll > System.Xml.xml
System.Configuration.Install.xml :
mono-api-info $(DLL_PATH)/System.Configuration.Install.dll > System.Configuration.Install.xml
System.Data.xml :
mono-api-info $(DLL_PATH)/System.Data.dll > System.Data.xml
System.Data.OracleClient.xml :
mono-api-info $(DLL_PATH)/System.Data.OracleClient.dll > System.Data.OracleClient.xml
System.Design.xml :
mono-api-info $(DLL_PATH)/System.Design.dll > System.Design.xml
System.Management.xml :
mono-api-info $(DLL_PATH)/System.Management.dll > System.Management.xml
System.Messaging.xml :
mono-api-info $(DLL_PATH)/System.Messaging.dll > System.Messaging.xml
System.Web.xml :
mono-api-info $(DLL_PATH)/System.Web.dll > System.Web.xml
System.Web.Services.xml :
mono-api-info $(DLL_PATH)/System.Web.Services.dll > System.Web.Services.xml
System.Runtime.Remoting.xml :
mono-api-info $(DLL_PATH)/System.Runtime.Remoting.dll > System.Runtime.Remoting.xml
System.Runtime.Serialization.Formatters.Soap.xml :
mono-api-info $(DLL_PATH)/System.Runtime.Serialization.Formatters.Soap.dll > System.Runtime.Serialization.Formatters.Soap.xml
System.Drawing.xml :
mono-api-info $(DLL_PATH)/System.Drawing.dll > System.Drawing.xml
System.Drawing.Design.xml :
mono-api-info $(DLL_PATH)/System.Drawing.Design.dll > System.Drawing.Design.xml
System.Security.xml :
mono-api-info $(DLL_PATH)/System.Security.dll > System.Security.xml
System.DirectoryServices.xml :
mono-api-info $(DLL_PATH)/System.DirectoryServices.dll > System.DirectoryServices.xml
System.EnterpriseServices.xml :
mono-api-info $(DLL_PATH)/System.EnterpriseServices.dll > System.EnterpriseServices.xml
System.Windows.Forms.xml :
mono-api-info $(DLL_PATH)/System.Windows.Forms.dll > System.Windows.Forms.xml
Cscompmgd.xml :
mono-api-info $(DLL_PATH)/Cscompmgd.dll > Cscompmgd.xml
Microsoft.VisualBasic.xml :
mono-api-info $(DLL_PATH)/Microsoft.VisualBasic.dll > Microsoft.VisualBasic.xml
clean:
rm mscorlib.xml System.xml System.Xml.xml System.Configuration.Install.xml System.Data.xml System.Data.OracleClient.xml System.Design.xml System.Drawing.Design.xml System.Management.xml System.Messaging.xml System.Web.xml System.Web.Services.xml System.Runtime.Serialization.Formatters.Soap.xml System.Drawing.xml System.Security.xml System.DirectoryServices.xml System.EnterpriseServices.xml System.Runtime.Remoting.xml System.Windows.Forms.xml Cscompmgd.xml Microsoft.VisualBasic.xml