88 references to None
Microsoft.CodeAnalysis.CSharp (60)
FlowAnalysis\NullableWalker.cs (13)
2901annotations = FlowAnalysisAnnotations.None; 2912annotations = FlowAnalysisAnnotations.None; 2926annotations = FlowAnalysisAnnotations.None; 2931annotations = FlowAnalysisAnnotations.None; 6002return FlowAnalysisAnnotations.None; 6013return IsAnalyzingAttribute ? FlowAnalysisAnnotations.None : parameter.FlowAnalysisAnnotations; 7008return (parameter, type, FlowAnalysisAnnotations.None, isExpandedParamsArgument: true); 9106var annotations = IsAnalyzingAttribute ? FlowAnalysisAnnotations.None : property.GetFlowAnalysisAnnotations(); 9145return FlowAnalysisAnnotations.None; 9155_ => FlowAnalysisAnnotations.None 9174return FlowAnalysisAnnotations.None; 9177var annotations = memberSymbol switch { PropertySymbol prop => prop.GetFlowAnalysisAnnotations(), FieldSymbol field => GetFieldAnnotations(field), _ => FlowAnalysisAnnotations.None }; 9184var annotations = FlowAnalysisAnnotations.None;
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
150public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
213public sealed override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
45=> FlowAnalysisAnnotations.None;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
104public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\ErrorMethodSymbol.cs (2)
173public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 177public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
829public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 831public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
86internal override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Metadata\PE\PEFieldSymbol.cs (2)
69value = FlowAnalysisAnnotations.None; 415FlowAnalysisAnnotations annotations = FlowAnalysisAnnotations.None;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
653return _packedFlags.DoesNotReturn ? FlowAnalysisAnnotations.DoesNotReturn : FlowAnalysisAnnotations.None;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
777FlowAnalysisAnnotations annotations = FlowAnalysisAnnotations.None;
Symbols\SignatureOnlyMethodSymbol.cs (2)
79public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 83public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
248var annotations = FlowAnalysisAnnotations.None;
Symbols\Source\SourceClonedParameterSymbol.cs (1)
140get { return FlowAnalysisAnnotations.None; }
Symbols\Source\SourceComplexParameterSymbol.cs (2)
149return FlowAnalysisAnnotations.None; 151FlowAnalysisAnnotations annotations = FlowAnalysisAnnotations.None;
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
622=> attributeData?.HasDoesNotReturnAttribute == true ? FlowAnalysisAnnotations.DoesNotReturn : FlowAnalysisAnnotations.None; 1175FlowAnalysisAnnotations annotations = FlowAnalysisAnnotations.None;
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
361return FlowAnalysisAnnotations.None; 364var result = FlowAnalysisAnnotations.None;
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
101get { return FlowAnalysisAnnotations.None; }
Symbols\Source\ThisParameterSymbol.cs (1)
120get { return FlowAnalysisAnnotations.None; }
Symbols\SymbolExtensions.cs (2)
446var annotations = property.GetOwnOrInheritedGetMethod()?.ReturnTypeFlowAnalysisAnnotations ?? FlowAnalysisAnnotations.None; 477_ => FlowAnalysisAnnotations.None
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
33var result = FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
167public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (2)
145public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 149public sealed override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
90=> FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (2)
123public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 210get { return FlowAnalysisAnnotations.None; }
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
106public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
159public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
78public sealed override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
149public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (2)
232public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 236public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
117get { return FlowAnalysisAnnotations.None; }
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
197public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (2)
162public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 166public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Synthesized\SynthesizedStaticConstructor.cs (2)
143public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 147public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\TypeWithState.cs (1)
40public static TypeWithState Create(TypeWithAnnotations typeWithAnnotations, FlowAnalysisAnnotations annotations = FlowAnalysisAnnotations.None)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (6)
Symbols\DisplayClassVariable.cs (1)
166get { return FlowAnalysisAnnotations.None; }
Symbols\EEMethodSymbol.cs (2)
336public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 340public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\PlaceholderMethodSymbol.cs (2)
164public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None; 168public override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\SynthesizedContextMethodSymbol.cs (1)
135public override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\NullableReferenceTypesTests.cs (19)
20639VerifyAnnotationsAndMetadata(c, "C.op_Equality", NotNull, None); 20685VerifyAnnotationsAndMetadata(c, "C.op_Equality", None, NotNull); 28288Assert.Equal(FlowAnalysisAnnotations.None, setter.ReturnTypeFlowAnalysisAnnotations); 34931VerifyAnnotationsAndMetadata(c, "C.Main", None); 34932VerifyAnnotationsAndMetadata(c, "C.TryGetValue", None, NotNullWhenTrue); 35898VerifyAnnotationsAndMetadata(c, "C.Main", None); 36123VerifyAnnotations(c, "C.MyIsNullOrEmpty", None); 36183VerifyAnnotationsAndMetadata(c, "C.MyIsNullOrEmpty", None); 36297VerifyAnnotationsAndMetadata(c, "Extension.MyIsNullOrEmpty", None, NotNullWhenFalse); 36592VerifyAnnotationsAndMetadata(c, "C.ThrowIfNull", None, NotNull); 36836VerifyAnnotationsAndMetadata(c, "Interface.ThrowIfNull", None, NotNull); 36874VerifyAnnotationsAndMetadata(c, "Interface.ThrowIfNull", None, NotNull); 36875VerifyAnnotationsAndMetadata(c, "C.ThrowIfNull", None, None); 36906VerifyAnnotationsAndMetadata(c, "Interface.ThrowIfNull", None, None); 36907VerifyAnnotationsAndMetadata(c, "C.ThrowIfNull", None, NotNull); 37429VerifyAnnotationsAndMetadata(c, "C.ThrowIfNull", NotNull, None); 38930Assert.Equal(FlowAnalysisAnnotations.None, setter.ReturnTypeFlowAnalysisAnnotations);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
FunctionPointerUtilities.cs (3)
63Assert.Equal(FlowAnalysisAnnotations.None, symbol.ReturnTypeFlowAnalysisAnnotations); 64Assert.Equal(FlowAnalysisAnnotations.None, symbol.FlowAnalysisAnnotations); 110Assert.Equal(FlowAnalysisAnnotations.None, symbol.FlowAnalysisAnnotations);