4 references to ERR_ObjectRequired
Microsoft.AspNetCore.Razor.Language.UnitTests (4)
IntegrationTests\ComponentCodeGenerationTestBase.cs (3)
2247
Diagnostic(ErrorCode.
ERR_ObjectRequired
, "global::Test.MyComponent.\r\n#nullable restore\r\n#line (1,14)-(1,19) \"x:\\dir\\subdir\\Test\\TestComponent.cshtml\"\r\nValue").WithArguments("Test.MyComponent.Value").WithLocation(21, 55)
2467
Diagnostic(ErrorCode.
ERR_ObjectRequired
, "global::Test.MyComponent.\r\n#nullable restore\r\n#line (1,20)-(1,25) \"x:\\dir\\subdir\\Test\\TestComponent.cshtml\"\r\nValue").WithArguments("Test.MyComponent.Value").WithLocation(21, 55),
2470
Diagnostic(ErrorCode.
ERR_ObjectRequired
, "global::Test.MyComponent.ValueChanged").WithArguments("Test.MyComponent.ValueChanged").WithLocation(38, 55)
IntegrationTests\ComponentRenderModeDirectiveIntegrationTests.cs (1)
276
Diagnostic(ErrorCode.
ERR_ObjectRequired
, "myRenderMode").WithArguments("Test.TestComponent.myRenderMode").WithLocation(1, 13));