16 [
UnconditionalSuppressMessage(
"TrimAnalysis",
"IL2073:MissingDynamicallyAccessedMembers", Justification =
"The getter of the dictionary is not annotated to preserve the constructor, but the sources that are adding the items to the dictionary are annotated so we can supress the message as we know the constructor will be preserved.")]
57 [
RequiresUnreferencedCode(
"The extension function referenced will be called from the stylesheet which cannot be statically analyzed.")]
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ContainsKey(TKey key)
XmlExtensionFunction Bind(string name, string namespaceUri, int numArgs, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type objectType, BindingFlags flags)
bool ContainsKey(string key)
bool TryGetValue(string key, [MaybeNullWhen(false)] out Type value)
readonly Dictionary< string, Type > _backingDictionary
TrimSafeDictionary ScriptClasses
readonly XmlExtensionFunctionTable _extFuncs
readonly Compiler _compiler
Scripts(Compiler compiler)
XmlExtensionFunction ResolveFunction(string name, string ns, int numArgs, IErrorHelper errorHelper)
readonly TrimSafeDictionary _nsToType
DynamicallyAccessedMemberTypes