10 references to AddOptionalGenericTypeConstraintToken
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (4)
Legacy\RazorDirectivesTest.cs (4)
964b.AddOptionalGenericTypeConstraintToken("name", "description"); 984b.AddOptionalGenericTypeConstraintToken("name", "description"); 1003b.AddOptionalGenericTypeConstraintToken("name", "description"); 1022b.AddOptionalGenericTypeConstraintToken("name", "description");
Microsoft.AspNetCore.Razor.Language.UnitTests (5)
DirectiveDescriptorBuilderExtensionsTest.cs (1)
156var descriptor = DirectiveDescriptor.CreateDirective("custom", DirectiveKind.SingleLine, b => b.AddOptionalGenericTypeConstraintToken("Name", "Description"));
Legacy\RazorDirectivesTest.cs (4)
963b.AddOptionalGenericTypeConstraintToken("name", "description"); 983b.AddOptionalGenericTypeConstraintToken("name", "description"); 1002b.AddOptionalGenericTypeConstraintToken("name", "description"); 1021b.AddOptionalGenericTypeConstraintToken("name", "description");
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Components\ComponentConstrainedTypeParamDirective.cs (1)
18builder.AddOptionalGenericTypeConstraintToken(ComponentResources.TypeParamDirective_Constraint_Name, ComponentResources.TypeParamDirective_Constraint_Description);