Keyedinject directive - #12761
Open
wlsquid wants to merge 14 commits into
Open
Azure Pipelines / razor-tooling-ci (Build Linux release)
failed
Feb 11, 2026 in 2m 44s
Build Linux release failed
Annotations
Check failure on line 10 in Build log
azure-pipelines / razor-tooling-ci (Build Linux release)
Build log #L10
Path does not exist: /mnt/vss/_work/1/s/artifacts/TestResults/Release/
azure-pipelines / razor-tooling-ci (Build Linux release)
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 Linux release)
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 Linux release)
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 Linux release)
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