23 implementations of AsGenericTypeInstanceReference
Microsoft.CodeAnalysis (9)
CodeGen\PrivateImplementationDetails.cs (1)
697public Cci.IGenericTypeInstanceReference? AsGenericTypeInstanceReference => null;
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
46public IGenericTypeInstanceReference? AsGenericTypeInstanceReference => OldDefinition.AsGenericTypeInstanceReference;
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
74public IGenericTypeInstanceReference? AsGenericTypeInstanceReference => _oldTypeReference.AsGenericTypeInstanceReference;
Emit\ErrorType.cs (1)
113Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NoPia\CommonEmbeddedType.cs (1)
607Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
151Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
PEWriter\InheritedTypeParameter.cs (1)
105public IGenericTypeInstanceReference? AsGenericTypeInstanceReference
PEWriter\ModifiedTypeReference.cs (1)
88IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference
PEWriter\RootModuleType.cs (1)
265IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference
Microsoft.CodeAnalysis.CSharp (9)
Emitter\Model\ArrayTypeSymbolAdapter.cs (1)
64Cci.IGenericTypeInstanceReference? Cci.ITypeReference.AsGenericTypeInstanceReference => null;
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
43IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference => null;
Emitter\Model\GenericNestedTypeInstanceReference.cs (1)
28public override Cci.IGenericTypeInstanceReference AsGenericTypeInstanceReference
Emitter\Model\NamedTypeReference.cs (1)
106public abstract Cci.IGenericTypeInstanceReference AsGenericTypeInstanceReference
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
90Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
Emitter\Model\PointerTypeSymbolAdapter.cs (1)
65Cci.IGenericTypeInstanceReference? Cci.ITypeReference.AsGenericTypeInstanceReference
Emitter\Model\SpecializedGenericNestedTypeInstanceReference.cs (1)
57public override Cci.IGenericTypeInstanceReference AsGenericTypeInstanceReference
Emitter\Model\SpecializedNestedTypeReference.cs (1)
46public override Cci.IGenericTypeInstanceReference AsGenericTypeInstanceReference
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
86Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
28IGenericTypeInstanceReference ITypeReference.AsGenericTypeInstanceReference => UnderlyingType.AsGenericTypeInstanceReference;
Microsoft.CodeAnalysis.VisualBasic (4)
Emit\ArrayTypeSymbolAdapter.vb (1)
89Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NamedTypeReference.vb (1)
80Public MustOverride ReadOnly Property AsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NamedTypeSymbolAdapter.vb (1)
83Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference
Emit\TypeParameterSymbolAdapter.vb (1)
76Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference
21 references to AsGenericTypeInstanceReference
Microsoft.CodeAnalysis (11)
CodeGen\ReferenceDependencyWalker.cs (1)
86Cci.IGenericTypeInstanceReference? genericInstance = typeReference.AsGenericTypeInstanceReference;
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
46public IGenericTypeInstanceReference? AsGenericTypeInstanceReference => OldDefinition.AsGenericTypeInstanceReference;
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
74public IGenericTypeInstanceReference? AsGenericTypeInstanceReference => _oldTypeReference.AsGenericTypeInstanceReference;
PEWriter\ITypeReferenceExtensions.cs (3)
20IGenericTypeInstanceReference? genTypeInstance = typeReference.AsGenericTypeInstanceReference; 29IGenericTypeInstanceReference? genericTypeInstanceReference = typeReference.AsGenericTypeInstanceReference; 50nestedTypeReference.AsGenericTypeInstanceReference != null;
PEWriter\MetadataVisitor.cs (1)
598IGenericTypeInstanceReference? genericTypeInstanceReference = typeReference.AsGenericTypeInstanceReference;
PEWriter\MetadataWriter.cs (2)
641if (nestedTypeReference.AsGenericTypeInstanceReference != null) 656Debug.Assert(namespaceTypeReference.AsGenericTypeInstanceReference == null);
PEWriter\ReferenceIndexerBase.cs (1)
99if (containingType.AsGenericTypeInstanceReference != null ||
PEWriter\TypeNameSerializer.cs (1)
165IGenericTypeInstanceReference genInst = typeReference.AsGenericTypeInstanceReference;
Microsoft.CodeAnalysis.CSharp (2)
Emitter\Model\NamedTypeSymbolAdapter.cs (2)
859Debug.Assert(((Cci.ITypeReference)this).AsGenericTypeInstanceReference != null); 880Debug.Assert(((Cci.ITypeReference)this).AsGenericTypeInstanceReference != null);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
28IGenericTypeInstanceReference ITypeReference.AsGenericTypeInstanceReference => UnderlyingType.AsGenericTypeInstanceReference;
Microsoft.CodeAnalysis.VisualBasic (7)
Emit\ArrayTypeSymbolAdapter.vb (1)
89Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NamedTypeReference.vb (1)
80Public MustOverride ReadOnly Property AsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference
Emit\NamedTypeSymbolAdapter.vb (4)
83Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference 181Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing) 827Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing) 850Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing)
Emit\TypeParameterSymbolAdapter.vb (1)
76Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference