24 references to PointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Conversions.cs (1)
2409stackAllocType = new PointerTypeSymbol(TypeWithAnnotations.Create(elementType));
Binder\Binder_Expressions.cs (3)
368var type = new PointerTypeSymbol(TypeWithAnnotations.Create(boundStackAlloc.ElementType)); 4456new PointerTypeSymbol(BindType(typeSyntax, diagnostics))); 4495new PointerTypeSymbol(elementType));
Binder\Binder_Operators.cs (1)
2558TypeSymbol pointerType = new PointerTypeSymbol(TypeWithAnnotations.Create(operandType));
Binder\Binder_Statements.cs (1)
1365TypeSymbol pointerType = new PointerTypeSymbol(TypeWithAnnotations.Create(elementType));
Binder\Binder_Symbols.cs (1)
601return TypeWithAnnotations.Create(new PointerTypeSymbol(elementType));
Binder\Semantics\Conversions\Conversions.cs (1)
491var sourceAsPointer = new PointerTypeSymbol(TypeWithAnnotations.Create(sourceExpression.ElementType));
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
582var voidPointerType = new PointerTypeSymbol(TypeWithAnnotations.Create(Compilation.GetSpecialType(SpecialType.System_Void)));
Compilation\CSharpCompilation.cs (1)
2393return new PointerTypeSymbol(TypeWithAnnotations.Create(elementType, elementNullableAnnotation));
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
383return new PointerTypeSymbol(symbol.PointedAtTypeWithAnnotations.WithTypeAndModifiers(otherPointedAtType, otherModifiers)); 906return new PointerTypeSymbol(symbol.PointedAtTypeWithAnnotations.WithTypeAndModifiers(translatedPointedAtType, translatedModifiers));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
374var operandType = new PointerTypeSymbol(TypeWithAnnotations.Create(_factory.SpecialType(SpecialType.System_Void)));
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
560BoundExpression firstElementAddress = new BoundAddressOfOperator(factory.Syntax, firstElement, type: new PointerTypeSymbol(arrayElementType));
Lowering\SyntheticBoundNodeFactory.cs (1)
1226return new BoundPointerIndirectionOperator(Syntax, Default(new PointerTypeSymbol(type)), refersToLocation: false, type.Type);
Symbols\AbstractTypeMap.cs (1)
236return new PointerTypeSymbol(pointedAtType);
Symbols\AssemblySymbol.cs (1)
777return new PointerTypeSymbol(TypeWithAnnotations.Create(symbol));
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
343new PointerTypeSymbol(pointerType.PointedAtTypeWithAnnotations.WithTypeAndModifiers(transformedPointedAtType, pointerType.PointedAtTypeWithAnnotations.CustomModifiers));
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
337type = TypeWithAnnotations.Create(new PointerTypeSymbol(TypeWithAnnotations.Create(fixedElementType)));
Symbols\Metadata\PE\SymbolFactory.cs (1)
46return new PointerTypeSymbol(CreateType(type, customModifiers));
Symbols\PointerTypeSymbol.cs (1)
282return PointedAtTypeWithAnnotations.IsSameAs(newPointedAtType) ? this : new PointerTypeSymbol(newPointedAtType);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
756return new PointerTypeSymbol(newPointed);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
561type = TypeWithAnnotations.Create(new PointerTypeSymbol(type));
Symbols\TypeSymbolExtensions.cs (1)
2038pointerType = new PointerTypeSymbol(pointedAtType);