13 references to Matches
System.Private.Windows.Core (6)
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
152if (request.TypedRequest && !typeof(T).Matches(record.TypeName, TypeNameComparison.AllButAssemblyVersion))
System\Private\Windows\Ole\TypeBinder.cs (1)
106if (_rootType.Matches(typeName, TypeNameComparison.AllButAssemblyVersion))
System\TypeExtensions.cs (4)
61return Matches(type.GetElementType()!, typeName.GetElementType(), comparison); 66if (!Matches(type.GetGenericTypeDefinition(), typeName.GetGenericTypeDefinition(), comparison)) 81if (!Matches(genericTypes[i], genericNames[i], comparison)) 96/// <inheritdoc cref="Matches(Type, TypeName, TypeNameComparison)"/>
System.Private.Windows.Core.Tests (6)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (3)
299Resolver = (TypeName typeName) => typeof(int[]).Matches(typeName, TypeNameComparison.TypeFullName) 849if (typeof(MyClass1).Matches(typeName)) 854if (typeof(MyClass2).Matches(typeName))
System\Private\Windows\Ole\TypeBinderTests.cs (1)
80Resolver = (TypeName typeName) => typeof(MyClass).Matches(typeName) ? typeof(MyClass) : null
System\TypeExtensionsTests.cs (2)
44type.Matches(typeName, (TypeNameComparison)comparison).Should().Be(matches); 53bool success = typeof(int).Matches(
System.Windows.Forms.Tests (1)
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (1)
35(TypeName typeName) => typeof(int).Matches(typeName, TypeNameComparison.TypeFullName) ? typeof(int) : null,