Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove single-file analyzer #4680

Merged
merged 3 commits into from
Jan 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/NetAnalyzers/Core/AnalyzerReleases.Unshipped.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
; Please do not edit this file manually, it should only be updated through code fix application.
; Please do not edit this file manually, it should only be updated through code fix application.

### Removed Rules
Rule ID | Category | Severity | Notes
mavasani marked this conversation as resolved.
Show resolved Hide resolved
--------|----------|----------|-------
IL3000 | Public | Warning | Moved analyzer to mono/linker
IL3001 | Public | Warning | Moved analyzer to mono/linker
Original file line number Diff line number Diff line change
Expand Up @@ -1463,15 +1463,6 @@
<data name="AvoidStringBuilderPInvokeParametersTitle" xml:space="preserve">
<value>Avoid 'StringBuilder' parameters for P/Invokes</value>
</data>
<data name="AvoidAssemblyLocationInSingleFileTitle" xml:space="preserve">
<value>Avoid using accessing Assembly file path when publishing as a single-file</value>
</data>
<data name="AvoidAssemblyLocationInSingleFileMessage" xml:space="preserve">
<value>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</value>
</data>
<data name="AvoidAssemblyGetFilesInSingleFileMessage" xml:space="preserve">
<value>'{0}' will throw for assemblies embedded in a single-file app</value>
</data>
<data name="PlatformCompatibilityOnlySupportedCsReachableMessage" xml:space="preserve">
<value>This call site is reachable on: {2}. '{0}' is only supported on: {1}.</value>
<comment>This call site is reachable on: 'windows' all versions.'SupportedOnWindowsUnsupportedFromWindows2004()' is only supported on: 'windows' 10.0.2004 and before</comment>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@
<target state="translated">Literály řetězců atributů by se měly správně parsovat</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyGetFilesInSingleFileMessage">
<source>'{0}' will throw for assemblies embedded in a single-file app</source>
<target state="translated">Pro sestavení vložená do aplikace s jedním souborem {0} vyvolá výjimku.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileMessage">
<source>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</source>
<target state="translated">Pro sestavení vložená do aplikace s jedním souborem {0} vždy vrátí prázdný řetězec. Pokud se cesta k adresáři aplikace vyžaduje, zvažte možnost zavolat System.AppContext.BaseDirectory.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileTitle">
<source>Avoid using accessing Assembly file path when publishing as a single-file</source>
<target state="translated">Při publikování jednoho souboru nepoužívat přístup k cestě souboru sestavení</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
<source>Marshalling of 'StringBuilder' always creates a native buffer copy, resulting in multiple allocations for one marshalling operation.</source>
<target state="translated">Zařazením parametru StringBuilder se vždy vytvoří kopie nativní vyrovnávací paměti, která bude mít za následek vícenásobné přidělení pro jednu operaci zařazování.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@
<target state="translated">Attributzeichenfolgenliterale müssen richtig analysiert werden</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyGetFilesInSingleFileMessage">
<source>'{0}' will throw for assemblies embedded in a single-file app</source>
<target state="translated">"{0}" wird für Assemblys ausgelöst, die in einer Einzeldatei-App eingebettet sind.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileMessage">
<source>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</source>
<target state="translated">"{0}" gibt immer eine leere Zeichenfolge für Assemblys zurück, die in einer Einzeldatei-App eingebettet sind. Wenn der Pfad zum App-Verzeichnis erforderlich ist, sollten Sie "System.AppContext.BaseDirectory" aufrufen.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileTitle">
<source>Avoid using accessing Assembly file path when publishing as a single-file</source>
<target state="translated">Zugriff auf den Assemblydateipfad beim Veröffentlichen als Einzeldatei vermeiden</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
<source>Marshalling of 'StringBuilder' always creates a native buffer copy, resulting in multiple allocations for one marshalling operation.</source>
<target state="translated">Beim Marshalling von "StringBuilder" wird immer eine native Pufferkopie erstellt, sodass mehrere Zuordnungen für einen Marshallingvorgang vorhanden sind.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@
<target state="translated">Los literales de cadena de atributo se deben analizar correctamente</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyGetFilesInSingleFileMessage">
<source>'{0}' will throw for assemblies embedded in a single-file app</source>
<target state="translated">Se iniciará "{0}" para los ensamblados insertados en una aplicación de un solo archivo.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileMessage">
<source>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</source>
<target state="translated">"{0}" devuelve siempre una cadena vacía para los ensamblados insertados en una aplicación de un solo archivo. Si se necesita la ruta de acceso al directorio de la aplicación, considere la posibilidad de llamar a "System.AppContext.BaseDirectory".</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileTitle">
<source>Avoid using accessing Assembly file path when publishing as a single-file</source>
<target state="translated">Evite usar la ruta de acceso al archivo de ensamblado al publicar como único archivo</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
<source>Marshalling of 'StringBuilder' always creates a native buffer copy, resulting in multiple allocations for one marshalling operation.</source>
<target state="translated">Al serializar "StringBuilder" siempre se crea una copia del búfer nativo, lo que da lugar a varias asignaciones para una operación de serialización.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@
<target state="translated">Les littéraux de chaîne d'attribut doivent être analysés correctement</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyGetFilesInSingleFileMessage">
<source>'{0}' will throw for assemblies embedded in a single-file app</source>
<target state="translated">'{0}' lèvera une exception pour les assemblys incorporés dans une application monofichier</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileMessage">
<source>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</source>
<target state="translated">'{0}' retourne toujours une chaîne vide pour les assemblys incorporés dans une application monofichier. Si le chemin du répertoire d'application est nécessaire, appelez 'System.AppContext.BaseDirectory'.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileTitle">
<source>Avoid using accessing Assembly file path when publishing as a single-file</source>
<target state="translated">Évitez d'utiliser l'accès du chemin du fichier d'assembly lors de la publication en tant qu'application monofichier</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
<source>Marshalling of 'StringBuilder' always creates a native buffer copy, resulting in multiple allocations for one marshalling operation.</source>
<target state="translated">Le marshaling de 'StringBuilder' crée toujours une copie de la mémoire tampon native, ce qui entraîne plusieurs allocations pour une seule opération de marshaling.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@
<target state="translated">I valori letterali stringa dell'attributo devono essere analizzati correttamente</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyGetFilesInSingleFileMessage">
<source>'{0}' will throw for assemblies embedded in a single-file app</source>
<target state="translated">'{0}' verrà generato per gli assembly incorporati in un'app a file singolo</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileMessage">
<source>'{0}' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.</source>
<target state="translated">'{0}' restituisce sempre una stringa vuota per gli assembly incorporati in un'app a file singolo. Se il percorso della directory app è necessario, provare a chiamare 'System.AppContext.BaseDirectory'.</target>
<note />
</trans-unit>
<trans-unit id="AvoidAssemblyLocationInSingleFileTitle">
<source>Avoid using accessing Assembly file path when publishing as a single-file</source>
<target state="translated">Evitare l'accesso al percorso del file di assembly quando si esegue la pubblicazione come file singolo</target>
<note />
</trans-unit>
<trans-unit id="AvoidStringBuilderPInvokeParametersDescription">
<source>Marshalling of 'StringBuilder' always creates a native buffer copy, resulting in multiple allocations for one marshalling operation.</source>
<target state="translated">Il marshalling di 'StringBuilder' crea sempre una copia del buffer nativo, di conseguenza vengono generate più allocazioni per una singola operazione di marshalling.</target>
Expand Down
Loading