1 write to ElementType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7190
this.
ElementType
= elementType;
17 references to ElementType
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (2)
368
var type = new PointerTypeSymbol(TypeWithAnnotations.Create(boundStackAlloc.
ElementType
));
2810
Error(diagnostics, ErrorCode.ERR_StackAllocConversionNotPossible, syntax, stackAllocExpression.
ElementType
, targetType);
Binder\Binder_Statements.cs (1)
2385
Error(diagnostics, ErrorCode.ERR_StackAllocConversionNotPossible, syntax, stackAllocExpression.
ElementType
, targetType);
Binder\Semantics\Conversions\Conversions.cs (3)
489
Debug.Assert((object)sourceExpression.
ElementType
!= null);
491
var sourceAsPointer = new PointerTypeSymbol(TypeWithAnnotations.Create(sourceExpression.
ElementType
));
503
var spanType_T = spanType.Construct(sourceExpression.
ElementType
);
BoundTree\Formatting.cs (1)
155
=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]",
ElementType
, Count.WasCompilerGenerated ? null : Count.Syntax.ToString()) : base.Display;
Generated\BoundNodes.xml.Generated.cs (8)
7217
if (!TypeSymbol.Equals(elementType, this.
ElementType
, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7246
if (!TypeSymbol.Equals(elementType, this.
ElementType
, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11917
TypeSymbol? elementType = this.VisitType(node.
ElementType
);
11925
TypeSymbol? elementType = this.VisitType(node.
ElementType
);
14377
TypeSymbol elementType = GetUpdatedSymbol(node, node.
ElementType
);
14396
TypeSymbol elementType = GetUpdatedSymbol(node, node.
ElementType
);
16684
new TreeDumperNode("elementType", node.
ElementType
, null),
16694
new TreeDumperNode("elementType", node.
ElementType
, null),
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
37
var elementType = stackAllocNode.
ElementType
;
Lowering\SpillSequenceSpiller.cs (1)
838
return UpdateExpression(builder, node.Update(node.
ElementType
, count, initializerOpt, node.Type));