Skip to content

Add IFieldSymbol.FixedSize API#55354

Merged
333fred merged 4 commits intodotnet:mainfrom
333fred:main
Aug 3, 2021
Merged

Add IFieldSymbol.FixedSize API#55354
333fred merged 4 commits intodotnet:mainfrom
333fred:main

Conversation

@333fred
Copy link
Copy Markdown
Member

@333fred 333fred commented Aug 2, 2021

Closes #54799 by exposing existing internal functionality.

@333fred 333fred requested a review from a team as a code owner August 2, 2021 22:15
@ghost ghost added the Area-Compilers label Aug 2, 2021
}
";
var comp = CreateEmptyCompilation(text);
var comp = CreateCompilation(text);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

📝 With an empty compilation, System.Int32 was missing, so FixedSize would return 0 because the constant value was "bad".

Closes dotnet#54799 by exposing existing internal functionality.
@333fred
Copy link
Copy Markdown
Member Author

333fred commented Aug 2, 2021

@dotnet/roslyn-compiler for review.

@333fred
Copy link
Copy Markdown
Member Author

333fred commented Aug 2, 2021

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

Comment thread src/Compilers/Core/Portable/Symbols/IFieldSymbol.cs Outdated
@333fred 333fred requested a review from a team as a code owner August 3, 2021 17:54
@333fred
Copy link
Copy Markdown
Member Author

333fred commented Aug 3, 2021

@dotnet/roslyn-compiler for a second review.

@333fred 333fred merged commit a81b07d into dotnet:main Aug 3, 2021
@ghost ghost added this to the Next milestone Aug 3, 2021
@dibarbet dibarbet modified the milestones: Next, 17.0.P4 Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IFieldSymbol is missing API to retrieve fixed-sized buffer size

4 participants