Skip to content

Commit

Permalink
Cleanup usings and change NotImplementedException to ExceptionUtiliti…
Browse files Browse the repository at this point in the history
…es.Unreachable
  • Loading branch information
RikkiGibson committed Apr 1, 2019
1 parent 0855bb5 commit b765226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Editing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Editing;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.CodeGeneration
{
Expand Down Expand Up @@ -85,9 +86,9 @@ public override ImmutableArray<ITypeSymbol> TypeArguments

public override IMethodSymbol ConstructedFrom => this;

public override bool IsDeclaredReadOnly => throw new NotImplementedException();
public override bool IsDeclaredReadOnly => throw ExceptionUtilities.Unreachable;

public override bool IsEffectivelyReadOnly => throw new NotImplementedException();
public override bool IsEffectivelyReadOnly => throw ExceptionUtilities.Unreachable;

public override IMethodSymbol OverriddenMethod => null;

Expand Down

0 comments on commit b765226

Please sign in to comment.