20 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
689var isValueType = ((BoundThisReference)expr).Type.IsValueType; 2971Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 3225Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 3496Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 3903Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything));
CodeGen\EmitExpression.cs (3)
794var thisType = thisRef.Type; 2971Debug.Assert(thisRef.Type.IsValueType); 2974EmitSymbolToken(thisRef.Type, thisRef.Syntax);
Compiler\MethodBodySynthesizer.cs (1)
110thisReference.Type)
Generated\BoundNodes.xml.Generated.cs (3)
4283if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11058TypeSymbol? type = this.VisitType(node.Type); 15400new TreeDumperNode("type", node.Type, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
569F.This().Type), 581F.This().Type), 610_asyncMethodBuilderMemberCollection.AwaitOnCompleted).Construct(loweredAwaiterType, F.This().Type);
Lowering\ClosureConversion\ClosureConversion.cs (1)
829FramePointer(node.Syntax, (NamedTypeSymbol)node.Type));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
828return structThisCanChangeValueBetweenReads && ((BoundThisReference)expression).Type.IsStructType();
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
204Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything2)); 941return node.Update(VisitType(node.Type));
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Rewriters\CapturedVariableRewriter.cs (1)
78Debug.Assert(rewrittenThis.Type.Equals(node.Type, TypeCompareKind.IgnoreDynamicAndTupleNames | TypeCompareKind.IgnoreNullableModifiersForReferenceTypes));