{"record":{"id":"2b6c219f65bc6a66","repo":"AvaloniaUI/Avalonia","slug":"no-value-provided","errorCode":null,"errorMessage":"No value provided.","messagePattern":"No value provided\\.","errorType":"exception","errorClass":"InvalidOperationException","httpStatus":null,"severity":"warning","filePath":"src/Avalonia.Base/Collections/Pooled/ThrowHelper.cs","lineNumber":318,"sourceCode":"            throw GetInvalidOperationException_EnumCurrent(index);\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()\n        {\n            throw new InvalidOperationException(\"Collection was modified during enumeration.\");\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowInvalidOperationException_InvalidOperation_EnumOpCantHappen()\n        {\n            throw new InvalidOperationException(\"Invalid enumerator state: enumeration cannot proceed.\");\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowInvalidOperationException_InvalidOperation_NoValue()\n        {\n            throw new InvalidOperationException(\"No value provided.\");\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowInvalidOperationException_ConcurrentOperationsNotSupported()\n        {\n            throw new InvalidOperationException(\"Concurrent operations are not supported.\");\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowInvalidOperationException_HandleIsNotInitialized()\n        {\n            throw new InvalidOperationException(\"Handle is not initialized.\");\n        }\n\n        [DoesNotReturn]\n        internal static void ThrowFormatException_BadFormatSpecifier()\n        {\n            throw new FormatException(\"Bad format specifier.\");","sourceCodeStart":300,"sourceCodeEnd":336,"githubUrl":"https://github.com/AvaloniaUI/Avalonia/blob/11c542726898ae954a1ef668c65ec79ec92ab17d/src/Avalonia.Base/Collections/Pooled/ThrowHelper.cs#L300-L336","documentation":"Centralized ThrowHelper.ThrowInvalidOperationException_InvalidOperation_NoValue throws InvalidOperationException \"No value provided.\" It is a vestigial helper: in this Avalonia codebase it has no active call site (grep finds only the definition). It appears to be retained from the upstream ThrowHelper set for a nullable-value/Option-style guard but is not wired into any public PooledList/PooledStack API.","triggerScenarios":"Not reachable through public Avalonia collection APIs — no method calls this helper. Would only fire from a custom/internal call site that a fork adds.","commonSituations":"Encountering it implies a custom or forked code path invokes the helper; otherwise it is dead code.","solutions":["Unreachable via public APIs — confirm you are not calling an internal helper directly.","If you fork and wire it, ensure the caller supplies the required value before reaching this guard.","Treat an unexpected occurrence as a signal to audit which code path reaches it."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"// Unreachable via public APIs today. If you wire this helper, ensure the\n// required value is supplied before reaching the guard.","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Do not call internal ThrowHelper methods directly from product code.","Audit call stacks if this surfaces unexpectedly.","Treat vestigial helpers as dead code unless you fork them in."],"tags":["csharp","pooled","throwhelper","unreachable"],"backgroundTag":null,"analyzedSha":"11c542726898ae954a1ef668c65ec79ec92ab17d","analyzedAt":"2026-08-13T11:57:40.261Z","schemaVersion":2},"datasetVersion":"2026-08-13T14:17:21.547Z"}