8 references to Type
Microsoft.CodeAnalysis.CSharp (8)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
175
receiver = _factory.
Type
(method.ContainingType);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
570
var receiver = (!method.RequiresInstanceReceiver && !oldNodeOpt.IsExtensionMethod && !method.IsAbstract && !method.IsVirtual) ? _factory.
Type
(method.ContainingType) : mg.ReceiverOpt;
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (1)
35
var receiver = (!method.RequiresInstanceReceiver && !node.IsExtensionMethod && !method.IsAbstract && !method.IsVirtual) ? _factory.
Type
(method.ContainingType) : VisitExpression(mg.ReceiverOpt)!;
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
104
BoundExpression delegateCreationArgument = boundTemp ?? rewrittenReceiverOpt ?? _factory.
Type
(eventType);
Lowering\SyntheticBoundNodeFactory.cs (4)
636
return new BoundAsOperator(this.Syntax, operand,
Type
(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true };
645
return new BoundIsOperator(this.Syntax, operand,
Type
(type), c.Kind, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true };
1268
Type
(type),
1292
return new BoundSizeOfOperator(Syntax,
Type
(type), Binder.GetConstantSizeOf(type), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true };