<PackageReference Include="Google.Protobuf" Version="3.36.0-rc1" />

Google.Protobuf.Reflection.CSharpFeatures

public const int NullableReferenceTypesFieldNumber = 1

Field number for the "nullable_reference_types" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<CSharpFeatures> Parser { get; }

public bool HasNullableReferenceTypes { get; }

Gets whether the "nullable_reference_types" field is set

public bool NullableReferenceTypes { get; set; }

Whether the generated files should have nullable reference type annotations. When enabled, the generated C# code includes `#nullable enable annotations` and annotates message-typed properties and certain parameters with `?`.

public CSharpFeatures()

public int CalculateSize()

Clears the value of the "nullable_reference_types" field

public bool Equals(CSharpFeatures other)

public void MergeFrom(CSharpFeatures other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)