9 references to IsConstructor
Microsoft.CodeAnalysis.CSharp (9)
Compiler\MethodCompiler.cs (1)
1914if (reportNullableDiagnostics && method.IsConstructor() && method.IsImplicitlyDeclared && nullableInitialState is object)
FlowAnalysis\NullableWalker.cs (5)
601if ((_symbol as MethodSymbol)?.IsConstructor() != true || _useConstructorExitWarnings) 632if (method.IsConstructor()) 901if (method.IsConstructor()) 1410Debug.Assert(method.IsConstructor()); 2756else if (methodSymbol.IsConstructor())
Symbols\MemberSymbolExtensions.cs (1)
398return methodSymbol.IsConstructor()
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2168(method1.IsConstructor() ? this.Name : method1.Name);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
1004Debug.Assert(!this.IsConstructor()); // Constructors should use IsNullableEnabledForConstructorsAndInitializers() instead.