10 references to IsAnalyzingAttribute
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (10)
7062
if (
IsAnalyzingAttribute
)
7075
if (
IsAnalyzingAttribute
)
7345
bool parameterHasNotNullIfNotNull = !
IsAnalyzingAttribute
&& !parametersOpt.IsDefault && parametersOpt.Any(static p => !p.NotNullIfParameterNotNull.IsEmpty);
7352
ImmutableHashSet<string>? returnNotNullIfParameterNotNull =
IsAnalyzingAttribute
? null : method?.ReturnNotNullIfParameterNotNull;
7465
if (!
IsAnalyzingAttribute
&& method is not null && (method.FlowAnalysisAnnotations & FlowAnalysisAnnotations.DoesNotReturn) == FlowAnalysisAnnotations.DoesNotReturn)
8095
if (!
IsAnalyzingAttribute
&& notNullParametersOpt is object)
10625
var annotations =
IsAnalyzingAttribute
? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations();
10662
if (
IsAnalyzingAttribute
)
10691
if (
IsAnalyzingAttribute
)
11478
if (!
IsAnalyzingAttribute
)