-
Notifications
You must be signed in to change notification settings - Fork 4k
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
839e1ab
commit 2332072
Showing
30 changed files
with
1,173 additions
and
104 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
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
23 changes: 23 additions & 0 deletions
23
src/Compilers/CSharp/Portable/Symbols/Source/IPartialMemberSymbol.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
namespace Microsoft.CodeAnalysis.CSharp.Symbols | ||
{ | ||
/// <summary> | ||
/// Implemented by non-type symbols that can be declared 'partial', such as methods, properties, and property accessors. | ||
/// Note that property accessors cannot be independently marked 'partial', they inherit it from their containing property declaration. | ||
/// </summary> | ||
internal interface IPartialMemberSymbol // PROTOTYPE(partial-properties): not sure yet whether to try to use this abstraction | ||
{ | ||
/// <summary> | ||
/// If this is a partial declaration, returns the other part. | ||
/// This does not return a valid value until InitializePartialMemberParts has been called. | ||
/// </summary> | ||
Symbol? OtherPartOfPartial { get; } | ||
|
||
bool IsPartialDefinition { get; } | ||
|
||
bool IsPartialImplementation { get; } | ||
} | ||
} |
Oops, something went wrong.