Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@JonHanna
Copy link
Contributor

Contributes to #16305

I think it may be safe to replace .GetTypeInfo().ImplementedInterfaces with .GetInterfaces() but not being 100% certain I'm leaving that as is. That is now the only calls to GetTypeInfo() in the main project, though some remain in the test project.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks, @JonHanna.

@stephentoub stephentoub merged commit 720474a into dotnet:master Feb 20, 2017
@JonHanna JonHanna deleted the sle_remove_gettypeinfo branch February 20, 2017 13:20
@karelz karelz modified the milestone: 2.0.0 Feb 22, 2017
dotnet-bot pushed a commit that referenced this pull request Feb 23, 2018
* Dial back aggressive checks in Path

Aggressive checks are preventing crossplat and extended Windows solutions. This change:

- Doesn't throw on empty paths fro GetDirectoryName, GetPathRoot
- Doesn't consider colon when looking at path segments on Windows
- Moves non-shared code out of PathInternal
- Fix span GetDirectoryName to handle multiple separators

* Comment updates

* Check for valid drive letter with PathRoot
Remove other usages of PathSkip (related to #16311)

Signed-off-by: dotnet-bot-corefx-mirror <[email protected]>
stephentoub pushed a commit that referenced this pull request Feb 23, 2018
* Dial back aggressive checks in Path

Aggressive checks are preventing crossplat and extended Windows solutions. This change:

- Doesn't throw on empty paths fro GetDirectoryName, GetPathRoot
- Doesn't consider colon when looking at path segments on Windows
- Moves non-shared code out of PathInternal
- Fix span GetDirectoryName to handle multiple separators

* Comment updates

* Check for valid drive letter with PathRoot
Remove other usages of PathSkip (related to #16311)

Signed-off-by: dotnet-bot-corefx-mirror <[email protected]>
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…dotnet/corefx#16311)

* Remove GetTypeInfo() from IsValueType calls.

* Remove GetTypeInfo from IsAssignableFrom calls

* Remove GetTypeInfo() from IsSubclassOf calls

* Remove GetTypeInfo() from IsGenericType calls

* Remove GetTypeInfo() from IsInterface calls

* Remove GetTypeInfo() from IsEnum calls

* Remove GetTypeInfo from IsPrimitive and IsAbstract calls

* Remove unnecessary calls to GetTypeInfo()


Commit migrated from dotnet/corefx@720474a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants