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