X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem%2FIFormattable.cs;h=79c7a53c0f13ae1b8b9466e7f77a570b3ee337b1;hb=07511760941cb92ba3d0febef21bfd5766224496;hp=ba1a2d678d4fc1592ddd425854a3c8f29c6f5522;hpb=234225d112c4b018b8d1796f4c06a15812137500;p=mono.git diff --git a/mcs/class/corlib/System/IFormattable.cs b/mcs/class/corlib/System/IFormattable.cs index ba1a2d678d4..79c7a53c0f1 100644 --- a/mcs/class/corlib/System/IFormattable.cs +++ b/mcs/class/corlib/System/IFormattable.cs @@ -29,10 +29,14 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +using System.Runtime.InteropServices; namespace System { +#if NET_2_0 + [ComVisible(true)] +#endif public interface IFormattable { - string ToString (string format, IFormatProvider format_provider); + string ToString (string format, IFormatProvider formatProvider); } }