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