19 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
1083var isValueType = ((BoundThisReference)expr).Type.IsValueType; 3742Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4041Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4353Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 5054Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything));
CodeGen\EmitExpression.cs (3)
831var thisType = thisRef.Type; 3358Debug.Assert(thisRef.Type.IsValueType); 3361EmitSymbolToken(thisRef.Type, thisRef.Syntax);
Compiler\MethodBodySynthesizer.cs (1)
111thisReference.Type)
Generated\BoundNodes.xml.Generated.cs (3)
4436if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11844TypeSymbol? type = this.VisitType(node.Type); 16490new TreeDumperNode("type", node.Type, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
612F.This().Type), 624F.This().Type), 653_asyncMethodBuilderMemberCollection.AwaitOnCompleted).Construct(loweredAwaiterType, F.This().Type);
Lowering\ClosureConversion\ClosureConversion.cs (1)
859FramePointer(node.Syntax, (NamedTypeSymbol)node.Type));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
1007return structThisCanChangeValueBetweenReads && ((BoundThisReference)expression).Type.IsStructType();
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
213Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything2)); 831return node.Update(VisitType(node.Type));