merge 99422:99508
[mono.git] / man / mono-config.5
index 48a099e474bda26ea9051de9b2a3ee50115f88b3..3a2129f43306cb8e44d12234ca1bc0256b2d6950 100644 (file)
@@ -38,7 +38,9 @@ The
 element takes two attributes:
 .TP
 .I dll
-This should be the same string used in the DllImport attribute
+This should be the same string used in the DllImport attribute, optionally
+prefixed with "i:" to indicate that the string must be matched in a
+case-insensitive way
 .TP
 .I target
 This should be the name of the library where the function can be found: 
@@ -94,9 +96,17 @@ The following example maps references to the `cygwin1.dll' shared
 library to the `libc.so.6' file.  
 .nf
 <configuration>
-       <dllmap dll="cygwin1.dll" target="libc.so.6"/>
+       <dllmap dll="i:cygwin1.dll" target="libc.so.6"/>
 </configuration>
 .fi
+The library name in the DllImport attribute is allowed to be in any
+case variant, like the following examples:
+.nf
+.nf
+       [DllImport ("cygwin1.dll")]
+       [DllImport ("Cygwin1.dll")]
+       [DllImport ("cygwiN1.Dll")]
+.fi
 .PP
 This one maps the following C# method:
 .nf