未验证 提交 14731c81 编写于 作者: R Rikki Gibson 提交者: GitHub

Reuse nullable override checks for delegate conversions (#46953)

上级 851ecc57
......@@ -5613,16 +5613,16 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
<value>Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member.</value>
</data>
<data name="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate" xml:space="preserve">
<value>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</value>
<value>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</value>
</data>
<data name="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title" xml:space="preserve">
<value>Nullability of reference types in return type doesn't match the target delegate.</value>
<value>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</value>
</data>
<data name="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate" xml:space="preserve">
<value>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</value>
<value>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</value>
</data>
<data name="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title" xml:space="preserve">
<value>Nullability of reference types in type of parameter doesn't match the target delegate.</value>
<value>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</value>
</data>
<data name="WRN_NullAsNonNullable" xml:space="preserve">
<value>Cannot convert null literal to non-nullable reference type.</value>
......
......@@ -6285,45 +6285,29 @@ void trackConvertedValue(FieldSymbol targetField, Conversion conversion, FieldSy
private void ReportNullabilityMismatchWithTargetDelegate(Location location, TypeSymbol targetType, MethodSymbol targetInvokeMethod, MethodSymbol sourceInvokeMethod, bool invokedAsExtensionMethod)
{
Debug.Assert((object)sourceInvokeMethod != null);
Debug.Assert(sourceInvokeMethod.MethodKind != MethodKind.LambdaMethod);
if (targetInvokeMethod is null)
{
return;
}
SourceMemberContainerTypeSymbol.CheckValidNullableMethodOverride(
compilation,
targetInvokeMethod,
sourceInvokeMethod,
Diagnostics,
reportBadDelegateReturn,
reportBadDelegateParameter,
extraArgument: (targetType, location),
invokedAsExtensionMethod: invokedAsExtensionMethod);
if (IsNullabilityMismatch(sourceInvokeMethod.ReturnTypeWithAnnotations, targetInvokeMethod.ReturnTypeWithAnnotations, requireIdentity: false))
void reportBadDelegateReturn(DiagnosticBag bag, MethodSymbol targetInvokeMethod, MethodSymbol sourceInvokeMethod, bool topLevel, (TypeSymbol targetType, Location location) arg)
{
ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInReturnTypeOfTargetDelegate, location,
ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInReturnTypeOfTargetDelegate, arg.location,
new FormattedSymbol(sourceInvokeMethod, SymbolDisplayFormat.MinimallyQualifiedFormat),
targetType);
arg.targetType);
}
int methodOffset = invokedAsExtensionMethod ? 1 : 0;
int count = Math.Min(targetInvokeMethod.ParameterCount, sourceInvokeMethod.ParameterCount - methodOffset);
for (int i = 0; i < count; i++)
void reportBadDelegateParameter(DiagnosticBag bag, MethodSymbol sourceInvokeMethod, MethodSymbol targetInvokeMethod, ParameterSymbol parameter, bool topLevel, (TypeSymbol targetType, Location location) arg)
{
var invokeParameter = targetInvokeMethod.Parameters[i];
var methodParameter = sourceInvokeMethod.Parameters[i + methodOffset];
var sourceParameter = invokeParameter;
var destinationParameter = methodParameter;
var invokeRefKind = invokeParameter.RefKind;
if (invokeRefKind == RefKind.Out)
{
// out parameters have inverted variance
(sourceParameter, destinationParameter) = (destinationParameter, sourceParameter);
}
if (IsNullabilityMismatch(sourceParameter.TypeWithAnnotations, destinationParameter.TypeWithAnnotations, requireIdentity: invokeRefKind == RefKind.Ref))
{
ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInParameterTypeOfTargetDelegate, location,
GetParameterAsDiagnosticArgument(methodParameter),
GetContainingSymbolAsDiagnosticArgument(methodParameter),
targetType);
}
ReportDiagnostic(ErrorCode.WRN_NullabilityMismatchInParameterTypeOfTargetDelegate, arg.location,
GetParameterAsDiagnosticArgument(parameter),
GetContainingSymbolAsDiagnosticArgument(parameter),
arg.targetType);
}
}
......
......@@ -1181,7 +1181,8 @@ private bool IsValidOverrideReturnType(Symbol overridingSymbol, TypeWithAnnotati
DiagnosticBag diagnostics,
ReportMismatchInReturnType<TArg> reportMismatchInReturnType,
ReportMismatchInParameterType<TArg> reportMismatchInParameterType,
TArg extraArgument)
TArg extraArgument,
bool invokedAsExtensionMethod = false)
{
if (!PerformValidNullableOverrideCheck(compilation, overriddenMethod, overridingMethod))
{
......@@ -1229,11 +1230,13 @@ private bool IsValidOverrideReturnType(Symbol overridingSymbol, TypeWithAnnotati
ImmutableArray<ParameterSymbol> overridingParameters = overridingMethod.GetParameters();
var overriddenParameters = overriddenMethod.GetParameters();
int overridingMethodOffset = invokedAsExtensionMethod ? 1 : 0;
Debug.Assert(overriddenMethod.ParameterCount == overridingMethod.ParameterCount - overridingMethodOffset);
for (int i = 0; i < overriddenMethod.ParameterCount; i++)
{
var overriddenParameter = overriddenParameters[i];
var overriddenParameterType = overriddenParameter.TypeWithAnnotations;
var overridingParameter = overridingParameters[i];
var overridingParameter = overridingParameters[i + overridingMethodOffset];
var overridingParameterType = overridingParameter.TypeWithAnnotations;
// check nested nullability
if (!isValidNullableConversion(
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">Typ odkazu s možnou hodnotu null v typu parametru {0} metody {1} neodpovídá cílovému delegátovi {2}.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Typ odkazu s možnou hodnotu null v typu parametru {0} metody {1} neodpovídá cílovému delegátovi {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá cílovému delegátovi.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá cílovému delegátovi.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu {0} neodpovídá cílovému delegátovi {1}.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Typ odkazu s možnou hodnotou null ve vráceném typu {0} neodpovídá cílovému delegátovi {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá cílovému delegátovi.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá cílovému delegátovi.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters "{0}" von "{1}" entspricht nicht dem Zieldelegaten "{2}".</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters "{0}" von "{1}" entspricht nicht dem Zieldelegaten "{2}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters entspricht nicht dem Zieldelegaten.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Die NULL-Zulässigkeit von Verweistypen im Typ des Parameters entspricht nicht dem Zieldelegaten.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp von "{0}" entspricht nicht dem Zieldelegaten "{1}".</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp von "{0}" entspricht nicht dem Zieldelegaten "{1}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp entspricht nicht dem Zieldelegaten.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Die NULL-Zulässigkeit von Verweistypen im Rückgabetyp entspricht nicht dem Zieldelegaten.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">La nulabilidad de los tipos de referencia del tipo de parámetro "{0}" de "{1}" no coincide con el delegado de destino "{2}".</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nulabilidad de los tipos de referencia del tipo de parámetro "{0}" de "{1}" no coincide con el delegado de destino "{2}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">La nulabilidad de los tipos de referencia del tipo de parámetro no coincide con el delegado de destino</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nulabilidad de los tipos de referencia del tipo de parámetro no coincide con el delegado de destino</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">La nulabilidad de los tipos de referencia en el tipo de valor devuelto de "{0}" no coincide con el delegado de destino "{1}".</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nulabilidad de los tipos de referencia en el tipo de valor devuelto de "{0}" no coincide con el delegado de destino "{1}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">La nulabilidad de los tipos de referencia en el tipo de valor devuelto no coincide con el delegado de destino</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nulabilidad de los tipos de referencia en el tipo de valor devuelto no coincide con el delegado de destino</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">La nullabilité des types référence dans le type de paramètre '{0}' de '{1}' ne correspond pas au délégué cible '{2}'.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nullabilité des types référence dans le type de paramètre '{0}' de '{1}' ne correspond pas au délégué cible '{2}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">La nullabilité des types référence dans le type de paramètre ne correspond pas au délégué cible.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nullabilité des types référence dans le type de paramètre ne correspond pas au délégué cible.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">La nullabilité des types référence dans le type de retour de '{0}' ne correspond pas au délégué cible '{1}'.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nullabilité des types référence dans le type de retour de '{0}' ne correspond pas au délégué cible '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">La nullabilité des types référence dans le type de retour ne correspond pas au délégué cible.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">La nullabilité des types référence dans le type de retour ne correspond pas au délégué cible.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">Il supporto dei valori Null dei tipi riferimento nel tipo di parametro '{0}' di '{1}' non corrisponde al delegato di destinazione '{2}'.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Il supporto dei valori Null dei tipi riferimento nel tipo di parametro '{0}' di '{1}' non corrisponde al delegato di destinazione '{2}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Il supporto dei valori Null dei tipi riferimento nel tipo di parametro non corrisponde al delegato di destinazione.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Il supporto dei valori Null dei tipi riferimento nel tipo di parametro non corrisponde al delegato di destinazione.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">Il supporto dei valori Null dei tipi riferimento nel tipo restituito di '{0}' non corrisponde al delegato di destinazione '{1}'.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Il supporto dei valori Null dei tipi riferimento nel tipo restituito di '{0}' non corrisponde al delegato di destinazione '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Il supporto dei valori Null dei tipi riferimento nel tipo restituito non corrisponde al delegato di destinazione.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Il supporto dei valori Null dei tipi riferimento nel tipo restituito non corrisponde al delegato di destinazione.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">'{1}' のパラメーター '{0}' 型における参照型の Null 許容性が、対象のデリゲート '{2}' と一致しません。</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{1}' のパラメーター '{0}' 型における参照型の Null 許容性が、対象のデリゲート '{2}' と一致しません。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">パラメーターの型における参照型の Null 許容性が、対象のデリゲートと一致しません。</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">パラメーターの型における参照型の Null 許容性が、対象のデリゲートと一致しません。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">'{0}' 戻り値の型における参照型の Null 許容性が、対象のデリゲート '{1}' と一致しません。</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{0}' 戻り値の型における参照型の Null 許容性が、対象のデリゲート '{1}' と一致しません。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">戻り値の型における参照型の Null 許容性が、対象のデリゲートと一致しません。</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">戻り値の型における参照型の Null 許容性が、対象のデリゲートと一致しません。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">'{1}'의 '{0}' 매개 변수 형식에 있는 참조 형식 Null 허용 여부가 '{2}' 대상 대리자와 일치하지 않습니다.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{1}'의 '{0}' 매개 변수 형식에 있는 참조 형식 Null 허용 여부가 '{2}' 대상 대리자와 일치하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">매개 변수 형식에 있는 참조 형식 Null 허용 여부가 대상 대리자와 일치하지 않습니다.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">매개 변수 형식에 있는 참조 형식 Null 허용 여부가 대상 대리자와 일치하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">'{0}'의 반환 형식에 있는 참조 형식 Null 허용 여부가 '{1}' 대상 대리자와 일치하지 않습니다.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{0}'의 반환 형식에 있는 참조 형식 Null 허용 여부가 '{1}' 대상 대리자와 일치하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">반환 형식에 있는 참조 형식 Null 허용 여부가 대상 대리자와 일치하지 않습니다.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">반환 형식에 있는 참조 형식 Null 허용 여부가 대상 대리자와 일치하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">Obsługa wartości null dla typów referencyjnych w typie parametru „{0}” elementu „{1}” jest niezgodna z delegatem docelowym „{2}”.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Obsługa wartości null dla typów referencyjnych w typie parametru „{0}” elementu „{1}” jest niezgodna z delegatem docelowym „{2}”.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Obsługa wartości null dla typów referencyjnych w typie parametru jest niezgodna z delegatem docelowym.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Obsługa wartości null dla typów referencyjnych w typie parametru jest niezgodna z delegatem docelowym.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">Obsługa wartości null dla typów referencyjnych w typie zwracanym elementu „{0}” jest niezgodna z delegatem docelowym „{1}”.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Obsługa wartości null dla typów referencyjnych w typie zwracanym elementu „{0}” jest niezgodna z delegatem docelowym „{1}”.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Obsługa wartości null dla typów referencyjnych w typie zwracanym elementu jest niezgodna z delegatem docelowym.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Obsługa wartości null dla typów referencyjnych w typie zwracanym elementu jest niezgodna z delegatem docelowym.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2288,13 +2288,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">A anulabilidade de tipos de referência em tipo de parâmetro '{0}' de '{1}' não corresponde ao delegado de destino '{2}'.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">A anulabilidade de tipos de referência em tipo de parâmetro '{0}' de '{1}' não corresponde ao delegado de destino '{2}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">A anulabilidade de tipos de referência em tipo de parâmetro não corresponde ao delegado de destino.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">A anulabilidade de tipos de referência em tipo de parâmetro não corresponde ao delegado de destino.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2338,13 +2338,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">A anulabilidade de tipos de referência em tipo de retorno '{0}' não corresponde ao delegado de destino '{1}'.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">A anulabilidade de tipos de referência em tipo de retorno '{0}' não corresponde ao delegado de destino '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">A anulabilidade de tipos de referência em tipo de retorno não corresponde ao delegado de destino.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">A anulabilidade de tipos de referência em tipo de retorno não corresponde ao delegado de destino.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">Допустимость значения NULL для ссылочных типов в типе параметра "{0}" для "{1}" не совпадает с целевым делегатом "{2}".</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Допустимость значения NULL для ссылочных типов в типе параметра "{0}" для "{1}" не совпадает с целевым делегатом "{2}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Допустимость значения NULL для ссылочных типов в типе параметра не совпадает с целевым делегатом.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Допустимость значения NULL для ссылочных типов в типе параметра не совпадает с целевым делегатом.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">Допустимость значения NULL для ссылочных типов в возвращаемом типе "{0}" не совпадает с целевым делегатом "{1}".</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Допустимость значения NULL для ссылочных типов в возвращаемом типе "{0}" не совпадает с целевым делегатом "{1}".</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Допустимость значения NULL для ссылочных типов в возвращаемом типе не совпадает с целевым делегатом.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Допустимость значения NULL для ссылочных типов в возвращаемом типе не совпадает с целевым делегатом.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">'{1}' öğesinin '{0}' parametre türündeki başvuru türlerinin boş değer atanabilirliği '{2}' hedef temsilcisi ile eşleşmiyor.</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{1}' öğesinin '{0}' parametre türündeki başvuru türlerinin boş değer atanabilirliği '{2}' hedef temsilcisi ile eşleşmiyor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">Parametre türündeki başvuru türlerinin boş değer atanabilirliği hedef temsilci ile eşleşmiyor.</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Parametre türündeki başvuru türlerinin boş değer atanabilirliği hedef temsilci ile eşleşmiyor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">'{0}' dönüş türündeki başvuru türlerinin boş değer atanabilirliği '{1}' hedef temsilcisi ile eşleşmiyor.</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{0}' dönüş türündeki başvuru türlerinin boş değer atanabilirliği '{1}' hedef temsilcisi ile eşleşmiyor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">Dönüş türündeki başvuru türlerinin boş değer atanabilirliği hedef temsilci ile eşleşmiyor.</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">Dönüş türündeki başvuru türlerinin boş değer atanabilirliği hedef temsilci ile eşleşmiyor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">“{1}”的参数“{0}”类型中引用类型的为 Null 性与目标委托“{2}”不匹配。</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">“{1}”的参数“{0}”类型中引用类型的为 Null 性与目标委托“{2}”不匹配。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">参数类型中引用类型的为 Null 性与目标委托不匹配。</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">参数类型中引用类型的为 Null 性与目标委托不匹配。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">“{0}”返回类型中引用类型的为 Null 性与目标委托“{1}”不匹配。</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">“{0}”返回类型中引用类型的为 Null 性与目标委托“{1}”不匹配。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">返回类型中引用类型的为 Null 性与目标委托不匹配。</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">返回类型中引用类型的为 Null 性与目标委托不匹配。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
......@@ -2290,13 +2290,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}'.</source>
<target state="translated">'{1}' 之參數 '{0}' 型別中的參考型別可 Null 性與目標委派 '{2}' 不符合。</target>
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{1}' 之參數 '{0}' 型別中的參考型別可 Null 性與目標委派 '{2}' 不符合。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate.</source>
<target state="translated">參數型別中參考型別的可 Null 性與目標委派不符合。</target>
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">參數型別中參考型別的可 Null 性與目標委派不符合。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
......@@ -2340,13 +2340,13 @@
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}'.</source>
<target state="translated">'{0}' 的傳回型別中參考型別的可 Null 性與目標委派 '{1}' 不符合。</target>
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="needs-review-translation">'{0}' 的傳回型別中參考型別的可 Null 性與目標委派 '{1}' 不符合。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate.</source>
<target state="translated">傳回型別中參考型別的可 Null 性與目標委派不符合。</target>
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="needs-review-translation">傳回型別中參考型別的可 Null 性與目標委派不符合。</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册