Skip to content

ActivitySurrogateDisableTypeCheck

gadget

Disables 4.8+ type protections for ActivitySurrogateSelector, command is ignored. Variant 1 also takes rootcontainer (1 SortedSet, 2 SortedDictionary, 3 TreeSet) to dodge a SortedSet wire-name blocklist; SoapFormatter supports roots 1 and 3. Variant 1 self-tests in a child, then keeps the setting enabled in this session.

Declared metadata, not a runtime result. How to read evidence.

Terminal window
.\ysonet.exe -g ActivitySurrogateDisableTypeCheck -h

Target declarations

VariantFormattersInputsRequirementsRuntime tokens
1BinaryFormatter, SoapFormatter, NetDataContractSerializer, LosFormatternonebuilt-in, wpf, net-frameworknet-fx-4.8, net-fx-4.8.1
2BinaryFormatter, SoapFormatter, NetDataContractSerializer, LosFormatternoneextra-assembly, wpf, net-frameworknet-fx-4.8, net-fx-4.8.1
Variants
  • 1: TypeConfuseDelegate wrapper (default) (default)
  • 2: TextFormattingRunProperties wrapper
Options (2)
OptionHelpDefaultRequired
var|variant=Choices: 1 -> use TypeConfuseDelegateGenerator [default], 2 -> use TextFormattingRunPropertiesMarshal Default value: "1". Suggested values: 1, 2.1false
rootcontainer=Serialized root container of the TypeConfuseDelegate wrapper: 1 -> SortedSet [default], 2 -> SortedDictionary, 3 -> TreeSet. 2 and 3 evade a binder or blocklist that rejects the exact SortedSet wire type name. SoapFormatter supports 1 and 3, not 2. Not used by the TextFormattingRunProperties wrapper (variant 2), which has no container. The (2) formatter annotation counts wrapper variants, not root-container choices. Default value: "1". Suggested values: 1, 2, 3.1false

Credit: [Finders: Nick Landers]

All modules · Full catalog JSON