Skip to content

Commit

Permalink
Re-enable analyzers in project
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabYourPitchforks committed Jul 8, 2020
1 parent edf3858 commit c5ae79f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
<_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths>
<SkipCommonResourcesIncludes>true</SkipCommonResourcesIncludes>
<DocumentationFile>$(OutputPath)$(MSBuildProjectName).xml</DocumentationFile>
<!-- Turning off analyzers for now because they fail when they see calli invocations -->
<EnableAnalyzers>false</EnableAnalyzers>
<EnableAnalyzers>true</EnableAnalyzers>
</PropertyGroup>

<!-- Platform specific properties -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3882,7 +3882,7 @@ internal ActivatorCache(RuntimeMethodHandleInternal rmh)
// is implicitly public and no-ops.

_ctorIsPublic = true;
_pfnCtor = &GC.KeepAlive; // no-op fn
_pfnCtor = &GC.KeepAlive; // a convenient no-op fn
}
else
{
Expand Down

0 comments on commit c5ae79f

Please sign in to comment.