Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cston committed Aug 20, 2024
1 parent e083fc0 commit 2adf311
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,6 @@ internal bool IsAutoProperty
protected bool AccessorsHaveImplementation
=> (_propertyFlags & Flags.AccessorsHaveImplementation) != 0;

// PROTOTYPE: Should this be IsAutoProperty?
internal bool HasSynthesizedBackingField
=> IsAutoProperty || UsesFieldKeyword;

Expand Down
3 changes: 0 additions & 3 deletions src/Compilers/CSharp/Test/Emit3/FieldKeywordTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,6 @@ static void ReportField(FieldInfo field)
"""));
}

// PROTOTYPE: Confirm we want to allow mixed auto- and explicitly-implemented
// accessors when explicitly-implemented accessors do not use 'field'.
[Fact]
public void Initializer_01()
{
Expand Down Expand Up @@ -2014,7 +2012,6 @@ class C
Diagnostic(ErrorCode.ERR_AutoPropertyMustHaveGetAccessor, setter).WithLocation(3, 25));
}

// PROTOTYPE: Confirm that both accessors must be overridden.
[Theory]
[CombinatorialData]
public void Override_VirtualBase_01(bool useInit)
Expand Down

0 comments on commit 2adf311

Please sign in to comment.