1 write to Compilation
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (1)
IsViewComponentTest.cs (1)
26
Compilation
= TestCompilation.Create(assembly);
10 references to Compilation
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (10)
IsViewComponentTest.cs (10)
27
TestViewComponentAttributeSymbol =
Compilation
.GetTypeByMetadataName(typeof(TestViewComponentAttribute).FullName.AssumeNotNull()).AssumeNotNull();
28
TestNonViewComponentAttributeSymbol =
Compilation
.GetTypeByMetadataName(typeof(TestNonViewComponentAttribute).FullName.AssumeNotNull()).AssumeNotNull();
35
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Valid_PlainViewComponent).FullName.AssumeNotNull());
49
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Valid_DecoratedVC).FullName.AssumeNotNull());
63
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Valid_InheritedVC).FullName.AssumeNotNull());
77
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Invalid_AbstractViewComponent).FullName.AssumeNotNull());
91
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Invalid_GenericViewComponent<>).FullName.AssumeNotNull());
105
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Invalid_InternalViewComponent).FullName.AssumeNotNull());
119
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Invalid_DecoratedViewComponent).FullName.AssumeNotNull());
133
var tagHelperSymbol =
Compilation
.GetTypeByMetadataName(typeof(Invalid_InheritedViewComponent).FullName.AssumeNotNull());