mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Tweaks from review comments.
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
{
|
||||
internal sealed class ObjectInitMethod : CachedEntity, IMethodEntity
|
||||
{
|
||||
Type ContainingType { get; }
|
||||
private Type ContainingType { get; }
|
||||
|
||||
private ObjectInitMethod(Context cx, Type containingType)
|
||||
: base(cx)
|
||||
@@ -13,7 +13,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
this.ContainingType = containingType;
|
||||
}
|
||||
|
||||
public string Name => "<object initializer>";
|
||||
public static readonly string Name = "<object initializer>";
|
||||
|
||||
public static ObjectInitMethod Create(Context cx, Type containingType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user