11 references to Type
Microsoft.CodeAnalysis.CSharp (11)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
175
receiver = _factory.
Type
(method.ContainingType);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
561
var receiver = (!method.RequiresInstanceReceiver && !oldNodeOpt.IsExtensionMethod && !method.IsAbstract && !method.IsVirtual) ? _factory.
Type
(method.ContainingType) : mg.ReceiverOpt;
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (1)
33
var receiver = (!method.RequiresInstanceReceiver && !node.IsExtensionMethod && !method.IsAbstract && !method.IsVirtual) ? _factory.
Type
(method.ContainingType) : VisitExpression(mg.ReceiverOpt)!;
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
93
BoundExpression delegateCreationArgument = boundTemp ?? rewrittenReceiverOpt ?? _factory.
Type
(eventType);
Lowering\SyntheticBoundNodeFactory.cs (7)
604
return new BoundAsOperator(this.Syntax, operand,
Type
(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true };
613
return new BoundIsOperator(this.Syntax, operand,
Type
(type), c.Kind, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true };
744
return MakeInvocationExpression(BinderFlags.None, this.Syntax, this.
Type
(receiver), name, args.ToImmutableArray(), this.Diagnostics);
749
return MakeInvocationExpression(BinderFlags.None, this.Syntax, this.
Type
(receiver), name, args, this.Diagnostics, allowUnexpandedForm: allowUnexpandedForm);
754
return MakeInvocationExpression(flags, this.Syntax, this.
Type
(receiver), name, args.ToImmutableArray(), this.Diagnostics, typeArgs);
1189
Type
(type),
1213
return new BoundSizeOfOperator(Syntax,
Type
(type), Binder.GetConstantSizeOf(type), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true };