Keyedinject directive - #12761
Open
wlsquid wants to merge 14 commits into
Open
Azure Pipelines / razor-tooling-ci (Build Windows debug)
failed
Feb 11, 2026 in 4m 37s
Build Windows debug failed
Annotations
Check failure on line 10 in Build log
azure-pipelines / razor-tooling-ci (Build Windows debug)
Build log #L10
Path does not exist: D:\a\_work\1\s\artifacts\TestResults\Debug
azure-pipelines / razor-tooling-ci (Build Windows debug)
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs#L39
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs(39,25): error CS8604: (NETCORE_ENGINEERING_TELEMETRY=Build) Possible null reference argument for parameter 'node' in 'ClassDeclarationIntermediateNode? DocumentIntermediateNodeExtensions.FindPrimaryClass(DocumentIntermediateNode node)'.
azure-pipelines / razor-tooling-ci (Build Windows debug)
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs#L17
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs(17,36): error IDE0051: (NETCORE_ENGINEERING_TELEMETRY=Build) Private member 'ComponentKeyedInjectIntermediateNode.injectedPropertyModifiers' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
azure-pipelines / razor-tooling-ci (Build Windows debug)
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs#L39
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs(39,25): error CS8604: (NETCORE_ENGINEERING_TELEMETRY=Build) Possible null reference argument for parameter 'node' in 'ClassDeclarationIntermediateNode? DocumentIntermediateNodeExtensions.FindPrimaryClass(DocumentIntermediateNode node)'.
azure-pipelines / razor-tooling-ci (Build Windows debug)
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs#L17
src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs(17,36): error IDE0051: (NETCORE_ENGINEERING_TELEMETRY=Build) Private member 'ComponentKeyedInjectIntermediateNode.injectedPropertyModifiers' is unused (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0051)
Loading