17 references to CreateSZArray
Microsoft.CodeAnalysis.CSharp (17)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
160return ArrayTypeSymbol.CreateSZArray(_otherAssembly, symbol.ElementTypeWithAnnotations.WithTypeAndModifiers(otherElementType, otherModifiers)); 866return ArrayTypeSymbol.CreateSZArray(symbol.BaseTypeNoUseSiteDiagnostics.ContainingAssembly, symbol.ElementTypeWithAnnotations.WithTypeAndModifiers(translatedElementType, translatedModifiers));
Emitter\Model\PEModuleBuilder.cs (2)
1579var byteArrayType = ArrayTypeSymbol.CreateSZArray(byteType.ContainingAssembly, TypeWithAnnotations.Create(byteType)); 1665var boolArray = ArrayTypeSymbol.CreateSZArray(booleanType.ContainingAssembly, TypeWithAnnotations.Create(booleanType));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
240ArrayTypeSymbol.CreateSZArray(_compilation.Assembly, elementType), 296arrayType = ArrayTypeSymbol.CreateSZArray(_compilation.Assembly, elementType); 421arrayOrList = CreateEmptyArray(syntax, ArrayTypeSymbol.CreateSZArray(_compilation.Assembly, elementType)); 442SynthesizedReadOnlyListKind.Array => createArray(node, ArrayTypeSymbol.CreateSZArray(_compilation.Assembly, elementType)),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
104var byteArray = ArrayTypeSymbol.CreateSZArray(_compilation.Assembly, TypeWithAnnotations.Create(byteType));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
137type = TypeWithAnnotations.Create(ArrayTypeSymbol.CreateSZArray(containingType.ContainingAssembly, type));
Symbols\ArrayTypeSymbol.cs (1)
43return CreateSZArray(declaringAssembly, elementTypeWithAnnotations);
Symbols\Compilation_WellKnownMembers.cs (1)
789var boolArray = ArrayTypeSymbol.CreateSZArray(booleanType.ContainingAssembly, TypeWithAnnotations.Create(booleanType));
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
321ArrayTypeSymbol.CreateSZArray(_containingAssembly, arrayType.ElementTypeWithAnnotations.WithTypeAndModifiers(transformedElementType, arrayType.ElementTypeWithAnnotations.CustomModifiers)) :
Symbols\Metadata\PE\SymbolFactory.cs (1)
71return ArrayTypeSymbol.CreateSZArray(moduleSymbol.ContainingAssembly, CreateType(elementType, customModifiers));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
707return ArrayTypeSymbol.CreateSZArray(this.RetargetingAssembly, newElement);
Symbols\Synthesized\SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs (1)
33ArrayTypeSymbol.CreateSZArray(
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (1)
37ArrayTypeSymbol.CreateSZArray(