We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f69f4db commit 150784cCopy full SHA for 150784c
1 file changed
crates/bindings-csharp/Codegen/Module.cs
@@ -167,9 +167,8 @@ private static ITypeSymbol UnwrapNullable(ITypeSymbol type) =>
167
{
168
OriginalDefinition.SpecialType: SpecialType.System_Nullable_T
169
} nullable => nullable.TypeArguments[0],
170
- _ when type.NullableAnnotation == NullableAnnotation.Annotated => type.WithNullableAnnotation(
171
- NullableAnnotation.None
172
- ),
+ _ when type.NullableAnnotation == NullableAnnotation.Annotated =>
+ type.WithNullableAnnotation(NullableAnnotation.None),
173
_ => type,
174
};
175
0 commit comments