public SynthesizedRecordPropertySymbol( SourceMemberContainerTypeSymbol containingType, ParameterSymbol backingParameter, DiagnosticBag diagnostics) : base(containingType, binder: null, backingParameter.GetNonNullSyntaxNode(), RefKind.None, backingParameter.Name, backingParameter.Locations[0], diagnostics) { BackingParameter = backingParameter; }
private static Location GetParameterLocation(ParameterSymbol parameter) => parameter.GetNonNullSyntaxNode().Location;