19 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
832var isValueType = ((BoundThisReference)expr).Type.IsValueType; 3366Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 3692Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4036Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4728Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything));
CodeGen\EmitExpression.cs (3)
808var thisType = thisRef.Type; 3189Debug.Assert(thisRef.Type.IsValueType); 3192EmitSymbolToken(thisRef.Type, thisRef.Syntax);
Compiler\MethodBodySynthesizer.cs (1)
111thisReference.Type)
Generated\BoundNodes.xml.Generated.cs (3)
4394if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11451TypeSymbol? type = this.VisitType(node.Type); 15958new TreeDumperNode("type", node.Type, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
572F.This().Type), 584F.This().Type), 613_asyncMethodBuilderMemberCollection.AwaitOnCompleted).Construct(loweredAwaiterType, F.This().Type);
Lowering\ClosureConversion\ClosureConversion.cs (1)
844FramePointer(node.Syntax, (NamedTypeSymbol)node.Type));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
843return structThisCanChangeValueBetweenReads && ((BoundThisReference)expression).Type.IsStructType();
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
203Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything2)); 959return node.Update(VisitType(node.Type));