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