// These attributes should be excluded from reference assemblies.
-T:System.ComponentModel.DesignerAttribute
T:System.ComponentModel.Design.Serialization.DesignerSerializerAttribute
T:System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute
T:System.ComponentModel.EditorAttribute
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
+ [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
+ public sealed partial class DesignerAttribute : System.Attribute
+ {
+ public DesignerAttribute(string designerTypeName) { }
+ public DesignerAttribute(string designerTypeName, string designerBaseTypeName) { }
+ public DesignerAttribute(string designerTypeName, System.Type designerBaseType) { }
+ public DesignerAttribute(System.Type designerType) { }
+ public DesignerAttribute(System.Type designerType, System.Type designerBaseType) { }
+ public string DesignerBaseTypeName { get { throw null; } }
+ public string DesignerTypeName { get { throw null; } }
+ public override object TypeId { get { throw null; } }
+ public override bool Equals(object? obj) { throw null; }
+ public override int GetHashCode() { throw null; }
+ }
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed partial class DesignerCategoryAttribute : System.Attribute
{
public void Dispose() { }
public void RemoveHandler(object key, System.Delegate? value) { }
}
+ [System.ComponentModel.DesignerAttribute("System.ComponentModel.Design.ComponentDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
+ [System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.TypeConverterAttribute("System.ComponentModel.ComponentConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public partial interface IComponent : System.IDisposable
{
<Compile Include="System\ComponentModel\Component.cs" />
<Compile Include="System\ComponentModel\ComponentCollection.cs" />
<Compile Include="System\ComponentModel\DescriptionAttribute.cs" />
+ <Compile Include="System\ComponentModel\DesignerAttribute.cs" />
<Compile Include="System\ComponentModel\DesignerCategoryAttribute.cs" />
<Compile Include="System\ComponentModel\DesignerSerializationVisibility.cs" />
<Compile Include="System\ComponentModel\DesignerSerializationVisibilityAttribute.cs" />
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
public sealed class DesignerAttribute : Attribute
{
- private string _typeId;
+ private string? _typeId;
/// <summary>
/// Initializes a new instance of the <see cref='System.ComponentModel.DesignerAttribute'/> class using the name of the type that
public DesignerAttribute(string designerTypeName)
{
DesignerTypeName = designerTypeName ?? throw new ArgumentNullException(nameof(designerTypeName));
- DesignerBaseTypeName = typeof(IDesigner).FullName;
+ DesignerBaseTypeName = "System.ComponentModel.Design.IDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
}
/// <summary>
throw new ArgumentNullException(nameof(designerType));
}
- DesignerTypeName = designerType.AssemblyQualifiedName;
- DesignerBaseTypeName = typeof(IDesigner).FullName;
+ DesignerTypeName = designerType.AssemblyQualifiedName!;
+ DesignerBaseTypeName = "System.ComponentModel.Design.IDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
}
/// <summary>
}
DesignerTypeName = designerTypeName;
- DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName;
+ DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName!;
}
/// <summary>
throw new ArgumentNullException(nameof(designerBaseType));
}
- DesignerTypeName = designerType.AssemblyQualifiedName;
- DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName;
+ DesignerTypeName = designerType.AssemblyQualifiedName!;
+ DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName!;
}
/// <summary>
}
}
- public override bool Equals(object obj)
+ public override bool Equals(object? obj)
{
if (obj == this)
{
/// provided "site".
/// Provides functionality required by all components.
/// </summary>
+ [Designer("System.ComponentModel.Design.ComponentDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
+ [Designer("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
[TypeConverter("System.ComponentModel.ComponentConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public interface IComponent : IDisposable
{
<Compile Include="System\ComponentModel\ComponentCollectionTests.cs" />
<Compile Include="System\ComponentModel\ComponentTests.cs" />
<Compile Include="System\ComponentModel\DescriptionAttributeTests.cs" />
+ <Compile Include="System\ComponentModel\DesignerAttributeTests.cs" />
<Compile Include="System\ComponentModel\DesignerCategoryAttributeTests.cs" />
<Compile Include="System\ComponentModel\DesignerSerializationVisibilityAttributeTests.cs" />
<Compile Include="System\ComponentModel\DesignOnlyAttributeTests.cs" />
{
var attribute = new DesignerAttribute(designerTypeName);
Assert.Equal(designerTypeName, attribute.DesignerTypeName);
- Assert.Equal(typeof(IDesigner).FullName, attribute.DesignerBaseTypeName);
+ Assert.Equal("System.ComponentModel.Design.IDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", attribute.DesignerBaseTypeName);
}
[Theory]
{
var attribute = new DesignerAttribute(designerType);
Assert.Equal(designerType.AssemblyQualifiedName, attribute.DesignerTypeName);
- Assert.Equal(typeof(IDesigner).FullName, attribute.DesignerBaseTypeName);
+ Assert.Equal("System.ComponentModel.Design.IDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", attribute.DesignerBaseTypeName);
}
[Theory]
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Component))]
+[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DesignerAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.InvalidAsynchronousStateException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.InvalidEnumArgumentException))]
-[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Component))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ISupportInitialize))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.TypeConverterAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.TypeDescriptionProviderAttribute))]
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
- public sealed partial class DesignerAttribute : System.Attribute
- {
- public DesignerAttribute(string designerTypeName) { }
- public DesignerAttribute(string designerTypeName, string designerBaseTypeName) { }
- public DesignerAttribute(string designerTypeName, System.Type designerBaseType) { }
- public DesignerAttribute(System.Type designerType) { }
- public DesignerAttribute(System.Type designerType, System.Type designerBaseType) { }
- public string DesignerBaseTypeName { get { throw null; } }
- public string DesignerTypeName { get { throw null; } }
- public override object TypeId { get { throw null; } }
- public override bool Equals(object obj) { throw null; }
- public override int GetHashCode() { throw null; }
- }
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface)]
public sealed partial class DesignTimeVisibleAttribute : System.Attribute
{
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
}
+ [System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.ComponentModel.Design.IRootDesigner))]
[System.ComponentModel.DesignerCategoryAttribute("Component")]
[System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ComponentConverter))]
public partial class MarshalByValueComponent : System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider
internal TypeDescriptor() { }
[System.ObsoleteAttribute("This property has been deprecated. Use a type description provider to supply type information for COM types instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.ComponentModel.IComNativeDescriptorHandler ComNativeDescriptorHandler { get { throw null; } set { } }
- public static System.Type ComObjectType { get { throw null; } }
+ public static System.Type ComObjectType { [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] get { throw null; } }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public static System.Type InterfaceType { get { throw null; } }
+ public static System.Type InterfaceType { [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] get { throw null; } }
public static event System.ComponentModel.RefreshEventHandler Refreshed { add { } remove { } }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public static System.ComponentModel.TypeDescriptionProvider AddAttributes(object instance, params System.Attribute[] attributes) { throw null; }
<Compile Include="System\ComponentModel\DataObjectMethodAttribute.cs" />
<Compile Include="System\ComponentModel\DataObjectMethodType.cs" />
<Compile Include="System\ComponentModel\DefaultBindingPropertyAttribute.cs" />
- <Compile Include="System\ComponentModel\DesignerAttribute.cs" />
<Compile Include="System\ComponentModel\DesignTimeVisibleAttribute.cs" />
<Compile Include="System\ComponentModel\Design\IDesigner.cs" />
<Compile Include="System\ComponentModel\Design\DesignerVerbCollection.cs" />
<AssemblyVersion>9.9.9.9</AssemblyVersion>
<TargetFrameworks>$(NetCoreAppCurrent)</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
+ <ItemGroup>
<Compile Include="Drawing\ColorConverterTests.cs" />
<Compile Include="Drawing\PointConverterTests.cs" />
<Compile Include="Drawing\RectangleConverterTests.cs" />
<Compile Include="Drawing\SizeConverterTests.cs" />
<Compile Include="Drawing\SizeFConverterTests.cs" />
- </ItemGroup>
- <ItemGroup>
<Compile Include="Design\Serialization\ComponentSerializationServiceTests.cs" />
<Compile Include="Design\StandardCommandsTests.cs" />
<Compile Include="Extensions\EnumeratorExtensions.cs" />
<Compile Include="DefaultEventAttributeTests.cs" />
<Compile Include="EditorAttributeTests.cs" />
<Compile Include="DesignTimeVisibleAttributeTests.cs" />
- <Compile Include="DesignerAttributeTests.cs" />
<Compile Include="DefaultPropertyAttributeTests.cs" />
<Compile Include="Design\DesignerTransactionCloseEventArgsTests.cs" />
<Compile Include="Design\DesignerVerbTests.cs" />
{
internal ConstraintCollection() { }
public System.Data.Constraint this[int index] { get { throw null; } }
- public System.Data.Constraint this[string name] { get { throw null; } }
+ public System.Data.Constraint? this[string? name] { get { throw null; } }
protected override System.Collections.ArrayList List { get { throw null; } }
public event System.ComponentModel.CollectionChangeEventHandler? CollectionChanged { add { } remove { } }
public void Add(System.Data.Constraint constraint) { }
public System.Data.DataColumn this[int index] { get { throw null; } }
public System.Data.DataColumn? this[string name] { get { throw null; } }
protected override System.Collections.ArrayList List { get { throw null; } }
- public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } }
+ public event System.ComponentModel.CollectionChangeEventHandler? CollectionChanged { add { } remove { } }
public System.Data.DataColumn Add() { throw null; }
public void Add(System.Data.DataColumn column) { }
public System.Data.DataColumn Add(string? columnName) { throw null; }
{
protected DataRelationCollection() { }
public abstract System.Data.DataRelation this[int index] { get; }
- public abstract System.Data.DataRelation? this[string name] { get; }
+ public abstract System.Data.DataRelation? this[string? name] { get; }
public event System.ComponentModel.CollectionChangeEventHandler? CollectionChanged { add { } remove { } }
public virtual System.Data.DataRelation Add(System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn) { throw null; }
public virtual System.Data.DataRelation Add(System.Data.DataColumn[] parentColumns, System.Data.DataColumn[] childColumns) { throw null; }
public virtual void AddRange(System.Data.DataRelation[]? relations) { }
public virtual bool CanRemove(System.Data.DataRelation? relation) { throw null; }
public virtual void Clear() { }
- public virtual bool Contains(string name) { throw null; }
+ public virtual bool Contains(string? name) { throw null; }
public void CopyTo(System.Data.DataRelation[] array, int index) { }
protected abstract System.Data.DataSet GetDataSet();
public virtual int IndexOf(System.Data.DataRelation? relation) { throw null; }
public void Add(System.Data.DataRow row) { }
public System.Data.DataRow Add(params object?[] values) { throw null; }
public void Clear() { }
- public bool Contains(object key) { throw null; }
- public bool Contains(object[] keys) { throw null; }
+ public bool Contains(object? key) { throw null; }
+ public bool Contains(object?[] keys) { throw null; }
public override void CopyTo(System.Array ar, int index) { }
public void CopyTo(System.Data.DataRow[] array, int index) { }
public System.Data.DataRow? Find(object? key) { throw null; }
object System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd) { throw null; }
#nullable enable
}
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.DataSetDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultPropertyAttribute("DataSetName")]
[System.Xml.Serialization.XmlRootAttribute("DataSet")]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetDataSetSchema")]
public override bool NextResult() { throw null; }
public override bool Read() { throw null; }
}
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.DataViewDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultEventAttribute("PositionChanged")]
[System.ComponentModel.DefaultPropertyAttribute("Table")]
public partial class DataView : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.IBindingListView, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ITypedList
protected void UpdateIndex() { }
protected virtual void UpdateIndex(bool force) { }
}
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.DataViewManagerDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class DataViewManager : System.ComponentModel.MarshalByValueComponent, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList
{
public DataViewManager() { }
/// <summary>
/// Represents an in-memory cache of data.
/// </summary>
+ [Designer("Microsoft.VSDesigner.Data.VS.DataSetDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultProperty(nameof(DataSetName))]
[Serializable]
[XmlSchemaProvider(nameof(GetDataSetSchema))]
/// Represents a databindable, customized view of a <see cref='System.Data.DataTable'/>
/// for sorting, filtering, searching, editing, and navigation.
/// </summary>
+ [Designer("Microsoft.VSDesigner.Data.VS.DataViewDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultProperty(nameof(Table))]
[DefaultEvent("PositionChanged")]
public class DataView : MarshalByValueComponent, IBindingListView, System.ComponentModel.ITypedList, ISupportInitializeNotification
namespace System.Data
{
+ [Designer("Microsoft.VSDesigner.Data.VS.DataViewManagerDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public class DataViewManager : MarshalByValueComponent, IBindingList, System.ComponentModel.ITypedList
{
private DataViewSettingCollection _dataViewSettingsCollection;
namespace System.Data.Odbc
{
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.OdbcCommandDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed partial class OdbcCommand : System.Data.Common.DbCommand, System.ICloneable
{
public OdbcCommand() { }
public override object? ExecuteScalar() { throw null; }
public override void Prepare() { }
public void ResetCommandTimeout() { }
- object System.ICloneable.Clone() { throw null; }
+ object? System.ICloneable.Clone() { throw null; }
}
public sealed partial class OdbcCommandBuilder : System.Data.Common.DbCommandBuilder
{
public new System.Data.Odbc.OdbcCommand GetUpdateCommand() { throw null; }
public new System.Data.Odbc.OdbcCommand GetUpdateCommand(bool useColumnsForParameterNames) { throw null; }
public override string QuoteIdentifier(string unquotedIdentifier) { throw null; }
- public string QuoteIdentifier(string unquotedIdentifier, System.Data.Odbc.OdbcConnection connection) { throw null; }
+ public string QuoteIdentifier(string unquotedIdentifier, System.Data.Odbc.OdbcConnection? connection) { throw null; }
protected override void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter) { }
public override string UnquoteIdentifier(string quotedIdentifier) { throw null; }
- public string UnquoteIdentifier(string quotedIdentifier, System.Data.Odbc.OdbcConnection connection) { throw null; }
+ public string UnquoteIdentifier(string quotedIdentifier, System.Data.Odbc.OdbcConnection? connection) { throw null; }
}
public sealed partial class OdbcConnection : System.Data.Common.DbConnection, System.ICloneable
{
public OdbcConnection() { }
public OdbcConnection(string? connectionString) { }
- public override string? ConnectionString { get { throw null; } set { } }
+ [System.Diagnostics.CodeAnalysis.AllowNullAttribute]
+ public override string ConnectionString { get { throw null; } set { } }
[System.ComponentModel.DefaultValueAttribute(15)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new int ConnectionTimeout { get { throw null; } set { } }
public override void Clear() { }
public override bool ContainsKey(string keyword) { throw null; }
public override bool Remove(string keyword) { throw null; }
- public override bool TryGetValue(string keyword, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { throw null; }
+ public override bool TryGetValue(string keyword, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out object? value) { throw null; }
}
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed partial class OdbcDataAdapter : System.Data.Common.DbDataAdapter, System.Data.IDataAdapter, System.Data.IDbDataAdapter, System.ICloneable
{
public OdbcDataAdapter() { }
protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw null; }
protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value) { }
protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value) { }
- object System.ICloneable.Clone() { throw null; }
+ object? System.ICloneable.Clone() { throw null; }
}
public sealed partial class OdbcDataReader : System.Data.Common.DbDataReader
{
public OdbcParameter(string? name, System.Data.Odbc.OdbcType type) { }
public OdbcParameter(string? name, System.Data.Odbc.OdbcType type, int size) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- public OdbcParameter(string? parameterName, System.Data.Odbc.OdbcType odbcType, int size, System.Data.ParameterDirection parameterDirection, bool isNullable, byte precision, byte scale, string srcColumn, System.Data.DataRowVersion srcVersion, object? value) { }
+ public OdbcParameter(string? parameterName, System.Data.Odbc.OdbcType odbcType, int size, System.Data.ParameterDirection parameterDirection, bool isNullable, byte precision, byte scale, string? srcColumn, System.Data.DataRowVersion srcVersion, object? value) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public OdbcParameter(string? parameterName, System.Data.Odbc.OdbcType odbcType, int size, System.Data.ParameterDirection parameterDirection, byte precision, byte scale, string? sourceColumn, System.Data.DataRowVersion sourceVersion, bool sourceColumnNullMapping, object? value) { }
public OdbcParameter(string? name, System.Data.Odbc.OdbcType type, int size, string? sourcecolumn) { }
public override object? Value { get { throw null; } set { } }
public override void ResetDbType() { }
public void ResetOdbcType() { }
- object System.ICloneable.Clone() { throw null; }
+ object? System.ICloneable.Clone() { throw null; }
public override string ToString() { throw null; }
}
public sealed partial class OdbcParameterCollection : System.Data.Common.DbParameterCollection
namespace System.Data.Odbc
{
+ [Designer("Microsoft.VSDesigner.Data.VS.OdbcCommandDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class OdbcCommand : DbCommand, ICloneable
{
private static int s_objectTypeCount; // Bid counter
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
+using System.ComponentModel;
using System.Data.Common;
namespace System.Data.Odbc
{
+ [Designer("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class OdbcDataAdapter : DbDataAdapter, IDbDataAdapter, ICloneable
{
private static readonly object s_eventRowUpdated = new object();
namespace System.Data.OleDb
{
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.OleDbCommandDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed partial class OleDbCommand : System.Data.Common.DbCommand, System.Data.IDbCommand, System.ICloneable, System.IDisposable
{
public OleDbCommand() { }
protected override System.Data.Common.DbCommand CreateDbCommand() { throw null; }
protected override void Dispose(bool disposing) { }
public override void EnlistTransaction(System.Transactions.Transaction? transaction) { }
- public System.Data.DataTable GetOleDbSchemaTable(System.Guid schema, object?[]? restrictions) { throw null; }
+ public System.Data.DataTable? GetOleDbSchemaTable(System.Guid schema, object?[]? restrictions) { throw null; }
public override System.Data.DataTable GetSchema() { throw null; }
public override System.Data.DataTable GetSchema(string collectionName) { throw null; }
public override System.Data.DataTable GetSchema(string collectionName, string?[]? restrictionValues) { throw null; }
public override bool Remove(string keyword) { throw null; }
public override bool TryGetValue(string keyword, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { throw null; }
}
+ [System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.Data.VS.OleDbDataAdapterDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed partial class OleDbDataAdapter : System.Data.Common.DbDataAdapter, System.Data.IDataAdapter, System.Data.IDbDataAdapter, System.ICloneable
{
public OleDbDataAdapter() { }
public new System.Data.OleDb.OleDbCommand? UpdateCommand { get { throw null; } set { } }
public event System.Data.OleDb.OleDbRowUpdatedEventHandler? RowUpdated { add { } remove { } }
public event System.Data.OleDb.OleDbRowUpdatingEventHandler? RowUpdating { add { } remove { } }
- protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw null; }
- protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw null; }
+ protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw null; }
+ protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw null; }
public int Fill(System.Data.DataSet dataSet, object ADODBRecordSet, string srcTable) { throw null; }
public int Fill(System.Data.DataTable dataTable, object ADODBRecordSet) { throw null; }
protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value) { }
protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value) { }
- object System.ICloneable.Clone() { throw null; }
+ object? System.ICloneable.Clone() { throw null; }
}
public sealed partial class OleDbDataReader : System.Data.Common.DbDataReader
{
public override object? Value { get { throw null; } set { } }
public override void ResetDbType() { }
public void ResetOleDbType() { }
- object System.ICloneable.Clone() { throw null; }
+ object? System.ICloneable.Clone() { throw null; }
public override string ToString() { throw null; }
}
public sealed partial class OleDbParameterCollection : System.Data.Common.DbParameterCollection
}
public sealed partial class OleDbRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs
{
- public OleDbRowUpdatedEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { }
+ public OleDbRowUpdatedEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { }
public new System.Data.OleDb.OleDbCommand? Command { get { throw null; } }
}
public delegate void OleDbRowUpdatedEventHandler(object sender, System.Data.OleDb.OleDbRowUpdatedEventArgs e);
public sealed partial class OleDbRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs
{
- public OleDbRowUpdatingEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { }
+ public OleDbRowUpdatingEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.IDbCommand), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { }
protected override System.Data.IDbCommand? BaseCommand { get { throw null; } set { } }
public new System.Data.OleDb.OleDbCommand? Command { get { throw null; } set { } }
}
namespace System.Data.OleDb
{
+ [Designer("Microsoft.VSDesigner.Data.VS.OleDbCommandDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class OleDbCommand : DbCommand, ICloneable, IDbCommand
{
// command data
namespace System.Data.OleDb
{
+ [Designer("Microsoft.VSDesigner.Data.VS.OleDbDataAdapterDesigner, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class OleDbDataAdapter : DbDataAdapter, IDbDataAdapter, ICloneable
{
private static readonly object EventRowUpdated = new object();
public MonitoringDescriptionAttribute(string description) { }
public override string Description { get { throw null; } }
}
+ [System.ComponentModel.DesignerAttribute("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class Process : System.ComponentModel.Component, System.IDisposable
{
public Process() { }
public static System.Diagnostics.Process Start(string fileName, string arguments) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public static System.Diagnostics.Process Start(string fileName, string userName, System.Security.SecureString password, string domain) { throw null; }
+ public static System.Diagnostics.Process? Start(string fileName, string userName, System.Security.SecureString password, string domain) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public static System.Diagnostics.Process Start(string fileName, string arguments, string userName, System.Security.SecureString password, string domain) { throw null; }
+ public static System.Diagnostics.Process? Start(string fileName, string arguments, string userName, System.Security.SecureString password, string domain) { throw null; }
public override string ToString() { throw null; }
public void WaitForExit() { }
public bool WaitForExit(int milliseconds) { throw null; }
- public System.Threading.Tasks.Task WaitForExitAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; }
+ public System.Threading.Tasks.Task WaitForExitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public bool WaitForInputIdle() { throw null; }
public bool WaitForInputIdle(int milliseconds) { throw null; }
}
+ [System.ComponentModel.DesignerAttribute("System.Diagnostics.Design.ProcessModuleDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class ProcessModule : System.ComponentModel.Component
{
internal ProcessModule() { }
public System.Diagnostics.ProcessWindowStyle WindowStyle { get { throw null; } set { } }
public string WorkingDirectory { get { throw null; } set { } }
}
+ [System.ComponentModel.DesignerAttribute("System.Diagnostics.Design.ProcessThreadDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class ProcessThread : System.ComponentModel.Component
{
internal ProcessThread() { }
/// processes. Enables you to start and stop system processes.
/// </para>
/// </devdoc>
+ [Designer("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class Process : Component
{
private bool _haveProcessId;
/// a particular process. Using this component, you can determine
/// information about the module.
/// </devdoc>
+ [Designer("System.Diagnostics.Design.ProcessModuleDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public class ProcessModule : Component
{
private FileVersionInfo? _fileVersionInfo;
/// returned from the System.Diagnostics.Process.ProcessThread property of the System.Diagnostics.Process component.
/// </para>
/// </devdoc>
+ [Designer("System.Diagnostics.Design.ProcessThreadDesigner, System.Design, Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class ProcessThread : Component
{
private readonly bool _isRemoteMachine;
public void ServiceMainCallback(int argCount, System.IntPtr argPointer) { }
public void Stop() { }
}
+ [System.ComponentModel.DesignerAttribute("System.ServiceProcess.Design.ServiceControllerDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public partial class ServiceController : System.ComponentModel.Component
{
public ServiceController() { }
{
/// This class represents an NT service. It allows you to connect to a running or stopped service
/// and manipulate it or get information about it.
+ [Designer("System.ServiceProcess.Design.ServiceControllerDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public class ServiceController : Component
{
private string _machineName; // Never null