53 overrides of IsImplicitlyDeclared
Microsoft.CodeAnalysis.CSharp (53)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
219public sealed override bool IsImplicitlyDeclared
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
85public abstract override bool IsImplicitlyDeclared
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
141public override bool IsImplicitlyDeclared
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
84public override bool IsImplicitlyDeclared
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
150public sealed override bool IsImplicitlyDeclared
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
108public override bool IsImplicitlyDeclared
Symbols\DiscardSymbol.cs (1)
26public override bool IsImplicitlyDeclared => true;
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
150public override bool IsImplicitlyDeclared
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
835public override bool IsImplicitlyDeclared => true;
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
75public override bool IsImplicitlyDeclared => true;
Symbols\NamespaceSymbol.cs (1)
128public sealed override bool IsImplicitlyDeclared
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
141public override bool IsImplicitlyDeclared
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
142public override bool IsImplicitlyDeclared
Symbols\SignatureOnlyParameterSymbol.cs (1)
52public override bool IsImplicitlyDeclared { get { return true; } }
Symbols\Source\CrefTypeParameterSymbol.cs (1)
219public override bool IsImplicitlyDeclared
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
232public override bool IsImplicitlyDeclared
Symbols\Source\LambdaSymbol.cs (1)
410public override bool IsImplicitlyDeclared
Symbols\Source\SourceClonedParameterSymbol.cs (1)
33public override bool IsImplicitlyDeclared => true;
Symbols\Source\SourceConstructorSymbolBase.cs (1)
102public sealed override bool IsImplicitlyDeclared
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
85public override bool IsImplicitlyDeclared
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
166public sealed override bool IsImplicitlyDeclared
Symbols\Source\SourceEventFieldSymbol.cs (1)
35public override bool IsImplicitlyDeclared
Symbols\Source\SourceMemberContainerSymbol.cs (1)
947public override bool IsImplicitlyDeclared
Symbols\Source\SourceParameterSymbol.cs (1)
284public override bool IsImplicitlyDeclared
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
724public sealed override bool IsImplicitlyDeclared
Symbols\Source\ThisParameterSymbol.cs (1)
99public sealed override bool IsImplicitlyDeclared
Symbols\Synthesized\GeneratedLabelSymbol.cs (1)
55public override bool IsImplicitlyDeclared
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
50public override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
46public sealed override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
43public sealed override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
69public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedContainer.cs (1)
179public override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
58public override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
245public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
39public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
191public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
67public sealed override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
86public override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
29public sealed override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
74public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedLocal.cs (1)
162public sealed override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
78public override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
36public override bool IsImplicitlyDeclared => true;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
177public sealed override bool IsImplicitlyDeclared
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
295public sealed override bool IsImplicitlyDeclared
Symbols\UpdatedContainingSymbolLocal.cs (1)
83public override bool IsImplicitlyDeclared => _underlyingLocal.IsImplicitlyDeclared;
Symbols\Wrapped\WrappedEventSymbol.cs (1)
41public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
42public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
181public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
45public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
104public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
42public override bool IsImplicitlyDeclared
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
43public override bool IsImplicitlyDeclared
56 references to IsImplicitlyDeclared
Microsoft.CodeAnalysis.CSharp (56)
Binder\Binder_Await.cs (1)
177info = method.IsImplicitlyDeclared ?
Binder\Binder_Statements.cs (2)
3774Debug.Assert(!this.ContainingMember().IsImplicitlyDeclared); 3792var constructorInitializer = new BoundExpressionStatement(ctorSyntax, initializerInvocation) { WasCompilerGenerated = ((MethodSymbol)ContainingMember()).IsImplicitlyDeclared };
Binder\InMethodBinder.cs (1)
246Debug.Assert(!locations.IsEmpty || parameter.IsImplicitlyDeclared);
CodeGen\CodeGenerator.cs (1)
273if (_emitPdbSequencePoints && _method.IsImplicitlyDeclared)
CodeGen\EmitExpression.cs (1)
1644Debug.Assert(method.IsImplicitlyDeclared);
Compilation\CSharpCompilation.cs (1)
3053if (symbol.Kind == SymbolKind.Method && symbol.IsImplicitlyDeclared && ((MethodSymbol)symbol).MethodKind == MethodKind.Constructor)
Compiler\ClsComplianceChecker.cs (1)
969symbol.IsImplicitlyDeclared ||
Compiler\DocumentationCommentCompiler.cs (1)
412return symbol.IsImplicitlyDeclared ||
Compiler\MethodCompiler.cs (8)
618containingType is { IsImplicitlyDeclared: false, TypeKind: TypeKind.Class or TypeKind.Struct or TypeKind.Interface } && 901if (diagsWritten && !methodSymbol.IsImplicitlyDeclared && _compilation.EventQueue != null) 960Debug.Assert(methodSymbol.IsImplicitlyDeclared); 965Debug.Assert(methodSymbol.IsImplicitlyDeclared); 1076methodSymbol.IsImplicitlyDeclared && body == null) 1118if (diagsWritten && !methodSymbol.IsImplicitlyDeclared && _compilation.EventQueue != null) 1921if (reportNullableDiagnostics && method.IsConstructor() && method.IsImplicitlyDeclared && nullableInitialState is object) 2348var constructorInitializer = new BoundExpressionStatement(initializerInvocation.Syntax, initializerInvocation) { WasCompilerGenerated = method.IsImplicitlyDeclared };
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
528if (!member.IsImplicitlyDeclared)
FlowAnalysis\DataFlowsOutWalker.cs (1)
233((param.RefKind != RefKind.None && !param.IsImplicitlyDeclared && !RegionContains(param.GetFirstLocation().SourceSpan)) ||
FlowAnalysis\DefiniteAssignment.cs (2)
401if (CurrentSymbol is MethodSymbol currentMethod && currentMethod.IsAsync && !currentMethod.IsImplicitlyDeclared) 944return !init.Constructor.IsImplicitlyDeclared || init.InitializerExpressionOpt != null;
FlowAnalysis\FlowAnalysisPass.cs (1)
51if ((method.IsImplicitlyDeclared && !method.IsScriptInitializer) ||
FlowAnalysis\NullableWalker.cs (1)
1373if (method.IsImplicitlyDeclared && !method.IsImplicitConstructor && !method.IsScriptInitializer)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
52if (method.IsImplicitlyDeclared && !method.IsImplicitConstructor) 129if (!method.IsImplicitlyDeclared && method is not SynthesizedSimpleProgramEntryPointSymbol)
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
164if (method.IsImplicitlyDeclared && !method.IsImplicitConstructor)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
51(method is { IsImplicitlyDeclared: true } ||
Lowering\Instrumentation\StackOverflowProbingInstrumenter.cs (1)
41(method is { IsImplicitlyDeclared: true } ||
Lowering\SynthesizedMethodBaseSymbol.cs (1)
80if (ContainingType.IsImplicitlyDeclared)
Symbols\MemberSymbolExtensions.cs (1)
454return method.IsImplicitlyDeclared &&
Symbols\MethodSymbol.cs (2)
671return ((MethodKind == MethodKind.Constructor || MethodKind == MethodKind.StaticConstructor) && IsImplicitlyDeclared); 682return MethodKind == MethodKind.Constructor && IsImplicitlyDeclared;
Symbols\MethodSymbolExtensions.cs (1)
24return method.IsImplicitlyDeclared && method.MethodKind == MethodKind.AnonymousFunction;
Symbols\PublicModel\Symbol.cs (1)
246bool ISymbol.IsImplicitlyDeclared => UnderlyingSymbol.IsImplicitlyDeclared;
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
143get { return _underlyingAssembly.IsImplicitlyDeclared; }
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
144get { return _underlyingModule.IsImplicitlyDeclared; }
Symbols\Source\SourceConstructorSymbolBase.cs (1)
106return base.IsImplicitlyDeclared;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2040if (symbol.Kind != SymbolKind.Field || !symbol.IsImplicitlyDeclared)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
675if (symbol.IsImplicitlyDeclared)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1475if (!this.IsImplicitlyDeclared)
Symbols\Symbol.cs (3)
321bool ISymbolInternal.IsImplicitlyDeclared => this.IsImplicitlyDeclared; 471/// was not implicitly declared (see the <see cref="IsImplicitlyDeclared"/> property). 935if (this.IsImplicitlyDeclared && declaringReferences.Length == 0)
Symbols\SymbolExtensions.cs (1)
365if (reference == null && symbol.IsImplicitlyDeclared)
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
47if (!this.ContainingType.IsImplicitlyDeclared)
Symbols\Synthesized\SynthesizedContainer.cs (1)
62if (ContainingSymbol.Kind == SymbolKind.NamedType && ContainingSymbol.IsImplicitlyDeclared)
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
55if (!_containingType.IsImplicitlyDeclared)
Symbols\TypeSymbol.cs (1)
1766if (!implementingMember.IsImplicitlyDeclared && !implementingMember.IsAccessor())
Symbols\UpdatedContainingSymbolLocal.cs (1)
83public override bool IsImplicitlyDeclared => _underlyingLocal.IsImplicitlyDeclared;
Symbols\Wrapped\WrappedEventSymbol.cs (1)
45return _underlyingEvent.IsImplicitlyDeclared;
Symbols\Wrapped\WrappedFieldSymbol.cs (1)
44get { return _underlyingField.IsImplicitlyDeclared; }
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
185return UnderlyingMethod.IsImplicitlyDeclared;
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
47get { return _underlyingType.IsImplicitlyDeclared; }
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
106get { return _underlyingParameter.IsImplicitlyDeclared; }
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
44get { return _underlyingProperty.IsImplicitlyDeclared; }
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
45get { return _underlyingTypeParameter.IsImplicitlyDeclared; }