Пример #1
0
 static MethodDefinitionName MakeAssertNotNull()
 {
     return(MethodDefinitionName.FromTypeMethod(
                0,
                Type_Assert.Definition,
                true,
                "NotNull",
                SafeArray.Empty <string>(),
                SystemTypes.Void.SerializableName,
                new ParameterDefinitionName(SystemTypes.Object.SerializableName, "condition", 0, false, ParameterDirection.ByValueOrRef)
                ));
 }