32 references to IsNil
Crossgen2Tasks (2)
PrepareForReadyToRunCompilation.cs (2)
465if (!attributeTypeName.IsNil && 466!attributeTypeNamespace.IsNil &&
Microsoft.Cci.Extensions (2)
Extensions\CSharp\CSharpCciExtensions.cs (2)
929return !td.Namespace.IsNil && td.Namespace.Equals(@namespace, reader) && td.Name.Equals(name, reader); 932return tr.ResolutionScope.Kind != HandleKind.TypeReference && !tr.Namespace.IsNil && tr.Namespace.Equals(@namespace, reader) && tr.Name.Equals(name, reader);
Microsoft.CodeAnalysis (3)
MetadataReader\MetadataReaderExtensions.cs (1)
109string cultureName = culture.IsNil ? null : reader.GetString(culture);
MetadataReader\PEModule.cs (1)
3857if (!ns.IsNil)
MetadataReference\AssemblyIdentityUtils.cs (1)
31string? cultureName = (!cultureHandle.IsNil) ? metadataReader.GetString(cultureHandle) : null;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
31string? cultureName = (!cultureHandle.IsNil) ? metadataReader.GetString(cultureHandle) : null;
Microsoft.CodeAnalysis.CSharp (1)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
121if (!def.Namespace.IsNil)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_Assembly.cs (4)
307VerifyAssemblyTable(comp, r => { Assert.True(r.Culture.IsNil); }); 311VerifyAssemblyTable(comp, r => { Assert.True(r.Culture.IsNil); }); 324VerifyAssemblyTable(comp, r => { Assert.True(r.Culture.IsNil); }); 328VerifyAssemblyTable(comp, r => { Assert.True(r.Culture.IsNil); });
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
159if (!typeDefinition.Namespace.IsNil)
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (4)
71where !import.Name.IsNil 397if (!leftHandle.IsNil) 446return typeDef.Namespace.IsNil ? name : reader.GetString(typeDef.Namespace) + "." + name; 453return typeRef.Namespace.IsNil ? name : reader.GetString(typeRef.Namespace) + "." + name;
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
125If Not def.Namespace.IsNil Then
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
31string? cultureName = (!cultureHandle.IsNil) ? metadataReader.GetString(cultureHandle) : null;
Microsoft.DotNet.GenFacades (1)
GenPartialFacadeSourceGenerator.cs (1)
134return namespaceHandle.IsNil ? reader.GetString(typeHandle) : reader.GetString(namespaceHandle) + "." + reader.GetString(typeHandle);
Microsoft.DotNet.PackageTesting (1)
VerifyTypes.cs (1)
196string name = definition.Namespace.IsNil
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
196string name = definition.Namespace.IsNil
Roslyn.Test.PdbUtilities (4)
Shared\DummyMetadataImport.cs (4)
96if (!typeDef.Namespace.IsNil) 108(typeDef.Namespace.IsNil ? 0 : _metadataReaderOpt.GetString(typeDef.Namespace).Length + 1) + 135if (!typeRef.Namespace.IsNil) 147(typeRef.Namespace.IsNil ? 0 : _metadataReaderOpt.GetString(typeRef.Namespace).Length + 1) +
System.Reflection.Metadata (4)
System\Reflection\Metadata\Internal\StringHeap.cs (2)
257if (handle.IsNil) 276if (handle.IsNil)
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
18string cultureName = (!cultureHandle.IsNil) ? GetString(cultureHandle) : "";
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (1)
2395Debug.Assert(IsNil || IsVirtual && StringKind == StringKind.Virtual);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
74public static string? GetStringOrNull(this StringHandle handle, MetadataReader reader) => handle.IsNil ? null : reader.GetString(handle);