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