1 write to MethodSymbol
Microsoft.CodeAnalysis (1)
Operations\CommonConversion.cs (1)
40
MethodSymbol
= methodSymbol;
11 references to MethodSymbol
Microsoft.CodeAnalysis (5)
Operations\CommonConversion.cs (4)
75
[MemberNotNullWhen(true, nameof(
MethodSymbol
))]
76
public bool IsUserDefined =>
MethodSymbol
!= null;
83
/// Type parameter which runtime type will be used to resolve virtual invocation of the <see cref="
MethodSymbol
" />, if any.
84
/// Null if <see cref="
MethodSymbol
" /> is resolved statically, or is null.
Operations\OperationNodes.cs (1)
81
public IMethodSymbol? OperatorMethod => Conversion.
MethodSymbol
;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
116
if (conversion.IsUserDefined && conversion.
MethodSymbol
is { Name: WellKnownMemberNames.ImplicitConversionName })
src\Analyzers\Core\Analyzers\SimplifyBooleanExpression\AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
154
conversion.
MethodSymbol
== null &&
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
116
if (conversion.IsUserDefined && conversion.
MethodSymbol
is { Name: WellKnownMemberNames.ImplicitConversionName })
src\Analyzers\Core\Analyzers\SimplifyBooleanExpression\AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
154
conversion.
MethodSymbol
== null &&
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (2)
259
LogSymbol(conversion.
MethodSymbol
, nameof(conversion.
MethodSymbol
));