Skip to content

Commit f39e321

Browse files
authored
Update CS1935 compiler message text to remove System.Core.dll reference (#45920)
Fixes #37165
1 parent 507c81a commit f39e321

20 files changed

+33
-33
lines changed

src/Compilers/CSharp/Portable/Binder/Binder_QueryErrors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal void ReportQueryLookupFailed(
4949
}
5050
else if (ImplementsStandardQueryInterface(instanceArgument.Type, name, ref useSiteDiagnostics))
5151
{
52-
// Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?
52+
// Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?
5353
diagnostics.Add(new DiagnosticInfoWithSymbols(
5454
ErrorCode.ERR_QueryNoProviderStandard,
5555
new object[] { instanceArgument.Type, name },

src/Compilers/CSharp/Portable/CSharpResources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
32993299
<value>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Consider explicitly specifying the type of the range variable '{2}'.</value>
33003300
</data>
33013301
<data name="ERR_QueryNoProviderStandard" xml:space="preserve">
3302-
<value>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</value>
3302+
<value>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</value>
33033303
</data>
33043304
<data name="ERR_QueryNoProvider" xml:space="preserve">
33053305
<value>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found.</value>

src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Blok catch() po bloku catch (System.Exception e) může zachytit výjimky, kter
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Nechybí odkaz na System.Core.dll nebo na direktivu using pro System.Linq?</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Nechybí odkaz na System.Core.dll nebo na direktivu using pro System.Linq?</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Ein catch()-Block nach einem catch (System.Exception e)-Block kann nicht-CLS-Aus
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">Es konnte keine Implementierung des Abfragemusters für den Quelltyp "{0}" gefunden werden. "{1}" wurde nicht gefunden. Fehlt möglicherweise ein Verweis auf "System.Core.dll" oder eine Using-Direktive für "System.Linq"?</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">Es konnte keine Implementierung des Abfragemusters für den Quelltyp "{0}" gefunden werden. "{1}" wurde nicht gefunden. Fehlt möglicherweise ein Verweis auf "System.Core.dll" oder eine Using-Direktive für "System.Linq"?</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Un bloque catch() después de un bloque catch (System.Exception e) puede abarcar
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">No se encontró ninguna implementación del patrón de consulta para el tipo de origen '{0}'. No se encontró '{1}'. ¿Falta alguna referencia a 'System.Core.dll' o alguna directiva using para 'System.Linq'?</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">No se encontró ninguna implementación del patrón de consulta para el tipo de origen '{0}'. No se encontró '{1}'. ¿Falta alguna referencia a 'System.Core.dll' o alguna directiva using para 'System.Linq'?</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Un bloc catch() après un bloc catch (System.Exception e) peut intercepter des e
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">Impossible de trouver une implémentation du modèle de requête pour le type source '{0}'. '{1}' introuvable. Vous manque-t-il une référence à 'System.Core.dll' ou une directive using pour 'System.Linq' ?</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">Impossible de trouver une implémentation du modèle de requête pour le type source '{0}'. '{1}' introuvable. Vous manque-t-il une référence à 'System.Core.dll' ou une directive using pour 'System.Linq' ?</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Un blocco catch() dopo un blocco catch (System.Exception e) può rilevare eccezi
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">Non è stata trovata un'implementazione del modello di query per il tipo di origine '{0}'. '{1}' non è presente. Probabilmente manca un riferimento a 'System.Core.dll' o una direttiva using per 'System.Linq'.</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">Non è stata trovata un'implementazione del modello di query per il tipo di origine '{0}'. '{1}' non è presente. Probabilmente manca un riferimento a 'System.Core.dll' o una direttiva using per 'System.Linq'.</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ AssemblyInfo.cs ファイルで RuntimeCompatibilityAttribute が false に設
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">ソース型 '{0}' のクエリ パターンの実装が見つかりませんでした。'{1}' が見つかりません。'System.Core.dll' の参照または 'System.Linq' のディレクティブの使用が指定されていることを確認してください。</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">ソース型 '{0}' のクエリ パターンの実装が見つかりませんでした。'{1}' が見つかりません。'System.Core.dll' の参照または 'System.Linq' のディレクティブの使用が指定されていることを確認してください。</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ catch (System.Exception e) 블록 뒤의 catch() 블록은 RuntimeCompatibilityA
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">소스 형식 '{0}'에 대해 구현된 쿼리 패턴을 찾을 수 없습니다. '{1}'을(를) 찾을 수 없습니다. 'System.Core.dll'에 대한 참조 또는 'System.Linq'에 대한 using 지시문이 있는지 확인하세요.</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">소스 형식 '{0}'에 대해 구현된 쿼리 패턴을 찾을 수 없습니다. '{1}'을(를) 찾을 수 없습니다. 'System.Core.dll'에 대한 참조 또는 'System.Linq'에 대한 using 지시문이 있는지 확인하세요.</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,8 +7238,8 @@ Blok catch() po bloku catch (System.Exception e) może przechwytywać wyjątki n
72387238
<note />
72397239
</trans-unit>
72407240
<trans-unit id="ERR_QueryNoProviderStandard">
7241-
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?</source>
7242-
<target state="translated">Nie można znaleźć implementacji wzorca zapytania dla typu źródłowego „{0}”. Nie znaleziono elementu „{1}”. Być może brakuje odwołania do biblioteki „System.Core.dll” lub użycia dyrektywy dla przestrzeni nazw „System.Linq”.</target>
7241+
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
7242+
<target state="needs-review-translation">Nie można znaleźć implementacji wzorca zapytania dla typu źródłowego „{0}”. Nie znaleziono elementu „{1}”. Być może brakuje odwołania do biblioteki „System.Core.dll” lub użycia dyrektywy dla przestrzeni nazw „System.Linq”.</target>
72437243
<note />
72447244
</trans-unit>
72457245
<trans-unit id="ERR_QueryNoProvider">

0 commit comments

Comments
 (0)