Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented Aug 30, 2019

The *InterfaceConsts classes we originally generated have been marked as [Obsolete] for at least 3 years:

[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.")]
public abstract class MyInterfaceConsts : MyInterface { }

It's time to tighten the screws a little bit and make this an error.

[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.", error: true)]
public abstract class MyInterfaceConsts : MyInterface { }

Related to #436.

@jonpryor jonpryor merged commit 1fecdda into master Aug 30, 2019
@jonpryor jonpryor deleted the obsolete-consts-error branch August 30, 2019 20:42
steveisok pushed a commit that referenced this pull request Aug 30, 2019
…490)

Context: #436

The `*InterfaceConsts` classes we've been generating for ages have
been marked as `[Obsolete]` for at least 3 years:

	[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.")]
	public abstract class MyInterfaceConsts : MyInterface { }

It's time to tighten the screws a little bit and make this an error:

	[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.", error: true)]
	public abstract class MyInterfaceConsts : MyInterface { }
jonpryor pushed a commit that referenced this pull request Sep 6, 2019
…490)

Context: #436

The `*InterfaceConsts` classes we've been generating for ages have
been marked as `[Obsolete]` for at least 3 years:

	[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.")]
	public abstract class MyInterfaceConsts : MyInterface { }

It's time to tighten the screws a little bit and make this an error:

	[Obsolete ("Use the 'MyInterface' type. This type will be removed in a future release.", error: true)]
	public abstract class MyInterfaceConsts : MyInterface { }
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants