7 implementations of IsUnmanagedType
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
CodeGenerationAbstractNamedTypeSymbol.cs (1)
120public bool IsUnmanagedType => throw new NotImplementedException();
CodeGenerationTypeSymbol.cs (1)
82bool ITypeSymbol.IsUnmanagedType => throw new System.NotImplementedException();
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeSymbol.cs (1)
117bool ITypeSymbol.IsUnmanagedType => !UnderlyingTypeSymbol.IsManagedTypeNoUseSiteDiagnostics;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
139public bool IsUnmanagedType => throw new NotImplementedException();
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
583Private ReadOnly Property ITypeSymbol_IsUnmanagedType As Boolean Implements ITypeSymbol.IsUnmanagedType
Microsoft.CodeAnalysis.Workspaces (2)
CodeGenerationAbstractNamedTypeSymbol.cs (1)
120public bool IsUnmanagedType => throw new NotImplementedException();
CodeGenerationTypeSymbol.cs (1)
82bool ITypeSymbol.IsUnmanagedType => throw new System.NotImplementedException();
27 references to IsUnmanagedType
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (21)
Semantics\UnsafeTests.cs (21)
3471Assert.True(getLocalType("s1").IsUnmanagedType); 3472Assert.True(getLocalType("s2").IsUnmanagedType); 3473Assert.False(getLocalType("s3").IsUnmanagedType); 3474Assert.True(getLocalType("s4_0").IsUnmanagedType); 3475Assert.False(getLocalType("s4_1").IsUnmanagedType); 3476Assert.True(getLocalType("s4_2").IsUnmanagedType); 3477Assert.True(getLocalType("s5").IsUnmanagedType); 3478Assert.True(getLocalType("i0").IsUnmanagedType); 3479Assert.True(getLocalType("e1").IsUnmanagedType); 3480Assert.False(getLocalType("o1").IsUnmanagedType); 3481Assert.False(getLocalType("c1").IsUnmanagedType); 3482Assert.False(getLocalType("t1").IsUnmanagedType); 3483Assert.True(getLocalType("u1").IsUnmanagedType); 3484Assert.True(getLocalType("p1").IsUnmanagedType); 3485Assert.False(getLocalType("a1").IsUnmanagedType); 3486Assert.False(getLocalType("a2").IsUnmanagedType); 3487Assert.True(getLocalType("t2").IsUnmanagedType); 3543Assert.True(getLocalType("good").IsUnmanagedType); 3544Assert.True(getLocalType("good2").IsUnmanagedType); 3545Assert.False(getLocalType("bad").IsUnmanagedType); 3546Assert.False(getLocalType("bad2").IsUnmanagedType);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
583Private ReadOnly Property ITypeSymbol_IsUnmanagedType As Boolean Implements ITypeSymbol.IsUnmanagedType
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Compilation\SemanticModelAPITests.vb (5)
2951Assert.False(getLocalType("s1").IsUnmanagedType) 2952Assert.False(getLocalType("s2").IsUnmanagedType) 2953Assert.False(getLocalType("s3").IsUnmanagedType) 2954Assert.False(getLocalType("s4").IsUnmanagedType) 2955Assert.False(getLocalType("e1").IsUnmanagedType)