@@ -540,17 +540,17 @@ public OleDbProviderConverter()
540540 {
541541 }
542542
543- public override bool GetStandardValuesSupported ( ITypeDescriptorContext context )
543+ public override bool GetStandardValuesSupported ( ITypeDescriptorContext ? context )
544544 {
545545 return true ;
546546 }
547547
548- public override bool GetStandardValuesExclusive ( ITypeDescriptorContext context )
548+ public override bool GetStandardValuesExclusive ( ITypeDescriptorContext ? context )
549549 {
550550 return false ;
551551 }
552552
553- public override StandardValuesCollection ? GetStandardValues ( ITypeDescriptorContext context )
553+ public override StandardValuesCollection ? GetStandardValues ( ITypeDescriptorContext ? context )
554554 {
555555 StandardValuesCollection ? dataSourceNames = _standardValues ;
556556 if ( null == _standardValues )
@@ -608,13 +608,13 @@ public OleDbServicesConverter() : base()
608608 {
609609 }
610610
611- public override bool CanConvertFrom ( ITypeDescriptorContext context , Type sourceType )
611+ public override bool CanConvertFrom ( ITypeDescriptorContext ? context , Type sourceType )
612612 {
613613 // Only know how to convert from a string
614614 return ( ( typeof ( string ) == sourceType ) || base . CanConvertFrom ( context , sourceType ) ) ;
615615 }
616616
617- public override object ConvertFrom ( ITypeDescriptorContext context , System . Globalization . CultureInfo culture , object value )
617+ public override object ? ConvertFrom ( ITypeDescriptorContext ? context , System . Globalization . CultureInfo ? culture , object ? value )
618618 {
619619 string ? svalue = ( value as string ) ;
620620 if ( null != svalue )
@@ -645,13 +645,13 @@ public override object ConvertFrom(ITypeDescriptorContext context, System.Global
645645 return base . ConvertFrom ( context , culture , value ) ;
646646 }
647647
648- public override bool CanConvertTo ( ITypeDescriptorContext context , Type destinationType )
648+ public override bool CanConvertTo ( ITypeDescriptorContext ? context , Type ? destinationType )
649649 {
650650 // Only know how to convert to the NetworkLibrary enumeration
651651 return ( ( typeof ( string ) == destinationType ) || base . CanConvertTo ( context , destinationType ) ) ;
652652 }
653653
654- public override object ConvertTo ( ITypeDescriptorContext context , System . Globalization . CultureInfo culture , object value , Type destinationType )
654+ public override object ? ConvertTo ( ITypeDescriptorContext ? context , System . Globalization . CultureInfo ? culture , object ? value , Type destinationType )
655655 {
656656 if ( ( typeof ( string ) == destinationType ) && ( null != value ) && ( typeof ( int ) == value . GetType ( ) ) )
657657 {
@@ -660,17 +660,17 @@ public override object ConvertTo(ITypeDescriptorContext context, System.Globaliz
660660 return base . ConvertTo ( context , culture , value , destinationType ) ;
661661 }
662662
663- public override bool GetStandardValuesSupported ( ITypeDescriptorContext context )
663+ public override bool GetStandardValuesSupported ( ITypeDescriptorContext ? context )
664664 {
665665 return true ;
666666 }
667667
668- public override bool GetStandardValuesExclusive ( ITypeDescriptorContext context )
668+ public override bool GetStandardValuesExclusive ( ITypeDescriptorContext ? context )
669669 {
670670 return false ;
671671 }
672672
673- public override StandardValuesCollection GetStandardValues ( ITypeDescriptorContext context )
673+ public override StandardValuesCollection GetStandardValues ( ITypeDescriptorContext ? context )
674674 {
675675 StandardValuesCollection ? standardValues = _standardValues ;
676676 if ( null == standardValues )
@@ -683,7 +683,7 @@ public override StandardValuesCollection GetStandardValues(ITypeDescriptorContex
683683 return standardValues ;
684684 }
685685
686- public override bool IsValid ( ITypeDescriptorContext context , object value )
686+ public override bool IsValid ( ITypeDescriptorContext ? context , object ? value )
687687 {
688688 return true ;
689689 //return Enum.IsDefined(type, value);
@@ -697,7 +697,7 @@ public OleDbConnectionStringBuilderConverter()
697697 {
698698 }
699699
700- public override bool CanConvertTo ( ITypeDescriptorContext context , Type destinationType )
700+ public override bool CanConvertTo ( ITypeDescriptorContext ? context , Type ? destinationType )
701701 {
702702 if ( typeof ( System . ComponentModel . Design . Serialization . InstanceDescriptor ) == destinationType )
703703 {
@@ -706,7 +706,7 @@ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinati
706706 return base . CanConvertTo ( context , destinationType ) ;
707707 }
708708
709- public override object ConvertTo ( ITypeDescriptorContext context , CultureInfo culture , object value , Type destinationType )
709+ public override object ? ConvertTo ( ITypeDescriptorContext ? context , CultureInfo ? culture , object ? value , Type destinationType )
710710 {
711711 if ( destinationType == null )
712712 {
0 commit comments