Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Rename ContainsPointers -> ContainsGCPointers, IsObjRef -> IsGCPointer - #1235

Merged
MichalStrehovsky merged 3 commits into
dotnet:masterfrom
MichalStrehovsky:gcRename
May 4, 2016
Merged

MichalStrehovsky merged 3 commits into
dotnet:masterfrom
MichalStrehovsky:gcRename

Conversation

@MichalStrehovsky

@MichalStrehovsky MichalStrehovsky commented May 4, 2016 •

Copy link
Copy Markdown
Member

Fixes #1231.

if (!IsValueType && HasBaseType && BaseType.ContainsGCPointers)
{
_fieldLayoutFlags.AddFlags(flagsToAdd | FieldLayoutFlags.ContainsPointers);
return;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FieldLayoutFlags.ContainsPointers -> FieldLayoutFlags.ContainsGCPointers

@jkotas

jkotas commented May 4, 2016

Copy link
Copy Markdown
Member

LGTM otherwise.

@jkotas

jkotas commented May 4, 2016

Copy link
Copy Markdown
Member

There is one more that I have just noticed: ComputeContainsPointers -> ComputeContainsGCPointers

@MichalStrehovsky
MichalStrehovsky merged commit 6de3376 into dotnet:master May 4, 2016
@MichalStrehovsky
MichalStrehovsky deleted the gcRename branch May 4, 2016 01:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants