10 references to IsAnalyzingAttribute
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (10)
6640
if (
IsAnalyzingAttribute
)
6653
if (
IsAnalyzingAttribute
)
6908
bool parameterHasNotNullIfNotNull = !
IsAnalyzingAttribute
&& !parametersOpt.IsDefault && parametersOpt.Any(static p => !p.NotNullIfParameterNotNull.IsEmpty);
6915
ImmutableHashSet<string>? returnNotNullIfParameterNotNull =
IsAnalyzingAttribute
? null : method?.ReturnNotNullIfParameterNotNull;
7024
if (!
IsAnalyzingAttribute
&& method is object && (method.FlowAnalysisAnnotations & FlowAnalysisAnnotations.DoesNotReturn) == FlowAnalysisAnnotations.DoesNotReturn)
7642
if (!
IsAnalyzingAttribute
&& notNullParametersOpt is object)
10052
var annotations =
IsAnalyzingAttribute
? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations();
10089
if (
IsAnalyzingAttribute
)
10118
if (
IsAnalyzingAttribute
)
10730
if (!
IsAnalyzingAttribute
)