// Producing a [MaybeNull]T value results in a warning like default(T).
// We are investigating a more complex design for nullable analysis to solve this. See:
// https://github.com/dotnet/roslyn/issues/38638
#pragma warning disable CS8717 // A member returning a [MaybeNull] value introduces a null value when 'TLanguageService' is a non-nullable reference type.
varservice=GetService<TLanguageService>();
#pragma warning restore CS8717 // A member returning a [MaybeNull] value introduces a null value when 'TLanguageService' is a non-nullable reference type.
// Producing a [MaybeNull]T value results in a warning like default(T).
// We are investigating a more complex design for nullable analysis to solve this. See:
// https://github.com/dotnet/roslyn/issues/38638
#pragma warning disable CS8717 // A member returning a [MaybeNull] value introduces a null value when 'TWorkspaceService' is a non-nullable reference type.
varservice=GetService<TWorkspaceService>();
#pragma warning restore CS8717 // A member returning a [MaybeNull] value introduces a null value when 'TWorkspaceService' is a non-nullable reference type.