14 references to ERR_NameNotInContext
Microsoft.AspNetCore.Razor.Language.UnitTests (13)
IntegrationTests\ComponentCodeGenerationTestBase.cs (10)
10869
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "Foo").WithArguments("Foo").WithLocation(5, 7)]
10881
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "Foo").WithArguments("Foo").WithLocation(5, 2),
10884
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "__builder").WithArguments("__builder").WithLocation(5, 2)]);
11978
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "@Html").WithArguments("Html").WithLocation(1, 28));
12078
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "p").WithArguments("p").WithLocation(13, 68),
12084
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "p").WithArguments("p").WithLocation(13, 80),
12087
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "Parameter").WithArguments("Parameter").WithLocation(14, 4),
12609
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "x").WithArguments("x").WithLocation(2, 55));
13052
? [Diagnostic(ErrorCode.
ERR_NameNotInContext
, "section").WithArguments("section").WithLocation(1, 7)]
13054
: [Diagnostic(ErrorCode.
ERR_NameNotInContext
, "section").WithArguments("section").WithLocation(1, 2)]);
IntegrationTests\ComponentRenderModeDirectiveIntegrationTests.cs (3)
200
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "NoExist").WithArguments("NoExist").WithLocation(1, 13));
215
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "rendermode").WithArguments("rendermode").WithLocation(1, 2)
253
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "Foo").WithArguments("Foo").WithLocation(34, 101),
Microsoft.NET.Sdk.Razor.SourceGenerators.UnitTests (1)
RazorSourceGeneratorTests.cs (1)
2981
Diagnostic(ErrorCode.
ERR_NameNotInContext
, "div").WithArguments("div").WithLocation(3, 11),