6 implementations of HasUnsupportedMetadata
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
220public bool HasUnsupportedMetadata => false;
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\PreprocessingSymbol.cs (1)
132bool ISymbol.HasUnsupportedMetadata => false;
Symbols\PublicModel\Symbol.cs (1)
250bool ISymbol.HasUnsupportedMetadata => UnderlyingSymbol.HasUnsupportedMetadata;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
75public bool HasUnsupportedMetadata => _symbol.HasUnsupportedMetadata;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
969Public Overridable ReadOnly Property HasUnsupportedMetadata As Boolean Implements ISymbol.HasUnsupportedMetadata
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
220public bool HasUnsupportedMetadata => false;
56 references to HasUnsupportedMetadata
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (33)
Symbols\CSharpCompilerFeatureRequiredTests.cs (19)
145Assert.True(onType!.HasUnsupportedMetadata); 149Assert.False(onMethod!.HasUnsupportedMetadata); 153Assert.False(onMethodReturn!.HasUnsupportedMetadata); 157Assert.False(onParameter!.HasUnsupportedMetadata); 163Assert.False(onField!.HasUnsupportedMetadata); 167Assert.False(onProperty!.HasUnsupportedMetadata); 171Assert.False(onPropertyGetter!.HasUnsupportedMetadata); 178Assert.False(onPropertySetter!.HasUnsupportedMetadata); 185Assert.False(onEvent!.HasUnsupportedMetadata); 189Assert.False(onEventAdder!.HasUnsupportedMetadata); 196Assert.False(onEventRemover!.HasUnsupportedMetadata); 203Assert.True(onEnum!.HasUnsupportedMetadata); 206Assert.False(onEnumMember!.HasUnsupportedMetadata); 210Assert.True(onClassTypeParameter!.HasUnsupportedMetadata); 211Assert.True(onClassTypeParameter.TypeParameters[0].HasUnsupportedMetadata); 214Assert.False(onMethodTypeParameter!.HasUnsupportedMetadata); 220Assert.True(onDelegateType!.HasUnsupportedMetadata); 223Assert.False(onIndexedPropertyParameter!.HasUnsupportedMetadata); 228Assert.False(onThisParameterIndexer!.HasUnsupportedMetadata);
Symbols\Metadata\PE\HasUnsupportedMetadata.cs (14)
163Assert.False(c3.HasUnsupportedMetadata); 164Assert.False(c3.ContainingSymbol.HasUnsupportedMetadata); 168Assert.False(f1.HasUnsupportedMetadata); 172Assert.False(m1.HasUnsupportedMetadata); 180Assert.False(e1.HasUnsupportedMetadata); 184Assert.False(p1.HasUnsupportedMetadata); 367Assert.False(c3.HasUnsupportedMetadata); 368Assert.False(c3.ContainingSymbol.HasUnsupportedMetadata); 372Assert.True(f1.HasUnsupportedMetadata); 376Assert.True(m1.HasUnsupportedMetadata); 384Assert.True(e1.HasUnsupportedMetadata); 388Assert.True(p1.HasUnsupportedMetadata); 394Assert.False(vector.HasUnsupportedMetadata); 404Assert.False(typeX.HasUnsupportedMetadata);
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
75public bool HasUnsupportedMetadata => _symbol.HasUnsupportedMetadata;
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
30where !m.HasUnsupportedMetadata
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
969Public Overridable ReadOnly Property HasUnsupportedMetadata As Boolean Implements ISymbol.HasUnsupportedMetadata
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (19)
SymbolsTests\Metadata\PE\VisualBasicCompilerFeatureRequiredTests.vb (19)
161Assert.True(onType.HasUnsupportedMetadata) 165Assert.False(onMethod.HasUnsupportedMetadata) 169Assert.False(onMethodReturn.HasUnsupportedMetadata) 173Assert.False(onParameter.HasUnsupportedMetadata) 179Assert.False(onField.HasUnsupportedMetadata) 183Assert.False(onProperty.HasUnsupportedMetadata) 187Assert.False(onPropertyGetter.HasUnsupportedMetadata) 194Assert.False(onPropertySetter.HasUnsupportedMetadata) 201Assert.False(onEvent.HasUnsupportedMetadata) 205Assert.False(onEventAdder.HasUnsupportedMetadata) 212Assert.False(onEventRemover.HasUnsupportedMetadata) 219Assert.True(onEnum.HasUnsupportedMetadata) 222Assert.False(onEnumMember.HasUnsupportedMetadata) 226Assert.True(onClassTypeParameter.HasUnsupportedMetadata) 227Assert.True(onClassTypeParameter.TypeParameters(0).HasUnsupportedMetadata) 230Assert.False(onMethodTypeParameter.HasUnsupportedMetadata) 236Assert.True(onDelegateType.HasUnsupportedMetadata) 239Assert.False(onIndexedPropertyParameter.HasUnsupportedMetadata) 244Assert.False(onThisParameterIndexer.HasUnsupportedMetadata)
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\ISymbolExtensions.cs (1)
659(s.IsNamespace() || s.Locations.Any(static loc => loc.IsInSource) || !s.HasUnsupportedMetadata) &&