Here's everything marked obsolete in 'master' in this repo. Please use the links below to compare master and release/2.2 to see if this is a pre-existing obsolete message for a member that can now be deleted. For each item consider whether to log a bug because we will take an action, and then check the checkbox to mark it as done (even if there's no further action).
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static void RegisterViewComponentTagHelpers(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static IRazorEngineBuilder Register(IRazorEngineBuilder builder)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("In Razor 2.1 and newer, use RazorCodeDocument.GetCodeGenerationOptions().")]
public interface IRazorCodeGenerationOptionsFeature : IRazorEngineFeature
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is " + nameof(RazorProjectEngineBuilder) + ".")]
public interface IRazorEngineBuilder
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is " + nameof(RazorProjectEngine) + "." + nameof(RazorProjectEngine.Create))]
public static RazorEngine Create(Action<IRazorEngineBuilder> configure) => CreateCore(RazorConfiguration.Default, false, configure);
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is " + nameof(RazorProjectEngine) + "." + nameof(RazorProjectEngine.Create))]
public static RazorEngine CreateDesignTime()
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is " + nameof(RazorProjectEngine) + "." + nameof(RazorProjectEngine.Create))]
public static RazorEngine CreateDesignTime(Action<IRazorEngineBuilder> configure) => CreateCore(RazorConfiguration.Default, true, configure);
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static RazorEngine CreateEmpty(Action<IRazorEngineBuilder> configure)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method is obsolete and will be removed in a future version.")]
public static RazorEngine CreateDesignTimeEmpty(Action<IRazorEngineBuilder> configure)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is " + nameof(RazorProjectEngineBuilderExtensions) + ".")]
public static class RazorEngineBuilderExtensions
{
[x] I attest that I have taken appropriate action on this item
[Obsolete(
"This property is obsolete will not be honored. Documentation will be included if " +
"TagHelperDescriptorProviderContext.IncludeDocumentation is set to true. Hidden tag helpers will" +
[x] I attest that I have taken appropriate action on this item
[Obsolete("This method was intended to be static, use CreateDefault instead.")]
public DocumentWriter Create(CodeTarget codeTarget, RazorCodeGenerationOptions options)
{
[x] I attest that I have taken appropriate action on this item
[Obsolete("Adding this as a workaround to unblock live share")]
public ProjectChangeEventArgs(string projectFilePath, string documentFilePath, ProjectChangeKind kind)
{
Here's everything marked obsolete in 'master' in this repo. Please use the links below to compare master and release/2.2 to see if this is a pre-existing obsolete message for a member that can now be deleted. For each item consider whether to log a bug because we will take an action, and then check the checkbox to mark it as done (even if there's no further action).
(1) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\InjectDirective.cs
Links: [master] | [release/2.2] File a bug for this
(2) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\ModelDirective.cs
Links: [master] | [release/2.2] File a bug for this
(3) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\NamespaceDirective.cs
Links: [master] | [release/2.2] File a bug for this
(4) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\PageDirective.cs
Links: [master] | [release/2.2] File a bug for this
(5) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X\InjectDirective.cs
Links: [master] | [release/2.2] File a bug for this
(6) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X\ModelDirective.cs
Links: [master] | [release/2.2] File a bug for this
(7) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X\RazorExtensions.cs
Links: [master] | [release/2.2] File a bug for this
(8) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X\RazorExtensions.cs
Links: [master] | [release/2.2] File a bug for this
(9) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X\InjectDirective.cs
Links: [master] | [release/2.2] File a bug for this
(10) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X\ModelDirective.cs
Links: [master] | [release/2.2] File a bug for this
(11) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X\NamespaceDirective.cs
Links: [master] | [release/2.2] File a bug for this
(12) src\Razor\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X\PageDirective.cs
Links: [master] | [release/2.2] File a bug for this
(13) src\Razor\src\Microsoft.AspNetCore.Razor.Language\IRazorCodeGenerationOptionsFeature.cs
Links: [master] | [release/2.2] File a bug for this
(14) src\Razor\src\Microsoft.AspNetCore.Razor.Language\IRazorEngineBuilder.cs
Links: [master] | [release/2.2] File a bug for this
(15) src\Razor\src\Microsoft.AspNetCore.Razor.Language\IRazorParserOptionsFeature.cs
Links: [master] | [release/2.2] File a bug for this
(16) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(17) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(18) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(19) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(20) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(21) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngine.cs
Links: [master] | [release/2.2] File a bug for this
(22) src\Razor\src\Microsoft.AspNetCore.Razor.Language\RazorEngineBuilderExtensions.cs
Links: [master] | [release/2.2] File a bug for this
(23) src\Razor\src\Microsoft.CodeAnalysis.Razor\DefaultTagHelperDescriptorProvider.cs
Links: [master] | [release/2.2] File a bug for this
(24) src\Razor\src\Microsoft.AspNetCore.Razor.Language\CodeGeneration\DocumentWriter.cs
Links: [master] | [release/2.2] File a bug for this
(25) src\Razor\src\Microsoft.AspNetCore.Razor.Language\Extensions\FunctionsDirective.cs
Links: [master] | [release/2.2] File a bug for this
(26) src\Razor\src\Microsoft.AspNetCore.Razor.Language\Extensions\InheritsDirective.cs
Links: [master] | [release/2.2] File a bug for this
(27) src\Razor\src\Microsoft.AspNetCore.Razor.Language\Extensions\SectionDirective.cs
Links: [master] | [release/2.2] File a bug for this
(28) src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\ProjectChangeEventArgs.cs
Links: [master] | [release/2.2] File a bug for this
(29) src\Razor\src\Microsoft.CodeAnalysis.Razor.Workspaces\ProjectSystem\ProjectChangeEventArgs.cs
Links: [master] | [release/2.2] File a bug for this
(30) src\Razor\test\Microsoft.AspNetCore.Razor.Test.Common\Language\RazorEngineBuilderExtensions.cs
Links: [master] | [release/2.2] File a bug for this
(31) src\Razor\test\Microsoft.VisualStudio.Editor.Razor.Test.Common\Xunit\ForegroundTestCase.cs
Links: [master] | [release/2.2] File a bug for this