14 references to AsUnboundGenericType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Symbols.cs (2)
1241resultType = unconstructedType.AsUnboundGenericType(); 1690return type.WithTypeAndModifiers(namedTypeRight.AsUnboundGenericType(), type.CustomModifiers);
Symbols\Metadata\PE\SymbolFactory.cs (1)
164return ((object)namedType != null && namedType.IsGenericType) ? namedType.AsUnboundGenericType() : type;
Symbols\NamedTypeSymbol.cs (1)
1150return OriginalDefinition.AsUnboundGenericType();
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
507return newDefinition.AsUnboundGenericType();
Symbols\UnboundGenericType.cs (1)
33original.AsMember(originalContainingType.IsGenericType ? originalContainingType.AsUnboundGenericType() : originalContainingType);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
24479Assert.Empty(derivedSymbol.GetSymbol().AsUnboundGenericType().AllInterfaces());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Attributes\AttributeTests.cs (3)
4576attrs.First().VerifyValue(0, TypedConstantKind.Type, cClass.AsUnboundGenericType()); 4616attrs.First().VerifyValue(0, TypedConstantKind.Type, bClass.AsUnboundGenericType()); 5212NamedTypeSymbol GClass = m.GlobalNamespace.GetTypeMember("GClass").AsUnboundGenericType();
Attributes\AttributeTests_Synthesized.cs (2)
1769Assert.Equal(stateMachine.AsUnboundGenericType(), stateMachineAttribute.ConstructorArguments.Single().ValueInternal); 1878Assert.Equal(stateMachine.AsUnboundGenericType(), iteratorAttribute.ConstructorArguments.Single().ValueInternal);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\TypeTests.cs (2)
1833var unboundGeneric1 = originalDefinition.AsUnboundGenericType(); 1834var unboundGeneric2 = originalDefinition.AsUnboundGenericType();