Skip to content

Commit abe59bb

Browse files
committed
Fix langage version (keep C# 6 for the moment)
1 parent 11268ea commit abe59bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MemoScope/Core/ClrTypeError.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class ClrTypeError : ClrType
99
public override ulong MethodTable => 0;
1010
public override uint MetadataToken => 0;
1111
public override string Name { get; }
12-
public override ClrHeap Heap => throw new NotImplementedException();
12+
public override ClrHeap Heap => null;
1313
public override IList<ClrInterface> Interfaces => new List<ClrInterface>();
1414
public override bool IsFinalizable => false;
1515
public override bool IsPublic => false;

MemoScope/MemoScope.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<ErrorReport>prompt</ErrorReport>
6363
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
6464
<Prefer32Bit>true</Prefer32Bit>
65+
<LangVersion>6</LangVersion>
6566
</PropertyGroup>
6667
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
6768
<OutputPath>bin\x86\Release\</OutputPath>

0 commit comments

Comments
 (0)