public static bool TryMergeFieldFrom<TTarget>(ref ExtensionSet<TTarget> set, CodedInputStream stream)
where TTarget : IExtendableMessage<TTarget>
Tries to merge a field from the coded input, returning true if the field was merged.
If the set is null or the field was not otherwise merged, this returns false.
public static bool TryMergeFieldFrom<TTarget>(ref ExtensionSet<TTarget> set, ref ParseContext ctx)
where TTarget : IExtendableMessage<TTarget>
Tries to merge a field from the coded input, returning true if the field was merged.
If the set is null or the field was not otherwise merged, this returns false.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eExtensionSet\u003c/code\u003e class in the \u003ccode\u003eGoogle.Protobuf\u003c/code\u003e namespace, which provides methods for managing \u003ccode\u003eExtensionSet<TTarget>\u003c/code\u003e instances with null checking.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExtensionSet\u003c/code\u003e class is primarily for internal use, with its API being experimental and subject to change, thus most users are not meant to interact with it directly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExtensionSet\u003c/code\u003e provides methods for clearing, cloning, getting, setting, merging, and checking for the existence of extensions within a set.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes methods to merge fields from a \u003ccode\u003eCodedInputStream\u003c/code\u003e or \u003ccode\u003eParseContext\u003c/code\u003e into the \u003ccode\u003eExtensionSet\u003c/code\u003e, making it useful for parsing and managing serialized data.\u003c/p\u003e\n"],["\u003cp\u003eThe current documented version of \u003ccode\u003eExtensionSet\u003c/code\u003e is 3.15.8, but the latest available version is 3.27.1, along with the option of using version 3.23.0.\u003c/p\u003e\n"]]],[],null,[]]