32 references to IsNil
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (3)
1790Debug.Assert(!handle.IsNil); 1997Debug.Assert(!handle.IsNil); 2487get { return !Handle.IsNil; }
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
594_packedFlags.SetHasRequiredMemberAttribute(!required.IsNil);
Symbols\Metadata\PE\PEMethodSymbol.cs (2)
1032isExtensionMethod = !extensionAttribute.IsNil; 1033isReadOnly = !isReadOnlyAttribute.IsNil;
Symbols\Metadata\PE\PEModuleSymbol.cs (2)
475foundExtension = !extensionAttribute.IsNil; 476foundReadOnly = !isReadOnlyAttribute.IsNil;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
730uncommon.lazyHasRequiredMembers = (!requiredHandle.IsNil).ToThreeState(); 733Debug.Assert(uncommon.lazyHasRequiredMembers.Value() != requiredHandle.IsNil);
Symbols\Metadata\PE\PEParameterSymbol.cs (8)
1105if (!paramArrayAttribute.IsNil || !constantAttribute.IsNil || !paramCollectionAttribute.IsNil) 1109if (!paramArrayAttribute.IsNil) 1114if (!paramCollectionAttribute.IsNil) 1119if (!constantAttribute.IsNil) 1138if (!paramArrayAttribute.IsNil) 1143if (!paramCollectionAttribute.IsNil)
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
749_flags.SetHasRequiredMemberAttribute(!required.IsNil);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.cs (2)
3433Assert.False(MetadataValidation.FindCustomAttribute(metadataReader, "DefaultCharSetAttribute").IsNil); 3465Assert.False(MetadataValidation.FindCustomAttribute(metadataReader, "DefaultCharSetAttribute").IsNil);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
RequiredMemberAttributesVisitor.cs (1)
58if (attribute.IsNil)
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
425Debug.Assert(Not stdModuleAttribute.IsNil)
Symbols\Metadata\PE\PEParameterSymbol.vb (5)
389If Not paramArrayAttribute.IsNil OrElse Not constantAttribute.IsNil Then 392If Not paramArrayAttribute.IsNil Then 396If Not constantAttribute.IsNil Then 407_lazyIsParamArray = (Not paramArrayAttribute.IsNil).ToThreeState()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.vb (2)
2521Assert.False(MetadataValidation.FindCustomAttribute(reader, "DefaultCharSetAttribute").IsNil) 2553Assert.False(MetadataValidation.FindCustomAttribute(reader, "DefaultCharSetAttribute").IsNil)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (2)
32return !handles.FindCustomAttributeByName(ns, name, module).IsNil; 38if (handle.IsNil)