Skip to content

Commit 37c910d

Browse files
committed
Delete WinForms-specific unimplemented analyzers
1 parent fde4933 commit 37c910d

File tree

28 files changed

+1
-695
lines changed

28 files changed

+1
-695
lines changed

src/NetAnalyzers/CSharp/Microsoft.NetFramework.Analyzers/CSharpMarkWindowsFormsEntryPointsWithStaThread.Fixer.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/NetAnalyzers/CSharp/Microsoft.NetFramework.Analyzers/CSharpMarkWindowsFormsEntryPointsWithStaThread.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/NetAnalyzers/CSharp/Microsoft.NetFramework.Analyzers/CSharpSpecifyMessageBoxOptions.Fixer.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/NetAnalyzers/CSharp/Microsoft.NetFramework.Analyzers/CSharpSpecifyMessageBoxOptions.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/MarkWindowsFormsEntryPointsWithStaThread.Fixer.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/MarkWindowsFormsEntryPointsWithStaThread.cs

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/MicrosoftNetFrameworkAnalyzersResources.resx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,6 @@
117117
<resheader name="writer">
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120-
<data name="SpecifyMessageBoxOptionsTitle" xml:space="preserve">
121-
<value>Specify MessageBoxOptions</value>
122-
</data>
123-
<data name="SpecifyMessageBoxOptionsDescription" xml:space="preserve">
124-
<value>To correctly display a message box for cultures that use a right-to-left reading order, the RightAlign and RtlReading members of the MessageBoxOptions enumeration must be passed to the Show method.</value>
125-
</data>
126-
<data name="SpecifyMessageBoxOptionsMessage" xml:space="preserve">
127-
<value>Specify MessageBoxOptions</value>
128-
</data>
129120
<data name="AvoidDuplicateAcceleratorsTitle" xml:space="preserve">
130121
<value>Avoid duplicate accelerators</value>
131122
</data>
@@ -153,15 +144,6 @@
153144
<data name="DoNotMarkServicedComponentsWithWebMethodMessage" xml:space="preserve">
154145
<value>Do not mark serviced components with WebMethod</value>
155146
</data>
156-
<data name="MarkWindowsFormsEntryPointsWithStaThreadTitle" xml:space="preserve">
157-
<value>Mark Windows Forms entry points with STAThread</value>
158-
</data>
159-
<data name="MarkWindowsFormsEntryPointsWithStaThreadDescription" xml:space="preserve">
160-
<value>STAThreadAttribute indicates that the COM threading model for the application is a single-threaded apartment. This attribute must be present on the entry point of any application that uses Windows Forms; if it is omitted, the Windows components might not work correctly.</value>
161-
</data>
162-
<data name="MarkWindowsFormsEntryPointsWithStaThreadMessage" xml:space="preserve">
163-
<value>Mark Windows Forms entry points with STAThread</value>
164-
</data>
165147
<data name="CallBaseClassMethodsOnISerializableTypesTitle" xml:space="preserve">
166148
<value>Call base class methods on ISerializable types</value>
167149
</data>
@@ -373,4 +355,4 @@
373355
<data name="MarkVerbHandlersWithValidateAntiforgeryTokenVerbsAndNoTokenMessage" xml:space="preserve">
374356
<value>Missing ValidateAntiForgeryTokenAttribute on controller action {0}</value>
375357
</data>
376-
</root>
358+
</root>

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/SpecifyMessageBoxOptions.Fixer.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/SpecifyMessageBoxOptions.cs

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/NetAnalyzers/Core/Microsoft.NetFramework.Analyzers/xlf/MicrosoftNetFrameworkAnalyzersResources.cs.xlf

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,6 @@
22
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
33
<file datatype="xml" source-language="en" target-language="cs" original="../MicrosoftNetFrameworkAnalyzersResources.resx">
44
<body>
5-
<trans-unit id="SpecifyMessageBoxOptionsTitle">
6-
<source>Specify MessageBoxOptions</source>
7-
<target state="translated">Zadejte MessageBoxOptions</target>
8-
<note />
9-
</trans-unit>
10-
<trans-unit id="SpecifyMessageBoxOptionsDescription">
11-
<source>To correctly display a message box for cultures that use a right-to-left reading order, the RightAlign and RtlReading members of the MessageBoxOptions enumeration must be passed to the Show method.</source>
12-
<target state="translated">Aby se okno se zprávou zobrazovalo správně pro jazykové verze, jejichž text se čte zprava doleva, musí se metodě Show předat členy RightAlign a RtlReading výčtu MessageBoxOptions.</target>
13-
<note />
14-
</trans-unit>
15-
<trans-unit id="SpecifyMessageBoxOptionsMessage">
16-
<source>Specify MessageBoxOptions</source>
17-
<target state="translated">Zadejte MessageBoxOptions</target>
18-
<note />
19-
</trans-unit>
205
<trans-unit id="AvoidDuplicateAcceleratorsTitle">
216
<source>Avoid duplicate accelerators</source>
227
<target state="translated">Vyhněte se duplicitním klávesovým zkratkám</target>
@@ -62,21 +47,6 @@
6247
<target state="translated">Neoznačujte komponenty služeb jako WebMethod</target>
6348
<note />
6449
</trans-unit>
65-
<trans-unit id="MarkWindowsFormsEntryPointsWithStaThreadTitle">
66-
<source>Mark Windows Forms entry points with STAThread</source>
67-
<target state="translated">Označte vstupní body Windows Forms jako STAThread</target>
68-
<note />
69-
</trans-unit>
70-
<trans-unit id="MarkWindowsFormsEntryPointsWithStaThreadDescription">
71-
<source>STAThreadAttribute indicates that the COM threading model for the application is a single-threaded apartment. This attribute must be present on the entry point of any application that uses Windows Forms; if it is omitted, the Windows components might not work correctly.</source>
72-
<target state="translated">STAThreadAttribute označuje, že podprocesový model COM pro aplikaci je STA (single-threaded apartment). Tento atribut se musí zadat na vstupní bod každé aplikace, která používá Windows Forms. Pokud se vynechá, komponenty Windows nemusí fungovat správně.</target>
73-
<note />
74-
</trans-unit>
75-
<trans-unit id="MarkWindowsFormsEntryPointsWithStaThreadMessage">
76-
<source>Mark Windows Forms entry points with STAThread</source>
77-
<target state="translated">Označte vstupní body Windows Forms jako STAThread</target>
78-
<note />
79-
</trans-unit>
8050
<trans-unit id="CallBaseClassMethodsOnISerializableTypesTitle">
8151
<source>Call base class methods on ISerializable types</source>
8252
<target state="translated">Zavolejte metody základních tříd pro typy ISerializable</target>

0 commit comments

Comments
 (0)