-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04be101
commit 4781eba
Showing
11 changed files
with
24 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 4 additions & 12 deletions
16
AssemblyWithExternalAnnotations/BaseClassWithAttributes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,34 @@ | ||
namespace AssemblyWithExternalAnnotations | ||
{ | ||
using JetBrains.Annotations; | ||
|
||
public abstract class BaseClassWithAttributes | ||
{ | ||
public abstract void MethodWithNotNullParameter(string canBeNull, [NotNull] string arg); | ||
public abstract void MethodWithNotNullParameter(string canBeNull, string arg); | ||
|
||
[NotNull] | ||
public abstract string MethodWithNotNullReturnValue(string arg); | ||
|
||
[NotNull] | ||
public abstract string NotNullProperty { get; set; } | ||
} | ||
|
||
public interface BaseInterfaceWithAttributes | ||
{ | ||
void MethodWithNotNullParameter(string canBeNull, [NotNull] string arg); | ||
void MethodWithNotNullParameter(string canBeNull, string arg); | ||
|
||
[NotNull] | ||
string MethodWithNotNullReturnValue(string arg); | ||
|
||
[NotNull] | ||
string NotNullProperty { get; set; } | ||
} | ||
|
||
public interface InheritedInterface : BaseInterfaceWithAttributes | ||
{ | ||
|
||
} | ||
|
||
public interface InterfaceWithAttributes | ||
{ | ||
void MethodWithNotNullParameter(string canBeNull, [NotNull] string arg); | ||
void MethodWithNotNullParameter(string canBeNull, string arg); | ||
|
||
[NotNull] | ||
string MethodWithNotNullReturnValue(string arg); | ||
|
||
[NotNull] | ||
string NotNullProperty { get; set; } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters