Skip to content

Keyedinject directive - #12761

Open
wlsquid wants to merge 14 commits into
dotnet:mainfrom
wlsquid:keyedinject_directive
Open

Keyedinject directive#12761
wlsquid wants to merge 14 commits into
dotnet:mainfrom
wlsquid:keyedinject_directive

changed comments

8539d85
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / razor-tooling-ci (Build Windows debug)

Build log #L10

Path does not exist: D:\a\_work\1\s\artifacts\TestResults\Debug

Check failure on line 39 in src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs

See this annotation in the file changed.

@azure-pipelines 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)'.

Check failure on line 17 in src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs

See this annotation in the file changed.

@azure-pipelines 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)

Check failure on line 39 in src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectDirectivePass.cs

See this annotation in the file changed.

@azure-pipelines 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)'.

Check failure on line 17 in src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Language\Components\ComponentKeyedInjectIntermediateNode.cs

See this annotation in the file changed.

@azure-pipelines 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)