Skip to content
Merged
84 changes: 84 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -243,3 +243,87 @@ _dependentPackages/

# Ignore ionide caches
.ionide/
/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/Dick0001.csproj
/snippets/csharp/System.ComponentModel/AttributeCollection/.ctor/Dick0002.csproj
/snippets/csharp/System.ComponentModel/AttributeCollection/Count/Dick0003.csproj
/snippets/csharp/System.ComponentModel/AttributeCollection/GetEnumerator/Dick0004.csproj
/snippets/csharp/System.ComponentModel/AttributeCollection/Overview/Dick0005.csproj
/snippets/csharp/System.ComponentModel/BackgroundWorker/IsBusy/Dick0006.csproj
/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/Dick0007.csproj
/snippets/csharp/System.ComponentModel/BindableAttribute/Bindable/Dick0008.csproj
/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/Dick0009.csproj
/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Dick0010.csproj
/snippets/csharp/System.ComponentModel/BindingListT/Overview/Dick0011.csproj
/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/Dick0012.csproj
/snippets/csharp/System.ComponentModel/BrowsableAttribute/.ctor/Dick0013.csproj
/snippets/csharp/System.ComponentModel/BrowsableAttribute/Browsable/Dick0014.csproj
/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/Dick0015.csproj
/snippets/csharp/System.ComponentModel/CancelEventArgs/Overview/Dick0016.csproj
/snippets/csharp/System.ComponentModel/CategoryAttribute/Overview/Dick0017.csproj
/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/Dick0018.csproj
/snippets/csharp/System.ComponentModel/ComponentEditor/Overview/Dick0019.csproj
/snippets/csharp/System.ComponentModel/ComponentResourceManager/Overview/Dick0020.csproj
/snippets/csharp/System.ComponentModel/DefaultEventAttribute/Overview/Dick0021.csproj
/snippets/csharp/System.ComponentModel/DefaultPropertyAttribute/Overview/Dick0022.csproj
/snippets/csharp/System.ComponentModel/DefaultValueAttribute/Overview/Dick0023.csproj
/snippets/csharp/System.ComponentModel/DescriptionAttribute/Overview/Dick0024.csproj
/snippets/csharp/System.ComponentModel/DesignerAttribute/Overview/Dick0025.csproj
/snippets/csharp/System.ComponentModel/DesignerCategoryAttribute/Overview/Dick0026.csproj
/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/Dick0027.csproj
/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/Dick0028.csproj
/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/Dick0029.csproj
/snippets/csharp/System.ComponentModel/DesignOnlyAttribute/Overview/Dick0030.csproj
/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Dick0031.csproj
/snippets/csharp/System.ComponentModel/EditorAttribute/Overview/Dick0032.csproj
/snippets/csharp/System.ComponentModel/EditorBrowsableAttribute/Overview/Dick0033.csproj
/snippets/csharp/System.ComponentModel/EventDescriptor/Overview/Dick0034.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/.ctor/Dick0035.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Count/Dick0036.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Find/Dick0037.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/GetEnumerator/Dick0038.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/InternalSort/Dick0039.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Overview/Dick0040.csproj
/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/Dick0041.csproj
/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/Dick0042.csproj
/snippets/csharp/System.ComponentModel/IBindingList/Overview/Dick0043.csproj
/snippets/csharp/System.ComponentModel/IExtenderProvider/Overview/Dick0044.csproj
/snippets/csharp/System.ComponentModel/IListSource/Overview/Dick0045.csproj
/snippets/csharp/System.ComponentModel/InvalidEnumArgumentException/Overview/Dick0046.csproj
/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/Dick0047.csproj
/snippets/csharp/System.ComponentModel/ITypeDescriptorContext/Overview/Dick0048.csproj
/snippets/csharp/System.ComponentModel/ITypedList/Overview/Dick0049.csproj
/snippets/csharp/System.ComponentModel/LicenseException/Overview/Dick0050.csproj
/snippets/csharp/System.ComponentModel/LicenseManager/Overview/Dick0051.csproj
/snippets/csharp/System.ComponentModel/LicenseProviderAttribute/Overview/Dick0052.csproj
/snippets/csharp/System.ComponentModel/LocalizableAttribute/.ctor/Dick0053.csproj
/snippets/csharp/System.ComponentModel/LocalizableAttribute/IsLocalizable/Dick0054.csproj
/snippets/csharp/System.ComponentModel/LocalizableAttribute/Overview/Dick0055.csproj
/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/Dick0056.csproj
/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/.ctor/Dick0057.csproj
/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/AllowMerge/Dick0058.csproj
/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/Dick0059.csproj
/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Count/Dick0060.csproj
/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Find/Dick0061.csproj
/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/Dick0062.csproj
/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Overview/Dick0063.csproj
/snippets/csharp/System.ComponentModel/PropertyTabAttribute/Overview/Dick0064.csproj
/snippets/csharp/System.ComponentModel/ProvidePropertyAttribute/Overview/Dick0065.csproj
/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/.ctor/Dick0066.csproj
/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/Dick0067.csproj
/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/Dick0068.csproj
/snippets/csharp/System.ComponentModel/RecommendedAsConfigurableAttribute/.ctor/Dick0069.csproj
/snippets/csharp/System.ComponentModel/RecommendedAsConfigurableAttribute/Overview/Dick0070.csproj
/snippets/csharp/System.ComponentModel/RecommendedAsConfigurableAttribute/RecommendedAsConfigurable/Dick0071.csproj
/snippets/csharp/System.ComponentModel/RefreshEventHandler/Overview/Dick0072.csproj
/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Dick0073.csproj
/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/Dick0074.csproj
/snippets/csharp/System.ComponentModel/TypeConverter/Overview/Dick0075.csproj
/snippets/csharp/System.ComponentModel/TypeConverterAttribute/Overview/Dick0076.csproj
/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Dick0077.csproj
/snippets/csharp/System.ComponentModel/WarningException/Overview/Dick0078.csproj
/snippets/csharp/System.ComponentModel/Win32Exception/Overview/Dick0079.csproj
/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/form1.resx
/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.resx
/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.resx
/snippets/csharp/System.ComponentModel/Dick.bat
/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.resx
9 changes: 9 additions & 0 deletions snippets/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ dotnet_style_prefer_conditional_expression_over_return = true:refactoring

# Analyzers
dotnet_code_quality.ca1802.api_surface = private, internal
dotnet_style_operator_placement_when_wrapping = end_of_line
tab_width = 4
end_of_line = crlf
dotnet_style_require_accessibility_modifiers = omit_if_default:silent

# C# files
[*.cs]
Expand Down Expand Up @@ -161,6 +165,11 @@ csharp_space_between_square_brackets = false
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = false:none
csharp_style_var_elsewhere = false:suggestion
csharp_style_namespace_declarations = file_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_prefer_system_threading_lock = true:suggestion

# Visual Basic files
[*.vb]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

Expand Down
Loading