1517 instantiations of DefaultValue
BasicWebSite (1)
Controllers\DefaultValuesController.cs (1)
12public string EchoValue_DefaultValueAttribute([DefaultValue("hello")] string input)
dotnet-svcutil-lib (171)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (4)
282[XmlAttribute("attributeFormDefault"), DefaultValue(XmlSchemaForm.None)] 293[XmlAttribute("blockDefault"), DefaultValue(XmlSchemaDerivationMethod.None)] 304[XmlAttribute("finalDefault"), DefaultValue(XmlSchemaDerivationMethod.None)] 315[XmlAttribute("elementFormDefault"), DefaultValue(XmlSchemaForm.None)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAny.cs (1)
40[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAnyAttribute.cs (1)
40[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (4)
42[DefaultValue(null)] 54[DefaultValue(null)] 65[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)] 120[XmlAttribute("use"), DefaultValue(XmlSchemaUse.None)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (3)
138[XmlAttribute("abstract"), DefaultValue(false)] 162[XmlAttribute("block"), DefaultValue(XmlSchemaDerivationMethod.None)] 173[XmlAttribute("mixed"), DefaultValue(false)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (8)
52[XmlAttribute("abstract"), DefaultValue(false)] 67[XmlAttribute("block"), DefaultValue(XmlSchemaDerivationMethod.None)] 79[DefaultValue(null)] 90[XmlAttribute("final"), DefaultValue(XmlSchemaDerivationMethod.None)] 102[DefaultValue(null)] 113[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)] 124[XmlAttribute("name"), DefaultValue("")] 135[XmlAttribute("nillable"), DefaultValue(false)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaFacet.cs (1)
47[XmlAttribute("fixed"), DefaultValue(false)]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaIdentityConstraint.cs (1)
100[XmlAttribute("xpath"), DefaultValue("")]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (1)
106[XmlAttribute("final"), DefaultValue(XmlSchemaDerivationMethod.None)]
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReaderQuotas.cs (5)
88[DefaultValue(DefaultMaxStringContentLength)] 106[DefaultValue(DefaultMaxArrayLength)] 124[DefaultValue(DefaultMaxBytesPerRead)] 143[DefaultValue(DefaultMaxDepth)] 162[DefaultValue(DefaultMaxNameTableCharCount)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (4)
48[DefaultValue(EncoderDefaults.DefaultCompressionFormat)] 97[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 115[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 147[DefaultValue(BinaryEncoderDefaults.MaxSessionSize)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
30[DefaultValue(null)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (4)
45[DefaultValue(ConnectionOrientedTransportDefaults.ConnectionBufferSize)] 77[DefaultValue(ConnectionOrientedTransportDefaults.HostNameComparisonMode)] 93[DefaultValue(TransportDefaults.MaxBufferSize)] 134[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElement.cs (4)
66[DefaultValue(null)] 73[DefaultValue(DefaultContextExchangeMechanism)] 90[DefaultValue(DefaultContextManagementEnabled)] 103[DefaultValue(DefaultProtectionLevel)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
38[DefaultValue(TransportDefaults.RequireClientCertificate)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (11)
86[DefaultValue(HttpTransportDefaults.AllowCookies)] 99[DefaultValue(HttpTransportDefaults.AuthenticationScheme)] 113[DefaultValue(HttpTransportDefaults.DecompressionEnabled)] 126[DefaultValue(HttpTransportDefaults.HostNameComparisonMode)] 190[DefaultValue(HttpTransportDefaults.KeepAliveEnabled)] 205[DefaultValue(TransportDefaults.MaxBufferSize)] 233[DefaultValue(HttpTransportDefaults.DefaultMaxPendingAccepts)] 277[DefaultValue(HttpTransportDefaults.Realm)] 295[DefaultValue(typeof(TimeSpan), HttpTransportDefaults.RequestInitializationTimeoutString)] 321[DefaultValue(HttpTransportDefaults.TransferMode)] 363[DefaultValue(HttpTransportDefaults.UnsafeConnectionNtlmAuthentication)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
63[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 80[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 105[DefaultValue(MtomEncoderDefaults.MaxBufferSize)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElement.cs (2)
35[DefaultValue(OneWayDefaults.MaxAcceptedChannels)] 51[DefaultValue(OneWayDefaults.PacketRoutable)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
50[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.AcknowledgementIntervalString)] 73[DefaultValue(ReliableSessionDefaults.FlowControlEnabled)] 86[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.InactivityTimeoutString)] 109[DefaultValue(ReliableSessionDefaults.MaxPendingChannels)] 125[DefaultValue(ReliableSessionDefaults.MaxRetryCount)] 140[DefaultValue(ReliableSessionDefaults.MaxTransferWindowSize)] 156[DefaultValue(ReliableSessionDefaults.Ordered)] 169[DefaultValue(typeof(ReliableMessagingVersion), ReliableSessionDefaults.ReliableMessagingVersionString)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
56[DefaultValue(TransportDefaults.RequireClientCertificate)] 69[DefaultValue(TransportDefaults.SslProtocols)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
34[DefaultValue(TcpTransportDefaults.PortSharingEnabled)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
53[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 71[DefaultValue(EncoderDefaults.MaxWritePoolSize)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
161[DefaultValue(false)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElement.cs (3)
34[DefaultValue(TransportDefaults.ManualAddressing)] 48[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 66[DefaultValue(TransportDefaults.MaxReceivedMessageSize)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpRetransmissionSettings.cs (2)
84[DefaultValue(UdpConstants.Defaults.MaxUnicastRetransmitCount)] 102[DefaultValue(UdpConstants.Defaults.MaxMulticastRetransmitCount)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportBindingElement.cs (5)
52[DefaultValue(UdpConstants.Defaults.DuplicateMessageHistoryLength)] 68[DefaultValue(UdpConstants.Defaults.DefaultMaxPendingMessagesTotalSize)] 89[DefaultValue(UdpConstants.Defaults.MulticastInterfaceId)] 114[DefaultValue(UdpConstants.Defaults.SocketReceiveBufferSize)] 130[DefaultValue(UdpConstants.Defaults.TimeToLive)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (3)
41[DefaultValue(WebSocketDefaults.TransportUsage)] 56[DefaultValue(typeof(TimeSpan), WebSocketDefaults.DefaultKeepAliveIntervalString)] 86[DefaultValue(WebSocketDefaults.SubProtocol)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
30[DefaultValue(ConnectionOrientedTransportDefaults.ProtectionLevel)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (2)
50[DefaultValue(null)] 126[DefaultValue(SessionMode.Allowed)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageBodyDescription.cs (3)
46[DefaultValue(null)] 53[DefaultValue(null)] 60[DefaultValue(null)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (1)
141[DefaultValue(null)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageHeaderDescription.cs (4)
37[DefaultValue(null)] 44[DefaultValue(false)] 51[DefaultValue(false)] 58[DefaultValue(false)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (1)
106[DefaultValue(false)]
FrameworkFork\System.ServiceModel\System\ServiceModel\FederatedMessageSecurityOverHttp.cs (4)
77[DefaultValue(null)] 84[DefaultValue(null)] 91[DefaultValue(null)] 104[DefaultValue(null)]
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (6)
34[DefaultValue(HttpTransportDefaults.AllowCookies)] 49[DefaultValue(HttpTransportDefaults.HostNameComparisonMode)] 64[DefaultValue(TransportDefaults.MaxBufferSize)] 80[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 95[DefaultValue(TransportDefaults.MaxReceivedMessageSize)] 157[DefaultValue(HttpTransportDefaults.TransferMode)]
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (2)
30[DefaultValue(MessageSecurityOverTcp.DefaultClientCredentialType)] 44[DefaultValue(typeof(SecurityAlgorithmSuite))]
FrameworkFork\System.ServiceModel\System\ServiceModel\NamedPipeTransportSecurity.cs (1)
22[DefaultValue(ConnectionOrientedTransportDefaults.ProtectionLevel)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
53[DefaultValue(NetHttpMessageEncoding.Binary)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetNamedPipeBinding.cs (6)
37[DefaultValue(TransactionFlowDefaults.Transactions)] 50[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)] 57[DefaultValue(ConnectionOrientedTransportDefaults.HostNameComparisonMode)] 64[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 74[DefaultValue(TransportDefaults.MaxBufferSize)] 87[DefaultValue(TransportDefaults.MaxReceivedMessageSize)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetNamedPipeSecurity.cs (1)
27[DefaultValue(DefaultMode)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpBinding.cs (6)
54[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)] 61[DefaultValue(ConnectionOrientedTransportDefaults.HostNameComparisonMode)] 68[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 78[DefaultValue(TransportDefaults.MaxBufferSize)] 85[DefaultValue(TransportDefaults.MaxReceivedMessageSize)] 92[DefaultValue(TcpTransportDefaults.PortSharingEnabled)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpContextBinding.cs (3)
34[DefaultValue(null)] 41[DefaultValue(ContextBindingElement.DefaultContextManagementEnabled)] 54[DefaultValue(ContextBindingElement.DefaultProtectionLevel)]
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpSecurity.cs (1)
39[DefaultValue(DefaultMode)]
FrameworkFork\System.ServiceModel\System\ServiceModel\TcpTransportSecurity.cs (3)
29[DefaultValue(DefaultClientCredentialType)] 43[DefaultValue(DefaultProtectionLevel)] 58[DefaultValue(TransportDefaults.SslProtocols)]
FrameworkFork\System.ServiceModel\System\ServiceModel\UdpBinding.cs (7)
41[DefaultValue(UdpConstants.Defaults.DuplicateMessageHistoryLength)] 54[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 67[DefaultValue(UdpConstants.Defaults.MaxRetransmitCount)] 81[DefaultValue(UdpConstants.Defaults.DefaultMaxPendingMessagesTotalSize)] 94[DefaultValue(UdpConstants.Defaults.MaxReceivedMessageSize)] 107[DefaultValue(UdpConstants.Defaults.MulticastInterfaceId)] 134[DefaultValue(UdpConstants.Defaults.TimeToLive)]
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpBinding.cs (2)
64[DefaultValue(null)] 71[DefaultValue(0)]
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (1)
55[DefaultValue(HttpTransportDefaults.AllowCookies)]
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBindingBase.cs (5)
45[DefaultValue(false)] 52[DefaultValue(HttpTransportDefaults.HostNameComparisonMode)] 63[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 74[DefaultValue(TransportDefaults.MaxReceivedMessageSize)] 92[DefaultValue(WSHttpBindingDefaults.MessageEncoding)]
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpContextBinding.cs (3)
42[DefaultValue(null)] 49[DefaultValue(ContextBindingElement.DefaultContextManagementEnabled)] 62[DefaultValue(ContextBindingElement.DefaultProtectionLevel)]
FrameworkFork\System.Web.Services\Services\Description\MimeFormatExtensions.cs (3)
178[XmlAttribute("group"), DefaultValue(1)] 190[XmlAttribute("capture"), DefaultValue(0)] 214[XmlAttribute("repeats"), DefaultValue("1")]
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (2)
1219[XmlAttribute("parameterOrder"), DefaultValue("")] 1805[XmlAttribute("required", Namespace = ServiceDescription.Namespace), DefaultValue(false)]
FrameworkFork\System.Web.Services\Services\Description\Soap12FormatExtensions.cs (1)
30[XmlAttribute("soapActionRequired"), DefaultValue(false)]
FrameworkFork\System.Web.Services\Services\Description\SoapFormatExtensions.cs (13)
39[XmlAttribute("style"), DefaultValue(SoapBindingStyle.Document)] 93[XmlAttribute("style"), DefaultValue(SoapBindingStyle.Default)] 111[XmlAttribute("use"), DefaultValue(SoapBindingUse.Default)] 119[XmlAttribute("namespace"), DefaultValue("")] 127[XmlAttribute("encodingStyle"), DefaultValue("")] 192[XmlAttribute("use"), DefaultValue(SoapBindingUse.Default)] 215[XmlAttribute("encodingStyle"), DefaultValue("")] 260[XmlAttribute("use"), DefaultValue(SoapBindingUse.Default)] 268[XmlAttribute("encodingStyle"), DefaultValue("")] 276[XmlAttribute("namespace"), DefaultValue("")] 318[XmlAttribute("use"), DefaultValue(SoapBindingUse.Default)] 326[XmlAttribute("encodingStyle"), DefaultValue("")] 334[XmlAttribute("namespace"), DefaultValue("")]
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (2)
37[DefaultValue(CodeGenerationOptions.GenerateOldAsync)] 70[DefaultValue(ServiceDescriptionImportStyle.Client)]
GenerateDocumentationAndConfigFiles (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
BlazorWebView.cs (2)
74 [DefaultValue(null)] 90 [DefaultValue("/")]
Microsoft.AspNetCore.Mvc.Core.Test (11)
Infrastructure\ControllerActionInvokerTest.cs (2)
1916public string EchoWithDefaultValue([DefaultValue("hello")] string input) 1921public string EchoWithDefaultValueAndAttribute([DefaultValue("hello")] string input = "world")
Infrastructure\ParameterDefaultValuesTest.cs (5)
45[DefaultValue("hello")] string input1, 46[DefaultValue(true)] bool input2, 47[DefaultValue(10)] int input3) 59[DefaultValue("Hi")] string input1 = "hello", 60[DefaultValue(10)] int input3 = 20)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1199[DefaultValue(typeof(decimal), "123.456")] 1204[DefaultValue("default")]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1374[DefaultValue(typeof(decimal), "123.456")] 1379[DefaultValue("default")]
Microsoft.AspNetCore.OpenApi.Tests (17)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (13)
166[([DefaultValue(2)] int id) => { }, (JsonNode defaultValue) => Assert.Equal(2, defaultValue.GetValue<int>())], 167[([DefaultValue(3f)] float id) => { }, (JsonNode defaultValue) => Assert.Equal(3, defaultValue.GetValue<int>())], 168[([DefaultValue("test")] string id) => { }, (JsonNode defaultValue) => Assert.Equal("test", defaultValue.GetValue<string>())], 169[([DefaultValue(true)] bool id) => { }, (JsonNode defaultValue) => Assert.True(defaultValue.GetValue<bool>())], 170[([DefaultValue(TaskStatus.Canceled)] TaskStatus status) => { }, (JsonNode defaultValue) => Assert.Equal(6, defaultValue.GetValue<int>())], 171[([DefaultValue(Status.Pending)] Status status) => { }, (JsonNode defaultValue) => Assert.Equal("Pending", defaultValue.GetValue<string>())], 172[([DefaultValue(null)] int? id) => { }, (JsonNode defaultValue) => Assert.True(defaultValue is null)], 173[([DefaultValue(2)] int? id) => { }, (JsonNode defaultValue) => Assert.Equal(2, defaultValue.GetValue<int>())], 174[([DefaultValue(null)] string? id) => { }, (JsonNode defaultValue) => Assert.True(defaultValue is null)], 175[([DefaultValue("foo")] string? id) => { }, (JsonNode defaultValue) => Assert.Equal("foo", defaultValue.GetValue<string>())], 176[([DefaultValue(null)] TaskStatus? status) => { }, (JsonNode defaultValue) => Assert.True(defaultValue is null)], 177[([DefaultValue(TaskStatus.Canceled)] TaskStatus? status) => { }, (JsonNode defaultValue) => Assert.Equal(6, defaultValue.GetValue<int>())], 1000[DefaultValue(20)]
Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs (1)
1072[DefaultValue(32)]
Shared\SharedTypes.cs (3)
182[DefaultValue(null)] 187[DefaultValue(null)] 195[DefaultValue(true)]
Microsoft.CodeAnalysis.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Protocol\CompletionItem.cs (2)
58[DefaultValue(CompletionItemKind.None)] 188[DefaultValue(InsertTextFormat.Plaintext)]
Protocol\Converters\StringEnumConverter.cs (1)
59/// This is required to support <see cref="DefaultValueAttribute(Type, string)"/>.
Protocol\DocumentHighlight.cs (1)
37[DefaultValue(DocumentHighlightKind.Text)]
Protocol\InitializeParams.cs (1)
110[DefaultValue(typeof(TraceSetting), "off")]
Protocol\Internal\VSInternalCompletionContext.cs (1)
22[DefaultValue(VSInternalCompletionInvokeKind.Explicit)]
Protocol\Internal\VSInternalDocumentOnAutoInsertResponseItem.cs (1)
21[DefaultValue(InsertTextFormat.Plaintext)]
Protocol\TextDocumentSyncOptions.cs (1)
33[DefaultValue(TextDocumentSyncKind.None)]
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Microsoft.Extensions.AI.Abstractions.Tests (3)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
1151public ClassWithComponentModelAttributes(string stringValue, [DefaultValue(42)] int intValue)
Utilities\AIJsonUtilitiesTests.cs (2)
476[DefaultValue(5)] int valueWithDefaultValueAttr, 477[Required, DefaultValue(5)] int valueWithDefaultValueAttrRequired,
Microsoft.Extensions.AI.Tests (4)
Functions\AIFunctionFactoryTest.cs (4)
68AIFunction funcNull = AIFunctionFactory.Create(([DefaultValue(null)] string? text) => text ?? "was null"); 83AIFunction funcValue = AIFunctionFactory.Create(([DefaultValue("default")] string text) => text); 92AIFunction funcInt = AIFunctionFactory.Create(([DefaultValue(42)] int x) => x * 2); 101AIFunction funcBoth = AIFunctionFactory.Create(([DefaultValue(100)] int y = 50) => y);
Microsoft.Maui.Graphics (4)
Size.cs (2)
35 [DefaultValue(0d)] 38 [DefaultValue(0d)]
SizeF.cs (2)
35 [DefaultValue(0f)] 38 [DefaultValue(0f)]
PresentationCore (8)
System\Windows\Input\InputScope.cs (2)
44[DefaultValue(null)] 62[DefaultValue(null)]
System\Windows\Media\Animation\ParallelTimeline.cs (1)
165[DefaultValue(SlipBehavior.Grow)]
System\Windows\Media\Animation\Timeline.cs (3)
248[DefaultValue(false)] 503[DefaultValue((string)null)] 582[DefaultValue((double)1.0)]
System\Windows\Media\ContainerVisual.cs (2)
121[DefaultValue(null)] 131[DefaultValue(null)]
PresentationFramework (89)
System\Windows\Condition.cs (3)
75[DefaultValue(null)] 98[DefaultValue(null)] 153[DefaultValue(null)]
System\Windows\Controls\AccessText.cs (1)
140[DefaultValue("")]
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
97[DefaultValue(null)]
System\Windows\Controls\Decorator.cs (1)
101[DefaultValue(null)]
System\Windows\Controls\GroupStyle.cs (7)
113[DefaultValue(null)] 124[DefaultValue(null)] 134[DefaultValue(null)] 145[DefaultValue(null)] 156[DefaultValue(null)] 167[DefaultValue(false)] 178[DefaultValue(0)]
System\Windows\Controls\PasswordBox.cs (2)
144[DefaultValue("")] 253[DefaultValue((int)0)]
System\Windows\Controls\RadioButton.cs (1)
202[DefaultValue("")]
System\Windows\Controls\Stack.cs (2)
338[DefaultValue(false)] 361[DefaultValue(false)]
System\Windows\Controls\TextBox.cs (6)
617[DefaultValue(1)] 642[DefaultValue(Int32.MaxValue)] 671[DefaultValue("")] 732[DefaultValue((int)0)] 792[DefaultValue((int)0)] 833[DefaultValue((int)0)]
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1805[DefaultValue(false)] 1828[DefaultValue(false)]
System\Windows\ControlTemplate.cs (1)
84[DefaultValue(null)]
System\Windows\Data\Binding.cs (17)
239[DefaultValue(false)] 258[DefaultValue(false)] 277[DefaultValue(true)] 333[DefaultValue(null)] 341[DefaultValue(BindingMode.Default)] 370[DefaultValue(UpdateSourceTrigger.Default)] 398[DefaultValue(false)] 418[DefaultValue(false)] 437[DefaultValue(false)] 456[DefaultValue(null)] 467[DefaultValue(null)] 475[DefaultValue(null)] 536[DefaultValue(null)] 555[DefaultValue(null)] 574[DefaultValue(false)] 582[DefaultValue(null)] 601[DefaultValue(false)]
System\Windows\Data\BindingBase.cs (3)
119[System.ComponentModel.DefaultValue(null)] 146[DefaultValue("")] 160[DefaultValue(0)]
System\Windows\Data\BindingListCollectionView.cs (1)
360[DefaultValue(null)]
System\Windows\Data\ListCollectionView.cs (1)
474[DefaultValue(null)]
System\Windows\Data\MultiBinding.cs (11)
96[DefaultValue(BindingMode.Default)] 120[DefaultValue(UpdateSourceTrigger.PropertyChanged)] 144[DefaultValue(false)] 164[DefaultValue(false)] 183[DefaultValue(false)] 202[DefaultValue(null)] 213[DefaultValue(null)] 221[DefaultValue(null)] 272[DefaultValue(false)] 291[DefaultValue(false)] 310[DefaultValue(true)]
System\Windows\Data\ObjectDataProvider.cs (2)
198[DefaultValue(null)] 264[DefaultValue(false)]
System\Windows\Data\PropertyGroupDescription.cs (3)
118[DefaultValue(null)] 136[DefaultValue(null)] 149[DefaultValue(StringComparison.Ordinal)]
System\Windows\Data\XmlDataProvider.cs (2)
172[DefaultValue(null)] 193[DefaultValue(true)]
System\Windows\DataTemplate.cs (1)
66[DefaultValue(null)]
System\Windows\Documents\PageContent.cs (1)
254[DefaultValue(null)]
System\windows\Documents\Section.cs (1)
71[DefaultValue(true)]
System\Windows\EventTrigger.cs (1)
117[DefaultValue(null)]
System\Windows\FrameworkTemplate.cs (1)
179[DefaultValue(null)]
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
989_nullDefaultValueAttribute = new DefaultValueAttribute(null);
System\Windows\Media\Animation\BeginStoryboard.cs (3)
44[DefaultValue(null)] 63[DefaultValue(HandoffBehavior.SnapshotAndReplace)] 91[DefaultValue(null)]
System\Windows\Media\Animation\ControllableStoryboardAction.cs (1)
37[DefaultValue(null)]
System\Windows\Media\Animation\SeekStoryboard.cs (1)
61[DefaultValue(TimeSeekOrigin.BeginTime)]
System\Windows\Media\Animation\SetStoryboardSpeedRatio.cs (1)
26[DefaultValue(1.0)]
System\Windows\Navigation\NavigationWindow.cs (1)
605[DefaultValue(null)]
System\Windows\ResourceDictionary.cs (1)
368[DefaultValue(false)]
System\Windows\Setter.cs (2)
133[DefaultValue(null)] 201[DefaultValue(null)]
System\Windows\Style.cs (1)
179[DefaultValue(null)]
System\Windows\TemplateBindingExtension.cs (2)
80[DefaultValue(null)] 94[DefaultValue(null)]
System\Windows\Trigger.cs (1)
98[DefaultValue(null)]
System\Windows\Window.cs (2)
1095[DefaultValue(WindowStartupLocation.Manual)] 1209[DefaultValue(null)]
Roslyn.Diagnostics.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
Sample (3)
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.cs (3)
182[DefaultValue(null)] 187[DefaultValue(null)] 195[DefaultValue(true)]
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
1151public ClassWithComponentModelAttributes(string stringValue, [DefaultValue(42)] int intValue)
System.ComponentModel.TypeConverter (4)
System\Timers\Timer.cs (4)
79[TimersDescription(TimersDescriptionStringId.TimerAutoReset), DefaultValue(true)] 102[TimersDescription(TimersDescriptionStringId.TimerEnabled), DefaultValue(false)] 164[TimersDescription(TimersDescriptionStringId.TimerInterval), DefaultValue(100d)] 213[DefaultValue(null), TimersDescription(TimersDescriptionStringId.TimerSynchronizingObject)]
System.Data.Common (70)
System\Data\Common\DataAdapter.cs (6)
51[DefaultValue(true)] 70[DefaultValue(true)] 77[DefaultValue(false)] 118[DefaultValue(System.Data.MissingMappingAction.Passthrough)] 137[DefaultValue(Data.MissingSchemaAction.Add)] 159[DefaultValue(false)]
System\Data\Common\DataColumnMapping.cs (2)
30[DefaultValue("")] 50[DefaultValue("")]
System\Data\Common\DataTableMapping.cs (2)
62[DefaultValue("")] 82[DefaultValue("")]
System\Data\Common\DbCommand.cs (6)
17[DefaultValue("")] 24[DefaultValue(System.Data.CommandType.Text)] 29[DefaultValue(null)] 53[DefaultValue(true)] 66[DefaultValue(null)] 80[DefaultValue(System.Data.UpdateRowSource.Both)]
System\Data\Common\DBCommandBuilder.cs (7)
339[DefaultValueAttribute(ConflictOption.CompareAllSearchableValues)] 361[DefaultValueAttribute(CatalogLocation.Start)] 386[DefaultValueAttribute(DbCommandBuilder.NameSeparator)] 459[DefaultValueAttribute("")] 474[DefaultValueAttribute("")] 493[DefaultValueAttribute(DbCommandBuilder.NameSeparator)] 512[DefaultValueAttribute(false)]
System\Data\Common\DbConnection.cs (1)
21[DefaultValue("")]
System\Data\Common\DbDataAdapter.cs (1)
147[DefaultValue(1)]
System\Data\Common\DbParameter.cs (6)
21[DefaultValue(ParameterDirection.Input)] 30[DefaultValue("")] 60[DefaultValue("")] 64[DefaultValue(false)] 69[DefaultValue(DataRowVersion.Current)] 76[DefaultValue(null)]
System\Data\Constraint.cs (1)
28[DefaultValue("")]
System\Data\DataColumn.cs (13)
187[DefaultValue(true)] 219[DefaultValue(false)] 279[DefaultValue((long)0)] 297[DefaultValue((long)1)] 351[DefaultValue("")] 420[DefaultValue("")] 473[DefaultValue(typeof(string))] 596[DefaultValue(DataSetDateTime.UnspecifiedLocal)] 709[DefaultValue("")] 914[DefaultValue(-1)] 1051[DefaultValue(false)] 1203[DefaultValue(false)] 1293[DefaultValue(MappingType.Element)]
System\Data\DataRelation.cs (2)
348[DefaultValue("")] 462[DefaultValue(false)]
System\Data\DataSet.cs (6)
110[DefaultValue(SerializationFormat.Xml)] 629[DefaultValue(false)] 681[DefaultValue(true)] 752[DefaultValue("")] 778[DefaultValue("")] 819[DefaultValue("")]
System\Data\DataTable.cs (5)
1139[DefaultValue(SerializationFormat.Xml)] 1274[DefaultValue("")] 1519[DefaultValue(50)] 1769[DefaultValue("")] 2063[DefaultValue("")]
System\Data\DataView.cs (8)
196[DefaultValue(true)] 214[DefaultValue(false)] 234[DefaultValue(true)] 253[DefaultValue(true)] 303[DefaultValue("")] 377[DefaultValue(DataViewRowState.CurrentRows)] 411[DefaultValue("")] 468[DefaultValue(null)]
System\Data\DataViewManager.cs (1)
43[DefaultValue(null)]
System\Data\ForeignKeyConstraint.cs (3)
659[DefaultValue(AcceptRejectRule_Default)] 830[DefaultValue(Rule_Default)] 935[DefaultValue(Rule_Default)]
System.Data.Odbc (5)
System\Data\Odbc\OdbcCommand.cs (3)
210DefaultValue(System.Data.CommandType.Text), 294DefaultValue(true), 360DefaultValue(System.Data.UpdateRowSource.Both),
System\Data\Odbc\OdbcConnection.cs (1)
64DefaultValue(ADP.DefaultConnectionTimeout),
System\Data\Odbc\OdbcParameter.cs (1)
176DefaultValue(OdbcType.NChar),
System.Data.OleDb (13)
artifacts\obj\System.Data.OleDb\Debug\net11.0\System.Data.OleDb.notsupported.cs (13)
20[System.ComponentModel.DefaultValueAttribute("")] 26[System.ComponentModel.DefaultValueAttribute(System.Data.CommandType.Text)] 29[System.ComponentModel.DefaultValueAttribute(null)] 36[System.ComponentModel.DefaultValueAttribute(true)] 45[System.ComponentModel.DefaultValueAttribute(System.Data.UpdateRowSource.Both)] 67[System.ComponentModel.DefaultValueAttribute(null)] 94[System.ComponentModel.DefaultValueAttribute("")] 172[System.ComponentModel.DefaultValueAttribute(null)] 175[System.ComponentModel.DefaultValueAttribute(null)] 178[System.ComponentModel.DefaultValueAttribute(null)] 185[System.ComponentModel.DefaultValueAttribute(null)] 389[System.ComponentModel.DefaultValueAttribute((byte)0)] 391[System.ComponentModel.DefaultValueAttribute((byte)0)]
System.Diagnostics.EventLog (5)
artifacts\obj\System.Diagnostics.EventLog\Debug\net11.0\System.Diagnostics.EventLog.notsupported.cs (5)
32[System.ComponentModel.DefaultValueAttribute(false)] 37[System.ComponentModel.DefaultValueAttribute("")] 43[System.ComponentModel.DefaultValueAttribute(".")] 54[System.ComponentModel.DefaultValueAttribute("")] 59[System.ComponentModel.DefaultValueAttribute(null)]
System.Diagnostics.Process (2)
System\Diagnostics\ProcessStartInfo.cs (2)
163[DefaultValue("")] 171[DefaultValueAttribute(System.Diagnostics.ProcessWindowStyle.Normal)]
System.DirectoryServices (31)
artifacts\obj\System.DirectoryServices\Debug\net11.0\System.DirectoryServices.notsupported.cs (31)
151[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.AuthenticationTypes.Secure)] 161[System.ComponentModel.DefaultValueAttribute(null)] 163[System.ComponentModel.DefaultValueAttribute("")] 169[System.ComponentModel.DefaultValueAttribute(true)] 171[System.ComponentModel.DefaultValueAttribute(null)] 211[System.ComponentModel.DefaultValueAttribute(false)] 213[System.ComponentModel.DefaultValueAttribute("")] 216[System.ComponentModel.DefaultValueAttribute(true)] 219[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.DereferenceAlias.Never)] 221[System.ComponentModel.DefaultValueAttribute(null)] 223[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.ExtendedDN.None)] 225[System.ComponentModel.DefaultValueAttribute("(objectClass=*)")] 227[System.ComponentModel.DefaultValueAttribute(0)] 231[System.ComponentModel.DefaultValueAttribute(false)] 233[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.ReferralChasingOption.External)] 235[System.ComponentModel.DefaultValueAttribute(null)] 237[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.SearchScope.Subtree)] 239[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.SecurityMasks.None)] 243[System.ComponentModel.DefaultValueAttribute(0)] 247[System.ComponentModel.DefaultValueAttribute(false)] 249[System.ComponentModel.DefaultValueAttribute(null)] 280[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.DirectorySynchronizationOptions.None)] 304[System.ComponentModel.DefaultValueAttribute(0)] 306[System.ComponentModel.DefaultValueAttribute(0)] 308[System.ComponentModel.DefaultValueAttribute(0)] 310[System.ComponentModel.DefaultValueAttribute(null)] 312[System.ComponentModel.DefaultValueAttribute(0)] 314[System.ComponentModel.DefaultValueAttribute("")] 317[System.ComponentModel.DefaultValueAttribute(0)] 515[System.ComponentModel.DefaultValueAttribute(System.DirectoryServices.SortDirection.Ascending)] 517[System.ComponentModel.DefaultValueAttribute(null)]
System.Drawing.Common (5)
System\Drawing\Image.cs (3)
47[DefaultValue(null)] 426[DefaultValue(false)] 443[DefaultValue(false)]
System\Drawing\Printing\PrintDocument.cs (2)
54[DefaultValue("document")] 67[DefaultValue(false)]
System.Private.DataContractSerialization (5)
System\Xml\XmlDictionaryReaderQuotas.cs (5)
85[DefaultValue(DefaultMaxStringContentLength)] 102[DefaultValue(DefaultMaxArrayLength)] 119[DefaultValue(DefaultMaxBytesPerRead)] 137[DefaultValue(DefaultMaxDepth)] 155[DefaultValue(DefaultMaxNameTableCharCount)]
System.Private.Xml (24)
System\Xml\Schema\XmlSchema.cs (4)
230[XmlAttribute("attributeFormDefault"), DefaultValue(XmlSchemaForm.None)] 237[XmlAttribute("blockDefault"), DefaultValue(XmlSchemaDerivationMethod.None)] 244[XmlAttribute("finalDefault"), DefaultValue(XmlSchemaDerivationMethod.None)] 251[XmlAttribute("elementFormDefault"), DefaultValue(XmlSchemaForm.None)]
System\Xml\Schema\XmlSchemaAny.cs (1)
23[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)]
System\Xml\Schema\XmlSchemaAnyAttribute.cs (1)
23[XmlAttribute("processContents"), DefaultValue(XmlSchemaContentProcessing.None)]
System\Xml\Schema\XmlSchemaAttribute.cs (4)
30[DefaultValue(null)] 38[DefaultValue(null)] 45[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)] 80[XmlAttribute("use"), DefaultValue(XmlSchemaUse.None)]
System\Xml\Schema\XmlSchemaComplexType.cs (3)
123[XmlAttribute("abstract"), DefaultValue(false)] 143[XmlAttribute("block"), DefaultValue(XmlSchemaDerivationMethod.None)] 150[XmlAttribute("mixed"), DefaultValue(false)]
System\Xml\Schema\XmlSchemaElement.cs (8)
39[XmlAttribute("abstract"), DefaultValue(false)] 50[XmlAttribute("block"), DefaultValue(XmlSchemaDerivationMethod.None)] 58[DefaultValue(null)] 65[XmlAttribute("final"), DefaultValue(XmlSchemaDerivationMethod.None)] 73[DefaultValue(null)] 80[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)] 87[XmlAttribute("name"), DefaultValue("")] 94[XmlAttribute("nillable"), DefaultValue(false)]
System\Xml\Schema\XmlSchemaFacet.cs (1)
39[XmlAttribute("fixed"), DefaultValue(false)]
System\Xml\Schema\XmlSchemaIdEntityConstraint.cs (1)
68[XmlAttribute("xpath"), DefaultValue("")]
System\Xml\Schema\XmlSchemaType.cs (1)
93[XmlAttribute("final"), DefaultValue(XmlSchemaDerivationMethod.None)]
System.ServiceModel.Http (31)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
35[DefaultValue(TransportDefaults.RequireClientCertificate)]
System\ServiceModel\Channels\HttpTransportBindingElement.cs (11)
69[DefaultValue(HttpTransportDefaults.AllowCookies)] 72[DefaultValue(HttpTransportDefaults.AuthenticationScheme)] 75[DefaultValue(HttpTransportDefaults.BypassProxyOnLocal)] 78[DefaultValue(HttpTransportDefaults.DecompressionEnabled)] 117[DefaultValue(HttpTransportDefaults.KeepAliveEnabled)] 122[DefaultValue(TransportDefaults.MaxBufferSize)] 156[DefaultValue(HttpTransportDefaults.Proxy)] 159[DefaultValue(HttpTransportDefaults.ProxyAddress)] 163[DefaultValue(HttpTransportDefaults.ProxyAuthenticationScheme)] 187[DefaultValue(HttpTransportDefaults.TransferMode)] 225[DefaultValue(HttpTransportDefaults.UseDefaultWebProxy)]
System\ServiceModel\Channels\WebSocketTransportSettings.cs (3)
41[DefaultValue(WebSocketDefaults.TransportUsage)] 56[DefaultValue(typeof(TimeSpan), WebSocketDefaults.DefaultKeepAliveIntervalString)] 86[DefaultValue(WebSocketDefaults.SubProtocol)]
System\ServiceModel\HttpBindingBase.cs (8)
33[DefaultValue(HttpTransportDefaults.AllowCookies)] 48[DefaultValue(HttpTransportDefaults.BypassProxyOnLocal)] 63[DefaultValue(TransportDefaults.MaxBufferSize)] 79[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 94[DefaultValue(TransportDefaults.MaxReceivedMessageSize)] 109[DefaultValue(HttpTransportDefaults.ProxyAddress)] 173[DefaultValue(HttpTransportDefaults.TransferMode)] 188[DefaultValue(HttpTransportDefaults.UseDefaultWebProxy)]
System\ServiceModel\NetHttpBinding.cs (1)
42[DefaultValue(NetHttpMessageEncoding.Binary)]
System\ServiceModel\WSHttpBinding.cs (1)
30[DefaultValue(HttpTransportDefaults.AllowCookies)]
System\ServiceModel\WSHttpBindingBase.cs (6)
29[DefaultValue(HttpTransportDefaults.BypassProxyOnLocal)] 40[DefaultValue(false)] 53[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 64[DefaultValue(TransportDefaults.MaxReceivedMessageSize)] 84[DefaultValue(HttpTransportDefaults.ProxyAddress)] 141[DefaultValue(HttpTransportDefaults.UseDefaultWebProxy)]
System.ServiceModel.NetFramingBase (6)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (3)
31[DefaultValue(ConnectionOrientedTransportDefaults.ConnectionBufferSize)] 50[DefaultValue(NFTransportDefaults.MaxBufferSize)] 85[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)]
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
49[DefaultValue(NFTransportDefaults.RequireClientCertificate)] 52[DefaultValue(NFTransportDefaults.SslProtocols)]
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
24[DefaultValue(ConnectionOrientedTransportDefaults.ProtectionLevel)]
System.ServiceModel.NetNamedPipe (6)
System\ServiceModel\NamedPipeTransportSecurity.cs (1)
29[DefaultValue(ConnectionOrientedTransportDefaults.ProtectionLevel)]
System\ServiceModel\NetNamedPipeBinding.cs (4)
35[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)] 42[DefaultValue(NPTransportDefaults.MaxBufferPoolSize)] 49[DefaultValue(NPTransportDefaults.MaxBufferSize)] 62[DefaultValue(NPTransportDefaults.MaxReceivedMessageSize)]
System\ServiceModel\NetNamedPipeSecurity.cs (1)
28[DefaultValue(DefaultMode)]
System.ServiceModel.NetTcp (10)
System\ServiceModel\MessageSecurityOverTcp.cs (2)
24[DefaultValue(DefaultClientCredentialType)] 52[DefaultValue(typeof(SecurityAlgorithmSuite), nameof(SecurityAlgorithmSuite.Default))]
System\ServiceModel\NetTcpBinding.cs (4)
35[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)] 42[DefaultValue(TcpTransportDefaults.MaxBufferPoolSize)] 49[DefaultValue(TcpTransportDefaults.MaxBufferSize)] 62[DefaultValue(TcpTransportDefaults.MaxReceivedMessageSize)]
System\ServiceModel\NetTcpSecurity.cs (1)
32[DefaultValue(DefaultMode)]
System\ServiceModel\TcpTransportSecurity.cs (3)
31[DefaultValue(DefaultClientCredentialType)] 45[DefaultValue(DefaultProtectionLevel)] 83[DefaultValue(TcpTransportDefaults.SslProtocols)]
System.ServiceModel.Primitives (32)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (4)
47[DefaultValue(EncoderDefaults.DefaultCompressionFormat)] 82[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 100[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 135[DefaultValue(BinaryEncoderDefaults.MaxSessionSize)]
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
55[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 73[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 99[DefaultValue(MtomEncoderDefaults.MaxBufferSize)]
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
45[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.AcknowledgementIntervalString)] 70[DefaultValue(ReliableSessionDefaults.FlowControlEnabled)] 73[DefaultValue(typeof(TimeSpan), ReliableSessionDefaults.InactivityTimeoutString)] 98[DefaultValue(ReliableSessionDefaults.MaxPendingChannels)] 114[DefaultValue(ReliableSessionDefaults.MaxRetryCount)] 130[DefaultValue(ReliableSessionDefaults.MaxTransferWindowSize)] 146[DefaultValue(ReliableSessionDefaults.Ordered)] 149[DefaultValue(typeof(ReliableMessagingVersion), ReliableSessionDefaults.ReliableMessagingVersionString)]
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
53[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 71[DefaultValue(EncoderDefaults.MaxWritePoolSize)]
System\ServiceModel\Channels\TransportBindingElement.cs (3)
35[DefaultValue(TransportDefaults.ManualAddressing)] 49[DefaultValue(TransportDefaults.MaxBufferPoolSize)] 67[DefaultValue(TransportDefaults.MaxReceivedMessageSize)]
System\ServiceModel\Description\ContractDescription.cs (2)
46[DefaultValue(null)] 110[DefaultValue(SessionMode.Allowed)]
System\ServiceModel\Description\MessageBodyDescription.cs (3)
42[DefaultValue(null)] 49[DefaultValue(null)] 56[DefaultValue(null)]
System\ServiceModel\Description\MessageDescription.cs (1)
130[DefaultValue(null)]
System\ServiceModel\Description\MessageHeaderDescription.cs (4)
35[DefaultValue(null)] 38[DefaultValue(false)] 41[DefaultValue(false)] 48[DefaultValue(false)]
System\ServiceModel\Description\MessagePartDescription.cs (1)
79[DefaultValue(false)]
System\ServiceModel\ReliableSession.cs (1)
32[DefaultValue(ReliableSessionDefaults.Ordered)]
System.ServiceModel.UnixDomainSocket (7)
System\ServiceModel\UnixDomainSocketBinding.cs (4)
27[DefaultValue(ConnectionOrientedTransportDefaults.TransferMode)] 34[DefaultValue(UnixDomainSocketTransportDefaults.MaxBufferPoolSize)] 41[DefaultValue(UnixDomainSocketTransportDefaults.MaxBufferSize)] 54[DefaultValue(UnixDomainSocketTransportDefaults.MaxReceivedMessageSize)]
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (3)
32[DefaultValue(DefaultClientCredentialType)] 46[DefaultValue(DefaultProtectionLevel)] 84[DefaultValue(UnixDomainSocketTransportDefaults.SslProtocols)]
System.ServiceProcess.ServiceController (6)
artifacts\obj\System.ServiceProcess.ServiceController\Debug\net11.0\System.ServiceProcess.ServiceController.notsupported.cs (6)
25[System.ComponentModel.DefaultValueAttribute(true)] 27[System.ComponentModel.DefaultValueAttribute(false)] 29[System.ComponentModel.DefaultValueAttribute(false)] 31[System.ComponentModel.DefaultValueAttribute(false)] 33[System.ComponentModel.DefaultValueAttribute(false)] 35[System.ComponentModel.DefaultValueAttribute(true)]
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
850[DefaultValue(false)] 871[DefaultValue(true)]
System.Windows.Forms (897)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1812[DefaultValue(null)]
System\Windows\Forms\ApplicationContext.cs (1)
68[DefaultValue(null)]
System\Windows\Forms\Control.cs (15)
580[DefaultValue(null)] 593[DefaultValue(null)] 606[DefaultValue(AccessibleRole.Default)] 623[DefaultValue(false)] 684[DefaultValue(CommonProperties.DefaultAnchor)] 696[DefaultValue(CommonProperties.DefaultAutoSize)] 745[DefaultValue(typeof(Point), "0, 0")] 930[DefaultValue(null)] 960[DefaultValue(ImageLayout.Tile)] 1172[DefaultValue(true)] 1322[DefaultValue(null)] 1780[DefaultValue(CommonProperties.DefaultDock)] 3147[DefaultValue(true)] 3193[DefaultValue(null)] 3433[DefaultValue(false)]
System\Windows\Forms\Controls\Buttons\Button.cs (2)
47[DefaultValue(AutoSizeMode.GrowOnly)] 139[DefaultValue(DialogResult.None)]
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (10)
92[DefaultValue(false)] 382[DefaultValue(FlatStyle.Standard)] 475[DefaultValue(ContentAlignment.MiddleCenter)] 502[DefaultValue(ImageList.Indexer.DefaultIndex)] 549[DefaultValue(ImageList.Indexer.DefaultKey)] 579[DefaultValue(null)] 728[DefaultValue(ContentAlignment.MiddleCenter)] 757[DefaultValue(TextImageRelation.Overlay)] 784[DefaultValue(true)] 1312[DefaultValue(false)]
System\Windows\Forms\Controls\Buttons\CheckBox.cs (7)
59[DefaultValue(Appearance.Normal)] 123[DefaultValue(true)] 134[DefaultValue(ContentAlignment.MiddleLeft)] 166[DefaultValue(false)] 187[DefaultValue(CheckState.Unchecked)] 355[DefaultValue(ContentAlignment.MiddleLeft)] 365[DefaultValue(false)]
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (5)
31[DefaultValue(1)] 65[DefaultValue(typeof(Color), "")] 93[DefaultValue(typeof(Color), "")] 117[DefaultValue(typeof(Color), "")] 141[DefaultValue(typeof(Color), "")]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (6)
57[DefaultValue(true)] 76[DefaultValue(Appearance.Normal)] 125[DefaultValue(ContentAlignment.MiddleLeft)] 151[DefaultValue(false)] 310[DefaultValue(false)] 322[DefaultValue(ContentAlignment.MiddleLeft)]
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
133[DefaultValue(AutoCompleteMode.None)] 175[DefaultValue(AutoCompleteSource.None)] 395[DefaultValue(null)] 410[DefaultValue(DrawMode.Normal)] 459[DefaultValue(106)] 502[DefaultValue(FlatStyle.Standard)] 554[DefaultValue(true)] 647[DefaultValue(8)] 682[DefaultValue(0)] 1015[DefaultValue(false)] 1044[DefaultValue(ComboBoxStyle.DropDown)]
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (33)
645[DefaultValue(true)] 678[DefaultValue(true)] 706[DefaultValue(false)] 737[DefaultValue(true)] 765[DefaultValue(true)] 834[DefaultValue(true)] 873[DefaultValue(DataGridViewAutoSizeColumnsMode.None)] 939[DefaultValue(DataGridViewAutoSizeRowsMode.None)] 1066[DefaultValue(BorderStyle.FixedSingle)] 1149[DefaultValue(DataGridViewCellBorderStyle.Single)] 1365[DefaultValue(DataGridViewClipboardCopyMode.EnableWithAutoHeaderText)] 1381[DefaultValue(0)] 1437[DefaultValue(DataGridViewHeaderBorderStyle.Raised)] 1608[DefaultValue(DataGridViewColumnHeadersHeightSizeMode.EnableResizing)] 1641[DefaultValue(true)] 1880[DefaultValue("")] 1908[DefaultValue(null)] 2149[DefaultValue(DataGridViewEditMode.EditOnKeystrokeOrF2)] 2263[DefaultValue(true)] 2992[DefaultValue(true)] 3057[DefaultValue(false)] 3174[DefaultValue(0)] 3233[DefaultValue(DataGridViewHeaderBorderStyle.Raised)] 3341[DefaultValue(true)] 3446[DefaultValue(DataGridViewRowHeadersWidthSizeMode.EnableResizing)] 3577[DefaultValue(ScrollBars.Both)] 3740[DefaultValue(DataGridViewSelectionMode.RowHeaderSelect)] 3770[DefaultValue(true)] 3823[DefaultValue(true)] 3875[DefaultValue(true)] 3911[DefaultValue(true)] 3972[DefaultValue(false)] 4136[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (4)
41[DefaultValue(null)] 179[DefaultValue(false)] 381[DefaultValue(false)] 667[DefaultValue(true)]
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
57[DefaultValue(FlatStyle.Standard)] 88[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (3)
54[DefaultValue(FlatStyle.Standard)] 97[DefaultValue(null)] 142[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
107[DefaultValue(null)] 646[DefaultValue(null)]
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (4)
65[DefaultValue(DataGridViewContentAlignment.NotSet)] 171[DefaultValue("")] 238[DefaultValue("")] 342[DefaultValue(DataGridViewTriState.NotSet)]
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (5)
206[DefaultValue(null)] 232[DefaultValue(FlatStyle.Standard)] 261[DefaultValue(null)] 287[DefaultValue(false)] 359[DefaultValue(null)]
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (5)
57[DefaultValue(null)] 101[DefaultValue(FlatStyle.Standard)] 144[DefaultValue(null)] 188[DefaultValue(false)] 238[DefaultValue(null)]
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (11)
73[DefaultValue(DataGridViewAutoSizeColumnMode.NotSet)] 165[DefaultValue(null)] 175[DefaultValue("")] 323[DefaultValue(0)] 333[DefaultValue(DefaultFillWeight)] 365[DefaultValue(false)] 606[DefaultValue(DefaultMinColumnThickness)] 700[DefaultValue(DataGridViewColumnSortMode.NotSortable)] 757[DefaultValue("")] 787[DefaultValue(null)] 795[DefaultValue(true)]
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (9)
88[DefaultValue(true)] 195[DefaultValue("")] 230[DefaultValue(DataGridViewComboBoxDisplayStyle.DropDownButton)] 266[DefaultValue(false)] 315[DefaultValue(1)] 343[DefaultValue(FlatStyle.Standard)] 375[DefaultValue(DefaultMaxDropDownItems)] 409[DefaultValue(false)] 451[DefaultValue("")]
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (10)
24[DefaultValue(true)] 85[DefaultValue(null)] 130[DefaultValue("")] 176[DefaultValue(DataGridViewComboBoxDisplayStyle.DropDownButton)] 220[DefaultValue(false)] 264[DefaultValue(1)] 305[DefaultValue(FlatStyle.Standard)] 365[DefaultValue("")] 411[DefaultValue(DataGridViewComboBoxCell.DefaultMaxDropDownItems)] 452[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (3)
57[DefaultValue("")] 95[DefaultValue(DataGridViewImageCellLayout.NotSet)] 120[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (3)
63[DefaultValue("")] 118[DefaultValue(null)] 133[DefaultValue(DataGridViewImageCellLayout.Normal)]
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (3)
114[DefaultValue(LinkBehavior.SystemDefault)] 238[DefaultValue(true)] 269[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (4)
92[DefaultValue(LinkBehavior.SystemDefault)] 187[DefaultValue(null)] 229[DefaultValue(true)] 272[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (4)
55[DefaultValue(null)] 119[DefaultValue(0)] 137[DefaultValue("")] 268[DefaultValue(false)]
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
64[DefaultValue(MaxInputLengthDefault)]
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (2)
35[DefaultValue(ColumnMaxInputLength)] 76[DefaultValue(DataGridViewColumnSortMode.Automatic)]
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (6)
330[DefaultValue(true)] 426[DefaultValue(null)] 472[DefaultValue(LeftRightAlignment.Left)] 762[DefaultValue(false)] 783[DefaultValue(false)] 795[DefaultValue(false)]
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (3)
81[DefaultValue(AutoSizeMode.GrowOnly)] 172[DefaultValue(FlatStyle.Standard)] 272[DefaultValue(false)]
System\Windows\Forms\Controls\ImageList\ImageList.cs (3)
132[DefaultValue(null)] 182[DefaultValue(null)] 251[DefaultValue(null)]
System\Windows\Forms\Controls\Labels\Label.cs (13)
92[DefaultValue(false)] 127[DefaultValue(false)] 205[DefaultValue(BorderStyle.None)] 319[DefaultValue(FlatStyle.Standard)] 408[DefaultValue(ImageList.Indexer.DefaultIndex)] 457[DefaultValue(ImageList.Indexer.DefaultKey)] 499[DefaultValue(null)] 544[DefaultValue(ContentAlignment.MiddleCenter)] 569[DefaultValue(AutomationLiveSetting.Off)] 668[DefaultValue(false)] 690[DefaultValue(ContentAlignment.TopLeft)] 738[DefaultValue(false)] 769[DefaultValue(true)]
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
211[DefaultValue(LinkBehavior.SystemDefault)] 260[DefaultValue(false)]
System\Windows\Forms\Controls\Labels\LinkLabel.Link.cs (5)
53[DefaultValue(true)] 107[DefaultValue(null)] 120[DefaultValue("")] 153[DefaultValue(null)] 157[DefaultValue(false)]
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
77[DefaultValue(false)] 212[DefaultValue(false)] 241[DefaultValue(false)]
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (12)
202[DefaultValue(BorderStyle.Fixed3D)] 233[DefaultValue(0)] 343[DefaultValue(false)] 388[DefaultValue(DrawMode.Normal)] 465[DefaultValue(0)] 493[DefaultValue(false)] 533[DefaultValue(true)] 676[DefaultValue(false)] 781[DefaultValue(false)] 987[DefaultValue(SelectionMode.One)] 1027[DefaultValue(false)] 1134[DefaultValue(true)]
System\Windows\Forms\Controls\ListControl\ListControl.cs (7)
43[DefaultValue(null)] 105[DefaultValue("")] 182[DefaultValue(null)] 207[DefaultValue("")] 235[DefaultValue(false)] 295[DefaultValue("")] 348[DefaultValue(null)]
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (5)
188[DefaultValue(ImageList.Indexer.DefaultIndex)] 232[DefaultValue(ImageList.Indexer.DefaultKey)] 323[DefaultValue(HorizontalAlignment.Left)] 366[DefaultValue(null)] 383[DefaultValue(60)]
System\Windows\Forms\Controls\ListView\ListView.cs (30)
242[DefaultValue(ItemActivation.Standard)] 274[DefaultValue(ListViewAlignment.Top)] 302[DefaultValue(false)] 327[DefaultValue(true)] 376[DefaultValue(false)] 415[DefaultValue(BorderStyle.Fixed3D)] 438[DefaultValue(false)] 872[DefaultValue(false)] 895[DefaultValue(false)] 933[DefaultValue(null)] 994[DefaultValue(ColumnHeaderStyle.Clickable)] 1029[DefaultValue(false)] 1049[DefaultValue(false)] 1077[DefaultValue(false)] 1152[DefaultValue(false)] 1174[DefaultValue(true)] 1197[DefaultValue(null)] 1277[DefaultValue(true)] 1300[DefaultValue(false)] 1326[DefaultValue(false)] 1360[DefaultValue(true)] 1411[DefaultValue(true)] 1436[DefaultValue(null)] 1477[DefaultValue(false)] 1496[DefaultValue(SortOrder.None)] 1542[DefaultValue(null)] 1787[DefaultValue(true)] 1801[DefaultValue(View.LargeIcon)] 1859[DefaultValue(0)] 1909[DefaultValue(false)]
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (11)
102[DefaultValue("")] 122[DefaultValue(HorizontalAlignment.Left)] 145[DefaultValue("")] 172[DefaultValue(HorizontalAlignment.Left)] 203[DefaultValue(ListViewGroupCollapsedState.Default)] 226[DefaultValue("")] 247[DefaultValue("")] 273[DefaultValue(-1)] 310[DefaultValue("")] 350[DefaultValue("")] 357[DefaultValue(null)]
System\Windows\Forms\Controls\ListView\ListViewItem.cs (9)
321[DefaultValue(false)] 435[DefaultValue(null)] 465[DefaultValue(ImageList.Indexer.DefaultIndex)] 499[DefaultValue(ImageList.Indexer.DefaultKey)] 543[DefaultValue(0)] 715[DefaultValue(ImageList.Indexer.DefaultIndex)] 791[DefaultValue(null)] 826[DefaultValue("")] 854[DefaultValue(true)]
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (1)
193[DefaultValue(null)]
System\Windows\Forms\Controls\Menus\MenuStrip.cs (5)
46[DefaultValue(false)] 87[DefaultValue(ToolStripGripStyle.Hidden)] 110[DefaultValue(false)] 119[DefaultValue(true)] 128[DefaultValue(null)]
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (7)
369[DefaultValue(DefaultFirstDayOfWeek)] 468[DefaultValue(DefaultMaxSelectionCount)] 574[DefaultValue(false)] 601[DefaultValue(DefaultScrollChange)] 716[DefaultValue(true)] 739[DefaultValue(true)] 762[DefaultValue(false)]
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (4)
128[DefaultValue(BorderStyle.None)] 308[DefaultValue(null)] 816[DefaultValue(PictureBoxSizeMode.Normal)] 1186[DefaultValue(false)]
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (7)
110[DefaultValue(ProgressBarStyle.Blocks)] 225[DefaultValue(100)] 264[DefaultValue(100)] 302[DefaultValue(0)] 379[DefaultValue(false)] 409[DefaultValue(10)] 462[DefaultValue(0)]
System\Windows\Forms\Controls\PropertyGrid\GridItem.cs (1)
28[DefaultValue(null)]
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (21)
405[DefaultValue(typeof(Color), "ControlText")] 487[DefaultValue(typeof(Color), "ControlDark")] 506[DefaultValue(true)] 626[DefaultValue(typeof(Color), "Control")] 638[DefaultValue(typeof(Color), "ControlText")] 650[DefaultValue(typeof(Color), "ControlDark")] 661[DefaultValue(true)] 698[DefaultValue(typeof(Color), "Highlight")] 717[DefaultValue(typeof(Color), "HighlightText")] 736[DefaultValue(typeof(Color), "GrayText")] 752[DefaultValue(typeof(Color), "Control")] 772[DefaultValue(true)] 788[DefaultValue(typeof(Color), "InactiveBorder")] 827[DefaultValue(PropertySort.CategorizedAlphabetical)] 883[DefaultValue(null)] 1188[DefaultValue(false)] 1235[DefaultValue(true)] 1267[DefaultValue(typeof(Color), "Window")] 1280[DefaultValue(typeof(Color), "WindowText")] 1296[DefaultValue(typeof(Color), "ControlDark")] 4195[DefaultValue(false)]
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (21)
144[DefaultValue(false)] 159[DefaultValue(false)] 215[DefaultValue(0)] 331[DefaultValue(true)] 357[DefaultValue(false)] 486[DefaultValue(int.MaxValue)] 493[DefaultValue(true)] 537[DefaultValue(true)] 555[DefaultValue(0)] 633[DefaultValue(RichTextBoxScrollBars.Both)] 657[DefaultValue(HorizontalAlignment.Left)] 733[DefaultValue(false)] 799[DefaultValue(0)] 949[DefaultValue(0)] 997[DefaultValue(0)] 1070[DefaultValue(false)] 1092[DefaultValue("")] 1118[DefaultValue(0)] 1231[DefaultValue("")] 1281[DefaultValue(false)] 1443[DefaultValue(1.0f)]
System\Windows\Forms\Controls\Splitter\Splitter.cs (5)
65[DefaultValue(AnchorStyles.None)] 174[DefaultValue(BorderStyle.None)] 235[DefaultValue(DockStyle.Left)] 308[DefaultValue(25)] 334[DefaultValue(25)]
System\Windows\Forms\Controls\TabControl\TabControl.cs (10)
98[DefaultValue(TabAlignment.Top)] 134[DefaultValue(TabAppearance.Normal)] 403[DefaultValue(TabDrawMode.Normal)] 429[DefaultValue(false)] 453[DefaultValue(null)] 557[DefaultValue(false)] 615[DefaultValue(false)] 658[DefaultValue(-1)] 753[DefaultValue(TabSizeMode.Normal)] 779[DefaultValue(false)]
System\Windows\Forms\Controls\TabControl\TabPage.cs (5)
230[DefaultValue(-1)] 256[DefaultValue("")] 316[DefaultValue(false)] 353[DefaultValue(typeof(Size), "0, 0")] 443[DefaultValue("")]
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (18)
195[DefaultValue(true)] 239[DefaultValue(false)] 270[DefaultValue(false)] 372[DefaultValue(MaskFormat.IncludeLiterals)] 443[DefaultValue(false)] 504[DefaultValue(InsertKeyMode.Default)] 624[DefaultValue("")] 827[DefaultValue('\0')] 887[DefaultValue('_')] 955[DefaultValue(false)] 974[DefaultValue(true)] 993[DefaultValue(true)] 1012[DefaultValue(true)] 1138[DefaultValue("")] 1234[DefaultValue(HorizontalAlignment.Left)] 1277[DefaultValue(MaskFormat.IncludeLiterals)] 1385[DefaultValue(false)] 1436[DefaultValue(null)]
System\Windows\Forms\Controls\TextBox\TextBox.cs (9)
89[DefaultValue(false)] 111[DefaultValue(AutoCompleteMode.None)] 139[DefaultValue(AutoCompleteSource.None)] 213[DefaultValue(CharacterCasing.Normal)] 325[DefaultValue((char)0)] 370[DefaultValue(ScrollBars.None)] 434[DefaultValue(HorizontalAlignment.Left)] 463[DefaultValue(false)] 820[DefaultValue("")]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
115[DefaultValue(false)] 147[DefaultValue(true)] 237[DefaultValue(true)] 346[DefaultValue(BorderStyle.Fixed3D)] 518[DefaultValue(true)] 632[DefaultValue(32767)] 713[DefaultValue(false)] 920[DefaultValue(false)] 1159[DefaultValue(true)]
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (7)
43[DefaultValue(false)] 103[DefaultValue(DockStyle.Bottom)] 110[DefaultValue(ToolStripGripStyle.Hidden)] 117[DefaultValue(ToolStripLayoutStyle.Table)] 150[DefaultValue(false)] 183[DefaultValue(true)] 234[DefaultValue(true)]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (15)
185[DefaultValue(true)] 261[DefaultValue(false)] 295[DefaultValue(false)] 330[DefaultValue(true)] 406[DefaultValue(true)] 445[DefaultValue(false)] 639[DefaultValue(DockStyle.Top)] 799[DefaultValue(ToolStripGripStyle.Visible)] 905[DefaultValue(typeof(Size), "16,16")] 944[DefaultValue(null)] 1157[DefaultValue(null)] 1451[DefaultValue(false)] 1597[DefaultValue(true)] 1655[DefaultValue(false)] 1680[DefaultValue(ToolStripTextDirection.Horizontal)]
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (4)
56[DefaultValue(true)] 63[DefaultValue(false)] 71[DefaultValue(false)] 91[DefaultValue(CheckState.Unchecked)]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (9)
63[DefaultValue(AutoCompleteMode.None)] 73[DefaultValue(AutoCompleteSource.None)] 147[DefaultValue(106)] 155[DefaultValue(ComboBoxStyle.DropDown)] 182[DefaultValue(FlatStyle.Popup)] 192[DefaultValue(true)] 218[DefaultValue(8)] 228[DefaultValue(0)] 292[DefaultValue(false)]
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (4)
152[DefaultValue(true)] 270[DefaultValue(true)] 297[DefaultValue(true)] 326[DefaultValue(true)]
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (7)
68[DefaultValue(null)] 76[DefaultValue(ImageLayout.Tile)] 91[DefaultValue(true)] 99[DefaultValue(ContentAlignment.MiddleCenter)] 179[DefaultValue(false)] 401[DefaultValue("")] 419[DefaultValue(ToolStripTextDirection.Horizontal)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (9)
100[DefaultValue(true)] 123[DefaultValue(true)] 160[DefaultValue(false)] 285[DefaultValue(DockStyle.None)] 417[DefaultValue(ToolStripGripStyle.Hidden)] 563[DefaultValue(1.0)] 601[DefaultValue(null)] 776[DefaultValue(ToolStripTextDirection.Horizontal)] 857[DefaultValue(false)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (2)
69[DefaultValue(true)] 84[DefaultValue(true)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (3)
143[DefaultValue(ToolStripLayoutStyle.Flow)] 163[DefaultValue(true)] 180[DefaultValue(false)]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (24)
226[DefaultValue(null)] 243[DefaultValue(null)] 260[DefaultValue(AccessibleRole.Default)] 276[DefaultValue(ToolStripItemAlignment.Left)] 306[DefaultValue(false)] 326[DefaultValue(true)] 350[DefaultValue(false)] 387[DefaultValue(null)] 489[DefaultValue(ImageLayout.Tile)] 601[DefaultValue(CommonProperties.DefaultAnchor)] 627[DefaultValue(CommonProperties.DefaultDock)] 745[DefaultValue(false)] 800[DefaultValue(true)] 1001[DefaultValue(ContentAlignment.MiddleCenter)] 1173[DefaultValue(ToolStripItemImageScaling.SizeToFit)] 1285[DefaultValue(MergeAction.Append)] 1301[DefaultValue(-1)] 1388[DefaultValue(null)] 1490[DefaultValue(ToolStripItemOverflow.AsNeeded)] 1693[DefaultValue(false)] 1842[DefaultValue(null)] 1857[DefaultValue("")] 1876[DefaultValue(ContentAlignment.MiddleCenter)] 1934[DefaultValue(TextImageRelation.ImageBeforeText)]
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (3)
70[DefaultValue(false)] 138[DefaultValue(LinkBehavior.SystemDefault)] 185[DefaultValue(false)]
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (7)
249[DefaultValue(false)] 283[DefaultValue(false)] 297[DefaultValue(CheckState.Unchecked)] 341[DefaultValue(ToolStripItemOverflow.Never)] 355[DefaultValue(Keys.None)] 410[DefaultValue(null)] 444[DefaultValue(true)]
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
98[DefaultValue(true)] 177[DefaultValue(false)]
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (7)
98[DefaultValue(100)] 107[DefaultValue(100)] 123[DefaultValue(0)] 146[DefaultValue(false)] 165[DefaultValue(10)] 184[DefaultValue(ProgressBarStyle.Blocks)] 222[DefaultValue(0)]
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
219[DefaultValue(ToolStripTextDirection.Horizontal)]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
75[DefaultValue(true)] 141[DefaultValue(null)]
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (4)
83[DefaultValue(Border3DStyle.Flat)] 104[DefaultValue(ToolStripStatusLabelBorderSides.None)] 127[DefaultValue(false)] 151[DefaultValue(AutomationLiveSetting.Off)]
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (13)
163[DefaultValue(false)] 172[DefaultValue(false)] 193[DefaultValue(AutoCompleteMode.None)] 203[DefaultValue(AutoCompleteSource.None)] 214[DefaultValue(BorderStyle.Fixed3D)] 233[DefaultValue(CharacterCasing.Normal)] 242[DefaultValue(true)] 263[DefaultValue(32767)] 283[DefaultValue(false)] 296[DefaultValue(false)] 336[DefaultValue(true)] 352[DefaultValue(HorizontalAlignment.Left)] 362[DefaultValue(true)]
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (10)
67[DefaultValue(true)] 273[DefaultValue(5)] 302[DefaultValue(10)] 328[DefaultValue(0)] 356[DefaultValue(Orientation.Horizontal)] 449[DefaultValue(false)] 476[DefaultValue(1)] 528[DefaultValue(TickStyle.BottomRight)] 558[DefaultValue(1)] 600[DefaultValue(0)]
System\Windows\Forms\Controls\TreeView\TreeNode.cs (11)
322[DefaultValue(false)] 369[DefaultValue(null)] 503[DefaultValue(ImageList.Indexer.DefaultIndex)] 544[DefaultValue(ImageList.Indexer.DefaultKey)] 728[DefaultValue(null)] 884[DefaultValue(ImageList.Indexer.DefaultIndex)] 927[DefaultValue(ImageList.Indexer.DefaultKey)] 984[DefaultValue(ImageList.Indexer.DefaultKey)] 1009[DefaultValue(ImageList.Indexer.DefaultIndex)] 1051[DefaultValue(null)] 1082[DefaultValue("")]
System\Windows\Forms\Controls\TreeView\TreeView.cs (22)
247[DefaultValue(BorderStyle.Fixed3D)] 271[DefaultValue(false)] 456[DefaultValue(false)] 479[DefaultValue(true)] 503[DefaultValue(false)] 524[DefaultValue(ImageList.Indexer.DefaultIndex)] 579[DefaultValue(ImageList.Indexer.DefaultKey)] 609[DefaultValue(null)] 686[DefaultValue(null)] 828[DefaultValue(false)] 851[DefaultValue(typeof(Color), "Black")] 899[DefaultValue(TreeViewDrawMode.Normal)] 926[DefaultValue("\\")] 958[DefaultValue(false)] 977[DefaultValue(true)] 996[DefaultValue(ImageList.Indexer.DefaultIndex)] 1050[DefaultValue(ImageList.Indexer.DefaultKey)] 1132[DefaultValue(true)] 1154[DefaultValue(false)] 1177[DefaultValue(true)] 1200[DefaultValue(true)] 1222[DefaultValue(false)]
System\Windows\Forms\Controls\Unsupported\ContextMenu\ContextMenu.cs (1)
28[DefaultValue(RightToLeft.No)]
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.cs (1)
57[DefaultValue(null)]
System\Windows\Forms\Controls\Unsupported\ContextMenu\MenuItem.cs (13)
87[DefaultValue(false)] 95[DefaultValue(false)] 102[DefaultValue(false)] 109[DefaultValue(false)] 116[DefaultValue(false)] 124[DefaultValue(true)] 144[DefaultValue(false)] 156[DefaultValue(MenuMerge.Add)] 163[DefaultValue(0)] 179[DefaultValue(false)] 194[DefaultValue(Shortcut.None)] 201[DefaultValue(true)] 210[DefaultValue(true)]
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGrid.cs (16)
34[DefaultValue(true)] 41[DefaultValue(true)] 76[DefaultValue(BorderStyle.Fixed3D)] 110[DefaultValue("")] 118[DefaultValue(true)] 131[DefaultValue(true)] 162[DefaultValue(null)] 177[DefaultValue(null)] 221[DefaultValue(DataGridLineStyle.Solid)] 229[DefaultValue(DataGridParentRowsLabelStyle.Both)] 245[DefaultValue(false)] 386[DefaultValue(75)] 402[DefaultValue(false)] 415[DefaultValue(true)] 428[DefaultValue(true)] 435[DefaultValue(35)]
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridBoolColumn.cs (3)
29[DefaultValue(true)] 43[DefaultValue(true)] 57[DefaultValue(false)]
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridColumnStyle.cs (5)
32[DefaultValue(HorizontalAlignment.Left)] 48[DefaultValue(null)] 91[DefaultValue("")] 117[DefaultValue(false)] 131[DefaultValue(100)]
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTableStyle.cs (8)
32[DefaultValue(true)] 109[DefaultValue(DataGridLineStyle.Solid)] 204[DefaultValue(75)] 234[DefaultValue(true)] 247[DefaultValue(true)] 260[DefaultValue(35)] 310[DefaultValue("")] 334[DefaultValue(false)]
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTextBoxColumn.cs (2)
37[DefaultValue(null)] 53[DefaultValue(null)]
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBar.cs (4)
56[DefaultValue(DockStyle.Bottom)] 98[DefaultValue(false)] 105[DefaultValue(true)] 112[DefaultValue(false)]
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBarPanel.cs (10)
29[DefaultValue(HorizontalAlignment.Left)] 37[DefaultValue(StatusBarPanelAutoSize.None)] 45[DefaultValue(StatusBarPanelBorderStyle.Sunken)] 53[DefaultValue(null)] 61[DefaultValue(10)] 80[DefaultValue(StatusBarPanelStyle.Text)] 89[DefaultValue(null)] 98[DefaultValue("")] 106[DefaultValue("")] 114[DefaultValue(100)]
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.cs (11)
32[DefaultValue(ToolBarAppearance.Normal)] 40[DefaultValue(true)] 75[DefaultValue(BorderStyle.None)] 96[DefaultValue(true)] 104[DefaultValue(DockStyle.Top)] 118[DefaultValue(false)] 134[DefaultValue(null)] 154[DefaultValue(false)] 162[DefaultValue(false)] 177[DefaultValue(ToolBarTextAlign.Underneath)] 185[DefaultValue(true)]
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBarButton.cs (11)
32[DefaultValue(null)] 40[DefaultValue(true)] 50[DefaultValue(-1)] 61[DefaultValue("")] 80[DefaultValue(false)] 87[DefaultValue(false)] 96[DefaultValue(ToolBarButtonStyle.PushButton)] 106[DefaultValue(null)] 115[DefaultValue("")] 123[DefaultValue("")] 130[DefaultValue(true)]
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (3)
81[DefaultValue(-1)] 151[DefaultValue(false)] 178[DefaultValue(false)]
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (3)
95[DefaultValue(DefaultDecimalPlaces)] 120[DefaultValue(DefaultHexadecimal)] 274[DefaultValue(DefaultThousandsSeparator)]
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (5)
177[DefaultValue(BorderStyle.Fixed3D)] 277[DefaultValue(true)] 358[DefaultValue(false)] 400[DefaultValue(HorizontalAlignment.Left)] 420[DefaultValue(LeftRightAlignment.Right)]
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (7)
73[DefaultValue(true)] 93[DefaultValue(true)] 122[DefaultValue(false)] 150[DefaultValue(true)] 457[DefaultValue(true)] 562[DefaultValue(null)] 879[DefaultValue(true)]
System\Windows\Forms\DataBinding\Binding.cs (7)
169[DefaultValue(null)] 175[DefaultValue(null)] 267[DefaultValue("")] 288[DefaultValue(false)] 309[DefaultValue(null)] 405[DefaultValue(ControlUpdateMode.OnPropertyChanged)] 424[DefaultValue(DataSourceUpdateMode.OnValidation)]
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
236[DefaultValue(null)]
System\Windows\Forms\DataBinding\BindingSource.cs (6)
192[DefaultValue("")] 214[DefaultValue(null)] 357[DefaultValue(-1)] 374[DefaultValue(true)] 379[DefaultValue(null)] 1783[DefaultValue(null)]
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (5)
33[DefaultValue(true)] 46[DefaultValue(false)] 97[DefaultValue(false)] 119[DefaultValue(false)] 131[DefaultValue(false)]
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
40[DefaultValue(null)]
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (16)
50[DefaultValue(true)] 59[DefaultValue(true)] 72[DefaultValue(false)] 85[DefaultValue(true)] 115[DefaultValue("")] 146[DefaultValue(true)] 160[DefaultValue("")] 186[DefaultValue("")] 267[DefaultValue(1)] 275[DefaultValue("")] 305[DefaultValue(false)] 318[DefaultValue(false)] 330[DefaultValue(false)] 342[DefaultValue(false)] 350[DefaultValue("")] 364[DefaultValue(true)]
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (3)
254[DefaultValue(true)] 267[DefaultValue(false)] 280[DefaultValue(true)]
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (12)
50[DefaultValue(true)] 61[DefaultValue(true)] 76[DefaultValue(false)] 94[DefaultValue(false)] 106[DefaultValue(false)] 119[DefaultValue(true)] 132[DefaultValue(true)] 161[DefaultValue("")] 185[DefaultValue("")] 198[DefaultValue(Environment.SpecialFolder.Desktop)] 220[DefaultValue("")] 240[DefaultValue(false)]
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (14)
42[DefaultValue(true)] 54[DefaultValue(true)] 68[DefaultValue(true)] 81[DefaultValue(true)] 94[DefaultValue(typeof(Color), "Black")] 122[DefaultValue(false)] 162[DefaultValue(false)] 174[DefaultValue(DefaultMaxSize)] 199[DefaultValue(DefaultMinSize)] 230[DefaultValue(false)] 242[DefaultValue(false)] 254[DefaultValue(false)] 263[DefaultValue(true)] 275[DefaultValue(false)]
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (6)
23[DefaultValue(true)] 35[DefaultValue(false)] 47[DefaultValue(false)] 59[DefaultValue(true)] 71[DefaultValue(false)] 83[DefaultValue(false)]
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (4)
26[DefaultValue(true)] 39[DefaultValue(false)] 51[DefaultValue(true)] 64[DefaultValue(true)]
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (10)
112[DefaultValue(DefaultBlinkStyle)] 163[DefaultValue(null)] 195[DefaultValue(false)] 227[DefaultValue(null)] 293[DefaultValue(null)] 325[DefaultValue(null)] 508[DefaultValue(DefaultBlinkRate)] 732[DefaultValue("")] 741[DefaultValue(DefaultIconAlignment)] 750[DefaultValue(0)]
System\Windows\Forms\Form.cs (23)
214[DefaultValue(null)] 527[DefaultValue(AutoSizeMode.GrowOnly)] 652[DefaultValue(FormBorderStyle.Sizable)] 706[DefaultValue(null)] 738[DefaultValue(true)] 958[DefaultValue(false)] 1082[DefaultValue(false)] 1132[DefaultValue(false)] 1183[DefaultValue(typeof(Size), "0, 0")] 1252[DefaultValue(null)] 1387[DefaultValue(true)] 1422[DefaultValue(true)] 1535[DefaultValue(true)] 1563[DefaultValue(1.0)] 1687[DefaultValue(false)] 1806[DefaultValue(true)] 1831[DefaultValue(true)] 1915[DefaultValue(SizeGripStyle.Auto)] 1944[DefaultValue(FormStartPosition.WindowsDefaultLocation)] 1981[DefaultValue(true)] 2055[DefaultValue(false)] 2258[DefaultValue(FormCornerPreference.Default)] 2536[DefaultValue(FormWindowState.Normal)]
System\Windows\Forms\Help\HelpProvider.cs (5)
38[DefaultValue(null)] 47[DefaultValue(null)] 60[DefaultValue(null)] 72[DefaultValue(HelpNavigator.AssociateIndex)] 84[DefaultValue(null)]
System\Windows\Forms\Input\Cursor.cs (1)
210[DefaultValue(null)]
System\Windows\Forms\Layout\Containers\SplitContainer.cs (14)
117[DefaultValue(false)] 133[DefaultValue(typeof(Point), "0, 0")] 233[DefaultValue(BorderStyle.None)] 336[DefaultValue(FixedPanel.None)] 380[DefaultValue(false)] 415[DefaultValue(Orientation.Vertical)] 521[DefaultValue(false)] 547[DefaultValue(false)] 573[DefaultValue(25)] 606[DefaultValue(25)] 633[DefaultValue(50)] 739[DefaultValue(1)] 779[DefaultValue(4)] 816[DefaultValue(true)]
System\Windows\Forms\NotifyIcon.cs (8)
80[DefaultValue("")] 103[DefaultValue(ToolTipIcon.None)] 128[DefaultValue("")] 180[DefaultValue(null)] 202[DefaultValue(null)] 226[DefaultValue("")] 261[DefaultValue(false)] 283[DefaultValue(null)]
System\Windows\Forms\Panels\FlowLayoutPanel.cs (3)
26[DefaultValue(FlowDirection.LeftToRight)] 40[DefaultValue(true)] 55[DefaultValue(false)]
System\Windows\Forms\Panels\FlowLayoutSettings.cs (2)
20[DefaultValue(FlowDirection.LeftToRight)] 33[DefaultValue(true)]
System\Windows\Forms\Panels\Panel.cs (3)
63[DefaultValue(AutoSizeMode.GrowOnly)] 95[DefaultValue(BorderStyle.None)] 183[DefaultValue(false)]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (9)
73[DefaultValue(TableLayoutPanelCellBorderStyle.None)] 109[DefaultValue(0)] 128[DefaultValue(TableLayoutPanelGrowStyle.AddRows)] 142[DefaultValue(0)] 180[DefaultValue(1)] 194[DefaultValue(1)] 207[DefaultValue(-1)] // if change this value, also change the SerializeViaAdd in TableLayoutControlCollectionCodeDomSerializer 222[DefaultValue(typeof(TableLayoutPanelCellPosition), "-1,-1")] // if change this value, also change the SerializeViaAdd in TableLayoutControlCollectionCodeDomSerializer 235[DefaultValue(-1)] // if change this value, also change the SerializeViaAdd in TableLayoutControlCollectionCodeDomSerializer
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (9)
63[DefaultValue(TableLayoutPanelCellBorderStyle.None)] 82[DefaultValue(0)] 92[DefaultValue(0)] 118[DefaultValue(0)] 182[DefaultValue(TableLayoutPanelGrowStyle.AddRows)] 315[DefaultValue(-1)] 350[DefaultValue(-1)] 363[DefaultValue(-1)] 376[DefaultValue(-1)]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyle.cs (1)
17[DefaultValue(SizeType.AutoSize)]
System\Windows\Forms\Printing\PageSetupDialog.cs (10)
35[DefaultValue(true)] 44[DefaultValue(true)] 53[DefaultValue(true)] 61[DefaultValue(true)] 69[DefaultValue(null)] 89[DefaultValue(false)] 111[DefaultValue(null)] 129[DefaultValue(null)] 147[DefaultValue(false)] 155[DefaultValue(true)]
System\Windows\Forms\Printing\PrintDialog.cs (10)
38[DefaultValue(false)] 46[DefaultValue(false)] 54[DefaultValue(true)] 62[DefaultValue(false)] 71[DefaultValue(null)] 91[DefaultValue(null)] 113[DefaultValue(false)] 121[DefaultValue(false)] 129[DefaultValue(true)] 143[DefaultValue(false)]
System\Windows\Forms\Printing\PrintPreviewControl.cs (8)
97[DefaultValue(false)] 109[DefaultValue(true)] 129[DefaultValue(DefaultZoom)] 150[DefaultValue(null)] 165[DefaultValue(1)] 183[DefaultValue(1)] 201[DefaultValue(0)] 284[DefaultValue(false)]
System\Windows\Forms\Printing\PrintPreviewDialog.cs (5)
656[DefaultValue(false)] 682[DefaultValue(null)] 691[DefaultValue(false)] 716[DefaultValue(false)] 725[DefaultValue(SizeGripStyle.Hide)]
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
71[DefaultValue(false)]
System\Windows\Forms\Scrolling\ScrollBar.cs (7)
198[DefaultValue(10)] 227[DefaultValue(100)] 257[DefaultValue(0)] 288[DefaultValue(1)] 313[DefaultValue(false)] 344[DefaultValue(0)] 375[DefaultValue(true)]
System\Windows\Forms\Scrolling\ScrollProperties.cs (7)
39[DefaultValue(true)] 70[DefaultValue(10)] 100[DefaultValue(100)] 136[DefaultValue(0)] 182[DefaultValue(1)] 211[DefaultValue(0)] 237[DefaultValue(false)]
System\Windows\Forms\Timer.cs (3)
53[DefaultValue(null)] 87[DefaultValue(false)] 133[DefaultValue(100)]
System\Windows\Forms\ToolTip\ToolTip.cs (14)
104[DefaultValue(true)] 137[DefaultValue(DefaultDelay)] 174[DefaultValue(typeof(Color), "Info")] 238[DefaultValue(typeof(Color), "InfoText")] 283[DefaultValue(false)] 345[DefaultValue(false)] 370[DefaultValue(false)] 393[DefaultValue(false)] 414[DefaultValue(null)] 421[DefaultValue(ToolTipIcon.None)] 450[DefaultValue("")] 542[DefaultValue(true)] 564[DefaultValue(true)] 1008[DefaultValue("")]
System\Windows\Forms\UserControl.cs (2)
66[DefaultValue(AutoSizeMode.GrowOnly)] 123[DefaultValue(BorderStyle.None)]
System.Windows.Forms.Design (11)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
101new DefaultValueAttribute(_defaultValue)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (2)
63[DefaultValue(true)] 88[DefaultValue(MemberAttributes.Private)]
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
71[DefaultValue(MemberAttributes.Private)]
System\Windows\Forms\Design\ControlDesigner.cs (1)
1675new DefaultValueAttribute(false),
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
264new DefaultValueAttribute(false),
System\Windows\Forms\Design\DocumentDesigner.cs (4)
145[DefaultValue(typeof(Point), "0, 0")] 192[DefaultValue(true)] 203[DefaultValue(false)] 214[DefaultValue(80)]
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
483properties["ClientSize"] = TypeDescriptor.CreateProperty(typeof(FormDocumentDesigner), prop, new DefaultValueAttribute(new Size(-1, -1)));
System.Windows.Forms.Tests (2)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
1399[DefaultValue(null)]
System\Windows\Forms\PropertyGridTests.cs (1)
4103[DefaultValue("Default1")]
System.Xaml (3)
System\Windows\Markup\PropertyDefinition.cs (1)
21[DefaultValue(null)]
System\Windows\Markup\StaticExtension.cs (1)
163[DefaultValue(null)]
System\Windows\Markup\TypeExtension.cs (1)
103[DefaultValue(null)]
Text.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
13[DefaultValue(new string[] { })] 16[DefaultValue(new string[] { })]
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
363[DefaultValue(false)]
WinFormsControlsTest (1)
CurrentDPILabel.cs (1)
15[DefaultValue(false)]
81 references to DefaultValue
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributes.cs (2)
71else if (attrib is DefaultValueAttribute) 73_soapDefaultValue = ((DefaultValueAttribute)attrib).Value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributes.cs (2)
132else if (attrib is DefaultValueAttribute) 134_xmlDefaultValue = ((DefaultValueAttribute)attrib).Value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
535CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(DefaultValueAttribute).FullName, arguments);
Microsoft.AspNetCore.Hosting (1)
src\Shared\ErrorPage\ErrorPageModelBuilder.cs (1)
24var systemRuntimeAssembly = typeof(System.ComponentModel.DefaultValueAttribute).Assembly;
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ParameterDefaultValues.cs (2)
45var defaultValueAttribute = parameterInfo.GetCustomAttribute<DefaultValueAttribute>(inherit: false);
Microsoft.AspNetCore.OpenApi (3)
Extensions\JsonNodeSchemaExtensions.cs (2)
331metadata.Attributes.PropertyAttributes.OfType<DefaultValueAttribute>().LastOrDefault() is { } metadataDefaultValueAttribute) 341else if (parameterInfo.GetCustomAttributes<DefaultValueAttribute>().LastOrDefault() is { } defaultValueAttribute)
Services\Schemas\OpenApiSchemaService.cs (1)
114if (propertyAttributes.OfType<DefaultValueAttribute>().LastOrDefault() is { } defaultValueAttribute)
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ErrorPage\ErrorPageModelBuilder.cs (1)
24var systemRuntimeAssembly = typeof(System.ComponentModel.DefaultValueAttribute).Assembly;
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
838if (parameterInfo.GetCustomAttribute<DefaultValueAttribute>(inherit: true) is { } attr)
netstandard (1)
netstandard.cs (1)
221[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DefaultValueAttribute))]
PresentationFramework (1)
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1668private static DefaultValueAttribute _nullDefaultValueAttribute;
ReachFramework (14)
Serialization\Manager\MetroSerializationManager.cs (1)
805DefaultValueAttribute defaultValueAttr = null;
Serialization\Manager\ReachSerializableProperties.cs (2)
601DefaultValueAttribute 606DefaultValueAttribute defValAttr = null;
Serialization\Manager\ReachSerializationCacheItems.cs (11)
106DefaultValueAttribute defaultValueAttr = null; 187out DefaultValueAttribute defaultValueAttr, 229else if (attribute is DefaultValueAttribute) 231defaultValueAttr = (DefaultValueAttribute)attribute; 298DefaultValueAttribute defaultValueAttr, 359DefaultValueAttribute 426DefaultValueAttribute defaultValueAttr; 445DefaultValueAttribute defaultValueAttr, 470out DefaultValueAttribute defaultValueAttr, 503else if (attribute is DefaultValueAttribute) 505defaultValueAttr = (DefaultValueAttribute)attribute;
System (1)
src\libraries\shims\System\ref\System.cs (1)
207[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DefaultValueAttribute))]
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
481Where(property => property.GetFirstAttribute<DefaultValueAttribute>() == null).
System\ComponentModel\Composition\MetadataViewGenerator.cs (4)
152private static void GenerateLocalAssignmentFromDefaultAttribute(this ILGenerator IL, DefaultValueAttribute[] attrs, LocalBuilder local) 156DefaultValueAttribute defaultAttribute = attrs[0]; 243DefaultValueAttribute[] attrs = propertyInfo.GetAttributes<DefaultValueAttribute>(false);
System.ComponentModel.TypeConverter (9)
System\ComponentModel\ReflectPropertyDescriptor.cs (3)
198if (a is DefaultValueAttribute dva) 297Attribute? a = Attributes[typeof(DefaultValueAttribute)]; 301object? defaultValue = ((DefaultValueAttribute)a).Value;
System\ComponentModel\TypeConverter.cs (6)
387DefaultValueAttribute? attr = (DefaultValueAttribute?)Attributes[typeof(DefaultValueAttribute)]; 401DefaultValueAttribute? attr = (DefaultValueAttribute?)Attributes[typeof(DefaultValueAttribute)];
System.Composition.Hosting (3)
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (3)
57var dva = Expression.Constant(prop.GetCustomAttribute<DefaultValueAttribute>(false), typeof(DefaultValueAttribute)); 76private static TValue GetMetadataValue<TValue>(IDictionary<string, object> metadata, string name, DefaultValueAttribute defaultValue)
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationProperty.cs (4)
77DefaultValueAttribute defaultValueAttribute = null; 114else if (attribute is DefaultValueAttribute) 116defaultValueAttribute = (DefaultValueAttribute)attribute; 288DefaultValueAttribute defaultValueAttribute)
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (16)
31/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 107/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 116/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 125/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 134/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 143/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 152/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 161/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 170/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 179/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 188/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 197/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 207/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 217/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 227/// Initializes a new instance of the <see cref='DefaultValueAttribute'/> 259if (obj is not DefaultValueAttribute other)
System.Private.Xml (4)
System\Xml\Serialization\SoapAttributes.cs (2)
73else if (attrs[i] is DefaultValueAttribute) 75_soapDefaultValue = ((DefaultValueAttribute)attrs[i]).Value;
System\Xml\Serialization\XmlAttributes.cs (2)
128else if (attrs[i] is DefaultValueAttribute) 130_xmlDefaultValue = ((DefaultValueAttribute)attrs[i]).Value;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
112[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DefaultValueAttribute))]
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationAnalyzer.cs (1)
76or (nameof(DefaultValueAttribute))))
System.Windows.Forms.Design (5)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
207if (_propertyDescriptor.TryGetAttribute(out DefaultValueAttribute? defaultAttribute))
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (1)
38else if (property.TryGetAttribute(out DefaultValueAttribute? defAttr))
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
971var sizeAttr = (DefaultValueAttribute)prop.Attributes[typeof(DefaultValueAttribute)];
System.Xaml (3)
System\Xaml\XamlMember.cs (3)
911DefaultValueAttribute defaultValueAttrib = null; 919object[] attribs = attributeProvider.GetCustomAttributes(typeof(DefaultValueAttribute), true); 922defaultValueAttrib = (DefaultValueAttribute)attribs[0];