Skip to content

Conversation

@jonpryor
Copy link
Contributor

@jonpryor jonpryor commented Nov 5, 2020

Update Java.Interop.Tools.JavaSource.dll and
Xamarin.Android.Tools.ApiXmlAdjuster.dll so that C# 8
Nullable Reference Types are used.

Update `Java.Interop.Tools.JavaSource.dll` and
`Xamarin.Android.Tools.ApiXmlAdjuster.dll` so that C# 8
[Nullable Reference Types][0] are used.

[0]: https://docs.microsoft.com/dotnet/csharp/nullable-references
Comment on lines +57 to +62
public bool Abstract { get; set; }
public string? Deprecated { get; set; }
public bool Final { get; set; }
public string? Name { get; set; }
public bool Static { get; set; }
public string? Visibility { get; set; }
Copy link
Contributor

@jpobst jpobst Nov 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be indenting things like this. This isn't supported by code formatters such as .editorconfig and IDEs, so it causes a constant tooling fight for most people. (When I have the opportunity to reformat code I am generally doing the opposite and removing this indention. 😄 )

Copy link
Contributor Author

@jonpryor jonpryor Nov 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's so much uglier and harder to easily read & scan without the extra whitespace. :-(

@jonpryor jonpryor merged commit 54ba3c3 into dotnet:master Nov 5, 2020
@jpobst jpobst added this to the 11.1 (16.9 / 8.9) milestone Dec 9, 2020
jonpryor pushed a commit that referenced this pull request Dec 17, 2020
…746)

Update `Java.Interop.Localization.dll`, `Java.Interop.Tools.Cecil.dll`,
`Java.Interop.Tools.Diagnostics.dll`, and
`Java.Interop.Tools.Generator.dll` so that
C# 8 [Nullable Reference Types][0] are used.

[0]: https://docs.microsoft.com/dotnet/csharp/nullable-references
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants