42 references to DefaultValue
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
295[DefaultValue(typeof(TimeSpan), HttpTransportDefaults.RequestInitializationTimeoutString)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (3)
50[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.AcknowledgementIntervalString)] 86[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.InactivityTimeoutString)] 169[DefaultValue(typeof(ReliableMessagingVersion), ReliableSessionDefaults.ReliableMessagingVersionString)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
56[DefaultValue(typeof(TimeSpan), WebSocketDefaults.DefaultKeepAliveIntervalString)]
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1199[DefaultValue(typeof(decimal), "123.456")]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1374[DefaultValue(typeof(decimal), "123.456")]
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\StringEnumConverter.cs (1)
59/// This is required to support <see cref="DefaultValueAttribute(Type, string)"/>.
Protocol\InitializeParams.cs (1)
110[DefaultValue(typeof(TraceSetting), "off")]
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
56[DefaultValue(typeof(TimeSpan), WebSocketDefaults.DefaultKeepAliveIntervalString)]
System.ServiceModel.NetTcp (1)
System\ServiceModel\MessageSecurityOverTcp.cs (1)
52[DefaultValue(typeof(SecurityAlgorithmSuite), nameof(SecurityAlgorithmSuite.Default))]
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (3)
45[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.AcknowledgementIntervalString)] 73[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.InactivityTimeoutString)] 149[DefaultValue(typeof(ReliableMessagingVersion), ReliableSessionDefaults.ReliableMessagingVersionString)]
System.Windows.Forms (27)
System\Windows\Forms\Control.cs (1)
745[DefaultValue(typeof(Point), "0, 0")]
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (4)
65[DefaultValue(typeof(Color), "")] 93[DefaultValue(typeof(Color), "")] 117[DefaultValue(typeof(Color), "")] 141[DefaultValue(typeof(Color), "")]
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (13)
405[DefaultValue(typeof(Color), "ControlText")] 487[DefaultValue(typeof(Color), "ControlDark")] 626[DefaultValue(typeof(Color), "Control")] 638[DefaultValue(typeof(Color), "ControlText")] 650[DefaultValue(typeof(Color), "ControlDark")] 698[DefaultValue(typeof(Color), "Highlight")] 717[DefaultValue(typeof(Color), "HighlightText")] 736[DefaultValue(typeof(Color), "GrayText")] 752[DefaultValue(typeof(Color), "Control")] 788[DefaultValue(typeof(Color), "InactiveBorder")] 1267[DefaultValue(typeof(Color), "Window")] 1280[DefaultValue(typeof(Color), "WindowText")] 1296[DefaultValue(typeof(Color), "ControlDark")]
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
353[DefaultValue(typeof(Size), "0, 0")]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
905[DefaultValue(typeof(Size), "16,16")]
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
851[DefaultValue(typeof(Color), "Black")]
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
94[DefaultValue(typeof(Color), "Black")]
System\Windows\Forms\Form.cs (1)
1183[DefaultValue(typeof(Size), "0, 0")]
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
133[DefaultValue(typeof(Point), "0, 0")]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
222[DefaultValue(typeof(TableLayoutPanelCellPosition), "-1,-1")] // if change this value, also change the SerializeViaAdd in TableLayoutControlCollectionCodeDomSerializer
System\Windows\Forms\ToolTip\ToolTip.cs (2)
174[DefaultValue(typeof(Color), "Info")] 238[DefaultValue(typeof(Color), "InfoText")]
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
145[DefaultValue(typeof(Point), "0, 0")]