using System; namespace System.Runtime.InteropServices { /// Controls whether Unicode characters are converted to the closest matching ANSI characters. // Token: 0x020002F3 RID: 755 [ComVisible(true)] [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, Inherited = false)] public sealed class BestFitMappingAttribute : Attribute { /// Initializes a new instance of the class set to the value of the property. /// true to indicate that best-fit mapping is enabled; otherwise, false. The default is true. // Token: 0x060021C0 RID: 8640 RVA: 0x00078FFC File Offset: 0x000771FC public BestFitMappingAttribute(bool BestFitMapping) { this.bfm = BestFitMapping; } /// Gets the best-fit mapping behavior when converting Unicode characters to ANSI characters. /// true if best-fit mapping is enabled; otherwise, false. The default is true. // Token: 0x1700063B RID: 1595 // (get) Token: 0x060021C1 RID: 8641 RVA: 0x0007900C File Offset: 0x0007720C public bool BestFitMapping { get { return this.bfm; } } // Token: 0x04000CC7 RID: 3271 private bool bfm; /// Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI '?' character. // Token: 0x04000CC8 RID: 3272 public bool ThrowOnUnmappableChar; } }