зеркало из https://github.com/github/codeql.git
Code quality improvements
This commit is contained in:
Родитель
90579947cf
Коммит
0fa3ba6b4d
|
@ -5,8 +5,6 @@ namespace Semmle.Extraction.CSharp.Entities
|
|||
{
|
||||
internal class Assembly : Location
|
||||
{
|
||||
public override Context Context => (Context)base.Context;
|
||||
|
||||
private readonly string assemblyPath;
|
||||
private readonly IAssemblySymbol assembly;
|
||||
private readonly bool isOutputAssembly;
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Semmle.Extraction.CSharp
|
|||
{
|
||||
public abstract class Entity : IEntity
|
||||
{
|
||||
public virtual Context Context { get; }
|
||||
public Context Context { get; }
|
||||
|
||||
protected Entity(Context context)
|
||||
{
|
||||
|
|
|
@ -11,7 +11,6 @@ namespace Semmle.Extraction.CSharp.Entities
|
|||
protected readonly string originalPath;
|
||||
private readonly Lazy<PathTransformer.ITransformedPath> transformedPathLazy;
|
||||
protected PathTransformer.ITransformedPath TransformedPath => transformedPathLazy.Value;
|
||||
public override Context Context => (Context)base.Context;
|
||||
public override Microsoft.CodeAnalysis.Location? ReportingLocation => null;
|
||||
|
||||
public override bool NeedsPopulation => true;
|
||||
|
|
|
@ -5,8 +5,6 @@ namespace Semmle.Extraction.CSharp.Entities
|
|||
{
|
||||
internal class NonGeneratedSourceLocation : SourceLocation
|
||||
{
|
||||
public override Context Context => (Context)base.Context;
|
||||
|
||||
protected NonGeneratedSourceLocation(Context cx, Microsoft.CodeAnalysis.Location init)
|
||||
: base(cx, init)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче