You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeFormatter.FormatTypeNameWithNullabilityAnnotation.cs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,10 @@ FormatTypeNameOptions options
80
80
if(IsValueTupleType(nullableUnderlyingType))
81
81
// special case for nullable value tuples (Nullable<ValueTuple<>>)
Copy file name to clipboardExpand all lines: tests/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.MemberDeclaration.Parameters.NullabilityAnnotations.cs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,22 @@ public void NullableNonLanguagePrimitiveRefType(Uri? p) { }
[SkipTestCase("cannot get NullabilityInfo of generic type argument from Nullable<GenericValueType<>>")][MemberDeclarationTestCase($"public void {nameof(ListOfNullableKeyValuePairOfNullableRefTypeValue)}(List<KeyValuePair<string, string?>?> p) {{}}",ParameterWithNamespace=false)]publicvoidListOfNullableKeyValuePairOfNullableRefTypeValue(List<KeyValuePair<string,string?>?>p){}
[SkipTestCase("cannot get NullabilityInfo of generic type argument from Nullable<GenericValueType<>>")][MemberDeclarationTestCase($"public void {nameof(NullableListOfNullableKeyValuePairOfNullableRefTypeValue)}(List<KeyValuePair<string, string?>?>? p) {{}}",ParameterWithNamespace=false)]publicvoidNullableListOfNullableKeyValuePairOfNullableRefTypeValue(List<KeyValuePair<string,string?>?>?p){}
Copy file name to clipboardExpand all lines: tests/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.MemberDeclaration.ReturnParameters.NullabilityAnnotations.cs
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,22 @@ public class NullabilityAnnotations {
[SkipTestCase("cannot get NullabilityInfo of generic type argument from Nullable<GenericValueType<>>")][MemberDeclarationTestCase($"public List<KeyValuePair<string, string?>?> {nameof(ListOfNullableKeyValuePairOfNullableRefTypeValue)}() {{}}",MemberWithNamespace=false)]publicList<KeyValuePair<string,string?>?>ListOfNullableKeyValuePairOfNullableRefTypeValue()=>thrownull;
[SkipTestCase("cannot get NullabilityInfo of generic type argument from Nullable<GenericValueType<>>")][MemberDeclarationTestCase($"public List<KeyValuePair<string, string?>?>? {nameof(NullableListOfNullableKeyValuePairOfNullableRefTypeValue)}() {{}}",MemberWithNamespace=false)]publicList<KeyValuePair<string,string?>?>?NullableListOfNullableKeyValuePairOfNullableRefTypeValue()=>thrownull;
66
+
51
67
classModifiers{
52
68
classRef{
53
69
[MemberDeclarationTestCase($"public ref int {nameof(ValueType)}() {{}}")]publicrefintValueType()=>thrownull;
0 commit comments