15 references to ImmutableArrayExtensions
Microsoft.CodeAnalysis.VisualBasic (8)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (1)
578
Return method.Construct(
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(IndexedTypeParameterSymbol.Take(i)))
Lowering\LocalRewriter\LocalRewriter_Constant.vb (2)
96
ImmutableArrayExtensions
.AsImmutableOrNull(Of BoundExpression)(
174
ImmutableArrayExtensions
.AsImmutableOrNull(Of BoundExpression)(
Symbols\AssemblySymbol.vb (1)
761
Return
ImmutableArrayExtensions
.AsImmutable(Of INamedTypeSymbol)(GetAllTopLevelForwardedTypes().OrderBy(Function(t) t.ToDisplayString(SymbolDisplayFormat.QualifiedNameArityFormat)))
Symbols\MethodSymbol.vb (2)
888
Return
ImmutableArrayExtensions
.Cast(Of MethodSymbol, IMethodSymbol)(Me.ExplicitInterfaceImplementations)
1110
Return
ImmutableArrayExtensions
.Cast(Of VisualBasicAttributeData, AttributeData)(Me.GetReturnTypeAttributes)
Symbols\PropertySymbol.vb (1)
540
Return
ImmutableArrayExtensions
.Cast(Of PropertySymbol, IPropertySymbol)(Me.ExplicitInterfaceImplementations)
Symbols\Source\SourceNamespaceSymbol.vb (1)
7
Imports Microsoft.CodeAnalysis.
ImmutableArrayExtensions
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (6)
CompilationContext.vb (1)
326
Dim returnType = typeVariablesType.Construct(
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(allTypeParameters))
Symbols\EEMethodSymbol.vb (2)
91
Me.TypeMap = TypeSubstitution.Create(sourceMethod, allSourceTypeParameters,
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(_allTypeParameters))
284
Return
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(_typeParameters)
Symbols\EENamedTypeSymbol.vb (2)
91
typeMap = TypeSubstitution.Create(sourceType, SourceTypeParameters,
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(_typeParameters))
168
Return
ImmutableArrayExtensions
.Cast(Of MethodSymbol, Symbol)(_methods)
Symbols\PlaceholderMethodSymbol.vb (1)
115
Return
ImmutableArrayExtensions
.Cast(Of TypeParameterSymbol, TypeSymbol)(_typeParameters)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Metadata\PE\LoadingGenericTypeParameters.vb (1)
7
Imports Microsoft.CodeAnalysis.
ImmutableArrayExtensions