25 references to Type
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Expressions.cs (2)
8181resultType = ((EventSymbol)symbolOpt).Type; 8772return new BoundEventAccess(node, receiver, eventSymbol, isUsableAsField, lookupResult, eventSymbol.Type, hasErrors: (hasErrors || hasError));
Compiler\ClsComplianceChecker.cs (1)
729type = ((EventSymbol)symbol).Type;
Compiler\MethodBodySynthesizer.cs (1)
348TypeSymbol delegateType = eventSymbol.Type;
Emitter\Model\EventSymbolAdapter.cs (1)
97return ((PEModuleBuilder)context.Module).Translate(AdaptedEventSymbol.Type, syntaxNodeOpt: (CSharpSyntaxNode?)context.SyntaxNode, diagnostics: context.Diagnostics);
FlowAnalysis\EmptyStructTypeCache.cs (1)
209return (!eventSymbol.HasAssociatedField || ShouldIgnoreStructField(eventSymbol, eventSymbol.Type)) ? null : eventSymbol.AssociatedField.AsMember(type);
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
102TypeSymbol eventType = eventSymbol.Type;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
709return MakeEventAccess(rewrittenLeft.Syntax, rewrittenReceiver, eventSymbol, null, rewrittenLeft.ResultKind, eventSymbol.Type);
Symbols\MemberSymbolExtensions.cs (2)
242return e.Type.CustomModifierCount(); 585return ((EventSymbol)member).Type.ContainsTupleNames();
Symbols\OverriddenOrHiddenMembersHelpers.cs (2)
903return @event.Type.HasCustomModifiers(flagNonDefaultArraySizesOrLowerBounds: false); //can't have custom modifiers on (vs in) type 921return @event.Type.CustomModifierCount();
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1119if (TypeSymbol.Equals(retargetedEvent.Type, targetType.Type, TypeCompareKind.ConsiderEverything2))
Symbols\Source\SourceEventSymbol.cs (8)
587else if (this.Type.IsVoidType()) 591else if (!this.IsNoMoreVisibleThan(this.Type, ref useSiteInfo) && (CSharpSyntaxNode as EventDeclarationSyntax)?.ExplicitInterfaceSpecifier == null) 596diagnostics.Add(ErrorCode.ERR_BadVisEventType, location, this, this.Type); 598else if (!this.Type.IsDelegateType() && !this.Type.IsErrorType()) 627TypeSymbol overriddenEventType = eventWithCustomModifiers.Type; 754this.Type.CheckAllConstraints(compilation, conversions, location, diagnostics); 756if (compilation.ShouldEmitNativeIntegerAttributes(Type))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3970eventSymbol.Type.Equals(methodParams[0].Type, TypeCompareKind.AllIgnoreOptions);
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
128if (fieldLikeEvent.Type.IsDelegateType())
Symbols\TypeSymbol.cs (1)
2017interfaceMemberReturnType = ((EventSymbol)interfaceMember).Type;
Symbols\VarianceSafety.cs (1)
224@event.Type,