6 references to Create
Microsoft.AspNetCore.Razor.Language.UnitTests (4)
Intermediate\LazyContentTests.cs (4)
16
Assert.Throws<ArgumentNullException>(() => LazyContent.
Create
("x", null!));
24
var lazy = LazyContent.
Create
(args, static arg => (arg.x + arg.y).ToString());
41
var lazy = LazyContent.
Create
(text, arg =>
64
var lazy = LazyContent.
Create
("thread", arg =>
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Intermediate\IntermediateNodeFactory.cs (2)
14
=> new(LazyContent.
Create
(arg, contentFactory), source);
20
=> new(LazyContent.
Create
(arg, contentFactory), source);