28 references to GetMscorlibType
PresentationBuildTasks (28)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (3)
473
else if (ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(propertyType))
477
else if (ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(propertyType) ||
479
(ReflectionHelper.
GetMscorlibType
(typeof(IEnumerable)).IsAssignableFrom(propertyType) && !propertyCanWrite))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (23)
228
return (ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(type)
229
|| ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(type)
230
|| ReflectionHelper.
GetMscorlibType
(typeof(Array)).IsAssignableFrom(type));
621
ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(ParentContext.ContextData as Type));
3118
&& !ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(pType))
3292
if (propType == ReflectionHelper.
GetMscorlibType
(typeof(Type)))
4193
ReflectionHelper.
GetMscorlibType
(typeof(IEnumerable)).IsAssignableFrom(propertyType) &&
4194
!ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(propertyType) &&
4492
if (ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(parentElementType)
4493
&& ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(parentElementType))
4590
if (ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(pi.PropertyType))
4647
!ReflectionHelper.
GetMscorlibType
(typeof(IEnumerable)).IsAssignableFrom(parentType) &&
4648
!ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(parentType) &&
4649
!ReflectionHelper.
GetMscorlibType
(typeof(IDictionary)).IsAssignableFrom(parentType))
4714
if ( contentPropertyType == ReflectionHelper.
GetMscorlibType
(typeof(object)) ||
4715
contentPropertyType == ReflectionHelper.
GetMscorlibType
(typeof(string)) )
4725
else if( ReflectionHelper.
GetMscorlibType
(typeof(IList)).IsAssignableFrom(contentPropertyType) )
4750
contentPropertyType == ReflectionHelper.
GetMscorlibType
(typeof(string))))
4841
if( collectionItemType == ReflectionHelper.
GetMscorlibType
(typeof(object))
4843
collectionItemType == ReflectionHelper.
GetMscorlibType
(typeof(string)) )
4883
if( iCollectionT.Assembly == ReflectionHelper.
GetMscorlibType
(typeof(IList)).Assembly )
4897
return ReflectionHelper.
GetMscorlibType
(typeof(Object));
4966
if( propertyInfo.PropertyType.IsAssignableFrom(ReflectionHelper.
GetMscorlibType
(typeof(string))) )
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
336
if (attrValue == null && allowTypeAlso && tca.ArgumentType ==
GetMscorlibType
(typeof(Type)))
492
friendAssemblyName = GetCustomAttributeData(list[j],
GetMscorlibType
(typeof(InternalsVisibleToAttribute)), out typeValue, false, false, false);