We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e27f30 commit f7ff3f5Copy full SHA for f7ff3f5
1 file changed
csharp/extractor/Semmle.Extraction.CSharp/Entities/ObjectInitMethod.cs
@@ -5,15 +5,15 @@ namespace Semmle.Extraction.CSharp.Entities
5
{
6
internal sealed class ObjectInitMethod : CachedEntity, IMethodEntity
7
8
- Type ContainingType { get; }
+ private Type ContainingType { get; }
9
10
private ObjectInitMethod(Context cx, Type containingType)
11
: base(cx)
12
13
this.ContainingType = containingType;
14
}
15
16
- public string Name => "<object initializer>";
+ public static readonly string Name = "<object initializer>";
17
18
public static ObjectInitMethod Create(Context cx, Type containingType)
19
0 commit comments