13 references to Matches
System.Private.Windows.Core (6)
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
179if (request.TypedRequest && !typeof(T).Matches(record.TypeName, TypeNameComparison.AllButAssemblyVersion))
System\Private\Windows\Ole\TypeBinder.cs (1)
114if (_rootType.Matches(typeName, TypeNameComparison.AllButAssemblyVersion))
System\TypeExtensions.cs (4)
60return Matches(type.GetElementType()!, typeName.GetElementType(), comparison); 65if (!Matches(type.GetGenericTypeDefinition(), typeName.GetGenericTypeDefinition(), comparison)) 80if (!Matches(genericTypes[i], genericNames[i], comparison)) 95/// <inheritdoc cref="Matches(Type, TypeName, TypeNameComparison)"/>
System.Private.Windows.Core.Tests (6)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (3)
299Resolver = typeName => typeof(int[]).Matches(typeName, TypeNameComparison.TypeFullName) 852if (typeof(MyClass1).Matches(typeName)) 857if (typeof(MyClass2).Matches(typeName))
System\Private\Windows\Ole\TypeBinderTests.cs (1)
80Resolver = typeName => typeof(MyClass).Matches(typeName) ? typeof(MyClass) : null
System\TypeExtensionsTests.cs (2)
58type.Matches(typeName, (TypeNameComparison)comparison).Should().Be(matches); 70bool 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,