c042cd0c52
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
14 lines
214 B
C#
14 lines
214 B
C#
// CS0200: Property or indexer `MyClass.Type' cannot be assigned to (it is read-only)
|
|
// Line: 12
|
|
|
|
using System;
|
|
|
|
public class MyClass
|
|
{
|
|
Type Type { get; }
|
|
|
|
public void Test ()
|
|
{
|
|
Type = typeof (string);
|
|
}
|
|
} |