11 references to IsConstructor
Microsoft.CodeAnalysis.CSharp (11)
Compiler\MethodCompiler.cs (1)
1921if (reportNullableDiagnostics && method.IsConstructor() && method.IsImplicitlyDeclared && nullableInitialState is object)
FlowAnalysis\NullableWalker.cs (6)
602if ((_symbol as MethodSymbol)?.IsConstructor() != true || _useConstructorExitWarnings) 633if (method.IsConstructor()) 799if (method.IsConstructor()) 1484Debug.Assert(method.IsConstructor()); 2209&& constructor.IsConstructor() 2854else if (methodSymbol.IsConstructor())
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
286Debug.Assert(_factory.CurrentFunction.IsConstructor());
Symbols\MemberSymbolExtensions.cs (1)
398return methodSymbol.IsConstructor()
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2170(method1.IsConstructor() ? this.Name : method1.Name);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
1004Debug.Assert(!this.IsConstructor()); // Constructors should use IsNullableEnabledForConstructorsAndInitializers() instead.