10 overrides of TypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (10)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
46public override TypeWithAnnotations TypeWithAnnotations
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
69public override TypeWithAnnotations TypeWithAnnotations
Symbols\ErrorPropertySymbol.cs (1)
46public override TypeWithAnnotations TypeWithAnnotations { get { return _typeWithAnnotations; } }
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
685public override TypeWithAnnotations TypeWithAnnotations
Symbols\NativeIntegerTypeSymbol.cs (1)
470public override TypeWithAnnotations TypeWithAnnotations => _container.SubstituteUnderlyingType(_underlyingProperty.TypeWithAnnotations);
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
63public override TypeWithAnnotations TypeWithAnnotations
Symbols\SignatureOnlyPropertySymbol.cs (1)
52public override TypeWithAnnotations TypeWithAnnotations { get { return _type; } }
Symbols\Source\SourcePropertySymbolBase.cs (1)
365public sealed override TypeWithAnnotations TypeWithAnnotations
Symbols\SubstitutedPropertySymbol.cs (1)
25public override TypeWithAnnotations TypeWithAnnotations
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
35public override TypeWithAnnotations TypeWithAnnotations => _interfaceProperty.TypeWithAnnotations;
37 references to TypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder.ValueChecks.cs (1)
1700Debug.Assert(propertySymbol.TypeWithAnnotations.HasType);
Binder\ForEachLoopBinder.cs (1)
1029builder.ElementTypeWithAnnotations = ((PropertySymbol)builder.CurrentPropertyGetter.AssociatedSymbol).TypeWithAnnotations;
Emitter\Model\PropertySymbolAdapter.cs (1)
184return AdaptedPropertySymbol.TypeWithAnnotations.CustomModifiers.As<ICustomModifier>();
FlowAnalysis\NullableWalker.cs (8)
741symbolType = p.TypeWithAnnotations; 1026var symbolType = ApplyUnconditionalAnnotations(property.TypeWithAnnotations, symbolAnnotations); 1033var overriddenType = ApplyUnconditionalAnnotations(overriddenProperty.TypeWithAnnotations, overriddenAnnotations); 4572TrackNullableStateForAssignment(argument, property.TypeWithAnnotations, slot, argumentType, MakeSlot(argument)); 4578SetAnalyzedNullability(currentDeclaration, new VisitResult(argumentType, property.TypeWithAnnotations)); 10051var type = property.TypeWithAnnotations; 10763var resultType = ApplyUnconditionalAnnotations(indexer.TypeWithAnnotations.ToTypeWithState(), GetRValueAnnotations(indexer)); 10764SetResult(node, resultType, indexer.TypeWithAnnotations);
FlowAnalysis\NullableWalker_Patterns.cs (1)
535var type = property.TypeWithAnnotations;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ConstructorSymbol.cs (1)
33paramsArr.Add(SynthesizedParameterSymbol.Create(this, property.TypeWithAnnotations, index, RefKind.None, property.Name));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
32return _property.TypeWithAnnotations;
Symbols\Attributes\AttributeData.cs (1)
561if (property.TypeWithAnnotations.HasType && property.Type.SpecialType == SpecialType.System_String &&
Symbols\MemberSymbolExtensions.cs (1)
253var type = property.TypeWithAnnotations;
Symbols\NativeIntegerTypeSymbol.cs (1)
470public override TypeWithAnnotations TypeWithAnnotations => _container.SubstituteUnderlyingType(_underlyingProperty.TypeWithAnnotations);
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
898var propertyType = property.TypeWithAnnotations;
Symbols\PropertySymbol.cs (3)
91public TypeSymbol Type => TypeWithAnnotations.Type; 403if (DeriveUseSiteInfoFromType(ref result, this.TypeWithAnnotations, AllowedRequiredModifierType.None) || 416if (this.TypeWithAnnotations.GetUnificationUseSiteDiagnosticRecursive(ref diagnosticInfo, this, ref unificationCheckedTypes) ||
Symbols\PublicModel\PropertySymbol.cs (3)
37Interlocked.CompareExchange(ref _lazyType, _underlying.TypeWithAnnotations.GetPublicSymbol(), null); 44CodeAnalysis.NullableAnnotation IPropertySymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation(); 98get { return _underlying.TypeWithAnnotations.CustomModifiers; }
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
69var type = this.RetargetingTranslator.Retarget(_underlyingProperty.TypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
1090Retarget(property.TypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode),
Symbols\Source\SourceMemberContainerSymbol.cs (2)
3965var propertyParamType = (((i == numParams - 1) && !getNotSet) ? propertySymbol.TypeWithAnnotations : propertyParams[i].TypeWithAnnotations).Type; 4569&& prop.TypeWithAnnotations.Equals(param.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1049TypeWithAnnotations overridingMemberType = overridingProperty.TypeWithAnnotations; 1050TypeWithAnnotations overriddenMemberType = overriddenProperty.TypeWithAnnotations;
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
291var type = associatedProperty.TypeWithAnnotations;
Symbols\Source\SourcePropertySymbolBase.cs (1)
251TypeWithAnnotations overriddenPropertyType = overriddenOrImplementedProperty.TypeWithAnnotations;
Symbols\SubstitutedPropertySymbol.cs (1)
31var type = _containingType.TypeSubstitution.SubstituteType(OriginalDefinition.TypeWithAnnotations);
Symbols\Symbol.cs (1)
1663builder.AddValue(((PropertySymbol)this).TypeWithAnnotations);
Symbols\SymbolExtensions.cs (1)
507returnType = property.TypeWithAnnotations;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
35public override TypeWithAnnotations TypeWithAnnotations => _interfaceProperty.TypeWithAnnotations;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
107public override TypeWithAnnotations TypeWithAnnotations => ((PropertySymbol)((SourcePropertyAccessorSymbol)ContainingSymbol).AssociatedSymbol).TypeWithAnnotations;